A horizontal shift in a function occurs when the graph of the function moves left or right along the x-axis. It’s a transformation that adjusts the x-values of a function. When you subtract a number from the variable inside the function, it produces a shift to the right; for example, in the function \(g(x) = f(x - 1)\), the graph is shifted 1 unit to the right. Conversely, adding a number shifts the graph to the left.
Some important points to remember about horizontal shifts are:
- Subtracting a positive number inside the function (like \(f(x-a)\)) shifts the graph right by \(a\) units.
- Adding a positive number inside the function (like \(f(x+a)\)) shifts the graph left by \(a\) units.
- A horizontal shift doesn’t alter the shape of the graph, just its position.
In the example from the exercise, moving from \((3, 9)\) to \((4, 9)\) results in a change of x-value from 3 to 4. This indicates a shift of 1 unit to the right, reflected in the function \(g(x) = f(x-1)\). This right shift is due to subtracting 1 from each x-value in the function.