Find $\int \frac{x^{2}+x+1}{(x+2)(x^{2}+1)} dx$.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(N/A) The integrand is a proper rational function. We decompose it into partial fractions as follows:
Form of the rational function Form of the partial fraction
$\frac{px^{2}+qx+r}{(x-a)(x^{2}+bx+c)}$ $\frac{A}{x-a}+\frac{Bx+C}{x^{2}+bx+c}$

$\frac{x^{2}+x+1}{(x+2)(x^{2}+1)} = \frac{A}{x+2} + \frac{Bx+C}{x^{2}+1}$
Multiplying both sides by $(x+2)(x^{2}+1)$,we get:
$x^{2}+x+1 = A(x^{2}+1) + (Bx+C)(x+2)$
$x^{2}+x+1 = A(x^{2}+1) + Bx^{2} + 2Bx + Cx + 2C$
$x^{2}+x+1 = (A+B)x^{2} + (2B+C)x + (A+2C)$
Equating the coefficients of $x^{2}, x$ and the constant term,we get:
$A+B = 1$
$2B+C = 1$
$A+2C = 1$
Solving these equations:
From $A+B=1$,$B=1-A$.
From $A+2C=1$,$C=\frac{1-A}{2}$.
Substituting into $2B+C=1$:
$2(1-A) + \frac{1-A}{2} = 1$
$4-4A+1-A = 2$
$5-5A = 2 \implies 5A = 3 \implies A = \frac{3}{5}$.
Then $B = 1 - \frac{3}{5} = \frac{2}{5}$ and $C = \frac{1 - 3/5}{2} = \frac{2/5}{2} = \frac{1}{5}$.
Thus,$\int \frac{x^{2}+x+1}{(x+2)(x^{2}+1)} dx = \int \left( \frac{3/5}{x+2} + \frac{2/5x + 1/5}{x^{2}+1} \right) dx$
$= \frac{3}{5} \int \frac{1}{x+2} dx + \frac{1}{5} \int \frac{2x}{x^{2}+1} dx + \frac{1}{5} \int \frac{1}{x^{2}+1} dx$
$= \frac{3}{5} \ln|x+2| + \frac{1}{5} \ln(x^{2}+1) + \frac{1}{5} \tan^{-1}(x) + C$.

Explore More

Similar Questions

If $\int \frac{2 x^{2}+3}{\left(x^{2}-1\right)\left(x^{2}+4\right)} d x=a \log \left|\frac{x-1}{x+1}\right|+b \tan ^{-1}\left(\frac{x}{2}\right)+C$,then

$\int {\frac{{{x^3} - 1}}{{{x^3} + x}}dx} = $

Difficult
View Solution

Let $f(x) = \int \frac{16x + 24}{x^2 + 2x - 15} dx$. If $f(4) = 14 \log_e(3)$ and $f(7) = \log_e(2^\alpha \cdot 3^\beta)$, where $\alpha, \beta \in N$, then $\alpha + \beta$ is equal to:

If $\int \frac{\sin x}{\sin ^{3} x+\cos ^{3} x} d x = \alpha \log _{e}|1+\tan x|+\beta \log _{e}\left|1-\tan x+\tan ^{2} x\right|+\gamma \tan ^{-1}\left(\frac{2 \tan x-1}{\sqrt{3}}\right)+C$,where $C$ is the constant of integration,then the value of $18(\alpha+\beta+\gamma^{2})$ is .... .

Integrate the rational function:
$\frac{x^{3}+x+1}{x^{2}-1}$

Difficult
View Solution

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo