A horizontal translation is a transformation that shifts the graph of a function to the left or right.
In order to shift a graph to the right by h units, we simply replace every instance of the independent variable (usually x) with (x - h).
It's important to note that, while counterintuitive, a shift in the positive direction (to the right) results in us subtracting h from x. On the other hand, a shift to the left (a negative shift) would result in us adding h to x.
Let's look at a few examples:
- If represents the graph of shifted 5 units to the right, then .
- This simplifies to:
- If represents the graph of shifted 2 units to the right, then .
- This simplifies to:
- If represents the graph of shifted 3 units to the left, then .
- This simplifies to: