HSC Study

Partial Fractions and Quadratic Denominators

Integrating rational functions with a quadratic denominator by completing the square, decomposing rational functions with linear and irreducible quadratic factors into partial fractions, and integrating the result.

60 min · Calculus

Assumes you have read Further Integration by Substitution and Calculus of Inverse Functions.

The full teaching. Start here.

The short version

  • Standard results: and .
  • Quadratic denominator that doesn't factor: complete the square, then use the standard results with .
  • Linear numerator over a quadratic: split it into a multiple of the derivative of the denominator (giving a log) plus a constant (giving an inverse tan).
  • Partial fractions: each linear factor gets ; each irreducible quadratic factor gets .
  • Finding the constants: substitute the roots of the linear factors, then compare coefficients.
  • Improper fractions: if the degree of the numerator is at least that of the denominator, divide first.

Quadratic denominators

A quadratic with does not factor over the reals. Completing the square turns it into , and gives an inverse tan integral. Under a square root, a negative gives and an inverse sine.

When the numerator is linear, split it. Write it as a multiple of the derivative of the denominator, plus whatever constant is left over.

Worked example3 marks

A linear numerator over a quadratic

Find .

Split the numerator

The derivative of the denominator is 2x + 2.

, so the integrand is .

Log part

f′/f.

, with no absolute value needed because the quadratic is always positive.

Inverse tan part

x² + 2x + 5 = (x + 1)² + 4, so a = 2.

.

Answer

.

CheckpointAnswer before reading on.

Completing the square, equals

Select one answer

Hint 1Half of −4 is −2.

Hint 2.

Hint 3.

CheckpointAnswer before reading on.

Find .

Select one answer

Hint 1.

Hint 2.

Hint 3.

CheckpointAnswer before reading on.

Evaluate , correct to four decimal places.

Hint 1.

Hint 2.

Hint 3.

Exam question

Standard · about 3 min

2 marks

Find .

Hint 1.

Hint 2.

Hint 3, .

Where students lose marks on this one
  • Writing 3 + 2x − x² = (x + 1)² + 2.

    Why it happens: Mishandling the negative x² term.

    Factor out −1 first: −(x² − 2x − 3).

Written for this site.

Exam question

Standard · about 3 min

2 marks

Evaluate , correct to four decimal places.

Hint 1.

Hint 2.

Hint 3.

Where students lose marks on this one
  • Using (x − 1)² instead of (x + 1)².

    Why it happens: Sign error completing the square.

    −(x² + 2x) = −(x + 1)² + 1.

Written for this site.

Exam question

Standard · about 4 min

3 marks

Find .

Hint 1Write .

Hint 2The first part is .

Hint 3The second part is .

Where students lose marks on this one
  • Answering ½ln(x² + 2x + 2) + C only.

    Why it happens: Dropping the constant left over after matching 2x + 2.

    x + 3 − ½(2x + 2) = 2 still needs integrating.

Written for this site.

Exam question

Harder · about 5 min

3 marks

Find .

Hint 1.

Hint 2.

Hint 3.

Where students lose marks on this one
  • Writing 4tan⁻¹((x + 2)/2).

    Why it happens: Forgetting the 1/a factor.

    ∫ du/(u² + a²) = (1/a)tan⁻¹(u/a).

Written for this site.

Exam question

Harder · about 4 min

2 marks

Find .

Hint 1.

Hint 2Let , .

Hint 3.

Where students lose marks on this one
  • Answering ½tan⁻¹((2x + 1)/2).

    Why it happens: Forgetting the factor 1/2 from du = 2dx.

    Two factors of 1/2 multiply to 1/4.

Written for this site.

Partial fractions with linear factors

Partial fractions reverse the process of adding fractions. If the denominator is a product of distinct linear factors, write one constant numerator over each factor. Multiply through by the denominator, then substitute the root of each factor: every other term vanishes and each constant drops out.

Worked example3 marks

Two linear factors

Evaluate .

Set up

One constant over each linear factor.

, so .

Substitute the roots

Each substitution removes one unknown.

: , so . : , so .

Integrate

Each term is a log.

.

Answer

.

Is that answer sensible?

Recombine: ✓.

xyy = f(x)y = 2/(x − 1)y = 3/(x + 2)23x = 1
is the sum of and . Each piece is easy to integrate, so the shaded area from to is the sum of two logarithms.

CheckpointAnswer before reading on.

Given , find .

Select one answer

Hint 1Multiply through by .

Hint 2Substitute .

Hint 3.

CheckpointAnswer before reading on.

Which is the partial fraction decomposition of ?

Select one answer

Hint 1.

Hint 2: .

Hint 3: .

CheckpointAnswer before reading on.

Express in partial fractions.

Hint 1.

Hint 2: .

Hint 3: .

Exam question

Standard · about 3 min

2 marks

Evaluate , correct to four decimal places.

Hint 1.

Hint 2.

Hint 3.

Where students lose marks on this one
  • Using ln|x − 1| without the 2.

    Why it happens: Dropping the coefficient A = 2.

    Keep each numerator as a multiplier of the log.

Written for this site.

Exam question

Standard · about 4 min

3 marks

Express in partial fractions.

Hint 1.

Hint 2: .

Hint 3 and give and .

Where students lose marks on this one
  • Getting C = 1.

    Why it happens: Sign error: (−2)(−3) = 6.

    Evaluate x(x − 1) at x = −2 carefully.

Written for this site.

Exam question

Standard · about 4 min

3 marks

Evaluate , correct to four decimal places.

Hint 1.

Hint 2.

Hint 3.

Where students lose marks on this one
  • Using tan⁻¹.

    Why it happens: Treating x² − 1 like x² + 1.

    x² − 1 factors, so use partial fractions.

Written for this site.

Exam question

Harder · about 5 min

3 marks

Show that , and find the limit of this integral as .

Hint 1.

Hint 2.

Hint 3.

Where students lose marks on this one
  • Saying the limit is infinite.

    Why it happens: Assuming the log grows without bound.

    The argument 2n/(n + 1) tends to 2.

Written for this site.

Exam question

Harder · about 5 min

3 marks

Use the substitution to find .

Hint 1.

Hint 2.

Hint 3Combine the logs.

Where students lose marks on this one
  • Leaving the answer in u.

    Why it happens: The question is in x.

    Replace u by eˣ at the end.

Written for this site.

Quadratic factors and improper fractions

An irreducible quadratic factor needs a linear numerator , because a quadratic denominator can sit under anything up to degree . Substituting a root finds only the constants over linear factors. Find the rest by comparing coefficients.

Worked example4 marks

A linear and a quadratic factor

Find .

Set up

Constant over the linear factor, Bx + C over the quadratic.

.

Find A

Substitute x = −1.

, so .

Compare coefficients

x² terms and constant terms.

: , so . Constants: , so .

Integrate

Split (2x + 1)/(x² + 4) into a log part and an inverse tan part.

.

Answer

.

Before any of this, check the degrees. If the numerator's degree is at least the denominator's, the fraction is improper: divide first, then decompose only the proper remainder. For example, .

CheckpointAnswer before reading on.

The correct form for decomposing is

Select one answer

Hint 1x² + 9 does not factor over the reals.

Hint 2A quadratic factor needs a linear numerator.

Hint 3A linear factor needs a constant numerator.

CheckpointAnswer before reading on.

A student writes and cannot find and that work. Why?

Select one answer

Hint 1Compare degrees.

Hint 2The right side has numerator degree at most 1.

Hint 3Divide first.

Exam question

Standard · about 5 min

3 marks

Express in partial fractions, and hence find its integral.

Hint 1.

Hint 2: .

Hint 3Compare x² and constant coefficients.

Where students lose marks on this one
  • Stopping after finding A.

    Why it happens: Not comparing coefficients for B and C.

    Equate the x² and constant coefficients.

Written for this site.

Exam question

Harder · about 5 min

3 marks

Evaluate , correct to four decimal places.

Hint 1.

Hint 2.

Hint 3.

Where students lose marks on this one
  • Answering ln 2.

    Why it happens: Dropping the inverse tan term.

    Both fractions must be integrated.

Written for this site.

Exam question

Standard · about 4 min

3 marks

Find .

Hint 1.

Hint 2, , .

Hint 3.

Where students lose marks on this one
  • Integrating x/(x² + 1) as tan⁻¹x.

    Why it happens: Confusing the two standard forms.

    x/(x² + 1) is half of f′/f.

Written for this site.

Exam question

Standard · about 4 min

3 marks

Find .

Hint 1The degrees are equal: divide first.

Hint 2.

Hint 3.

Where students lose marks on this one
  • Writing A/(x − 1) + B/(x + 1) straight away.

    Why it happens: Partial fractions need the numerator degree to be lower.

    Divide first when the degrees are equal.

Written for this site.

Exam question

Hardest asked · about 7 min

4 marks

Use and partial fractions to evaluate , correct to four decimal places.

Hint 1.

Hint 2.

Hint 3Limits to .

Where students lose marks on this one
  • Using the upper limit tan(π/3) = √3.

    Why it happens: Forgetting that t = tan(x/2).

    At x = π/3, t = tan(π/6) = 1/√3.

Written for this site.

Common mistake

∫ x/(x² + 1) dx = tan⁻¹x + C.

Why it happens: With x in the numerator, this is half of f′/f, not the inverse tan form.

. The inverse tan form needs a constant numerator. Split a numerator like into both kinds of term.

What lifts this to a Band 6

Check your partial fractions before integrating: recombine them, or substitute a convenient value such as into both sides. It takes ten seconds and saves the whole integral. In multi-part questions, the decomposition is usually a "show that" part. Even if you can't do it, use the given result in the next part to earn those marks.

Why the decomposition always exists

Every real polynomial factors into linear factors and irreducible quadratic factors: this follows from the fundamental theorem of algebra and conjugate pairs of complex roots. The partial fraction theorem then says that any proper rational function splits into a sum of terms of the forms and . The syllabus only needs , but repeated factors work the same way, with one term for each power.

Each of these pieces has an elementary antiderivative built from powers, logarithms and inverse tangents. So every rational function can be integrated in elementary terms. Combined with , the same is true of every rational function of and .