Skip to content

Search topics

Practise for free Sign in

Worked example Algebra and functions

Decompose rational functions worked example

In one sentence

7 worked examples on Decompose rational functions, each solved step by step.

Last checked Source: Decompose rational functions Source: Decompose rational functions qualifications.pearson.com (opens in a new tab)

Decompose rational functions for your study of A-level maths, with its source.

See also Equation of a circle, Solve simultaneous equations, Transformations of graphs and Work with quadratic functions.

Points to check

  • Using x² in a numerator when the denominator has only linear factors.
  • Setting up A/(x+1) + B/(x−1) directly without dividing first.

Study brief

  • Decomposing rational functions involves using partial fractions to break down expressions. This technique is applied to integration and differentiation. The denominators used in these decompositions are not more complicated than squared linear terms. Such expressions may include forms like (ax + b)(cx + d) or (ax + b)(cx + d)2. Decompositions can involve no more than 3 terms. Furthermore, partial fractions can be used in conjunction with the expansion of a rational function. This process is relevant when working with binomial expansion of (a + bx) n for positive integer n. It is also important to understand how these methods relate to the expansion of a function where bx is less than 1.

Worked examples

Example 1

Problem

Write (x² + 2x + 2) / (x² − 1) as a constant plus partial fractions.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 The numerator has the same degree as the denominator, so divide first.
  2. 2 Division: (x² + 2x + 2) = 1 × (x² − 1) + (2x + 3).
  3. 3 Split the remainder over (x + 1)(x − 1).
  4. 4 Result: 1 − 1/(2(x + 1)) + 5/(2(x − 1)).

Answer

1 − 1/(2(x + 1)) + 5/(2(x − 1))

Example 2

Problem

Express (3x − 1) / (x² + 2x) in partial fractions.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 Factorise the denominator: x(x + 2).
  2. 2 Write the form A/(first factor) + B/(second factor) and multiply through by the denominator.
  3. 3 Substitute the root of each factor to find A and B.
  4. 4 Result: 7/(2(x + 2)) − 1/(2x).

Answer

7/(2(x + 2)) − 1/(2x)

Example 3

Problem

Write (x² + 2x + 3) / (x² − 1) as a constant plus partial fractions.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 The numerator has the same degree as the denominator, so divide first.
  2. 2 Division: (x² + 2x + 3) = 1 × (x² − 1) + (2x + 4).
  3. 3 Split the remainder over (x + 1)(x − 1).
  4. 4 Result: 1 − 1/(x + 1) + 3/(x − 1).

Answer

1 − 1/(x + 1) + 3/(x − 1)

Example 4

Problem

Express (5x + 1) / (x² − x − 2) in partial fractions.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 Factorise the denominator: (x − 2)(x + 1).

    Why: Partial fractions start from distinct linear factors.

  2. 2 Write the form A/(first factor) + B/(second factor) and multiply through by the denominator.

    Why: This turns the fraction identity into a polynomial identity.

  3. 3 Substitute the root of each factor to find A and B.

    Why: Each substitution kills the other term.

  4. 4 Result: 4/(3(x + 1)) + 11/(3(x − 2)).

    Why: Check by recombining the fractions.

Answer

4/(3(x + 1)) + 11/(3(x − 2))

Example 5

Problem

Express (7x + 2) / (x² + x − 2) in partial fractions.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 Factorise the denominator: (x − 1)(x + 2).
  2. 2 Write the form A/(first factor) + B/(second factor) and multiply through by the denominator.
  3. 3 Substitute the root of each factor to find A and B.
  4. 4 Result: 4/(x + 2) + 3/(x − 1).

Answer

4/(x + 2) + 3/(x − 1)

Example 6

Problem

Express (x + 7) / (x² + 2x − 3) in partial fractions.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 Factorise the denominator: (x − 1)(x + 3).
  2. 2 Write the form A/(first factor) + B/(second factor) and multiply through by the denominator.
  3. 3 Substitute the root of each factor to find A and B.
  4. 4 Result: −1/(x + 3) + 2/(x − 1).

Answer

−1/(x + 3) + 2/(x − 1)

Example 7

Problem

Write (x² + 2x + 1) / (x² − 1) as a constant plus partial fractions.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 The numerator has the same degree as the denominator, so divide first.

    Why: Improper fractions need an integer part.

  2. 2 Division: (x² + 2x + 1) = 1 × (x² − 1) + (2x + 2).

    Why: The remainder has lower degree.

  3. 3 Split the remainder over (x + 1)(x − 1).

    Why: Now it is a proper fraction.

  4. 4 Result: 1 + 2/(x − 1).

    Why: Constant plus partial fractions.

Answer

1 + 2/(x − 1)

Practise for free

Test yourself with exam-style questions and see why each answer is right or wrong.

Start practising
Free practice, no card Start without an account Sources checked Every fact names its official source
Works on any device Phone, tablet or desktop
Contact us Questions or a correction