How do you graph y + 1 = 3 cos 4 (x-2)y+1=3cos4(x−2)?
1 Answer
Write the equation as
A function in this form has four important informations:
-
AA is the amplitude, which is the maximum value reached by the function. Of course, the standard amplitude is11 , sincecos(x)cos(x) ranges between-1−1 and11 . And in fact, a function with amplitudeAA ranges from-A−A toAA . -
omegaω affects the period, because it changes the "speed" with which the function grows. Look at this example: if we have the standard functioncos(x)cos(x) , if you want to go fromcos(0)cos(0) tocos(2\pi)cos(2π) , the variablexx must from from00 to2\pi2π . Now trycos(2x)cos(2x) : in this case, ifxx runs from00 topiπ , your function ranges fromcos(0)cos(0) tocos(2\pi)cos(2π) . So, we needed "half" thexx travel to cover a whole period. In general, the formula states that the periodTT isT=(2\pi)/\omegaT=2πω . -
\phiϕ is a phase shift, and again look at this example: with the standard functioncos(x)cos(x) , you havecos(0)cos(0) forx=0x=0 , of course. Now we trycos(x-1)cos(x−1) . To havecos(0)cos(0) , we must inputx=1x=1 . So, the same value has been shifted ahead of11 unit. In general, ifphiϕ is positive, it shifts the function backwards (which means to the left on thexx -axis) ofphiϕ units, and ifphiϕ is negative, the shift is to the right. -
Finally, the
+1+1 at the end is a vertical shift. Think of it like this: when you havey=cos(x)y=cos(x) , it means that you are associating with everyxx theyy value "cos(x)cos(x) ". Now, you change toy=cos(x)+1y=cos(x)+1 . This means that now you associate to the same oldxx the new valuecos(x)+1cos(x)+1 , which is one more than the old value. So, if you add one unit on theyy axis, you shift upwards. Of course, ifkk is negative, the shift is downwards.
So, in the end, you start from the standard cosine function. Then, you do all the transformations: