Decompose (x−1)(x+2)1 into partial fractions, and use the decomposition to compute ∫(x−1)(x+2)dx.
partial fraction decompositionindefinite integralrational function
Approach: The denominator is already factored into two distinct linear factors, so set (x−1)(x+2)1=x−1A+x+2B, determine A and B by clearing denominators and comparing coefficients, and then integrate the two terms separately.
Steps:
Set (x−1)(x+2)1=x−1A+x+2B and clear denominators to get 1=A(x+2)+B(x−1).
Approach: The denominator is the same as in Exercise 1, but the numerator is a non-constant linear expression. The undetermined-coefficient method still works: substituting x=1 and x=−2 now gives equations for A and B that involve the numerator, and both factors are nonzero at those points.
Steps:
Set (x−1)(x+2)3x+1=x−1A+x+2B and clear denominators to get 3x+1=A(x+2)+B(x−1)=(A+B)x+(2A−B).
Putting x=1 gives 3+1=3A, so A=34; putting x=−2 gives −6+1=−3B, so B=35. Check: (A+B)x+(2A−B)=(34+35)x+(38−35)=3x+1, as required.
Integrate term by term: ∫(x−1)(x+2)3x+1dx=34ln∣x−1∣+35ln∣x+2∣+C.
Verify by differentiating: dxd[34ln∣x−1∣+35ln∣x+2∣]=3(x−1)4+3(x+2)5=3(x−1)(x+2)4(x+2)+5(x−1)=(x−1)(x+2)3x+1, which matches the original integrand.
Compute the indefinite integral ∫x(x+1)2dx (the denominator contains the repeated factor (x+1)2).
partial fraction decompositionrepeated factorindefinite integralrational function
Approach: When a factor occurs with power 2, a single term is not enough — the decomposition must split it as x+1B+(x+1)2C, otherwise the degrees cannot be matched. With three unknown coefficients, substituting x=0 and x=−1 and then comparing the leading coefficient determines all of them.
Steps:
Set x(x+1)21=xA+x+1B+(x+1)2C and clear denominators to get 1=A(x+1)2+Bx(x+1)+Cx.
Putting x=0 gives A=1; putting x=−1 gives C=−1; comparing the x2 coefficients gives A+B=0, so B=−1.
Check: (x+1)2−x(x+1)−x=x2+2x+1−x2−x−x=1, as required.
Integrate term by term: ∫x(x+1)2dx=ln∣x∣−ln∣x+1∣+x+11+C, where ∫(x+1)2−1dx=x+11.
Verify by differentiating: dxd[ln∣x∣−ln∣x+1∣+x+11]=x1−x+11−(x+1)21=x(x+1)2(x+1)2−x(x+1)−x=x(x+1)21, which matches the original integrand.
Approach: The degree of the numerator (3) is larger than the degree of the denominator (2), so this is an improper fraction and cannot be decomposed directly. First use polynomial division to write it as a polynomial plus a proper fraction, and only then decompose the proper part.
Decompose the proper fraction: set (x−1)(x+1)x=x−1A+x+1B and clear denominators to get x=A(x+1)+B(x−1)=(A+B)x+(A−B). Comparing coefficients gives A+B=1 and A−B=0, so A=B=21.
Hence x2−1x3=x+21(x−11+x+11).
Integrate term by term: ∫x2−1x3dx=2x2+21ln∣x−1∣+21ln∣x+1∣+C=2x2+21ln∣x2−1∣+C.
Verify by differentiating: dxd[2x2+21ln∣x2−1∣]=x+x2−1x=x2−1x(x2−1)+x=x2−1x3, which matches the original integrand.
Answer: ∫x2−1x3dx=2x2+21ln∣x2−1∣+C.
Summary
Symbols Used in This Article
Symbol
Type
Pronunciation/Explanation
Meaning in This Article
∫
mathematical symbol
integral
Indefinite integral sign
dx
mathematical symbol
differential of x
The differential element of the integration variable x
C
mathematical symbol
constant of integration
The arbitrary constant in every antiderivative
x2−1
mathematical symbol
x squared minus one
The denominator that is factored before decomposition
(x−1)(x+1)
mathematical symbol
the product of x minus one and x plus one
The factorisation of the denominator into linear factors
A,B
mathematical symbol
A, B
The coefficients determined when the partial fractions are solved for
x−11−x+11
mathematical symbol
one over x minus one, minus one over x plus one
The pair of simple fractions the integrand is split into
ln∣x−1∣
mathematical symbol
natural logarithm of the absolute value of x minus one
The antiderivative of the first simple fraction
ln∣x+1∣
mathematical symbol
natural logarithm of the absolute value of x plus one