Lemmara logo

Transformations of Graphs

Where a point moves under f(x) + a, f(x + a), af(x), f(ax), −f(x) and f(−x), and finding the new equation.

43real exam questions on this topic
  • 9 steps
  • 10 min
  • 2 syllabuses

Try a real exam question on this

WMA11/01 · Jun 2026 · Q9 · 5 marks · Solve it step by step, the way the examiner marks it.

Loading the animated solution…

See the solution as text
Text version of the solution

For y = sin(x + π/8), find a minimum point's x value, count roots over a long range, and give the minimum of a stretched, reflected curve.

(a) 1 mark

State the x coordinate of P.

  1. Understand the question. C₁ is y equals sin(x plus pi over 8). P is its lowest point. We must state its x coordinate.
  2. Use the graph transformation rules. Adding pi over 8 inside moves sin x left by pi over 8.
  3. Why does this work? A change outside the brackets acts on y. f(x) plus a adds a to every height, so the curve moves up by a. a times f(x) multiplies every height by a.
  4. A change inside the brackets acts on x, the opposite way to how it looks. f(x plus a) moves the curve left by a. f(ax) divides every x by a.
  5. Minus f(x) flips every height, a reflection in the x-axis. f(minus x) swaps left and right, a reflection in the y-axis.
  6. sin x is lowest at 3 pi over 2. Move it left by pi over 8.
  7. x = 3π/2 − π/8 = 11π/8

Answer 11π/8

(b) 2 marks

Count the roots of sin(x + π/8) = sin(π/8) for 0 ≤ x < 101π, with a reason.

  1. Understand the question. We must count the solutions of sin(x plus pi over 8) equals sin(pi over 8) for x from 0 up to 101 pi, and say why.
  2. Use the symmetry of the sine graph. Each value comes twice in every full turn.
  3. Why does this work? Picture a point going round a circle of radius 1. Its height is sin x and its distance across is cos x.
  4. Two angles that add up to half a turn give the same height, so the same sin. Two angles that add up to a full turn give the same distance across, so the same cos.
  5. At x equal to 0 the curve has height sin pi over 8, the value we want. It meets this height twice in every 2 pi, once going up and once going down.
  6. From 0 to 100 pi there are 50 full turns.
  7. 50 × 2 = 100
  8. From 100 pi to 101 pi the graph repeats its first half turn, which holds 2 more roots, one at 100 pi and one before 101 pi.
  9. 100 + 2 = 102

Answer 102, because there are 2 roots in every 2π, which gives 100 in 0 ≤ x < 100π, and 2 more in 100π ≤ x < 101π

(c) 2 marks

State the coordinates of Q on y = −5 sin(x + π/8).

  1. Understand the question. C₂ is y equals minus 5 sin(x plus pi over 8). Q is its lowest point between 0 and 2 pi. We must state Q.
  2. Use the graph transformation rules. Multiplying by minus 5 turns the curve upside down and stretches it by 5.
  3. Why does this work? A change outside the brackets acts on y. f(x) plus a adds a to every height, so the curve moves up by a. a times f(x) multiplies every height by a.
  4. A change inside the brackets acts on x, the opposite way to how it looks. f(x plus a) moves the curve left by a. f(ax) divides every x by a.
  5. Minus f(x) flips every height, a reflection in the x-axis. f(minus x) swaps left and right, a reflection in the y-axis.
  6. The lowest point of C₂ comes from the highest point of C₁. sin is highest at pi over 2, so move left by pi over 8.
  7. x = π/2 − π/8 = 3π/8
  8. The height 1 becomes minus 5.
  9. Q = (3π/8, −5)

Answer (3π/8, −5)

The lesson, step by step

Step 1 of 9

What a Graph Transformation Is

is any curve. The exam changes the rule and asks where a point, like the top of the curve, moves to.

Rule

A change outside the bracket changes the y values: up, down, taller. A change inside the bracket changes the x values, and works the opposite way to how it looks.

Example

On every card here the curve has its highest point at . Watch where that one point goes.

Key idea

You never need the curve's equation. Move the point with the rule, and the whole curve moves with it.

See this step move in Lemmara

Step 2 of 9

Translations: Up, Down, Left, Right

Adding a number slides the curve without changing its shape. Exams ask where the top or bottom point goes. Here the top of is .

Formula

Worked example

  1. 1

    — The −3 is outside the bracket, so it changes the y value. The x value stays at 4.

  2. 2

    — Do to y what the number says: take 3 off 7.

  3. 3

    — Write the new point. It has dropped 3.

  4. 4

    — The +2 is inside the bracket, so it changes the x value, and in the opposite way.

  5. 5

    — The new top is where the bracket equals the old x value, 4. Take 2 from both sides.

  6. 6

    — x is now 2 and y has not changed, so the point has moved 2 to the left.

  7. 7

    — The −5 is inside the bracket, so again it changes x the opposite way.

  8. 8

    — Make the bracket equal 4, then add 5 to both sides to undo the −5.

  9. 9

    — x is now 9, so the point has moved 5 to the right.

A negative coordinate needs care. Keep it in brackets. Here the minimum of is and the curve becomes .

Worked example

  1. 1

    — The +3 is inside the bracket, so it changes x the opposite way.

  2. 2

    — The bracket must equal the old x value. Write −9 in brackets so the sign is not lost.

  3. 3

    — Take 3 from both sides. −9 − 3 = −12, so the point moves 3 to the left.

  4. 4

    — y does not change, because the +3 is inside the bracket.

Common mistake

Moving to the right. The top is where the bracket equals what it did before: gives , so it moves left.

See this step move in Lemmara

Step 3 of 9

Stretches

Multiplying stretches the curve. Outside, the y values are multiplied. Inside, the x values are divided.

Formula

Worked example

  1. 1

    — The 2 is outside the bracket, so it multiplies the y value. The x value stays at 4.

  2. 2

    — Double the y value.

  3. 3

    — Write the new point. It is twice as high.

  4. 4

    — The 2 is inside the bracket, so it acts on the x value, the opposite way.

  5. 5

    — Make the bracket equal the old x, 4, then divide both sides by 2. The x value is halved.

  6. 6

    — y does not change. The curve is squeezed towards the y-axis.

  7. 7

    — Dividing by 2 inside is the other way round.

  8. 8

    — Make the bracket equal 4, then multiply both sides by 2. The x value is doubled.

  9. 9

    — The curve is stretched away from the y-axis.

  10. 10

    — A fraction outside the bracket shrinks y. The point is now (4, 3.5).

Common mistake

Doubling the x value for . Inside works the opposite way: the curve is squashed towards the y-axis.

See this step move in Lemmara

Step 4 of 9

Reflections

A minus sign reflects the curve. Outside, it flips upside down. Inside, it flips left to right.

Formula

Worked example

  1. 1

    — The minus is outside the bracket, so it changes the sign of the y value.

  2. 2

    — Put the old y in brackets and change its sign.

  3. 3

    — The point flips upside down: a reflection in the x-axis.

  4. 4

    — Now a point with a negative y value.

  5. 5

    — A minus times a minus is a plus, so the minimum becomes a maximum at (6, 3).

  6. 6

    — The minus is inside the bracket, so it changes the x value.

  7. 7

    — Make the bracket equal the old x, 4. Multiply both sides by −1.

  8. 8

    — y does not change: a reflection in the y-axis.

Key idea

“Describe fully” wants the mirror line too: reflection in the x-axis (the line y = 0), or in the y-axis (x = 0).

See this step move in Lemmara

Step 5 of 9

Finding the New Equation

Sometimes you are given and asked for the equation after a move. Replace every x with the new bracket, then tidy up.

Worked example

  1. 1

    — The rule. We want y = f(x − 2), so every x must become x − 2.

  2. 2

    — Replace each x with (x − 2). Keep the brackets so the 2 goes with the whole x term.

  3. 3

    — Squaring means multiplying the bracket by itself.

  4. 4

    — Multiply each term by each term: x·x, x·(−2), (−2)·x and (−2)·(−2) = +4.

  5. 5

    — Collect the two x terms: −2x − 2x = −4x.

  6. 6

    — Multiply both terms in the bracket by 3, the −2 included.

  7. 7

    — Put the two expanded parts together.

  8. 8

    — Group the like terms: the x terms and the numbers.

  9. 9

    — −4x + 3x = −x and 4 − 6 = −2.

Example

Backwards: is moved 3 right and 1 up, a translation by the vector .

See this step move in Lemmara

Step 6 of 9

New Equation: Stretches, Reflections

Exams also ask for the equation after a stretch or a reflection. Take . The number outside multiplies the whole rule. A number inside replaces each x.

Worked example

  1. 1

    — The 2 is outside, so it multiplies the whole rule, not just the first term.

  2. 2

    — Multiply each term in the bracket by 2.

  3. 3

    — A minus outside multiplies the whole rule by −1.

  4. 4

    — Every term changes sign, so +3x becomes −3x.

  5. 5

    — Replace each x with 2x. The brackets keep the 2 with the x.

  6. 6

    — (2x)² = 4x² because the 2 is squared too, and 3 × 2x = 6x.

  7. 7

    — Replace each x with −x. Brackets matter here.

  8. 8

    — (−x)² = +x², because a negative times a negative is positive, and 3 × (−x) = −3x.

Common mistake

Writing as . The minus applies to every term, so the 3x changes sign too.

See this step move in Lemmara

Step 7 of 9

Combined Moves and Sketching

Real questions often join moves together. The x value and the y value are handled separately, so work them one at a time.

Worked example

  1. 1

    — Inside is +2, so x changes. Outside are × 3 and − 5, so y changes.

  2. 2

    — The bracket equals the old x. Take 2 from both sides.

  3. 3

    — Do the multiplying first, just as the rule is written: 3f(x) comes before the − 5.

  4. 4

    — Now subtract 5.

  5. 5

    — Put the new x and y together.

  6. 6

    — A reflection and a translation together.

  7. 7

    — Inside +3 moves the x value left 3.

  8. 8

    — The minus outside changes the sign of y.

  9. 9

    — Put the new x and y together.

To draw a new graph, move the key points, then join them the same way. Key points are corners, turning points and where the graph meets the axes. Here is straight lines through , and .

Worked example

  1. 1

    — A vertical stretch of scale factor 2 doubles every y value. x stays the same.

  2. 2

    — 2 × 0 = 0, so the points on the x-axis do not move.

  3. 3

    — The top corner is twice as high.

  4. 4

    — A reflection in the y-axis changes the sign of every x value.

  5. 5

    — Change the sign of each x and keep y. Plot the three points and join them with straight lines.

Key idea

In a vertical stretch the points on the x-axis stay where they are. In a horizontal stretch the points on the y-axis stay where they are.

See this step move in Lemmara

Step 8 of 9

Describe Fully, Completed Square

“Describe fully” needs the right words: the type of move, then its size or direction. A translation needs a vector. A stretch needs a scale factor and the axis it is parallel to. A reflection needs its mirror line.

You seeDescribe fully
translation by the vector
translation by the vector
stretch, scale factor , parallel to the y-axis
stretch, scale factor , parallel to the x-axis
reflection in the x-axis
reflection in the y-axis

To spot the moves from an equation, complete the square. Describe fully the moves that take to .

Worked example

  1. 1

    — Take the 3 out of the x² and x terms only. The 5 stays outside.

  2. 2

    — Complete the square inside: half of 4 is 2, and take away 2² = 4 to put back what was added.

  3. 3

    — Put that back inside the 3[ ].

  4. 4

    — Multiply the −4 by the 3 outside.

  5. 5

    — Collect the numbers: −12 + 5 = −7.

  6. 6

    — Compare with f(x) = x². The 3 multiplies y, the +2 is inside, and the −7 is added to y.

  7. 7

    — The 3 multiplies every y value. Do this first, because the −7 is added after the multiplying.

  8. 8

    — The +2 inside moves the curve 2 left, and the −7 moves it 7 down.

Common mistake

Writing just “translation” or just “stretch”. Without the vector, or the scale factor and the axis, the answer scores no marks.

See this step move in Lemmara

Step 9 of 9

Which Method? Read the Question

Find where the number is: inside or outside the bracket.

You seeThe point
y + a: up a
x − a: left a
y × a
x ÷ a
y becomes −y
x becomes −x
Equation of the new curveput the new bracket for every x, or multiply the whole rule
Describe fullytranslation vector, or scale factor and axis, or mirror line

Key idea

Outside changes y, the way it looks. Inside changes x, the opposite way.

See this step move in Lemmara

More real exam questions on this

Solve one in Lemmara and see where every mark goes.

All 43 questions on this topic

Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.

Try a real exam question on this

Solve it →