Question
Question: How do you integrate \[\int {\dfrac{{3{x^2} - 2x + 5}}{{{{({x^2} + 1)}^2}}}} \] using partial fracti...
How do you integrate ∫(x2+1)23x2−2x+5 using partial fractions?
Solution
We check if the degree of the numerator is strictly less than the degree of the denominator to be able to use partial fractions here. Then we use the general formula for converting the given fraction into a partial fraction. Substitute the partial fraction under the integral and solve the separate integrals.
Partial fractions is a method of dividing a single fraction into a sum of two or more fractions such that the integration becomes easier. The degree of the numerator should always be less than the degree of the denominator here. When given a fraction of the kind where the denominator is like (ax2+bx+c)kthen we write the fraction equal to the sum ax2+bx+cA1x+B1+(ax2+bx+c)2A2x+B2+.....+(ax2+bx+c)kAkx+Bk
∫1+x21dx=tan−1x
Complete step-by-step answer:
We have to integrate ∫(x2+1)23x2−2x+5 using partial fractions.
Since the fraction has the degree of the denominator (4) less than the degree of the numerator (2), we can apply a method of partial fractions.
Also, the denominator of the fraction (x2+1)23x2−2x+5is of the type (ax2+bx+c)k, so we use the general formula given in hint to convert in to partial fraction.
We write
⇒(x2+1)23x2−2x+5=(x2+1)Ax+B+(x2+1)2Cx+D … (1)
Take LCM in right hand side of the equation
⇒(x2+1)23x2−2x+5=(x2+1)2(Ax+B)(x2+1)+Cx+D
Cancel same denominator from both sides of the equation
⇒3x2−2x+5=(Ax+B)(x2+1)+Cx+D
Open the brackets on right hand side of the equation and multiply the terms
⇒3x2−2x+5=Ax3+Bx2+Ax+B+Cx+D
Group together the coefficients with same variables on right hand side of the equation
⇒3x2−2x+5=Ax3+Bx2+(A+C)x+(B+D) … (2)
We know that two polynomials are equal if the coefficients are equal for the same variables.
Equate the coefficients on both sides of the equation (2)
⇒A=0;B=3;A+C=−2;B+D=5
Substitute the value of A and B in to calculate values of C and D
⇒A=0;B=3;C=−2;D=2
Substitute the values of A, B, C and D in equation (1)
⇒(x2+1)23x2−2x+5=(x2+1)0.x+3+(x2+1)2−2x+2
⇒(x2+1)23x2−2x+5=(x2+1)3+(x2+1)2−2x+2
Integrate both sides of the equation with respect to x
⇒∫(x2+1)23x2−2x+5dx=∫(x2+1)3dx+∫(x2+1)2−2x+2dx
We know that we can bring out constant from the integration
⇒∫(x2+1)23x2−2x+5dx=3∫(x2+1)1dx+∫(x2+1)2−2x+2dx
We know that ∫1+x21dx=tan−1x+C because dxdtan−1x=1+x21
Substitute the value in right hand side of the equation
⇒∫(x2+1)23x2−2x+5dx=3tan−1x+C+∫(x2+1)2−2x+2dx
We break the remaining integral into 2 parts
⇒∫(x2+1)23x2−2x+5dx=3tan−1x+C−∫(x2+1)22xdx+∫(x2+1)22dx
For second integral let us substitute x2+1=t
Differentiating both sides we get 2xdx=dt
⇒∫(x2+1)23x2−2x+5dx=3tan−1x+C−∫t21dt+∫(x2+1)22dx
⇒∫(x2+1)23x2−2x+5dx=3tan−1x+C−∫t−2dt+∫(x2+1)22dx
Use general method of integration i.e. ∫xndx=n+1xn+1+C
⇒∫(x2+1)23x2−2x+5dx=3tan−1x−(−2+1t−2+1)+C+∫(x2+1)22dx
⇒∫(x2+1)23x2−2x+5dx=3tan−1x−(−1t−1)+C+∫(x2+1)22dx
⇒∫(x2+1)23x2−2x+5dx=3tan−1x+t1+C+∫(x2+1)22dx
Substitute value of x2+1=t
⇒∫(x2+1)23x2−2x+5dx=3tan−1x+x2+11+C+∫(x2+1)22dx
Now for the third integral, we substitute x=tanyi.e. y=tan−1x
Differentiating both sides we get dx=sec2ydy
⇒∫(x2+1)23x2−2x+5dx=3tan−1x+x2+11+C+2∫(tan2y+1)2sec2ydy
We know that 1+tan2y=sec2y
⇒∫(x2+1)23x2−2x+5dx=3tan−1x+x2+11+C+2∫(sec2y)2sec2ydy
Cancel same terms from numerator and denominator
⇒∫(x2+1)23x2−2x+5dx=3tan−1x+x2+11+C+2∫sec2y1dy
We know that secy1=cosy
⇒∫(x2+1)23x2−2x+5dx=3tan−1x+x2+11+C+2∫cos2ydy
We know cos2y=21(cos2y+1)
⇒∫(x2+1)23x2−2x+5dx=3tan−1x+x2+11+C+2×21∫(cos2y+1)dy
Substitute ∫cosydy=−siny
⇒∫(x2+1)23x2−2x+5dx=3tan−1x+x2+11+C−2sin2y+y
⇒∫(x2+1)23x2−2x+5dx=3tan−1x+x2+11+C−2sinycosy+y
When x=tany, then the right angle triangle with angle y will give us value of siny=1+x2x;cosy=1+x21. Also put y=tan−1x
⇒∫(x2+1)23x2−2x+5dx=3tan−1x+x2+11−2×(1+x2x×1+x21)+tan−1x+C
⇒∫(x2+1)23x2−2x+5dx=3tan−1x+x2+11−1+x22x+tan−1x+C
Add like values on right hand side
⇒∫(x2+1)23x2−2x+5dx=4tan−1x+x2+11−2x+C
∴The value of the ∫(x2+1)23x2−2x+5 using partial fractions is 4tan−1x+x2+11−2x+C
Note:
Many students make the mistake of solving the last integral wrong as they use the same formula of inverse of tangent to write the value of integral for the last integral. Keep in mind the square of the denominator prevents us from using that direct formula. Also, solve integrals separated by partial fractions one by one to avoid confusion.