- Published on
Ultimate Guide to Integrating Rational Functions and Partial Fractions
- Authors

- Name
- Vu Hung
Introduction
In lower levels of calculus, you learned how to integrate simple fractions like , which becomes . But what happens when the denominator is a massive cubic polynomial, or when the numerator is larger than the denominator? In HSC Mathematics Extension 2, you will learn how to systematically tear down complex Rational Functions (algebraic fractions) into manageable pieces using techniques like Partial Fractions and Completing the Square.
Executive Summary
This guide covers the key methods for integrating rational functions:
- Numerator Denominator: Using polynomial long division (or algebraic manipulation) to reduce improper fractions.
- Partial Fraction Decomposition: Breaking down complex denominators into distinct linear factors, perfect squares, or irreducible quadratics.
- Completing the Square: Handling irreducible quadratic denominators by forcing them into inverse tangent () forms.
What is this about?
A rational function is a ratio of two polynomials, . Integration is simple if the numerator happens to be the exact derivative of the denominator (resulting in ), but this is rarely the case in Extension 2.
If the fraction is "top-heavy" (the degree of is equal to or greater than ), you must divide it out first. If it is "bottom-heavy", you must factorize the denominator . Once factorized, you use Partial Fractions to split the massive, impossible fraction into a sum of tiny, simple fractions. These tiny fractions can then be easily integrated into logarithms or inverse tangents.
Main Content
1. The Improper Fraction Rule
Rule: You can never integrate a rational function using partial fractions if the degree (highest power) of the numerator is the degree of the denominator.
Solution: You must use Polynomial Long Division. For example, if you have : Divide by . The quotient is , and the remainder is . Rewrite the integral as: . Now, you can integrate easily, and the remaining fraction can be integrated using a standard log substitution!
2. Partial Fraction Decomposition
If the denominator is factorized, you can split the fraction. There are three types of factors you need to know:
Type 1: Distinct Linear Factors These always integrate to natural logarithms: .
Type 2: Perfect Square (Repeated Linear) Factors Notice that you must include both the single power and the squared power. The squared term integrates to a power rule: , NOT a logarithm.
Type 3: Irreducible Quadratic Factors If a quadratic cannot be factorized over real numbers (its discriminant ), it requires a linear numerator: These integrate into a combination of a logarithm and an inverse tangent.
3. Finding the Constants ()
Once you set up the partial fraction equation, multiply both sides by the original denominator to get a flat algebraic equation. To find the constants, you can:
- The Cover-Up Method / Substitution: Substitute strategic values of that make the brackets equal zero. This immediately reveals constants like .
- Equating Coefficients: Expand the right side and equate the coefficients of , , and the constants with the left side to form simultaneous equations.
4. Completing the Square
If you are left with an irreducible quadratic in the denominator like , you cannot use partial fractions on it. Instead, complete the square!
. The integral perfectly matches the standard integral formula for inverse tangent: . Result: .
Simple Worked Example
Question: Evaluate .
Solution: Step 1: Set up the Partial Fractions. Because the denominator has distinct linear factors, we write:
Step 2: Clear the denominators. Multiply the entire equation by :
Step 3: Solve for and (Substitution method). Let (to eliminate ):
Let (to eliminate ):
Step 4: Rewrite the integral.
Step 5: Integrate. Both terms are simple standard forms that integrate to natural logarithms.
mini-FAQ page
Q: Can I use complex numbers to factorize an irreducible quadratic and then use partial fractions? A: Theoretically yes, but the syllabus requires you to integrate over the real numbers. You should keep it as an irreducible quadratic over the reals (using the format) or complete the square to use inverse tangent.
Q: Do I really have to use long division if the powers are equal? A: Yes! Even if it is , the powers are both 1. You can use algebraic manipulation instead of long division to be faster: . Either way, you must break it apart first.
Common mistakes to avoid
- Forgetting the numerator: If the denominator has an irreducible quadratic like , the numerator above it MUST be . If you just write , your simultaneous equations will be impossible to solve correctly.
- Forgetting the absolute value signs: When integrating , the answer is , not . The absolute value signs are strictly required because logarithms are undefined for negative numbers.
Practice on Vu's Maths Hub
Partial fractions require impeccable algebraic accuracy.
- Practice long division and setting up equations in the HSC Integration Booklet.
- Master completing the square with our interactive modules at Vu's Maths Hub.
Further Readings
- Ready to integrate the un-integratable? Read our next guide: Integration by Parts.
- Explore more HSC math resources and full worked solutions at Vu's Maths Hub.
Connect with me
Want to master Integration and guarantee top marks in HSC Mathematics Extension 2? Visit Vu's Maths Hub for in-depth booklets, rigorous worked solutions, and expert advice to help you ace your exams!
