Partial FractionExpected Educational ResultsBloom’s TaxonomyPartial FractionsMethod of Partial FractionsCheck Your WorkUse Technology to Verify Partial Fraction DecompositionUse Technology to Solve for Unknowns in a System of EquationsInvestigation 09Integrating Rational FunctionsCheck Your WorkUse Technology to Verify AntiderivativesInvestigation 10CC BY-NC-SA 4.0
Author: John J Weber III, PhD Corresponding Textbook Sections:
Section 7.4 – Integration of Rational Functions by Partial Fractions
Objective 06–01: I can use partial fractions to evaluate an indefinite integral.
Objective 06–02: I can use partial fractions to evaluate a definite integral using FTC-II.
A modern version of Bloom’s Taxonomy is included here to recognize various different levels of understanding and to encourage you to work towards higher-order understanding (those at the top of the pyramid). All Objectives, Investigations, Activities, etc. are color-coded with the level of understanding.

NOTE: The Method of Partial Fractions is only valid for rational functions of the form
Distinct Linear Factors
Let
Quadratic Factors
Let
Repeated Linear Factor
Let
Repeated Quadratic Factors
Let
NOTE: The above may not be helpful when you first look at the definitions, so, you should try to conceptually understand the Method of Partial Fractions.
Example 01: Express
Solution 01:
All three conditions needed to use the Method of Partial fractions are met.
Completely, factor the denominator:
There are three (3) factors of the denominator; thus, there must be three (3) partial fractions.
Two of the factors in the denominator are linear factors, so a generic constant,
One of the factors of the denominator is an irreducible quadratic, so a generic linear function is used for the numerator:
Thus, the rational expression can be rewritten as the sum of three (3) partial fractions:
Next, we need to solve for the coefficients:
There are at least two methods (the traditional textbook method or the method shown below) to solve for the coefficients:
Distribute the factors of the denominator to the entire equation and cancel factors:
Consider each product:
Thus,
The traditional method suggests to expand, refactor in terms of powers of
Alternate method. Do NOT expand.
Let
Let
Let
Let
Thus,
NOTE: The use of technology in this activity is to verify, i.e., check, your partial fraction decomposition. You must show work on assessments to receive credit for all Calculus II work.
1(* Express (x^2+2x-4)/(x^4-1) as a sum of partial fractions *)2Apart[(x^2+2x-4)/(x^4-1)]Warnings:
Be very careful with the syntax. Syntax is the set of rules on how to write computer code. Every software program has its own unique syntax. Some basic Mathematica syntax is located at: https://www.jjw3.com/Common_Mathematica_Code.html.
Apart[ ] has one argument:
The function to decompose into sum of partial fractions.
For help on using the Apart[ ] function:
In Mathematica, execute the code:
Click on
Click on local
Read how to use the Apart[ ] function – you will be able to copy-paste code.
You may need parens,
Remember, correct Mathematica code will be all black except for variables.
To execute code (including comment codes), press and hold the SHIFT key and press the ENTER key.
Python
Warnings:
Be very careful with the syntax. Syntax is the set of rules on how to write computer code. Every software program has its own unique syntax. Some basic Python syntax is located at: https://www.jjw3.com/Common_Python_Code.html.
All code is included above with comment codes that explain the executable code.
integrate( ) for indefinite integrals has two arguments:
The integrand, i.e., function of the definite integral;
You only need to change the function in the integrate( ) command.
The Python syntax for
Python requires
Remember to use parens
Python does not return the antiderivative with
To execute code, press the “View the result” button:

Example 02: Express
Solution 02:
All three conditions needed to use the Method of Partial fractions are met.
Completely, factor the denominator:
There are three (3) factors of the denominator;
Two of the factors in the denominator are linear factors, so a generic constant,
NOTE:
The remaining factor of the denominator is an irreducible quadratic, so a generic linear function is used for the numerator:
Thus, the rational expression can be rewritten as the sum of three (3) partial fractions:
Next, we need to solve for the coefficients:
Distribute the factors of the denominator to the entire equation and cancel factors:
Consider each product:
Thus,
The traditional method suggests to expand, refactor in terms of powers of
Alternate method. Do NOT expand.
Let
Let
Let
Let
We have three equations (labeled) with three unknowns (
NOTE: You are permitted to use Mathematica to algebraically solve systems of equations without showing any work.
Mathematica
xxxxxxxxxx21(* Solve system of 3 equations with three unknowns in Example 02 *)2Solve[{0==3A+C+D, -2==-3A-C+D, -2==12A+8C+4D},{A,C,D}]Warnings:
Be very careful with the syntax. Syntax is the set of rules on how to write computer code. Every software program has its own unique syntax. Some basic Mathematica syntax is located at: https://www.jjw3.com/Common_Mathematica_Code.html.
Solve[ ] has at least two arguments:
The equations to be solved;
the equations are grouped between
The variables/parameters to be solved;
the parameters are grouped between
For help on using the Solve[ ] function:
In Mathematica, execute the code:
Click on
Click on local
Read how to use the Solve[ ] function – you will be able to copy-paste code.
Mathematica uses the double equals sign,
Remember, correct Mathematica code will be all black except for variables.
To execute code (including comment codes), press and hold the SHIFT key and press the ENTER key.
Rewrite the following rational expressions into a sum of partial fractions, if possible:
Example 03: Evaluate
Solution 03: From Example 01, we know
Using
NOTE: The use of technology in this activity is to verify, i.e., check, your answers. You must show work on assessments to receive credit for all Calculus II work.
Mathematica
xxxxxxxxxx21(* Integrate (x^2+2x-4)/(x^4-1) *)2Integrate[(x^2+2x-4)/(x^4-1), x]Warnings:
Be very careful with the syntax. Syntax is the set of rules on how to write computer code. Every software program has its own unique syntax. Some basic Mathematica syntax is located at: https://www.jjw3.com/Common_Mathematica_Code.html.
Integrate[ ] has two arguments:
The function in the integrand;
The independent variable of the integral.
For help on using the Integrate[ ] function:
In Mathematica, execute the code:
Click on
Click on local
Read how to use the Integrate[ ] function – you will be able to copy-paste code.
You may need parens,
Remember, correct Mathematica code will be all black except for variables.
To execute code (including comment codes), press and hold the SHIFT key and press the ENTER key.
Mathematica does not show
Mathematica may return a result in a different, but equivalent, form than your answer. In these cases, use FTC-I to check your work.
Integrate the following rational functions.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License [http://creativecommons.org/licenses/by-nc-sa/4.0/].
Created: Monday, 6 September 2020 13:33 EDT Last Modified: Wednesday, 17 August 2022 - 09:49 (EDT)