4.6 Stretching Graphs
A-level Maths Year 1 (AS) · Edexcel 9MA0 · Chapter 4: Graphs and Transformations
A free A-level Maths Year 1 lesson for Pearson Edexcel A level Mathematics (9MA0) from OBA School: the graphs of y = af(x) and y = f(ax), including reflections. Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.
What you will learn
- Sketch y = af(x) as a stretch parallel to the y-axis with scale factor a
- Sketch y = f(ax) as a stretch parallel to the x-axis with scale factor 1/a
- Recognise y = −f(x) and y = f(−x) as reflections
- Find the images of points, intercepts and asymptotes under a stretch
- Find an unknown scale factor from a point on the transformed graph
Key words
- Stretch: A transformation that multiplies all the x-coordinates, or all the y-coordinates, by the same number.
- Scale factor: The number the coordinates are multiplied by. A scale factor between 0 and 1 squashes the graph.
- Invariant point: A point that does not move. Under y = af(x) the points on the x-axis are invariant.
- Reflection: A mirror image in a line. Here the mirror lines are the x-axis and the y-axis.
- Image: The point or curve after the transformation.
Vertical stretches: y = af(x)
Multiplying the whole function by a multiplies every y-value by a. Points on the x-axis (y = 0) stay where they are.
Key fact: y = af(x) is a stretch parallel to the y-axis, scale factor a. The point (x, y) maps to (x, ay).
Worked example: a vertical stretch
f(x) = x(x − 2)(x + 3) passes through (−2, 8) and (1, −4). Sketch y = 2f(x).
Roots stay at −3, 0 and 2. Each y-value doubles: (−2, 8) → (−2, 16) and (1, −4) → (1, −8)
Answer: the same roots, twice as tall
Horizontal stretches: y = f(ax)
Replacing x by ax squashes the graph towards the y-axis when a > 1. Like translations inside the bracket, it does the opposite of what you might expect: the scale factor is 1/a, not a.
Key fact: y = f(ax) is a stretch parallel to the x-axis, scale factor 1/a. The point (x, y) maps to (x/a, y). The y-intercept does not move.
Worked example: a horizontal stretch
f(x) = (x − 2)(x + 4). Sketch y = f(2x).
Roots of f: 2 and −4. Halve the x-coordinates: roots of f(2x) are 1 and −2
Check: f(2x) = (2x − 2)(2x + 4), which is 0 when x = 1 or x = −2
Minimum (−1, −9) → (−0.5, −9). y-intercept stays at f(0) = −8
Answer: roots −2 and 1, minimum (−0.5, −9), y-intercept (0, −8)
y = f((1/2)x) does the opposite: a stretch with scale factor 2, so every x-coordinate doubles.
Reflections: y = −f(x) and y = f(−x)
These are stretches with scale factor −1.
- y = −f(x); Transformation reflection in the x-axis; (x, y) maps to (x, −y)
- y = f(−x); Transformation reflection in the y-axis; (x, y) maps to (−x, y)
Worked example: both reflections
f(x) = (x − 1)(x − 3). Describe y = −f(x) and y = f(−x).
−f(x): the U shape turns upside down. Roots stay at 1 and 3
f(−x) = (−x − 1)(−x − 3) = (x + 1)(x + 3): roots move to −1 and −3
Answer: y = −f(x): reflection in the x-axis; y = f(−x): reflection in the y-axis
Points, asymptotes and unknown factors
- y = 3f(x); Point (4, 6) (4, 18); Asymptote y = 2 y = 6; Asymptote x = 4 x = 4
- y = f(2x); Point (4, 6) (2, 6); Asymptote y = 2 y = 2; Asymptote x = 4 x = 2
Worked example: finding a
f(x) = x² − 3x. The graph of y = af(x) passes through (4, 20). Find a.
f(4) = 16 − 12 = 4, so a × 4 = 20
Answer: a = 5
Worked example: one curve, two descriptions
Show that y = 6/x is a stretch of y = 1/x in two ways.
With f(x) = 1/x: 6f(x) = 6/x and f((1/6)x) = 1/(x/6) = 6/x
Answer: a vertical stretch, scale factor 6, or a horizontal stretch, scale factor 6
Common mistakes
- Using scale factor 2 for y = f(2x). It is 1/2: the graph is squashed.
- Moving the roots in a vertical stretch. Under y = af(x) the x-intercepts are invariant.
- Changing the y-intercept in a horizontal stretch. Under y = f(ax) the y-intercept is invariant.
- Mixing up the reflections: −f(x) reflects in the x-axis, f(−x) reflects in the y-axis.
- Forgetting to stretch the asymptotes along with the curve.
Revision questions
Try these, then check your answers below each one.
Question 1. Which transformation maps y = f(x) onto y = f(3x)? (Choose from: a stretch parallel to the x-axis, scale factor 1/3; a stretch parallel to the x-axis, scale factor 3; a stretch parallel to the y-axis, scale factor 3; a stretch parallel to the y-axis, scale factor 1/3.)
Answer: a stretch parallel to the x-axis, scale factor 1/3
Working: f(3x) divides every x-coordinate by 3: a horizontal stretch with scale factor 1/3.
Question 2. f(x) = x² + 2x − 8. Find the positive x-coordinate where y = f(2x) crosses the x-axis.
Answer: 1
Working: f(x) = (x + 4)(x − 2), roots −4 and 2. For f(2x) they are −2 and 1.
Question 3. True or false? y = −f(x) is the reflection of y = f(x) in the y-axis.
Answer: False
Working: −f(x) changes the sign of every y-value: it is a reflection in the x-axis. f(−x) reflects in the y-axis.
Related lessons
- Previous lesson: 4.5 Translating Graphs
- Next lesson: 4.7 Transforming Functions
- In this chapter: 4.1 Cubic Graphs
- In this chapter: 4.2 Quartic Graphs
- In this chapter: 4.3 Reciprocal Graphs
Continue in the full course
This lesson is section 4.6 of our free A-level Maths Year 1 (AS) course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved. Go to the full A-level Maths Year 1 (AS) course.