Question
Question: How do you integrate \(\int{\dfrac{2}{\left( 1-x \right)\left( 1+{{x}^{2}} \right)}}dx\) using parti...
How do you integrate ∫(1−x)(1+x2)2dx using partial fractions?
Solution
In this question, before using partial fraction, we will use constant factor rule, that is:∫cf(x)dx=c∫f(x)dx and then apply partial fraction and then we will rewrite the integral in partial fractions and then integrate it.
Complete step by step answer:
As we can see in our question, we have to integrate our equation using partial fractions, so first we will use the constant factor rule, which helps us to separate the constant and the equation which we are going to evaluate. Therefore, the constant factor rule is:
∫cf(x)dx=c∫f(x)dx
Now, from above question we get:
2∫(1−x)(1+x2)1dx
Now here we will begin partial fraction, partial fraction decomposition method is used to decompose a rational expression into simpler fractions; that is if we were given a single complicated fraction, we first have to break it down into a series of “smaller” parts. So we get our equation as:
(1−x)(1+x2)1=1−xA+1+x2Bx+C→(1)
Now, Rewrite the right side of the equation with a common denominator, we get:
(1−x)(1+x2)1=(1−x)(1+x2)A(1+x2)+(Bx+C)(1−x)
Now cancel (1−x)(1+x2) we get:
1=A(1+x2)+(Bx+C)(1−x)
Now by expanding, we get:
1=A+Ax2+Bx−Bx2+C−Cx
Now we have to group terms by degrees of x, we get:
1=(A−B)x2+(B−C)x+A+C
Now we will set up an equation system based on the degrees of x, we get:
A−B=0→(2)B−C=0→(3)A+C=1→(4)
Now in the equation, (2), on transferring −Bfrom the left-hand side to the right-hand side, we get:
A=B
Now in the equation, (3), on transferring −Cfrom the left-hand side to the right-hand side, we get:
B=C
Now in equation (4), we have: A+C=1
Now since B=C, we can substitute it as:
A+B=1
Also since A=Band therefore on substituting we get:
A+A=1
On simplifying, we get:
2A=1
A=21
As we can see that, A=B and B=C we get the following values:
A=21B=21C=21
Now we will substitute A,B,Cinto the original expression (1), we get:
(1−x)(1+x2)1=2(1−x)1+2(1+x2)x+1
With this partial fraction Decomposition completes:
2(1−x)1+2(1+x2)x+1
Next we will rewrite the integral in partial fractions:
2∫2(1−x)1+2(1+x2)x+1
Now, we will use Sum Rule:
∫f(x)+g(x)dx=∫f(x)dx+∫g(x)dx
Therefore, we get:
2(∫2(1−x)1dx+∫2(1+x2)x+1dx)
Next, use constant factor Rule:
∫cf(x)dx=c∫f(x)dx
So we will get:
2(21∫(1−x)1dx+∫(1+x2)x+1dx)
Now we will use integration by substitution on ∫1−x1dx we get:
Let u=1−x,du=−dx
Next we will substitute uand du we get:
∫−u1du
By taking derivative, we get:
−lnu
Now, substituting u=1−x we get:
−ln(1−x)
Now rewrite the integral with the completed substitution:
2(−2ln(1−x)+∫2(1+x2)x+1dx)
Now use constant factor rule:
∫cf(x)dx=c∫f(x)dx
2(−2ln(1−x)+21∫(1+x2)x+1dx)
Now we will split fractions, we get:
2(−2ln(1−x)+21∫(1+x2)x+1+x21dx)
Again use Sum Rule:
∫f(x)+g(x)dx=∫f(x)dx+∫g(x)dx
2(−2ln(1−x)+21(∫(1+x2)xdx+∫1+x21dx))
Next we will use integration by substitution on ∫1+x2xdx
Let u=1+x2,du=2xdx,then xdx=21du
Using u,duwe will rewrite above fraction:
∫2u1du
21∫u1du
Now derivative:
2lnu
Now substituting u=1+x2
2ln(1+x2)
Now rewrite integral with completed substitution, we get:
2(−2ln(1−x)+21(2ln(1+x2)+∫1+x21dx))
Let x=tanu,dx=sec2udu
We get:
∫1+(tanu)21sec2udu
On simplifying:
∫1du
Now we will use this rule: ∫adx=ax+C
u
We know that:
u=tan−1(x)
⇒tan−1(x)
Now rewrite integral with completed substitution:
2(−2ln(1−x)+4ln(1+x2)+2tan−1(x))
2(−2ln(1−x)+4ln(1+x2)+2tan−1(x))+C
Hence, the above expression is the final answer.
Note:
It is to be remembered that while doing integration by parts the terms uand vshould follow the sequence of the acronym ILATE, which stands for inverse, logarithm, algebraic, trigonometric, and exponential respectively.
It is to be remembered that integration and differentiation are inverses of each other. If the integration of ais bthen the derivative of bis a.