Solveeit Logo

Question

Question: Integrate \(\int {\dfrac{x}{{{x^3} + {x^2} + x + 1}}} dx\)...

Integrate xx3+x2+x+1dx\int {\dfrac{x}{{{x^3} + {x^2} + x + 1}}} dx

Explanation

Solution

Here we have to integrate the given function so we will use the concept of integration using partial fractions. Firstly, we will factorize the denominator parts into linear factors and then we will find the coefficients and use integration formula such as 1xdx=logx\int {\dfrac{1}{x}} dx = \log x.

Complete answer:
Here, we have the given function is an improper rational fraction then it can be expressed as partial fraction. If P(x)Q(x)\dfrac{{P(x)}}{{Q(x)}} is an improper rational function then it can be expressed as partial fraction as A(x)+R(x)Q(x)A(x) + \dfrac{{R(x)}}{{Q(x)}} where A(x)A(x) is the polynomial in xx and R(x)Q(x)\dfrac{{R(x)}}{{Q(x)}} is a proper rational function.
Here, we have to integrate xx3+x2+x+1dx\int {\dfrac{x}{{{x^3} + {x^2} + x + 1}}} dx
Now, we will factorize the denominator part of the given fractional function
xx3+x2+x+1dx=xx(x2+x+1)+1dx\Rightarrow \int {\dfrac{x}{{{x^3} + {x^2} + x + 1}}} dx = \int {\dfrac{x}{{x({x^2} + x + 1) + 1}}} dx
The above expression can be written as
xx(x2+x+1)+1dx=Ax+1+Bx+Cx2+1\Rightarrow \int {\dfrac{x}{{x({x^2} + x + 1) + 1}}} dx = \int {\dfrac{A}{{x + 1}}} + \dfrac{{Bx + C}}{{{x^2} + 1}}
x=A(x2+1)+(Bx+C)(x+1)\Rightarrow x = A({x^2} + 1) + (Bx + C)(x + 1)
On comparing the coefficients of x2{x^2}. We get,
A+B=0\Rightarrow A + B = 0
A=B(1)\Rightarrow A = - B \ldots (1)
On comparing the coefficients of xx. We get,
B+C=1(2)\Rightarrow B + C = 1 \ldots (2)
On comparing the constants parts of both side of the expression. We get,
A+C=0(3)\Rightarrow A + C = 0 \ldots (3)
Put the value of AA from equation (1)(1) in equation (3)(3). We get,
B+C=0(4)\Rightarrow - B + C = 0 \ldots (4)
Now adding equation (2)(2) and (4)(4) . we get,
2C=1\Rightarrow 2C = 1
C=12\Rightarrow C = \dfrac{1}{2}
Putting the value of C=12C = \dfrac{1}{2} in equation (4)(4). We get,
B+12=0\Rightarrow - B + \dfrac{1}{2} = 0
B=12\Rightarrow B = \dfrac{1}{2}
Putting the value of B=12B = \dfrac{1}{2} in equation (1)(1). We get
A=12\Rightarrow A = - \dfrac{1}{2}
Now putting the value of constants in the function. we get,
xx3+x2+x+1dx=[12(x+1)+x2(x2+1)+12(x2+1)]dx\Rightarrow \int {\dfrac{x}{{{x^3} + {x^2} + x + 1}}} dx = \int {\left[ { - \dfrac{1}{{2(x + 1)}} + \dfrac{x}{{2({x^2} + 1)}} + \dfrac{1}{{2({x^2} + 1)}}} \right]} dx
Now we will integrate all the three functions by using the various integration rule and then add their results.
Now, 12(x+1)dx=12ln(x+1)\int {\dfrac{1}{{2(x + 1)}}dx} = \dfrac{1}{2}\ln (x + 1)
As we know 1xdx=logx\int {\dfrac{1}{x}} dx = \log x
Now, x2(x2+1)dx\int {\dfrac{x}{{2({x^2} + 1)}}} dx
Using the formula f(x)f(x)=lnf(x)\int {\dfrac{{f'(x)}}{{f(x)}}} = \ln \left| {f(x)} \right|
Now d(x2+1)dx=2x\dfrac{{d({x^2} + 1)}}{{dx}} = 2x
Therefore, x2(x2+1)dx=12(12ln(x2+1))\int {\dfrac{x}{{2({x^2} + 1)}}dx} = \dfrac{1}{2}\left( {\dfrac{1}{2}\ln ({x^2} + 1)} \right)
Now 12(x2+1)dx=12tan1x\int {\dfrac{1}{{2({x^2} + 1)}}dx} = \dfrac{1}{2}{\tan ^{ - 1}}x
As we know that 1(x2+1)dx=tan1x\int {\dfrac{1}{{({x^2} + 1)}}} dx = {\tan ^{ - 1}}x
Now adding the results of all the functions we get,
12ln(x+1)+12[12ln(x2+1)]+12tan1x+C\Rightarrow - \dfrac{1}{2}\ln (x + 1) + \dfrac{1}{2}\left[ {\dfrac{1}{2}\ln ({x^2} + 1)} \right] + \dfrac{1}{2}{\tan ^{ - 1}}x + C
Hence, the integration of xx3+x2+x+1dx\int {\dfrac{x}{{{x^3} + {x^2} + x + 1}}} dx is 12ln(x+1)+12[12ln(x2+1)]+12tan1x+C - \dfrac{1}{2}\ln (x + 1) + \dfrac{1}{2}\left[ {\dfrac{1}{2}\ln ({x^2} + 1)} \right] + \dfrac{1}{2}{\tan ^{ - 1}}x + C

Note:
Note that we can only use the concept of partial fractions if the degree of the numerator is strictly less than the degree of the denominator. If the degree of numerator is equal or greater than the degree of the denominator we cannot use the concept of partial fraction then we have to use the long division method to solve the function.