2c. Integration by Partial Fraction
2c. Integration by Partial Fraction
FRACTIONS
Overview
A rational function has the form
𝑝(𝑥)
𝑟 𝑥 =
𝑞(𝑥)
where 𝑝 and 𝑞 are polynomials. For example,
𝑥2 − 3
𝑓 𝑥 = 4
𝑥 +3
𝑡 6 + 4𝑡 2 − 3
𝑔 𝑡 =
7𝑡 5 + 3𝑡
and
5
ℎ 𝑠 = 3
𝑠 − 4𝑠 2 + 3𝑠 − 8
are all rational functions. A rational function is called proper if the
degree of the numerator is less than the degree of the denominator,
and improper otherwise. Thus,𝑓 and ℎ are proper rational functions,
while 𝑔 is an improper rational function.
Indefinite integrals (antiderivatives) of rational functions can always
be found by the following steps:
𝐴 𝐴 2𝑎𝑥+𝑏 𝐴
, ,
𝑎𝑥+𝑏 𝑛 𝑎𝑥 2 +𝑏𝑥+𝑐 𝑛 𝑎𝑥 2 +𝑏𝑥+𝑐
𝐴
2 𝑛 , 𝑛 > 1,
𝑎𝑥 +𝑏𝑥+𝑐
by trigonometric substitution.
Case I: Distinct Linear Factors
𝑑𝑥
Example 1: Evaluate
𝑥 2 −4
Solution:
- Transform/decompose the integrand into partial fractions
1 1
2 =
𝑥 −4 𝑥−2 𝑥+2
𝐴 𝐵
= +
𝑥−2 𝑥+2
Multiplying both sides of the equation by 𝑥 − 2 𝑥 + 2
1 =𝐴 𝑥+2 +𝐵 𝑥−2
Solve for the constants A and B by elimination,
When 𝑥 = 2,
1 = 𝐴 2 + 2 + 𝐵(2 − 2),
Solving for 𝐴 gives us, 𝐴 = 14
When 𝑥 = −2,
1 = 𝐴 −2 + 2 + 𝐵 −2 − 2
Solving for 𝐵 gives us, B = −14
Substituting the values of 𝐴 and 𝐵, gives us
1 1 1
4 − 4
2
𝑥 −4 = +
𝑥−2 𝑥+2
1
𝑑𝑥 4 −14
= + 𝑑𝑥
𝑥2 − 4 𝑥−2 𝑥+2
1 𝑑𝑥 1 𝑑𝑥
= −
4 𝑥−2 4 𝑥+2
1 1
= ln 𝑥 − 2 − ln 𝑥 + 2 + 𝐶
4 4
3𝑥+7 𝑑𝑥
Example 2. Evaluate 𝑥 2 −2𝑥−3
Solution:
- Transform/decompose the integrand into partial fractions
3𝑥 + 7 3𝑥 + 7 𝐴 𝐵
2 = = +
𝑥 − 2𝑥 − 3 𝑥−3 𝑥+1 𝑥−3 𝑥+1
Multiplying both sides of the equation by 𝑥 − 3 𝑥 + 1
3𝑥 + 7 =𝐴 𝑥+1 +𝐵 𝑥−3
Solve for the constants A and B by elimination,
When 𝑥 = 3,
3 3 + 7 = 𝐴 3 + 1 + 𝐵(3 − 3)
Solving for 𝐴 gives us, 𝐴 = 4
When 𝑥 = −1,
3 −1 + 7 = 𝐴 −1 + 1 + 𝐵(−1 − 3)
Solving for 𝐵 gives us, 𝐵 = −1
3𝑥 + 7 4 1
= −
2
𝑥 − 2𝑥 − 3 𝑥−3 𝑥+1
We are now ready to integrate.
3𝑥 + 7 𝑑𝑥 4 1
2 = − 𝑑𝑥
𝑥 − 2𝑥 − 3 𝑥−3 𝑥+1
𝑑𝑥 𝑑𝑥
=4 −
𝑥−3 𝑥+1
= 4 ln 𝑥 − 3 − ln 𝑥 + 1 + 𝐶
𝑥+1
Example 3. Evaluate
𝑥 3 +𝑥 2 −6𝑥
Solution:
- Transform/decompose the integrand into partial fractions
𝑥+1 𝑥+1
3 2
=
𝑥 + 𝑥 − 6𝑥 𝑥 𝑥2 + 𝑥 − 6
𝑥+1
=
𝑥 𝑥+3 𝑥−2
𝐴 𝐵 𝐶
= + +
𝑥 𝑥+3 𝑥−2
Multiplying both sides of the equation by 𝑥 𝑥 + 3 𝑥 − 2
𝑥 + 1 = 𝐴 𝑥 + 3 𝑥 − 2 + 𝐵𝑥 𝑥 − 2 + 𝐶𝑥 𝑥 + 3
Solve for the constants A, B and C by elimination,
When 𝑥 = 0; 1 = 𝐴(3)(−2) 𝐴 = −16
𝑥 = −3; −3 + 1 = 𝐵(−3)(−3 − 2) 2
𝐵 = −15
𝑥 = 2; 2 + 1 = 𝐶(2)(2 + 3) 3
𝐶 = 10
Substituting the values of 𝐴, B and 𝐶, gives us
𝑥+1 −16 2
−15 3
10
3 2
𝑥 + 𝑥 − 6𝑥 = + +
𝑥 𝑥+3 𝑥−2
We are now ready to integrate.
𝑥+1 −16 2
−15 3
3 2
𝑥 + 𝑥 − 6𝑥
𝑑𝑥= + + 10 𝑑𝑥
𝑥 𝑥+3 𝑥−2
1 𝑑𝑥 2 𝑑𝑥 3 𝑑𝑥
=− − +
6 𝑥 15 𝑥+3 10 𝑥−2
1 2 3
= − ln 𝑥 − ln 𝑥 + 3 + ln 𝑥 − 2 + 𝐶
6 15 10
𝑑𝑧
Example 4. Evaluate (4−𝑧) 𝑧
Solution:
let: 𝑧=𝑥
𝑧 = 𝑥2 𝑑𝑧 = 2𝑥 𝑑𝑥
substitute
𝑑𝑧 2𝑥 𝑑𝑥
=
(4 − 𝑧) 𝑧 4 − 𝑥2 𝑥
2 𝑑𝑥
=
2−𝑥 2+𝑥
1 𝑑𝑥 1 𝑑𝑥
= +
2 2−𝑥 2 2+𝑥
1 1
= − ln 2 − 𝑥 + ln 2 + 𝑥 + 𝐶
2 2
Substituting back the original variable where 𝑥 = 𝑧
𝑑𝑧 1 1
(4 − 𝑧) 𝑧 = − 2 ln 2 − 𝑧 + 2 ln 2 + 𝑧 + 𝐶
𝑥 2 +1
Example 5. Evaluate 𝑥−2 𝑥−1 2𝑥+1
𝑑𝑥
Solution:
Transform/decompose the integrand
𝑥2 + 1 𝐴 𝐵 𝐶
= + +
𝑥 − 2 𝑥 − 1 2𝑥 + 1 𝑥−2 𝑥−1 2𝑥 + 1
𝑥 2 + 1 = 𝐴 𝑥 − 1 2𝑥 + 1 + 𝐵 𝑥 − 2 2𝑥 + 1 + 𝐶 𝑥 − 2 𝑥 − 1
Solve for the constants A, B and C
When: 𝑥=2 22 + 1 = 𝐴(2 − 1) 2 2 + 1 𝐴=1
𝑥=1 12 + 1 = 𝐵 1 − 2 2 1 + 1 𝐵 = −23
2
𝑥 = −12 −12 + 1 = 𝐶 −12 −2 −12 −1 𝐶 = 13
Substituting the values of 𝐴, 𝐵 and 𝐶, gives us
𝑥2 + 1 2 1
1 −
= + 3 + 3
𝑥 − 2 𝑥 − 1 2𝑥 + 1 𝑥−2 𝑥−1 2𝑥 + 1
We are now ready to integrate.
𝑥2 + 1 2 1
𝑑𝑥 1 −3
= + + 3 𝑑𝑥
𝑥 − 2 𝑥 − 1 2𝑥 + 1
𝑥−2 𝑥−1 2𝑥 + 1
𝑑𝑥 2 𝑑𝑥 1 𝑑𝑥
= − +
𝑥−2 3 𝑥−1 3 2𝑥 + 1
2 1 1
= ln 𝑥 − 2 − ln 𝑥 − 1 + ∙ ln 2𝑥 + 1 + 𝐶
3 3 2
2 1
= ln 𝑥 − 2 − ln 𝑥 − 1 + ln 2𝑥 + 1 + 𝐶
3 6
𝑥 4 −𝑥 3 −3𝑥 2 −2𝑥+2
Example 6. Evaluate 𝑑𝑥.
𝑥 3 +𝑥 2 −2𝑥
Solution:
Since the numerator is of higher degree than the denominator, then
divide the denominator into the numerator
𝑥−2
𝑥 3 + 𝑥 2 − 2𝑥 𝑥 4 − 𝑥 3 − 3𝑥 2 − 2𝑥 + 2
𝑥 4 + 𝑥 3 − 2𝑥 2
−2𝑥 3 − 𝑥 2 − 2𝑥 + 2
−2𝑥 3 − 2𝑥 2 + 4𝑥
𝑥 2 − 6𝑥 + 2
𝑥 4 − 𝑥 3 − 3𝑥 2 − 2𝑥 + 2 𝑥 2 − 6𝑥 + 2
3 2
𝑑𝑥 = 𝑥−2+ 3 2
𝑑𝑥
𝑥 + 𝑥 − 2𝑥 𝑥 + 𝑥 − 2𝑥
𝑥 2 − 6𝑥 + 2
= 𝑥 𝑑𝑥 − 2 𝑑𝑥 + 𝑑𝑥
𝑥 3 + 𝑥 2 − 2𝑥
Decompose the third integrand.
𝑥 2 − 6𝑥 + 2 𝑥 2 − 6𝑥 + 2
=
𝑥 3 + 𝑥 2 − 2𝑥 𝑥 𝑥2 + 𝑥 − 2
𝑥 2 − 6𝑥 + 2
=
𝑥 𝑥−1 𝑥+2
𝐴 𝐵 𝐶
= + + (1)
𝑥 𝑥−1 𝑥+2
𝑥 2 − 6𝑥 + 2 = 𝐴 𝑥 − 1 𝑥 + 2 + 𝐵𝑥 𝑥 + 2 + 𝐶𝑥 𝑥 − 1 (2)
𝑥 2 − 6𝑥 + 2 = 𝐴 𝑥 2 + 𝑥 − 2 + 𝐵 𝑥 2 + 2𝑥 + 𝐶 𝑥 2 − 𝑥 (3)
Evaluate 𝐴, 𝐵 and 𝐶 using Eq. (2)
From (2): when 𝑥 = 0 2 = 𝐴(−1)(2) 𝐴 = −1
𝑥=1 12 − 6(1) + 2 = 𝐵(1)(1 + 2) 𝐵 = −1
−2 2 − 6 −2 + 2 = 𝐶(−2)(−2 − 1) 𝐶=3
𝑥 = −2
Substitute values of A, B and C then integrate
𝑥 4 − 𝑥 3 − 3𝑥 2 − 2𝑥 + 2 −1 −1 3
𝑑𝑥 = 𝑥 𝑑𝑥 − 2 𝑑𝑥 + + + 𝑑𝑥
𝑥 3 + 𝑥 2 − 2𝑥 𝑥 𝑥−1 𝑥+2
𝑑𝑥 𝑑𝑥 𝑑𝑥
= 𝑥𝑑𝑥 − 2 𝑑𝑥 − − +3
𝑥 𝑥−1 𝑥+2
𝑥2
= − 2𝑥 − ln 𝑥 − ln 𝑥 − 1 + 3 ln 𝑥 + 2 + 𝐶
2
Now try these
Practice Problem
2𝑥 + 11
1. 2
𝑑𝑥
𝑥 +𝑥−6
Ans. 3 ln 𝑥 − 2 − ln 𝑥 + 3 + 𝐶
𝑑𝑥
2.
𝑥 2 + 4𝑥
1 𝑥
Ans. ln 𝑥+4 + 𝐶
4
3𝑥 2 + 8𝑥 − 12
3. 3 2
𝑑𝑥
𝑥 + 7𝑥 + 12𝑥
Ans. 3 ln 𝑥 + 3 − ln 𝑥 + ln 𝑥 + 4 + 𝐶
Case II: Repeated linear Factors
𝐴 𝐵 𝐶 𝑍
+ 2+ 𝑥−𝑎 3 +∙∙∙∙∙∙ + 𝑥 − 𝑎 𝑟
𝑥−𝑎 𝑥−𝑎
𝑥 3 −1
Example 1. Evaluate 𝑑𝑥.
𝑥 𝑥+1 3
Solution:
Decompose the integrand.
𝑥3 − 1 𝐴 𝐵 𝐶 𝐷
(1) = + + 2
+
𝑥 𝑥+1 3 𝑥 𝑥 + 1 𝑥 + 1 𝑥+1 3
(2) 𝑥 3 − 1 = 𝐴 𝑥 + 1 3 + 𝐵𝑥 𝑥 + 1 2 + 𝐶𝑥 𝑥 + 1 + 𝐷𝑥
𝑥 3 − 1 = 𝐴 𝑥 3 + 3𝑥 2 + 3𝑥 + 1 + 𝐵𝑥 𝑥 2 + 2𝑥 + 1 + 𝐶𝑥 𝑥 + 1 + 𝐷𝑥
(3) 𝑥 3 − 1 = 𝐴 𝑥 3 + 3𝑥 2 + 3𝑥 + 1 + 𝐵 𝑥 3 + 2𝑥 2 + 𝑥 + 𝐶 𝑥 2 + 𝑥 + 𝐷𝑥
𝑑𝑥 𝑑𝑥 −2 −3
=− +2 − 𝑥+1 𝑑𝑥 + 2 𝑥+1 𝑑𝑥
𝑥 𝑥+1
𝑥 + 1 −1 𝑥 + 1 −2
= − ln 𝑥 + 2 ln 𝑥 + 1 − +2 +𝐶
−1 −2
1 1
= − ln 𝑥 + 2 ln 𝑥 + 1 + − +𝐶
𝑥+1 𝑥+1 2
3𝑥+5
Example 2. Evaluate 𝑑𝑥.
𝑥 3 −𝑥 2 −𝑥+1
Solution:
Decompose the integrand.
3𝑥 + 5 3𝑥 + 5
=
𝑥3 − 𝑥2 − 𝑥 + 1 𝑥+1 𝑥−1 2
𝐴 𝐵 𝐶 (1)
= + +
𝑥+1 𝑥−1 𝑥−1 2
3𝑥 + 5 = 𝐴 𝑥 − 1 2 + 𝐵 𝑥 + 1 𝑥 − 1 + 𝐶 𝑥 + 1 (2)
3𝑥 + 5 = 𝐴 𝑥 2 − 2𝑥 + 1 + 𝐵 𝑥 2 − 1 + 𝐶 𝑥 + 1 (3)
Evaluate A, B and C
2
From (2): when 𝑥 = −1 3 −1 + 5 = 𝐴 −1 − 1 𝐴 = 12
𝑥=1 3 1 + 5 = 𝐶(1 + 1) 𝐶=4
From (3), equate coefficients of like powers
coefficients of 𝑥 2 0=𝐴+𝐵
but 𝐴 = 12 𝐵 = −12
1
3𝑥 + 5 2
−12 4
𝑑𝑥 = + + 𝑑𝑥
𝑥3 − 𝑥2 − 𝑥 + 1 𝑥+1 𝑥−1 𝑥−1 2
1 𝑑𝑥 1 𝑑𝑥 𝑑𝑥
= − +4 2
2 𝑥+1 2 𝑥−1 𝑥−1
1 𝑑𝑥 1 𝑑𝑥 −2
= − +4 𝑥−1 𝑑𝑥
2 𝑥+1 2 𝑥−1
−1
1 1 𝑥−1
= ln 𝑥 + 1 − ln 𝑥 − 1 + 4 +𝐶
2 2 −1
1 1 4
= ln 𝑥 + 1 − ln 𝑥 − 1 − +𝐶
2 2 𝑥−1
𝑥+1
Example 3. Evaluate 𝑥 2 𝑥−1
𝑑𝑥
Solution:
Decompose the integrand.
𝑥+1 𝐴 𝐵 𝐶
= + 2+ (1)
𝑥2 𝑥 − 1 𝑥 𝑥 𝑥−1
𝑥 + 1 = 𝐴𝑥 𝑥 − 1 + 𝐵 𝑥 − 1 + 𝐶𝑥 2 (2)
𝑥 + 1 = 𝐴 𝑥 2 − 2𝑥 + 𝐵 𝑥 − 1 + 𝐶𝑥 2 (3)
Evaluate A, B and C
From (2): when 𝑥 = 1 1 + 1 = 𝐶(12 ) 𝐶=2
𝑥=0 1 = 𝐵(0 − 1) 𝐵 = −1
but C = 2 𝐴 = −2
We are ready to integrate
𝑥+1 −2 −1 2
𝑑𝑥 = + 2+ 𝑑𝑥
𝑥2 𝑥 − 1 𝑥 𝑥 𝑥−1
𝑑𝑥 𝑑𝑥 𝑑𝑥
= −2 − +2
𝑥 𝑥2 𝑥−1
𝑑𝑥 −2
𝑑𝑥
= −2 − 𝑥 𝑑𝑥 + 2
𝑥 𝑥−1
𝑥 −1
= −2 ln 𝑥 − + 2 ln 𝑥 − 1 + 𝐶
−1
1
= −2 ln 𝑥 + + 2 ln 𝑥 − 1 + 𝐶
𝑥
𝑥
Example 4. Evaluate 𝑥+2 3
𝑑𝑥
Solution:
Decompose the integrand.
𝑥 𝐴 𝐵 𝐶
3 = + + (1)
𝑥+2 𝑥+2 𝑥+2 2 𝑥+2 3
2
𝑥 =𝐴 𝑥+2 +𝐵 𝑥+2 +𝐶 (2)
𝑥 + 1 = 𝐴 𝑥 2 + 4𝑥 + 4 + 𝐵 𝑥 + 2 + 𝐶 (3)
Evaluate A, B and C
𝑥 0 1 −2
3
𝑑𝑥 = + 2
+ 3
𝑑𝑥
𝑥+2 𝑥+2 𝑥+2 𝑥+2
𝑑𝑥 𝑑𝑥
= 2
−2 3
𝑥+2 𝑥+2
−2 −3
= 𝑥+2 𝑑𝑥 − 2 𝑥+2 𝑑𝑥
−1 −2
𝑥+2 𝑥+2
= −2 +𝐶
−1 −2
1 1
=− + 2
+𝐶
𝑥+2 𝑥+2
Now try these
Practice Problem
1
1. 2 𝑑𝑥
𝑥 𝑥+2
1 1 1 −1
Ans. ln 𝑥 − 4 ln 𝑥 + 2 + 2 𝑥 + 2 +𝐶
4
5𝑥 − 4 𝑑𝑥
2.
𝑥 3 + 4𝑥 2
3 3
Ans. 𝑥 −1 + ln 𝑥 − ln 𝑥+4 +𝐶
2 2
𝑥4 + 1
3. 𝑑𝑥
𝑥2 𝑥 + 1 2
Ans. x − 2ln x − 𝑥 −1 − 2 𝑥 + 1 −1
+𝐶
Case III: Quadratic Factors
Solution:
Decompose the integrand
𝑥 2 + 4𝑥 + 10 𝑥 2 + 4𝑥 + 10
3 2
=
𝑥 + 2𝑥 + 5𝑥 𝑥(𝑥 2 + 2𝑥 + 5)
𝐴 𝐵 2𝑥 + 2 𝐶
= + 2 + (1)
𝑥 (𝑥 +2𝑥 + 5) (𝑥 2 +2𝑥 + 5)
𝑥 2 + 4𝑥 + 10 = 𝐴(𝑥 2 +2𝑥 + 5) + 𝐵𝑥 2𝑥 + 2 + 𝐶𝑥 (2)
𝑥 2 + 4𝑥 + 10 = 𝐴(𝑥 2 +2𝑥 + 5) + 𝐵 2𝑥 2 + 2𝑥 + 𝐶𝑥 (3)
Evaluate A, B and C
From (2): when 𝑥 = 0 10 = 𝐴 5 𝐴=2
From (3), equate coefficients of like powers
coefficients of 𝑥 2 1 = 𝐴 + 2𝐵, but 𝐴 = 2 𝐵 = −12
coefficients of 𝑥 4 = 2𝐴 + 2𝐵 + 𝐶, but 𝐴 = 2 &𝐵 = −12 𝐶=1
𝑑𝑥 1 2𝑥 + 2 𝑑𝑥 𝑑𝑥
=2 − +
𝑥 2 (𝑥 2 +2𝑥 + 5) (𝑥 2 +2𝑥 + 5)
𝑑𝑥 1 2𝑥 + 2 𝑑𝑥 𝑑𝑥
=2 − +
𝑥 2 (𝑥 2 +2𝑥 + 5) (𝑥 2 +2𝑥 + 1) + 4
1 𝑑𝑥
= 2 ln 𝑥 − ln(𝑥 2 +2𝑥 + 5) +
2 𝑥+1 2+4
𝑑𝑥
We evaluate separately
𝑥+1 2 +4
let 𝑎=2 and 𝑢 =𝑥+1
𝑎2 = 4 𝑑𝑢 = 𝑑𝑥
𝑑𝑥 𝑑𝑢 1 𝑢
= = 𝐴𝑟𝑐𝑡𝑎𝑛
𝑥+1 2+1 𝑢2 + 𝑎2 𝑎 𝑎
1 𝑥+1
= 𝐴𝑟𝑐𝑡𝑎𝑛 +𝐶
2 2
1 2
1 𝑥+1
= 2 ln 𝑥 − ln(𝑥 +2𝑥 + 5) + 𝐴𝑟𝑐𝑡𝑎𝑛 +𝐶
2 2 2
𝑥 2 +2
Example 2: Evaluate 𝑑𝑥.
𝑥 3 −1
Solution:
Decompose the integrand
𝑥2 + 2 𝑥2 + 2
3
=
𝑥 −1 𝑥 − 1 𝑥2 + 𝑥 + 1
𝐴 𝐵 2𝑥 + 1 𝐶
= + 2 + 2 (1)
𝑥−1 𝑥 +𝑥+1 𝑥 +𝑥+1
𝑥 2 + 2 = 𝐴 𝑥 2 + 𝑥 + 1 + 𝐵(𝑥 − 1) 2𝑥 + 1 + 𝐶(𝑥 − 1) (2)
𝑥 2 + 2 = 𝐴 𝑥 2 + 𝑥 + 1 + 𝐵 2𝑥 2 − 𝑥 − 1 + 𝐶(𝑥 − 1) (3)
Evaluate A, B and C
From (2): when 𝑥 = 1 12 + 2 = 𝐴 12 + 1 + 1 𝐴=1
From (3), equate coefficients of like powers
coefficients of 𝑥 2 1 = 𝐴 + 2𝐵, but 𝐴 = 1 𝐵=0
coefficients of 𝑥 0 = 𝐴 − 𝐵 + 𝐶, but 𝐴 = 1 & 𝐵 = 0 𝐶 = −1
Substitute values of A, B and C then integrate
𝑥2 + 2 1 0 2𝑥 + 1 −1
3
𝑑𝑥 = + 2 + 2 𝑑𝑥
𝑥 −1 𝑥−1 𝑥 +𝑥+1 𝑥 +𝑥+1
𝑑𝑥 𝑑𝑥
= −
𝑥−1 𝑥2 + 𝑥 + 1
𝑑𝑥 𝑑𝑥
= −
𝑥−1 𝑥 2 + 𝑥 + 14 + 34
𝑑𝑥 𝑑𝑥
= − 2
𝑥−1 1 2 3
𝑥+ 2
+ 2
1 𝑥 + 12
= ln 𝑥 − 1 − 𝐴𝑟𝑐𝑡𝑎𝑛 +𝐶
3 3
2 2
2 2 𝑥 + 12
= ln 𝑥 − 1 − 𝐴𝑟𝑐𝑡𝑎𝑛 +𝐶
3 3
2 2𝑥 + 1
= ln 𝑥 − 1 − 𝐴𝑟𝑐𝑡𝑎𝑛 +𝐶
3 3
𝑥 3 +𝑥 2 +𝑥+2
Example 3: Evaluate 𝑑𝑥.
𝑥 4 +3𝑥 2 +2
Solution:
Decompose the integrand
𝑥3 + 𝑥2 + 𝑥 + 2 𝑥3 + 𝑥2 + 𝑥 + 2
4 2
= 2
𝑥 + 3𝑥 + 2 𝑥 + 1 𝑥2 + 2
𝐴 2𝑥 𝐵 𝐶 2𝑥 𝐷
= 2 + 2 + 2 + 2 (1)
𝑥 +1 𝑥 +1 𝑥 +2 𝑥 +2
𝑥 3 + 𝑥 2 + 𝑥 + 2 = 𝐴 2𝑥 𝑥 2 + 2 + 𝐵 𝑥 2 + 2 + 𝐶 2𝑥 𝑥 2 + 1 + 𝐷 𝑥 2 + 1 (2)
𝑥 3 + 𝑥 2 + 𝑥 + 2 = 𝐴 2𝑥 3 + 4𝑥 + 𝐵 𝑥 2 + 2 + 𝐶 2𝑥 3 + 2𝑥 + 𝐷 𝑥 2 + 1 (3)
𝑥3 + 𝑥2 + 𝑥 + 2 1
𝑑𝑥 0 2𝑥 1 2𝑥 0
4 2 = + 2 2
+ 2 + 2 𝑑𝑥
𝑥 + 3𝑥 + 2 2
𝑥 +1 𝑥 +1 𝑥 +2 𝑥 +2
𝑑𝑥 1 2𝑥 𝑑𝑥
= 2
+
𝑥 +1 2 𝑥2 + 2
1
= 𝐴𝑟𝑐𝑡𝑎𝑛 𝑥 + ln 𝑥 2 + 2 + 𝐶
2
𝑥
Example 4: Evaluate 𝑑𝑥.
𝑥 2 +6𝑥+13
Solution:
Decompose the integrand
𝑥 𝐴 2𝑥 + 6 𝐵
𝑥 2 + 6𝑥 + 13 = 𝑥 2 + 6𝑥 + 13 + 𝑥 2 + 6𝑥 + 13 (1)
𝑥 = 𝐴 2𝑥 + 6 + 𝐵 (2)
Solve for A and B
From (2) when 𝑥 = −3
−3 = 𝐴 2 −3 + 6 + 𝐵 𝐵 = −3
when 𝑥 = 0
0 = 6𝐴 + 𝐵, but 𝐵 = −3 𝐴 = 12
Substitute values of A and B then integrate
1
𝑥 2
2𝑥 + 6 −3
2
𝑑𝑥 = + 2 𝑑𝑥
𝑥 + 6𝑥 + 13 𝑥 2 + 6𝑥 + 13 𝑥 + 6𝑥 + 13
1 2𝑥 + 6 𝑑𝑥 𝑑𝑥
= 2
−3
2 𝑥 + 6𝑥 + 13 𝑥 2 + 6𝑥 + 13
1 𝑑𝑥
= ln 𝑥 2 + 6𝑥 + 13 − 3
2 𝑥 2 + 6𝑥 + 9 + 4
1 𝑑𝑥
= ln 𝑥 2 + 6𝑥 + 13 − 3
2 𝑥 + 3 2 + 22
1 2
1 𝑥+3
= ln 𝑥 + 6𝑥 + 13 − 3 𝐴𝑟𝑐𝑡𝑎𝑛 +𝐶
2 2 2
1 2
3 𝑥+3
= ln 𝑥 + 6𝑥 + 13 − 𝐴𝑟𝑐𝑡𝑎𝑛 +𝐶
2 2 2
Now try these
Practice Problem
4𝑥 + 5
1. 2 𝑑𝑥
𝑥 + 4𝑥 + 20
3 𝑥+2
Ans. 2 ln 𝑥2 + 4𝑥 + 20 − 2 Arctan 4 +𝐶
4𝑑𝑥
2.
𝑥 3 − 4𝑥 2 − 8𝑥
1 1 2 1 𝑥−2
Ans. 2
ln 𝑥 − 4 ln 𝑥 − 4𝑥 + 8 + 2 𝐴𝑟𝑐𝑡𝑎𝑛 2 +𝐶
9𝑦 + 14
3. 2 𝑑𝑥
𝑦−2 𝑦 +4
1 𝑦
Ans. 4ln 𝑦 − 2 − 2 ln 𝑦2 +4 + 2 𝐴𝑟𝑐𝑡𝑎𝑛 2 +𝐶
Case IV: Repeated Quadratic Factors
𝐴 2𝑥 + 𝑏 + 𝐵 𝐶 2𝑥 + 𝑏 + 𝐷 𝐻 2𝑥 + 𝑏 + 𝐼
2
+ 2 2
+∙∙∙ +
𝑎𝑥 + 𝑏𝑥 + 𝑐 𝑎𝑥 + 𝑏𝑥 + 𝑐 𝑎𝑥 2 + 𝑏𝑥 + 𝑐 𝑟
Solution:
Decompose the integrand
𝑥2 𝐴 2𝑥 + 4 + 𝐵 𝐶 2𝑥 + 4 + 𝐷
= 2 + 2
2
𝑥 + 4𝑥 + 5 2 𝑥 + 4𝑥 + 5 𝑥 + 4𝑥 + 5 2
𝑥 2 = 𝐴 2𝑥 + 4 𝑥 2 + 4𝑥 + 5 + 𝐵 𝑥 2 + 4𝑥 + 5 + 𝐶 2𝑥 + 4 + 𝐷
𝑥 2 = 𝐴 2𝑥 3 + 12𝑥 2 + 26𝑥 + 20 + 𝐵 𝑥 2 + 4𝑥 + 5 + 𝐶 2𝑥 + 4 + 𝐷
Solve for A, B, C and D
𝑑𝑥 2𝑥 + 4 𝑑𝑥 𝑑𝑥
= −2 +3
𝑥 2 + 4𝑥 + 5 𝑥 2 + 4𝑥 + 5 2 𝑥 2 + 4𝑥 + 5 2
𝑑𝑥
= −2 𝑥 2 + 4𝑥 + 5 −2
2𝑥 + 4 𝑑𝑥
𝑥 2 + 4𝑥 + 4 + 1
𝑑𝑥
+3
𝑥 2 + 4𝑥 + 4 + 1 2
𝑑𝑥
= −2 𝑥 2 + 4𝑥 + 5 −2
2𝑥 + 4 𝑑𝑥
𝑥+2 2+1
𝑑𝑥
+3
𝑥+2 2+1 2
𝑥2 𝑥 2 + 4𝑥 + 5 −1
𝑑𝑥
𝑑𝑥 = 𝐴𝑟𝑐𝑡𝑎𝑛 𝑥 + 2 − 2 +3
𝑥 2 + 4𝑥 + 5 2 −1 𝑥+2 2+1 2
𝑑𝑥
We integrate separately
𝑥+2 2 +1 2
let 𝑢 = 𝑥 + 2 𝑑𝑢 = 𝑑𝑥
𝑑𝑥 𝑑𝑢
=
𝑥+2 2+1 2 𝑢2 + 1 2
Solution:
Decompose the integrand
𝑥2 + 𝑥 + 2 𝐴 2𝑥 + 2 + 𝐵 𝐶 2𝑥 + 2 + 𝐷
= 2 + 2
2
𝑥 + 2𝑥 + 3 2 𝑥 + 2𝑥 + 3 𝑥 + 2𝑥 + 3 2
𝑥 2 + 𝑥 + 2 = 𝐴 2𝑥 + 2 𝑥 2 + 2𝑥 + 3 + 𝐵 𝑥 2 + 2𝑥 + 3 + 𝐶 2𝑥 + 2 + 𝐷
𝑥 2 + 𝑥 + 2 = 𝐴 2𝑥 3 + 6𝑥 2 + 10𝑥 + 6 + 𝐵 𝑥 2 + 4𝑥 + 5 + 𝐶 2𝑥 + 4 + 𝐷
Solve for A, B, C and D
𝑑𝑥 3 2𝑥 + 2 𝑑𝑥 𝑑𝑥
= − +3
𝑥 2 + 2𝑥 + 3 2 𝑥 2 + 2𝑥 + 3 2 𝑥 2 + 2𝑥 + 3 2
𝑑𝑥 3
= − 𝑥 2 + 2𝑥 + 3 −2
2𝑥 + 2 𝑑𝑥
𝑥 2 + 2𝑥 + 1 + 2 2
𝑑𝑥
+3
𝑥 2 + 2𝑥 + 1 + 2 2
𝑑𝑥 3
= − 𝑥 2 + 2𝑥 + 3 −2
2𝑥 + 2 𝑑𝑥
𝑥+1 2+2 2
𝑑𝑥
+3
𝑥+1 2+2 2
Following the solution as example 1 above we have,
𝑥2 + 𝑥 + 2 1 𝑥+1 3 𝑥 2 + 2𝑥 + 3 −1
𝑑𝑥 = 𝐴𝑟𝑐𝑡𝑎𝑛 −
𝑥 2 + 2𝑥 + 3 2
2 2 2 −1
3 𝑥+1 1 𝑥+1
+ 𝐴𝑟𝑐𝑡𝑎𝑛 + sin 2 𝐴𝑟𝑐𝑡𝑎𝑛 +𝐶
4 2 2 2 2
Now try these
Practice Problem
𝑑𝑥
1.
𝑥 2 + 2𝑥 + 10 2
𝑥+1 1 𝑥+1
Ans. 18 𝑥 2 +2𝑥+10
+ 54 Arctan 3 +𝐶