249,480 views
37 votes
37 votes
5. Graph y = -12x - 61 + 1 + 361

User Exilus
by
3.0k points

1 Answer

24 votes
24 votes

We have to graph the function:


f(x)=-|2x-6|+1

To do that we can start by looking at which point the absolute function changes direction.

This happens when 2x-6=0.


\begin{gathered} 2x-6=0 \\ 2x=6 \\ x=(6)/(2) \\ x=3 \end{gathered}

We have one line for x<3 and other line, with different slope, for x>3.

Then we define the function as a piecewise function:

For x<3, we have:


\begin{gathered} x<3\longrightarrow2x-6<0\longrightarrow|2x-6|=-(2x-6) \\ f(x)=-(-(2x-6))+1 \\ f(x)=2x-6+1 \\ f(x)=2x-5 \end{gathered}

And for x>3:


\begin{gathered} x>3\longrightarrow2x-6>0\longrightarrow|2x-6|=2x-6 \\ f(x)=-(2x-6)+1 \\ f(x)=-2x+6+1 \\ f(x)=-2x+7 \end{gathered}

We can resume the function f(x) as:


f(x)=\begin{cases}2x-5;x<3 \\ -2x+7\colon x\ge3\end{cases}

For x<3, we have a positive-slope line (m=2), with y-intercept b=-5.

For x>3, we have a negative-slope line (m=-2), with y-intercept b=7 (but as x>3, the y-axis is not intercepted by this line). We also can use the reference that, when x=3, y=1.

We can graph this as:

NOTE: I draw them with different colours for each part of the function, but it is the same function and should be drawn with the same colour.

5. Graph y = -12x - 61 + 1 + 361-example-1
User Fabrizio Ferrari
by
3.3k points