How do you write an equation of y=cosxy=cosx with 3 units to the left and pi units up?

1 Answer
Jun 18, 2017

Add 3 to the argument of the cosine function and add piπ after the cosine function.

Explanation:

Here is a graph of the equation y = cos(x)y=cos(x):

![Desmon.com](useruploads.socratic.org)

Please observe that I have placed a dot at the point were x=0x=0

We want to change the equation so that point is at x = -3. Lets add a constant, c, to the argument of the cosine function.

y = cos(x+ c)y=cos(x+c)

We want x+cx+c to equal 0 when x=3/2pix=32π

Here is the equation for x plus c equals zero:

x+c = 0x+c=0

Here is the equation forcing x to be -3:

-3+c = 03+c=0

We can solve for d:

c = 3c=3

This makes the equation become:

y = cos(x+3)y=cos(x+3)

Here is the graph for the equation:

![Desmos.com](useruploads.socratic.org)

Please observe that the cosine function has shifted 3 units to the left as requested.

Let's add another constant, d, to the equation:

y = cos(x+3)+dy=cos(x+3)+d

We the cosine function is 1, we want y to equal pi + 1π+1.

Here is the equation for that:

pi+1 = 1 + dπ+1=1+d

Solve for d:

d = pid=π

Here is a graph of the equation y = cos(x+3)+piy=cos(x+3)+π:
![Desmos.com](useruploads.socratic.org)

Please observe that I have shifted the curve 3 units to the left and up piπ units.