Partial Fractions Integration Calculator
This Partial Fractions Integration Calculator integrates a fraction of polynomials by splitting it into simpler pieces, and shows the working line by line. The denominator is factored and the fraction is rewritten as a sum whose parts each integrate to a logarithm or a power. Splitting first is what turns an impossible integral into routine ones. Following the same pattern every time keeps the split and the integration as separate moves.
Step-by-step method
- Set up the problem.
- Write the partial fractions form.
- Split the fraction into partial fractions.
- Integrate each partial fraction as Step 4a, Step 4b, and so on.
- Combine the results and add the constant of integration C.
Formula: Partial Fractions
A fraction whose bottom factors into brackets splits into simpler fractions, one for each bracket.
Useful Tips to Remember
The degree of the numerator must be less than the degree of the denominator; if not, use polynomial long division first. Factor the denominator completely, then write one fraction for each factor, with extra terms for repeated factors. Solve for the constants, then integrate each fraction, which usually gives logarithms. Add \(+C\) at the end.
Required knowledge
- How to factor the bottom of the fraction, covered in the Factoring Higher Degree Polynomials Calculator.
- How to divide one polynomial by another, covered in the Polynomial Long Division Calculator.
- How to integrate each simple fraction by substitution, covered in the U Substitution Calculator.
Where Is Partial Fractions Integration Used?
Partial fractions split a rational function into simpler fractions that can each be integrated with logarithms or inverse tangents. This is essential for integrating fractions of polynomials, which appear in population models, chemical reactions and electrical circuits. Engineers use partial fractions to find inverse Laplace transforms, which is how they solve control system and circuit equations. In biology, the logistic model for populations with a limit is solved by separating the variables and integrating with partial fractions.
- Solving the logistic growth model for populations
- Finding inverse Laplace transforms in engineering
- Modelling chemical reaction rates
- Analysing electrical circuits and control systems
- Integrating rational functions in calculus
Partial Fractions Integration Practice Problems
Example 1 integrates \(\frac{3x + 5}{x^2 + 3x + 2}\), and Example 2 integrates \(\frac{1}{x^2 - 1}\). Try splitting each fraction yourself before checking. For two more free worked examples, check out the Partial Fractions Integration Notes.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the partial fractions form.
- Split the fraction into partial fractions.
- Integrate each partial fraction as Step 4a, Step 4b, and so on.
- Combine the results and add the constant of integration C.
Formula
Formula: Partial Fractions
A fraction whose bottom factors into brackets splits into simpler fractions, one for each bracket.
Step 1
Step 1 - Set up the problem.
In this problem: The numerator is \(3 x + 5\) and the denominator is \(x^{2} + 3 x + 2\). The top has a lower degree than the bottom, and the bottom factors, so the fraction can be split.
Step 2
Step 2 - Write the partial fractions form.
In this problem: A fraction whose bottom factors into brackets splits into one simpler fraction per bracket.
Step 3
Step 3 - Split the fraction into partial fractions.
In this problem: The bottom factors as \(\left(x + 1\right) \left(x + 2\right)\), so the fraction splits into one fraction per factor.
Step 4
Step 4 - Integrate each partial fraction as Step 4a, Step 4b, and so on.
In this problem: Integrate each partial fraction on its own, keeping each sign.
Step 4a
Step 4a - Integrate \(\frac{1}{x + 2}\).
In this problem: The partial fraction is \(\frac{1}{x + 2}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the u-substitution formula.
- Choose the inner function u and find du.
- Rewrite the whole integral in terms of u.
- Integrate with respect to u.
- Put u back in terms of x and add C.
Step 1
Step 1 - Set up the problem.
In this problem: We are integrating \(\frac{1}{x + 2}\). It contains an inner function whose derivative also appears as a factor.
Step 2
Step 2 - Write the u-substitution formula.
In this problem: When the integrand is a composite times the derivative of its inside, substitute u for the inside.
Step 3
Step 3 - Choose the inner function u and find du.
In this problem: Let \(u = x + 2\). Differentiating gives \(\frac{du}{dx} = 1\), so \(du = 1 \, dx\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the sum rule formula.
- Split the derivative across the addition signs.
- Differentiate each separated term as Step 4a, Step 4b, Step 4c, and so on.
- Combine the term derivatives and simplify.
Step 1
Step 1 - Set up the terms in the sum.
In this problem: We are given a sum. The separate terms are \(x\), \(2\).
Step 2
Step 2 - Write the sum rule formula.
In this problem: The sum rule says the derivative of a sum is the sum of the derivatives.
Step 3
Step 3 - Split the derivative across the addition signs.
In this problem: Apply the derivative to each separated term.
Step 4a
Step 4a - Differentiate the separated term \(x\).
In this problem: The separated term is \(x\). Use the variable rule to get its derivative.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the variable rule formula.
- Apply the variable rule.
Step 1
Step 1 - Set up the problem.
In this problem: We are given \(x\). This is just the variable \(x\).
Step 2
Step 2 - Write the variable rule formula.
In this problem: The variable rule says the derivative of \(x\) with respect to \(x\) is \(1\).
Step 3
Step 3 - Apply the variable rule.
In this problem: Put \(x\) into the rule from Step 2, so its derivative is \(1\).
Final Answer
Step 4b
Step 4b - Differentiate the separated term \(2\).
In this problem: The separated term is \(2\). Use the constant rule to get its derivative.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant rule formula.
- Apply the constant rule.
Step 1
Step 1 - Set up the problem.
In this problem: We are given \(2\). This expression does not contain \(x\), so it is a constant.
Step 2
Step 2 - Write the constant rule formula.
In this problem: The constant rule says the derivative of any constant is \(0\).
Step 3
Step 3 - Apply the constant rule.
In this problem: Since \(2\) is constant, its derivative is \(0\).
Final Answer
Step 5
Step 5 - Combine and simplify.
In this problem: Combine the derivative from each separated term, then simplify the result.
Final Answer
Step 4
Step 4 - Rewrite the whole integral in terms of u.
In this problem: Replace \(x + 2\) with u and \(1 \, dx\) with du. What is left is \(\frac{1}{u}\).
Step 5
Step 5 - Integrate with respect to u.
In this problem: Integrate with respect to u.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the reciprocal rule for integration.
- Apply the reciprocal rule and add C.
Step 1
Step 1 - Set up the problem.
In this problem: The function is \(\frac{1}{u}\).
Step 2
Step 2 - Write the reciprocal rule for integration.
In this problem: The integral of one over x is the natural logarithm of the absolute value of x. This is the special case the power rule cannot handle.
Step 3
Step 3 - Apply the reciprocal rule and add C.
In this problem: Put \(\frac{1}{u}\) into the rule from Step 2.
Final Answer
Step 6
Step 6 - Put u back in terms of x and add C.
In this problem: Replace u with \(x + 2\).
Final Answer
Step 4b
Step 4b - Integrate \(\frac{2}{x + 1}\).
In this problem: The partial fraction is \(\frac{2}{x + 1}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the u-substitution formula.
- Choose the inner function u and find du.
- Rewrite the whole integral in terms of u.
- Integrate with respect to u.
- Put u back in terms of x and add C.
Step 1
Step 1 - Set up the problem.
In this problem: We are integrating \(\frac{2}{x + 1}\). It contains an inner function whose derivative also appears as a factor.
Step 2
Step 2 - Write the u-substitution formula.
In this problem: When the integrand is a composite times the derivative of its inside, substitute u for the inside.
Step 3
Step 3 - Choose the inner function u and find du.
In this problem: Let \(u = x + 1\). Differentiating gives \(\frac{du}{dx} = 1\), so \(du = 1 \, dx\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the sum rule formula.
- Split the derivative across the addition signs.
- Differentiate each separated term as Step 4a, Step 4b, Step 4c, and so on.
- Combine the term derivatives and simplify.
Step 1
Step 1 - Set up the terms in the sum.
In this problem: We are given a sum. The separate terms are \(x\), \(1\).
Step 2
Step 2 - Write the sum rule formula.
In this problem: The sum rule says the derivative of a sum is the sum of the derivatives.
Step 3
Step 3 - Split the derivative across the addition signs.
In this problem: Apply the derivative to each separated term.
Step 4a
Step 4a - Differentiate the separated term \(x\).
In this problem: The separated term is \(x\). Use the variable rule to get its derivative.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the variable rule formula.
- Apply the variable rule.
Step 1
Step 1 - Set up the problem.
In this problem: We are given \(x\). This is just the variable \(x\).
Step 2
Step 2 - Write the variable rule formula.
In this problem: The variable rule says the derivative of \(x\) with respect to \(x\) is \(1\).
Step 3
Step 3 - Apply the variable rule.
In this problem: Put \(x\) into the rule from Step 2, so its derivative is \(1\).
Final Answer
Step 4b
Step 4b - Differentiate the separated term \(1\).
In this problem: The separated term is \(1\). Use the constant rule to get its derivative.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant rule formula.
- Apply the constant rule.
Step 1
Step 1 - Set up the problem.
In this problem: We are given \(1\). This expression does not contain \(x\), so it is a constant.
Step 2
Step 2 - Write the constant rule formula.
In this problem: The constant rule says the derivative of any constant is \(0\).
Step 3
Step 3 - Apply the constant rule.
In this problem: Since \(1\) is constant, its derivative is \(0\).
Final Answer
Step 5
Step 5 - Combine and simplify.
In this problem: Combine the derivative from each separated term, then simplify the result.
Final Answer
Step 4
Step 4 - Rewrite the whole integral in terms of u.
In this problem: Replace \(x + 1\) with u and \(1 \, dx\) with du. What is left is \(\frac{2}{u}\).
Step 5
Step 5 - Integrate with respect to u.
In this problem: Integrate with respect to u.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the reciprocal rule for integration.
- Move the constant multiple outside the integral.
- Apply the reciprocal rule and add C.
Step 1
Step 1 - Set up the problem.
In this problem: The function is \(\frac{1}{u}\). The number \(2\) in front is a constant multiple.
Step 2
Step 2 - Write the reciprocal rule for integration.
In this problem: The integral of one over x is the natural logarithm of the absolute value of x. This is the special case the power rule cannot handle.
Step 3
Step 3 - Move the constant multiple outside the integral.
In this problem: The number \(2\) in front is a constant multiple, so it moves outside the integral and only \(\frac{1}{u}\) is integrated.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant multiple rule for integration.
- Pull the constant outside the integral.
Step 1
Step 1 - Identify the constant multiple k and the function f(x).
In this problem: The constant is \(k = 2\) and the function is \(\frac{1}{u}\).
Step 2
Step 2 - Write the constant multiple rule for integration.
In this problem: A constant factor can be moved outside the integral.
Step 3
Step 3 - Pull the constant outside the integral.
In this problem: Move \(2\) in front of the integral sign and leave \(\frac{1}{u}\) inside.
Final Answer
Step 4
Step 4 - Apply the reciprocal rule and add C.
In this problem: Replace \(\int \frac{1}{u}\, du\) with \(\ln\left|u\right|\) from Step 2.
Final Answer
Step 6
Step 6 - Put u back in terms of x and add C.
In this problem: Replace u with \(x + 1\).
Final Answer
Step 5
Step 5 - Combine the results and add the constant of integration C.
In this problem: Put the integral of each partial fraction back together, keeping the signs, and add one constant C.
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the partial fractions form.
- Split the fraction into partial fractions.
- Integrate each partial fraction as Step 4a, Step 4b, and so on.
- Combine the results and add the constant of integration C.
Formula
Formula: Partial Fractions
A fraction whose bottom factors into brackets splits into simpler fractions, one for each bracket.
Step 1
Step 1 - Set up the problem.
In this problem: The numerator is \(1\) and the denominator is \(x^{2} - 1\). The top has a lower degree than the bottom, and the bottom factors, so the fraction can be split.
Step 2
Step 2 - Write the partial fractions form.
In this problem: A fraction whose bottom factors into brackets splits into one simpler fraction per bracket.
Step 3
Step 3 - Split the fraction into partial fractions.
In this problem: The bottom factors as \(\left(x - 1\right) \left(x + 1\right)\), so the fraction splits into one fraction per factor.
Step 4
Step 4 - Integrate each partial fraction as Step 4a, Step 4b, and so on.
In this problem: Integrate each partial fraction on its own, keeping each sign.
Step 4a
Step 4a - Integrate \(\frac{1}{2 \left(x + 1\right)}\).
In this problem: The partial fraction is \(\frac{1}{2 \left(x + 1\right)}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the u-substitution formula.
- Choose the inner function u and find du.
- Rewrite the whole integral in terms of u.
- Integrate with respect to u.
- Put u back in terms of x and add C.
Step 1
Step 1 - Set up the problem.
In this problem: We are integrating \(\frac{1}{2 x + 2}\). It contains an inner function whose derivative also appears as a factor.
Step 2
Step 2 - Write the u-substitution formula.
In this problem: When the integrand is a composite times the derivative of its inside, substitute u for the inside.
Step 3
Step 3 - Choose the inner function u and find du.
In this problem: Let \(u = x + 1\). Differentiating gives \(\frac{du}{dx} = 1\), so \(du = 1 \, dx\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the sum rule formula.
- Split the derivative across the addition signs.
- Differentiate each separated term as Step 4a, Step 4b, Step 4c, and so on.
- Combine the term derivatives and simplify.
Step 1
Step 1 - Set up the terms in the sum.
In this problem: We are given a sum. The separate terms are \(x\), \(1\).
Step 2
Step 2 - Write the sum rule formula.
In this problem: The sum rule says the derivative of a sum is the sum of the derivatives.
Step 3
Step 3 - Split the derivative across the addition signs.
In this problem: Apply the derivative to each separated term.
Step 4a
Step 4a - Differentiate the separated term \(x\).
In this problem: The separated term is \(x\). Use the variable rule to get its derivative.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the variable rule formula.
- Apply the variable rule.
Step 1
Step 1 - Set up the problem.
In this problem: We are given \(x\). This is just the variable \(x\).
Step 2
Step 2 - Write the variable rule formula.
In this problem: The variable rule says the derivative of \(x\) with respect to \(x\) is \(1\).
Step 3
Step 3 - Apply the variable rule.
In this problem: Put \(x\) into the rule from Step 2, so its derivative is \(1\).
Final Answer
Step 4b
Step 4b - Differentiate the separated term \(1\).
In this problem: The separated term is \(1\). Use the constant rule to get its derivative.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant rule formula.
- Apply the constant rule.
Step 1
Step 1 - Set up the problem.
In this problem: We are given \(1\). This expression does not contain \(x\), so it is a constant.
Step 2
Step 2 - Write the constant rule formula.
In this problem: The constant rule says the derivative of any constant is \(0\).
Step 3
Step 3 - Apply the constant rule.
In this problem: Since \(1\) is constant, its derivative is \(0\).
Final Answer
Step 5
Step 5 - Combine and simplify.
In this problem: Combine the derivative from each separated term, then simplify the result.
Final Answer
Step 4
Step 4 - Rewrite the whole integral in terms of u.
In this problem: Replace \(x + 1\) with u and \(1 \, dx\) with du. What is left is \(\frac{1}{2 u}\).
Step 5
Step 5 - Integrate with respect to u.
In this problem: Integrate with respect to u.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the reciprocal rule for integration.
- Move the constant multiple outside the integral.
- Apply the reciprocal rule and add C.
Step 1
Step 1 - Set up the problem.
In this problem: The function is \(\frac{1}{u}\). The number \(\frac{1}{2}\) in front is a constant multiple.
Step 2
Step 2 - Write the reciprocal rule for integration.
In this problem: The integral of one over x is the natural logarithm of the absolute value of x. This is the special case the power rule cannot handle.
Step 3
Step 3 - Move the constant multiple outside the integral.
In this problem: The number \(\frac{1}{2}\) in front is a constant multiple, so it moves outside the integral and only \(\frac{1}{u}\) is integrated.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant multiple rule for integration.
- Pull the constant outside the integral.
Step 1
Step 1 - Identify the constant multiple k and the function f(x).
In this problem: The constant is \(k = \frac{1}{2}\) and the function is \(\frac{1}{u}\).
Step 2
Step 2 - Write the constant multiple rule for integration.
In this problem: A constant factor can be moved outside the integral.
Step 3
Step 3 - Pull the constant outside the integral.
In this problem: Move \(\frac{1}{2}\) in front of the integral sign and leave \(\frac{1}{u}\) inside.
Final Answer
Step 4
Step 4 - Apply the reciprocal rule and add C.
In this problem: Replace \(\int \frac{1}{u}\, du\) with \(\ln\left|u\right|\) from Step 2.
Final Answer
Step 6
Step 6 - Put u back in terms of x and add C.
In this problem: Replace u with \(x + 1\).
Final Answer
Step 4b
Step 4b - Integrate \(\frac{1}{2 \left(x - 1\right)}\).
In this problem: The partial fraction is \(\frac{1}{2 \left(x - 1\right)}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the u-substitution formula.
- Choose the inner function u and find du.
- Rewrite the whole integral in terms of u.
- Integrate with respect to u.
- Put u back in terms of x and add C.
Step 1
Step 1 - Set up the problem.
In this problem: We are integrating \(\frac{1}{2 x - 2}\). It contains an inner function whose derivative also appears as a factor.
Step 2
Step 2 - Write the u-substitution formula.
In this problem: When the integrand is a composite times the derivative of its inside, substitute u for the inside.
Step 3
Step 3 - Choose the inner function u and find du.
In this problem: Let \(u = x - 1\). Differentiating gives \(\frac{du}{dx} = 1\), so \(du = 1 \, dx\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the difference rule formula.
- Split the derivative across the subtraction signs.
- Differentiate each separated term as Step 4a, Step 4b, Step 4c, and so on.
- Combine the term derivatives and simplify.
Step 1
Step 1 - Set up the terms in the difference.
In this problem: We are given a difference. The separated terms are \(x\), \(1\).
Step 2
Step 2 - Write the difference rule formula.
In this problem: The difference rule says the derivative of a difference is the difference of the derivatives.
Step 3
Step 3 - Split the derivative across the subtraction signs.
In this problem: Apply the derivative to each separated term, keeping each sign.
Step 4a
Step 4a - Differentiate the separated term \(x\).
In this problem: The separated term is \(x\). Use the variable rule to get its derivative.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the variable rule formula.
- Apply the variable rule.
Step 1
Step 1 - Set up the problem.
In this problem: We are given \(x\). This is just the variable \(x\).
Step 2
Step 2 - Write the variable rule formula.
In this problem: The variable rule says the derivative of \(x\) with respect to \(x\) is \(1\).
Step 3
Step 3 - Apply the variable rule.
In this problem: Put \(x\) into the rule from Step 2, so its derivative is \(1\).
Final Answer
Step 4b
Step 4b - Differentiate the separated term \(1\).
In this problem: The separated term is \(1\). Use the constant rule to get its derivative.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant rule formula.
- Apply the constant rule.
Step 1
Step 1 - Set up the problem.
In this problem: We are given \(1\). This expression does not contain \(x\), so it is a constant.
Step 2
Step 2 - Write the constant rule formula.
In this problem: The constant rule says the derivative of any constant is \(0\).
Step 3
Step 3 - Apply the constant rule.
In this problem: Since \(1\) is constant, its derivative is \(0\).
Final Answer
Step 5
Step 5 - Combine and simplify.
In this problem: Combine the derivative from each separated term, keeping the signs, then simplify.
Final Answer
Step 4
Step 4 - Rewrite the whole integral in terms of u.
In this problem: Replace \(x - 1\) with u and \(1 \, dx\) with du. What is left is \(\frac{1}{2 u}\).
Step 5
Step 5 - Integrate with respect to u.
In this problem: Integrate with respect to u.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the reciprocal rule for integration.
- Move the constant multiple outside the integral.
- Apply the reciprocal rule and add C.
Step 1
Step 1 - Set up the problem.
In this problem: The function is \(\frac{1}{u}\). The number \(\frac{1}{2}\) in front is a constant multiple.
Step 2
Step 2 - Write the reciprocal rule for integration.
In this problem: The integral of one over x is the natural logarithm of the absolute value of x. This is the special case the power rule cannot handle.
Step 3
Step 3 - Move the constant multiple outside the integral.
In this problem: The number \(\frac{1}{2}\) in front is a constant multiple, so it moves outside the integral and only \(\frac{1}{u}\) is integrated.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant multiple rule for integration.
- Pull the constant outside the integral.
Step 1
Step 1 - Identify the constant multiple k and the function f(x).
In this problem: The constant is \(k = \frac{1}{2}\) and the function is \(\frac{1}{u}\).
Step 2
Step 2 - Write the constant multiple rule for integration.
In this problem: A constant factor can be moved outside the integral.
Step 3
Step 3 - Pull the constant outside the integral.
In this problem: Move \(\frac{1}{2}\) in front of the integral sign and leave \(\frac{1}{u}\) inside.
Final Answer
Step 4
Step 4 - Apply the reciprocal rule and add C.
In this problem: Replace \(\int \frac{1}{u}\, du\) with \(\ln\left|u\right|\) from Step 2.
Final Answer
Step 6
Step 6 - Put u back in terms of x and add C.
In this problem: Replace u with \(x - 1\).
Final Answer
Step 5
Step 5 - Combine the results and add the constant of integration C.
In this problem: Put the integral of each partial fraction back together, keeping the signs, and add one constant C.
Final Answer
Notes and Practice Mode
Want to understand the method more deeply? The Partial Fractions Integration Notes go through the same pattern with extra worked examples and fuller explanations of the ideas behind each step, so you can see why every step works and not just what to do. When you are ready to test yourself, Partial Fractions Integration Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode is available on the Plus and Pro plans.
Login and upgrade to Plus to unlock the full step solution.
Example Problems
Click one to load it into the box and solve it.