Skip to main content
Examonaut

Topic 2 · Lesson 5 of 6

Transformations and partial fractions

Transformations of graphs

Changing the equation of y=f(x)y = f(x) moves or stretches its graph in predictable ways. The rule to understand: a change outside the function acts on the yy-values, as you'd expect; a change inside the bracket acts on the xx-values, the opposite way to what you might expect.

  • y=f(x)+ay = f(x) + a: translation up by aa, vector (0a)\binom{0}{a}.
  • y=f(x+a)y = f(x + a): translation left by aa, vector (−a0)\binom{-a}{0}. Why left? The new graph reaches the height f(0)f(0) when x+a=0x + a = 0, at x=−ax = -a.
  • y=af(x)y = af(x): vertical stretch, scale factor aa (every yy-value multiplied by aa).
  • y=f(ax)y = f(ax): horizontal stretch, scale factor 1a\frac{1}{a} (the graph is squashed towards the yy-axis when a>1a > 1).
  • y=−f(x)y = -f(x) reflects in the xx-axis; y=f(−x)y = f(-x) reflects in the yy-axis.

The diagram compares the two stretches for f(x)=4−x2f(x) = 4 - x^2. 2f(x)2f(x) doubles the height but keeps the roots; f(2x)f(2x) keeps the height but halves the distance to the roots.

xyO−2−11226y = 2f(x)y = f(x)y = f(2x) (dashed)

Combinations (A level only). The safest method is to follow a single point. If (2,5)(2, 5) is on y=f(x)y = f(x), where is it on y=3f(2x)−1y = 3f(2x) - 1? Inside: we need 2x=22x = 2, so x=1x = 1. Outside: y=3×5−1=14y = 3 \times 5 - 1 = 14. So the image is (1,14)(1, 14). For y=f(2x−4)y = f(2x - 4), solve 2x−4=22x - 4 = 2 to get x=3x = 3: the point moves to (3,5)(3, 5).

Try it: move a, b, c and d and watch which changes act on the y-values and which act, the opposite way, on the x-values.

Try it: simulation

Graph transformer

Loading the simulation…

Partial fractionsA level only

Adding fractions combines them: 2x−1+3x+2=5x+1(x−1)(x+2)\frac{2}{x - 1} + \frac{3}{x + 2} = \frac{5x + 1}{(x - 1)(x + 2)}. Partial fractions is the reverse: splitting a fraction into simpler ones. You will need it to integrate and to expand fractions with the binomial theorem.

How to split into partial fractions

  1. Step 1: Factorise the denominator.
  2. Step 2: Write one fraction for each factor: Ax−1+Bx+2\frac{A}{x - 1} + \frac{B}{x + 2}. For a repeated factor (x+1)2(x + 1)^2, use two fractions, Bx+1+C(x+1)2\frac{B}{x + 1} + \frac{C}{(x + 1)^2}.
  3. Step 3: Multiply through by the whole denominator to get an identity, true for every xx.
  4. Step 4: Substitute values of xx that make brackets zero to find the constants quickly; compare coefficients for any left over.

If the top has the same or higher degree than the bottom (an improper fraction), divide first. For example x2+3x+4(x+1)(x+2)=1+2(x+1)(x+2)\frac{x^2 + 3x + 4}{(x + 1)(x + 2)} = 1 + \frac{2}{(x + 1)(x + 2)}, because the bottom is x2+3x+2x^2 + 3x + 2, which goes in once with remainder 2.

Worked example

Partial fractions with a repeated factortop grade

Express 3x2+3x−9(x−2)(x+1)2\frac{3x^2 + 3x - 9}{(x - 2)(x + 1)^2} in partial fractions.

Show solution
  1. Write 3x2+3x−9(x−2)(x+1)2≡Ax−2+Bx+1+C(x+1)2\frac{3x^2 + 3x - 9}{(x - 2)(x + 1)^2} \equiv \frac{A}{x - 2} + \frac{B}{x + 1} + \frac{C}{(x + 1)^2}.
  2. Multiply by (x−2)(x+1)2(x - 2)(x + 1)^2: 3x2+3x−9≡A(x+1)2+B(x−2)(x+1)+C(x−2)3x^2 + 3x - 9 \equiv A(x + 1)^2 + B(x - 2)(x + 1) + C(x - 2).
  3. x=2x = 2: 12+6−9=9A12 + 6 - 9 = 9A, so A=1A = 1.
  4. x=−1x = -1: 3−3−9=−3C3 - 3 - 9 = -3C, so C=3C = 3.
  5. No value of xx isolates BB, so compare x2x^2 coefficients: 3=A+B3 = A + B, giving B=2B = 2.
  6. Answer: 1x−2+2x+1+3(x+1)2\frac{1}{x - 2} + \frac{2}{x + 1} + \frac{3}{(x + 1)^2}.

Functions as models

A function can model a real situation, such as the height of a ball, h=1.5+12t−5t2h = 1.5 + 12t - 5t^2 metres after tt seconds. Completing the square, h=8.7−5(t−1.2)2h = 8.7 - 5(t - 1.2)^2, so the greatest height is 8.7 m after 1.2 s. Every model has limits: this one ignores air resistance, assumes the ball is a particle, and only makes sense for tt between 0 and the time it lands, since it predicts negative heights afterwards. Exam questions often ask you to state such a limitation or suggest a refinement, in context.

Practise this topic

Both are part of Premium.