Graph the following two functions. What is the difference between the two graphs?
f(x) = sin(x)
g(x) = sin(x) + 1
Entering sin(x) into Google displays a graph. When we enter sin(x) + 1, we see the graph of sin(x) shifted up one unit.
Graphing sin(x) + 2 shows the graph of sin(x) shifted up 2 units.
If we add a positive constant to a function's output, it causes the function's graph to shift up by the same amount. Adding a negative constant causes a shift down.
The translation of f(x) up C units is f(x) + C, where C is greater than zero.
To show function f shifted up b units, we need to state that symbol b represents a positive number and then add b to the function's output.
b > 0
f(x) + b
Graph the following two functions. What is the difference between the two graphs?
u(x) = sin(x)
v(x) = sin(x - 1)
Googling graphs for sin(x), sin(x-1), and sin(x-2) shows that subtracting a positive amount from a function's input causes the graph to shift to the right; the graph of sin(x-1) is shifted one unit to the right of sin(x).
The translation of f(x) to the right C units is f(x - c), where C is greater than zero.
To show function f shifted to the right a units, we need to state that symbol a represents a positive number and then subtract a from the function's input.
a > 0
f(x - a)
Combining the concepts above, answers the first question. Translate f(x) to the right a units and up b units.
a > 0
b > 0
f(x - a) + b