Introduction
Integration of rational functions by partial fractions is a cornerstone technique in calculus that transforms seemingly complex integrals into sums of simpler, elementary integrals. By breaking a complicated rational expression into a sum of fractions with linear or quadratic denominators, we can integrate each piece using basic antiderivative rules. This method not only simplifies calculations but also deepens conceptual understanding of how algebraic structure influences analytical results. In this article we will explore the theory, step‑by‑step procedure, practical examples, underlying principles, common pitfalls, and answer frequently asked questions, giving you a complete roadmap to master partial‑fraction integration.
Detailed Explanation
A rational function is any function that can be written as the quotient of two polynomials, ( \frac{P(x)}{Q(x)} ), where ( P ) and ( Q ) have no common factors other than constants. When the degree of ( P ) is greater than or equal to the degree of ( Q ), the first step is polynomial long division to rewrite the function as a polynomial plus a proper rational fraction (where the numerator’s degree is less than the denominator’s).
The heart of partial‑fraction decomposition lies in expressing that proper fraction as a sum of simpler fractions whose denominators are the irreducible factors of ( Q(x) ). These factors can be:
- Linear factors of the form ( (x-a) ) (real roots)
- Repeated linear factors such as ( (x-a)^k )
- Irreducible quadratic factors ( (x^2+bx+c) ) that cannot be factored over the reals
For each type, we assign a corresponding term in the decomposition:
- ( \frac{A}{x-a} ) for a simple linear factor
- ( \frac{A_1}{x-a} + \frac{A_2}{(x-a)^2} + \dots + \frac{A_k}{(x-a)^k} ) for repeated linear factors
- ( \frac{Bx+C}{x^2+bx+c} ) for an irreducible quadratic factor
- And similarly for higher powers of quadratics
Once the decomposition is set up, we solve for the unknown constants (e.Which means g. , ( A, B, C )) by multiplying through by the common denominator and equating coefficients or by substituting convenient values of ( x ) The details matter here. That alone is useful..
- ( \int \frac{dx}{x-a} = \ln|x-a| + C )
- ( \int \frac{dx}{(x-a)^n} = -\frac{1}{(n-1)(x-a)^{n-1}} + C ) for ( n\neq 1 )
- ( \int \frac{Bx+C}{x^2+bx+c},dx ) can be split into a logarithmic part and an arctangent part after completing the square. Thus, partial‑fraction integration reduces a formidable integral to a combination of logarithms, rational functions, and inverse trigonometric functions.
Step‑by‑Step or Concept Breakdown
Below is a concise procedural checklist that you can follow for any rational function integration problem.
-
Check the degrees
- If ( \deg(P) \ge \deg(Q) ), perform polynomial division to obtain ( \frac{P(x)}{Q(x)} = S(x) + \frac{R(x)}{Q(x)} ), where ( \deg(R) < \deg(Q) ).
- Keep the polynomial part ( S(x) ) because its integral is trivial.
-
Factor the denominator
- Factor ( Q(x) ) completely over the reals (or over the complex numbers if needed). - Identify each distinct linear factor, its multiplicity, and each irreducible quadratic factor.
-
Set up the partial‑fraction form
- Write a sum of terms corresponding to each factor, introducing unknown constants (e.g., ( A, B, C )).
- For repeated factors, include terms for each power up to the multiplicity.
-
Clear the denominator
- Multiply both sides of the equation by the original denominator ( Q(x) ) to eliminate fractions.
-
Solve for the constants - Method 1 – Substitution: Choose values of ( x ) that zero out most terms, solving for one constant at a time.
- Method 2 – Equating coefficients: Expand the right‑hand side, collect like powers of ( x ), and match coefficients with the left‑hand side polynomial.
-
Integrate each term
- Apply the basic antiderivative formulas listed earlier.
- For quadratic denominators, complete the square to split the integral into a logarithmic and an arctangent component.
-
Combine and simplify - Add the integral of the polynomial part (if any) to the sum of the integrated fractions.
- Include the constant of integration ( +C ).
-
Verify (optional)
- Differentiate your result to ensure it reproduces the original integrand, confirming correctness.
Real Examples ### Example 1: Simple Linear Factors Evaluate ( \displaystyle \int \frac{2x+3}{x^2- x-6},dx ).
- Factor the denominator: ( x^2- x-6 = (x-3)(x+2) ).
- Set up the decomposition:
[ \frac{2x+3}{(x-3)(x+2)} = \frac{A}{x-3} + \frac{B}{x+2} ] - Clear denominators:
[ 2x+3 = A(x+2) + B(x-3) ] - Solve for constants:
- Let ( x=3 ): ( 2(3)+3 = A(5) \Rightarrow A = 3 ). - Let ( x=-2 ): ( 2(-2)+3 = B(-5) \Rightarrow B = -1 ).
- Integrate:
[ \int \left( \frac{3}{x-3} - \frac{1}{x+2} \right)dx = 3\ln|x-3| - \ln|x+2| + C ]
Example 2: Repeated Linear Factor and Quadratic Factor
Compute ( \displaystyle \int \frac{x^2+1}{(x-1)^2(x^2+4)},dx ).
- Denominator factors: ( (x-1)^2 ) (repeated linear) and ( x^2+4 ) (irreducible quadratic).
2
Example 2 (continued): Integrating a rational function with a repeated linear factor and an irreducible quadratic
The denominator now consists of a squared linear term and an irreducible quadratic term, so we write the partial‑fraction ansatz as
[ \frac{x^{2}+1}{(x-1)^{2}(x^{2}+4)} =\frac{A}{x-1}+\frac{B}{(x-1)^{2}}+\frac{Cx+D}{x^{2}+4}, ]
where (A,B,C,D) are constants to be determined Most people skip this — try not to. Practical, not theoretical..
1. Clear the denominator
Multiplying both sides by ((x-1)^{2}(x^{2}+4)) gives
[ x^{2}+1 = A(x-1)(x^{2}+4)+B(x^{2}+4)+(Cx+D)(x-1)^{2}. ]
2. Solve for the unknowns A convenient way is to expand the right‑hand side, collect like powers of (x), and then match coefficients with the left‑hand side polynomial (x^{2}+1).
Expanding each piece:
- (A(x-1)(x^{2}+4)=A\bigl(x^{3}+4x-x^{2}-4\bigr)=A\bigl(x^{3}-x^{2}+4x-4\bigr))
- (B(x^{2}+4)=Bx^{2}+4B)
- ((Cx+D)(x-1)^{2}= (Cx+D)(x^{2}-2x+1)
= Cx^{3}+Dx^{2}-2Cx^{2}-2Dx+ Cx+D)
(= Cx^{3}+(D-2C)x^{2}+(-2D+C)x + D).
Now collect all contributions:
[ \begin{aligned} \text{Coefficient of }x^{3}: &; A + C,\[2pt] \text{Coefficient of }x^{2}: &; -A + B + D - 2C,\[2pt] \text{Coefficient of }x^{1}: &; 4A - 2D + C,\[2pt] \text{Constant term}: &; -4A + 4B + D . \end{aligned} ]
Since the left‑hand side is simply (x^{2}+1), its coefficients are
[ x^{3}:0,\qquad x^{2}:1,\qquad x^{1}:0,\qquad \text{constant}:1 . ]
Equating the two sets yields the linear system
[ \begin{cases} A + C = 0,\ -A + B + D - 2C = 1,\ 4A - 2D + C = 0,\ -4A + 4B + D = 1 . \end{cases} ]
Solving step‑by‑step:
- From the first equation (C = -A).
- Substitute (C) into the third equation: (4A - 2D - A = 0 ;\Rightarrow; 3A = 2D ;\Rightarrow; D = \tfrac{3}{2}A).
- Plug (C) and (D) into the second equation:
(-A + B + \tfrac{3}{2}A - 2(-A) = 1) → (-A + B + \tfrac{3}{2}A + 2A = 1) → (\tfrac{5}{2}A + B = 1) → (B = 1 - \tfrac{5}{2}A). - Use the fourth equation: (-4A + 4B + D = 1). Replace (B) and (D):
[ -4A + 4!\left(1-\tfrac{5}{2}A\right) + \tfrac{3}{2}A = 1 ;\Longrightarrow; -4A + 4 -
10A + \frac{3}{2}A = 1 ;\Longrightarrow; -4A - 10A + \frac{3}{2}A = 1 - 4 ;\Longrightarrow; \left(-14 + \frac{3}{2}\right)A = -3 ;\Longrightarrow; -\frac{25}{2}A = -3 ;\Longrightarrow; A = \frac{6}{25}. ]
Now back‑substitute:
[ C = -A = -\frac{6}{25}, \quad D = \frac{3}{2}A = \frac{9}{25}, \quad B = 1 - \frac{5}{2}A = 1 - \frac{15}{25} = \frac{10}{25} = \frac{2}{5}. ]
So the partial fraction decomposition is
[ \frac{x^{2}+1}{(x-1)^{2}(x^{2}+4)} = \frac{6/25}{x-1} + \frac{2/5}{(x-1)^{2}} + \frac{-\frac{6}{25}x + \frac{9}{25}}{x^{2}+4}. ]
3. Integrate term by term
[ \begin{aligned} \int \frac{6/25}{x-1},dx &= \frac{6}{25}\ln|x-1|,\[4pt] \int \frac{2/5}{(x-1)^{2}},dx &= -\frac{2}{5(x-1)},\[4pt] \int \frac{-\frac{6}{25}x + \frac{9}{25}}{x^{2}+4},dx &= -\frac{6}{25}\int \frac{x}{x^{2}+4},dx + \frac{9}{25}\int \frac{1}{x^{2}+4},dx \[4pt] &= -\frac{6}{25} \cdot \frac{1}{2}\ln(x^{2}+4) + \frac{9}{25} \cdot \frac{1}{2}\arctan!\left(\frac{x}{2}\right) \[4pt] &= -\frac{3}{25}\ln(x^{2}+4) + \frac{9}{50}\arctan!\left(\frac{x}{2}\right) That alone is useful..
4. Final antiderivative
[ \boxed{ \int \frac{x^{2}+1}{(x-1)^{2}(x^{2}+4)},dx = \frac{6}{25}\ln|x-1| - \frac{2}{5(x-1)}
- \frac{3}{25}\ln(x^{2}+4) + \frac{9}{50}\arctan!\left(\frac{x}{2}\right) + C } ]
Conclusion
Partial fraction decomposition turns a complicated rational integrand into a sum of simple pieces whose antiderivatives are either logarithms, arctangents, or elementary rational functions. The key steps are:
- Factor the denominator completely into linear and irreducible quadratic factors, noting any repetitions.
- Write the appropriate ansatz for the decomposition, with one term per factor (and for repeated factors, include each power up to its multiplicity).
- Solve for the constants by clearing denominators and matching coefficients.
- Integrate each term using standard formulas for (\int \frac{1}{x-a},dx), (\int \frac{1}{(x-a)^{n}},dx), (\int \frac{1}{x^{2}+b^{2}},dx), etc.
Mastering these steps allows you to handle a wide variety of integrals that would otherwise be intractable.