Understand the method
What does the graph horizontal offset calculation mean?
Adding or subtracting inside a function arguments shifts the graph horizontally, while adding or subtracting outside shifts it vertically. Interior changes act in the opposite direction to their sign, which is why y = f(x − 3) moves the graph three units to the right.
When to use it
Use it to reposition a known curve without recomputing every point, or to read a transformation out of an equation.
Formula
In plain text: y = f(x − h) + k
Variables and units
| Symbol | Meaning |
|---|---|
| h | horizontal offset inside the function |
| k | vertical offset added outside |
| y = f(x − h) + k | shifted function |
How to use the calculator
- Enter each known value in its labeled field.
- Select the answer precision you want.
- Choose Calculate answer to see the result and working.
Worked example
If f(x) = x², then y = (x − 3)² + 2 is the parabola moved 3 units right and 2 units up, with vertex at (3, 2) instead of (0, 0).
Common mistakes
- A minus sign inside the parentheses moves the graph right, not left.
- Horizontal and vertical shifts compose in either order with the same result.
- A coefficient on x also stretches or compresses the graph, not just shifts it.
Interpret the result
The vertex, roots, and intercepts all move by the same offset, so checking one key point confirms the direction.