Skip to content

Search topics

Practise for free Sign in

Calculator Algebra and functions

Partial fractions calculator

In one sentence

Splits (px + q)/((x − a)(x − b)) into A/(x − a) + B/(x − b).

Last checked Source: uk-dfe-alevel-maths-subject-content Source: Department for Education, GCE AS and A level subject content for mathematics (topics derived; every example and value computed here), uk-dfe-alevel-maths-subject-content www.gov.uk (opens in a new tab)

Key facts

Partial fractions calculator

Formula ref
A = (pa + q)/(a − b), B = (pb + q)/(b − a)
Topic
Algebra and functions

Inputs

  • p, q: numerator coefficients
  • a, b: distinct roots

Worked input

  • Input (4x + 7)/((x − 1)(x + 2)).
  • A = (4×1 + 7)/(1 − (−2)) = 11/3, B = (4×(−2) + 7)/(−2 − 1) = 1/3.
  • Result 1/(3(x + 2)) + 11/(3(x − 1)).
  • Take (5x + 1)/((x − 1)(x − 2)), where both roots are positive and the two constants have opposite signs. The cover-up values are A = −6 and B = 11. When both roots are positive the two constants can have different signs, and checking that they add up to the coefficient of x in the numerator is a fast test that the cover-up values are right. Check: A + B = 5 equals the coefficient 5 of x in the numerator, as it must when the parts are recombined.
  • Take 3/((x − 1)(x + 2)), a constant numerator, so p is zero and the two constants must cancel in x. The cover-up values are A = 1 and B = −1. A constant numerator forces the two constants to cancel in the x terms, which is why they have opposite signs and add to zero, and this pattern is worth recognising on sight. Check: A + B = 0 is zero, which matches the absence of an x term in the numerator.
  • Take 2x/(x² − 9), where the roots 3 and −3 are symmetric about zero. The cover-up values are A = 1 and B = 1. Symmetric roots give a denominator that is a difference of two squares, and a numerator in x often produces two equal constants, which makes this case a common starting point for integration questions. Check: A + B = 2 equals the numerator coefficient 2, and the answer 1/(x − 3) + 1/(x + 3) recombines to 2x/(x² − 9).

How to use it

  • Enter the numerator and the two roots.
  • For an improper fraction divide first.
  • Recombine to check.

Partial fractions calculator in your study of A-level maths, set out with its source.

Related pages include Discriminant calculator, Completing the square calculator, Rationalise a denominator and Surd simplifier.

Study brief

  • Students preparing for the a level maths may encounter rational expressions that require decomposition into partial fractions. This process involves breaking down rational functions where denominators consist of linear terms, such as (ax + b)(cx + d)(ex + f), or squared linear terms like (ax + b)(cx + d)2. These decompositions often involve no more than 3 terms. Such methods are useful for integrating rational expressions, including cases like 2/(3x + 5) or 2/(x + 5)(2x - 1). The ability to decompose functions is also linked to the expansion of rational functions. These mathematical techniques assist when performing integration, which is a key topic in the curriculum. Mastering these decompositions allows for the evaluation of complex integrals through simpler components. Understanding these processes is essential for managing algebraic fractions and preparing for various assessment papers.

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