How do I horizontally translate a trigonometric graph?

2 Answers
Nov 17, 2014

By changing the "c" in your basic trigonometric equation.

The standard trig equation for sine is y=a*sin[b(x-cpi)]+dy=asin[b(xcπ)]+d. In this, the variable aa represents the amplitude. The variable bb represents the period ((2pi)/b2πb = period). Now, the variable cc represents what is known as the phase shift - more commonly known as a horizontal translation. You shift the graph cpicπ units from the original parent function, which in this case is y=sinxy=sinx. If cc is positive, shift the graph to the right cpicπ unites. If cc is negative, shift the graph to the left cpicπ units.

If you're wondering, dd represents the vertical translation.

I hope this helps, and I'f strongly suggest going to google and typing in functions like y=sin(x-2pi)y=sin(x2π) and comparing them to the parent function, y=sinxy=sinx.

Nov 17, 2014

Generally speaking, if you have a function y=f(x)y=f(x) and know its graph, the function y=f(x-c)y=f(xc) has a graph that is similar to the one of y=f(x)y=f(x) but shifted by cc to the right for c>0c>0 or to the left for c<0c<0.

Continuing the graph transformation, the graph of y=f(x)+dy=f(x)+d is similar to the graph of y=f(x)y=f(x) but shifted by dd up for d>0d>0 or down for d<0d<0.

Next transformation is related to a graph of a function y=a*f(x)y=af(x). The graph of this function can be obtained from a graph of y=f(x)y=f(x) by stretching (if |a|>1|a|>1) or squeezing (if |a|<1|a|<1) it by a factor aa vertically. That is, point (x,y)(x,y) on a graph of y=f(x)y=f(x) is transferred into (x,a*y)(x,ay) on a graph of y=a*f(x)y=af(x). This includes reflection relative to the X-axis for a<0a<0.

Finally, the graph of a function y=f(b*x)y=f(bx) can be obtained from the graph of y=f(x)y=f(x) by horizontal squeezing (if |b|>1|b|>1) or stretching (if |b|<1|b|<1) it by a factor of bb. That is, point (x,y)(x,y) on a graph of y=f(x)y=f(x) is transferred into (x/b,y)(xb,y) on a graph of y=f(b*x)y=f(bx). This includes reflection relative to the Y-axis for b<0b<0.

You can find more detailed explanation of these manipulations with graphs in a lecture on Unizor following the menu items Algebra - Graphs - Transformation.