The function f(x) after it is vertical shifted up by 2 units is f(x) + 2
Writing a function f(x) after it is vertical shifted up by 2 units
To vertically shift a function f(x) up by 2 units, we simply add 2 to the entire function.
This means that the new function, g(x), will be defined as:
g(x) = f(x) + 2
For example, if the original function is f(x) = x², then the vertically shifted function g(x) would be:
g(x) = x² + 2
This shifted function will have the same shape as the original function, but it will be shifted 2 units up on the y-axis.