Stretches of graphs: y = af(x) and y = f(ax)
International GCSE Higher also asks about stretching graphs. A number outside the function stretches up and down; a number inside stretches sideways, the opposite way.
y = af(x): a vertical stretch
The point (4, 6) on y = f(x) moves to (4, 18) on y = 3f(x).
y = 2 sin x has a maximum of 2 and a minimum of −2.
y = f(ax): a horizontal stretch
It is a stretch parallel to the x-axis with scale factor 1a.
The point (4, 6) on y = f(x) moves to (2, 6) on y = f(2x).
y = sin 2x repeats every 360° ÷ 2 = 180°.
All four together
y = af(x): vertical stretch, scale factor a.
y = f(ax): horizontal stretch, scale factor 1a.
Outside the bracket changes y; inside changes x the 'wrong' way.
y = f(x) has a minimum point at (6, −4). Find the minimum point of y = f(3x).
- Inside the bracket: divide the x-coordinate by 3.
- 6 ÷ 3 = 2. The y-coordinate stays −4.
Answer: (2, −4)
af(x) multiplies y-coordinates by a. f(ax) divides x-coordinates by a. Changes outside the bracket act on y; changes inside act on x, the opposite way.
- Function
- A rule that turns each input into one output, written f(x).
- Scale factor
- The number every length is multiplied by in an enlargement or between similar shapes.
All GCSE and International GCSE Mathematics key terms and definitions →
- Not “(12, 6)”. That would be a horizontal stretch.
- Not “(8, 6)”. Inside the bracket you divide, not multiply.
- Not “A stretch parallel to the x-axis, scale factor 12”. Inside the bracket works the opposite way.
Try two quick questions
See if it has sunk in. Answers are marked straight away.
2 more questions
Try each one, then tap to check.
(5, 2) is on y = f(x). Which point is on y = 4f(x)?
- (20, 2)
- (5, 8)
- (54, 2)
- (5, 6)
Show the answer
Answer: (5, 8)
Multiply the y-coordinate by 4: (5, 8).
(9, 4) is on y = f(x). Which point is on y = f(3x)?
- (27, 4)
- (3, 4)
- (9, 43)
- (9, 12)
Show the answer
Answer: (3, 4)
f(3x) squashes the graph: x-coordinates are divided by 3.
Check you have got it
Answer 6 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.
Checked by the GCSE-ready editorial team, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.