The distance of a shift in the graph of a function is determined by the value of the constant added or subtracted inside the function's argument.
In our example of y = f(x - 2), the constant '-2' tells us the graph will move 2 units to the right. It's important to note that even though it appears as '-2,' the direction of the horizontal shift is to the right.
Understanding the distance of the shift helps in predicting how the graph will look after the transformation. Always remember:
- If y = f(x - a), shift right by 'a' units.
- If y = f(x + a), shift left by 'a' units.
These shifts allow you to control and manipulate the graph's position to better understand the function's behaviour.