Integrating fractions might seem daunting at first, but don’t fret! There are several handy integration techniques that students can use to make integrating fractions easier.
First, it’s good practice to memorize these reciprocal rules for integration. These rules help us to find the integral of partial fractions by using logarithms.
∫x1dx=∫x−1dx=ln∣x∣+C
∫ax+b1dx=a1ln(ax+b)+C
Partial fraction decomposition is one technique used to integrate fractions. In particular, we use the method of partial fractions to integrate proper rational functions.
We use partial fractions to decompose a rational function into simpler rational functions. In the same way, we can rewrite the rational expression 103 as 21−51. A rational function is a fraction whose numerator and denominator are both polynomials.
A proper rational function is a rational function where the degree of the numerator is smaller than the degree of the denominator. The degree of a polynomial is the largest exponent of the variable in the polynomial. If the degree of the numerator is larger than or equal to the degree of the denominator, then the function is called an improper function.
Proper functions:
x2−3x,(x+1)(x+2)x
Improper functions:
x+2x,,x4−1x5−1
When the denominator of a proper rational function is factorable, we can integrate by using partial fractions. This process involves splitting the integrand into several simpler rational functions with unknown numerators. Then, we can solve for the new unknown variables and integrate using the reciprocal rules for integrals.
If the rational fraction is in the form (ax+b)(cx+d)N(x), then the denominator is made up of linear factors, and so the form of partial fractions is ax+bA+cx+dB.
If the rational fraction is in the form (ax+b)2N(x), then the denominator is made up of repeated linear factors, and so the form of partial fractions is ax+bA+(ax+b)2B.
If the rational fraction is in the form (ax+b)(cx+d)2N(x), then the denominator is made up of linear factors and repeated linear factors, and so the form of partial fractions is ax+bA+cx+dB+(cx+d)2C.
If the rational fraction is in the form (ax+b)(x2+c2)N(x), then the denominator is made up of linear factors and irreducible quadratic factors, and so the form of partial fractions is ax+bA+x2+c2Bx+C
If the function is an improper fraction, then use polynomial long division to rewrite the function as the sum of a proper fraction and a polynomial).
2. Decompose the function
Use the factored denominator to decompose the rational function into the sum of several simpler rational functions. To do this, use each factored term of the denominator as the denominator of a smaller fraction, and assign an unknown variable as the numerator of each smaller fraction.
3. Multiply both sides by the common denominator
After multiplying both sides by the common denominator, distribute and combine like terms.
4. Set coefficients equal
Set up one equation that equates the constant terms of the original function’s numerator with the constant terms in your new equation’s numerator. Set up a second equation that equates the “x” terms of the original function’s numerator with the “x” terms in your new equation’s numerator. Continue as necessary.
5. Solve the system
Solve for the unknown variables using a system of equations.
6. Plug in and integrate
Plug the solved variables into the decomposed fraction in Step 2. Integrate using the reciprocal rules to finish the integration process.
This process is easiest to understand with an example. Be sure to walk through the example covered in the later section.
3 More Ways To Integrate a Fraction
We’ll review three more methods used to integrate fractions.
1. Rewriting
Often, simply rewriting the fraction can reveal an easier way to integrate. It’s good practice to look closely at the function to determine if you can cleverly rewrite it before proceeding with a more complex method. Rewriting a fraction might include:
Simplifying the fraction by multiplying the numerator and denominator by the same number
Simplifying the fraction by dividing the numerator and denominator by the same number
Using negative powers in the numerator
Using polynomial long division to rewrite an improper fraction as the sum of a proper fraction and a polynomial
2. Trigonometric Identities
If the fraction consists of trigonometric functions, it can be helpful to use trigonometric identities to change the fraction’s form. Here are some trigonometric identities to know:
Pythagorean Identities
sin2x+cos2x=1
sec2x−tan2x=1
csc2x−cot2x=1
Quotient and Reciprocal Identities
tanx=cosxsinx
cotx=sinxcosx
sinx=cscx1
cosx=secx1
tanx=cotx1
cscx=sinx1
secx=cosx1
cotx=tanx1
Double Angle Identities
sin(2x)=2sinxcosx
cos(2x)=cos2x−sin2x=2cos2x−1=1−2sin2x
tan(2x)=1−tan2x2tanx
3. Trigonometric Substitution
If the denominator of a function is not factorable, try using trigonometric substitution to integrate the fraction. In some cases, it might be necessary to complete the square of the denominator.
Here are the substitutions used in trigonometric substitution:
If you see \int \sqrt{a^2 - x^2} \, \dx , use x = a\sin{(\theta)}
If you see \int \sqrt{a^2 + x^2} \, \dx , use x=a\tan{(\theta)}
If you see \int \sqrt{x^2 - a^2} \, \dx , use x = a\sec{(\theta)}
Integration Examples
Example of Integrating by Partial Fractions
In the following partial fractions example, we’ll calculate ∫2x2+9x+42xdx.
We’ll follow the steps detailed in the first section.
1. Factor the denominator of the function.
2x2+9x+42x=(2x+1)(x+4)2x
2. Decompose the function.
We’ll split the integrand into two smaller rational functions, using unknown numerators. We want to solve for A and B.
(2x+1)(x+4)2x=2x+1A+x+4B
3. Multiply both sides by the common denominator.
In this case, we multiply the left side and right side by (2x+1)(x+4). This leaves us with:
Now, we collect the “x” terms together and factor. We also collect the constant terms together. See how this structure mirrors the structure of the numerator of our original integrand, 2x+0?
2x+0=(Ax+2Bx)+(4A+B)
2x+0=(A+2B)x+(4A+B)
5. Solve the system.
The next step is to set up a system of equations to solve for the unknowns, A and B. We’ll set up two equations.
First, we equate the “x” terms on each side of the equation.
2x=(A+2B)x
2=A+2B
Next, we equate the constant terms on each side of the equation.
0=4A+B
We can now solve for A and B.
Solving the system of equations with 2=A+2B and 0=4A+B gives us A=7−2 and B=78.
6. Plug in and integrate.
Now that we’ve solved for A and B, we can plug these back into our function and calculate our integral using the reciprocal rules.
∫2x2+9x+42xdx=∫(7(2x+1)−2+7(x+4)8)dx
=7−2∫2x+11dx+78∫x+41dx
=2⋅7−2ln(2x+1)+78ln(x+4)+C
=−71ln(2x+1)+78ln(x+4)+C
=78ln(x+4)−71ln(2x+1)+C
Our final answer is ∫2x2+9x+42xdx=78ln(x+4)−71ln(2x+1)+C.
Example of Integrating Fractions by Rewriting
Calculate the following integral ∫x2x3−x+7dx by rewriting the quotient.
Let’s try dividing the numerator and denominator by x2. After doing this, the terms of the integral take a more familiar form we can solve using the power rule (∫xndx=n+1xn+1+C) and inverse rule (∫x1dx=∫x−1dx=ln∣x∣+C).
∫x2x3−x+7dx=∫(x−x−1+7x−2)dx
=2x2−ln(x)−7x−1
=2x2−x7−ln(x)+C
Example of Integrating Using Trigonometric Identities
Calculate the following integral ∫1−sin2(x)sin(x)dx using trigonometric identities.
Recall the trigonometric identity sin2(x)+cos2(x)=1. We can rewrite this identity to say cos2(x)=1−sin2(x):
∫1−sin2(x)sin(x)dx=∫cos2(x)sin(x)dx
We’ll use our rewriting skills to transform the integrand further. Let’s break the fraction into the product of two simpler fractions.
∫cos2(x)sin(x)dx=∫cos(x)sin(x)⋅cos(x)1dx
We can use another trigonometric identity here. Recall that tanx=cosxsinx.
∫cos(x)sin(x)⋅cos(x)1dx=∫tan(x)sec(x)dx
Our derivative formulas tell us that dxd(sec(x))=sec(x)tan(x). So, our final answer is:
∫tan(x)sec(x)dx=sec(x)+C
Example of Integrating Using Trigonometric Substitution
Calculate the following integral ∫1−x2x2dx using trigonometric substitution.
Note that our denominator is 1−x2. This is in the form a2−x2 where a=1. So, we can use the substitution x=asinθ=1sinθ=sinθ.
Since x=sinθ, we’ll also need to rewrite dx. In this case, we have dx=cosθdθ. Now, using our substitutions, we have:
∫1−x2x2dx=∫1−sin2θsin2θcosθdθ
Recall the Pythagorean identity that sin2x+cos2x=1. We can rewrite the denominator using this identity, and then simplify.
∫1−sin2θsin2θcosθdθ=∫cos2θsin2θcosθdθ
=∫cosθsin2θcosθdθ
=∫sin2θdθ
We can use the Double Angle identities to proceed. Recall that cos(2x)=1−2sin2x. We can rewrite this to say sin2(x)=21(1−cos(2x).
∫sin2(θ)dθ=∫21(1−cos(2θ)dθ
=21(θ−21sin(2θ))+C
We can also use the Double Angle identity sin(2x)=2sinxcosx by rewriting it as 21sin(2x)=sinxcosx:
21(θ−21sin(2θ))+C=21(θ−sinθcosθ)+C
Now, all that’s left to do is rewrite our answer in terms of x. Recall that our substitution was x=sin(θ). Solving for θ, we have θ=arcsinx.
You can draw this on a triangle and calculate all sides using the Pythagorean theorem, as below:
Using this reference triangle, we finally can conclude that:
21(θ−21sin(2θ))+C=21(arcsinx−x1−x2)+C
Frequently Asked Questions
How do you integrate improper fractions?
To integrate an improper fraction, perform polynomial long division to divide the numerator by the denominator. Then, rewrite the fraction as the sum of a proper fraction and a polynomial.
How do you integrate fractions with powers?
Any function in the form f(x)=xna can be written using a negative exponent in the form f(x)=a⋅x−n. Then, we can use the power rule for integration to integrate the function, which states ∫xndx=n+1xn+1+C.
Learn More About Integration and Other Calculus Topics
If you’re interested in continuing your calculus journey with the world’s most engaging instructors, you can online. Outlier’s calculus course offers an affordable and engaging curriculum that prioritizes student success.
Outlier offers accessible college classes at a fraction of the cost — 80% less expensive than traditional college!
Earn 3 college credits towards your degree for every course you complete. Credits are received from the University of Pittsburgh, a top-60 school.
Transferring credits is easy.
If you do the work and don’t pass, you’ll receive a full refund.
World-renowned math professors instruct these calculus courses, including Tim Chartier of Davidson College, Hannah Fry of University College London, and John Urschel of MIT.
Course resources include question sets, quizzes, and an active-learning-based digital textbook. You’ll also have access to free tutors and a study group.
Exam windows are flexible, and lectures are viewable on-demand, anywhere.
Outlier (from the co-founder of MasterClass) has brought together some of the world's best instructors, game designers, and filmmakers to create the future of online college.