y = f ( x ) + a , f ( x + a ) , − f ( x ) , f ( − x ) , a f ( x ) , f ( a x )
On this page
Before you start
This page is easier if you are comfortable with:
What Graph transformations means
Outside changes affect y : f ( x ) + a translates up by a , a f ( x ) stretches vertically, − f ( x ) reflects in the x -axis.
Inside changes affect x in the opposite sense: f ( x + a ) translates left by a , f ( a x ) stretches horizontally by factor 1/ a , and f ( − x ) reflects in the y -axis.
GCSE graphs use these with quadratics , cubics and trigonometric graphs. The combined rules are in transformations of y = f, the absolute value version is the modulus function , and the reciprocal graph and the exponential graph are common examples; for composition see the composite function .
This page is part of Graphs and functions in Algebra . Topics that work alongside it: Transformations of y = f(x) , Modulus function , Reciprocal graph , Reciprocal graphs and asymptotes , Inverse function and Graph of an inverse function .
What is it used for? Each type of transformation has a standard effect on a graph: translation, stretch and reflection. Knowing them lets you sketch the new graph quickly.
Sketching transformed graphs in exam questions. Writing the equation of a graph after a transformation. Identifying the transformation from two graphs.
How to use graph transformations
Write the transformed function. Decide whether it changes x (inside) or y (outside). Apply the effect to key points. Sketch the new graph.
Graph y = sin x and y = 2 sin x 0 1 2 3 4 5 6 -2 -1 0 1 2 y = sin x and y = 2 sin x x y y = sin x y = 2 sin x Graph with x from -0.5 to 6.5 and y from -2.5 to 2.5. Shows the curve y = sin x; the curve y = 2 sin x. Multiplying by 2 stretches the graph vertically by a factor of 2: the roots stay put but the peaks double.
Worked examples
These examples are worked by hand, step by step, so you can compare your own working.
Example 1: translate a parabola Describe the graph of y = ( x − 2 ) 2 + 3 compared with y = x 2 .
Worked example
Answer
Translation by ( 2 3 ) \text{Translation by }\begin{pmatrix}2\\3\end{pmatrix} Translation by ( 2 3 ) Inside change
( x − 2 ) moves the graph 2 units to the right.
Outside change
+ 3 moves it 3 units up.
Turning point
The turning point moves from ( 0 , 0 ) to ( 2 , 3 ) .
Example 2: a reflection Describe the graph of y = − x 2 compared with y = x 2 .
Worked example
Answer
reflection in the x -axis \text{reflection in the } x\text{-axis} reflection in the x -axis A minus sign outside the function
y = − f ( x )
Interpret
It is a reflection in the x-axis, so the U-shape becomes an ∩-shape.
Example 3: a stretch Describe the graph of y = 2 x 2 compared with y = x 2 .
Worked example
Answer
stretch, scale factor 2, parallel to the y -axis \text{stretch, scale factor 2, parallel to the } y\text{-axis} stretch, scale factor 2, parallel to the y -axis A factor outside the function
y = 2 f ( x )
Interpret
It is a vertical stretch with scale factor 2, so every y-value is doubled.
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
(2, 4) under f(x) + 3 (2, 7)
y-coordinate + 3.
Under f(x + 3) (−1, 4)
x-coordinate − 3.
Under 3f(x) (2, 12)
y × 3.
Under f(3x) (2/3, 4)
x ÷ 3.
Word problems
For a point (p, q) on y = f(x): f(x) + a → (p, q + a); f(x + a) → (p − a, q); af(x) → (p, aq); f(ax) → (p/a, q); −f(x) → (p, −q); f(−x) → (−p, q).
Up 3 Where does (2, 4) go under f(x) + 3? Find the new y.
4 + 3 Check: ✓ 7
Left 3 Under f(x + 3) find the new x.
2 − 3 Check: ✓ -1
Vertical stretch Higher Under 3f(x) find the new y.
3 × 4 Check: ✓ 12
Horizontal stretch Higher Under f(3x) find the new x.
2/3 Check: ✓ 0.6667
Common mistakes
x changes for f(x) + a shift x ✗
y changes ✓
Outside is vertical.
x × a for f(ax) 2 × 3 ✗
2 ÷ 3 ✓
Reciprocal.
Right for f(x + a) x + a ✗
x − a ✓
Opposite.
Reflect both (−2, −4) ✗
depends on the transformation ✓
One axis only.
Exam tips
Track a point.
Inside: x, opposite.
Outside: y, same.
−f: y → −y.
f(−x): x → −x.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. (3, 5) under f(x) − 2: new y Foundation 3
2. (3, 5) under f(x − 4): new x Foundation 7
3. (3, 5) under 2f(x): new y Foundation 10
4. (6, 5) under f(2x): new x Higher 3
5. (3, 5) under −f(x): new y Higher -5
6. (3, 5) under f(−x): new x Higher -3
Practice generator Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Foundation Higher Mixed New question
Solve: …
The practice generator needs JavaScript.
Key terms
Image point Point after transformation. Scale factor Stretch multiplier. Translation vector Shift. Reflection Mirror. Invariant Fixed under the map. Parameter (a) The constant.
Frequently asked questions
How does a point move under f(x + a)? (p, q) → (p − a, q).
Under f(ax)? (p/a, q).
Under af(x)? (p, aq).
Under −f(x)? (p, −q).
Which page covers the basics? transformations of y = f(x).
Which page covers inverses? graph of an inverse function.