Question
Evaluate the following intregals: $\int\frac{\text{x}^2+\text{x}+1}{(\text{x}^2+1)(\text{x}+2)}\text{ dx}$

Answer

Let $\text{I}=\int\frac{\text{x}^2+\text{x}+1}{(\text{x}^2+1)(\text{x}+2)}\text{ dx}$
We express
$\frac{\text{x}^2+\text{x}+1}{(\text{x}^2+1)(\text{x}+2)}=\frac{\text{A}}{\text{x}+2}+\frac{\text{Bx}+\text{C}}{\text{x}^2+1}$
$\Rightarrow\text{x}^2+\text{x}+1=\text{A}(\text{x}^2+1)+(\text{Bx}+\text{C})(\text{x}+2)$
Equating the coefficient of $x^2, x$ and constant, we get
$1=\text{A}+\text{B}$ and $1=2\text{B}+\text{C}$ and $1=\text{A}+2\text{C}$
$\text{or}\text{ A } =\frac{3}{5}$ and $\text{B}=\frac{2}{5}$  and $\text{C}=\frac{1}{5}$
$ \therefore\text{I}=\int\bigg(\frac{\frac{3}{5}}{\text{x}+2}+\frac{\frac{2}{5}\text{x}+\frac{1}{5}}{\text{x}^2+1}\bigg)\text{dx}$
$=\frac{3}{5}\int\frac{1}{\text{x}+2}\ \text{dx}+\frac{2}{5}\int\frac{\text{x}}{\text{x}+1}\ \text{dx}+\frac{1}{5}\int\frac{1}{\text{x}^2+1}\ \text{dx}$
$=\frac{3}{5}\text{I}_1+\frac{2}{5}\text{I}_2+\frac{1}{5}\text{I}_3\ \dots(1)$
Let $x + 2 = u$
On Differentiating both sides, we get
$\text{dx}=\text{du}$
$\text{I}_1=\int\frac{1}{\text{u}}\text{du}$
$=\log|\text{u}|+\text{C}_1$
$=\log|\text{x}+2|+\text{C}_1\ \dots(2)$
And, $\text{I}_2=\int\frac{\text{x}}{\text{x}+1}\text{ dx}$
Let $(\text{x}^2+1)=\text{u}$
On differentiating both sides, we get
$2\text{x}\ \text{dx}=\text{du}$
$\therefore\text{I}_2=\frac{1}{2}\int\frac{1}{\text{u}}\text{ du}$
$=\frac{1}{2}\log|\text{u}|+\text{C}_2$
$=\frac{1}{2}\log|\text{x}^2+1|+\text{C}_2\ \dots(3)$
And $\text{I}_3=\int\frac{1}{\text{x}^2+1}\ \text{dx}$
$=\tan^{-1}\text{x}+\text{C}_3\ \dots(4)$
From $(1), (2), (3)$ and $(4)$ we get
$\therefore\text{I}=\frac{3}{5}(\log|\text{x}+2|+\text{C}_1)+\frac{2}{5}(\frac{1}{2}\log|\text{x}^2+1|+\text{C}_2)$
$+\frac{1}{5}\tan^{-1}\text{x}+\text{C}$
$=\frac{3}{5}\log|\text{x}+2|+\frac{1}{5}\log|\text{x}^2+1|+\frac{1}{5}\tan^{-1}\text{x}+\text{C}$
Hence, $\int\frac{\text{x}^2+\text{x}+1}{(\text{x}^2+1)(\text{x}+2)}\ \text{dx}=\frac{3}{5}\log|\text{x}+2|+\frac{1}{5}\tan^{-1}\text{x}+\text{C}$

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

Find the differential equation of all the parabolas with latus rectum '4a' and whose axes are parallel to x-axis.
A factory uses three different resources for the manufacture of two different products, $20$ units of the resources $A, 12$ units of $B$ and $16$ units of $C$ being available. $1$ unit of the first product requires $2, 2$ and $4$ units of the respective resources and $1$ unit of the second product requires $4, 2$ and $0$ units of respective resources. It is known that the first product gives a profit of $2$ monetary units per unit and the second $3.$ Formulate the linear programming problem. How many units of each product should be manufactured for maximizing the profit? Solve it graphically.
Solve the following systems of homogeneous linear equations by matrix method: $x + y - z = 0 , x - 2y + z = 0 , 3x + 6y - 5z = 0$
The random variable $X$ can take only the values $0, 1, 2, 3.$ Given that $P(2) = P(3) = p$ and $P(0) = 2P(1).$ If $\Sigma p_ix_i{}^2 = 2 \Sigma p_ix_i,$ find the value of $p.$
In the following, determine the values of constants involved in the definition so that the given function is continuous:
$\text{f(x)}=\begin{cases}4,&\text{if }\text{ x}\leq-1\\\text{ax}^2+\text{b},&\text{if }-1<\text{ x}<0\\\cos\text{x},&\text{if }\text{ x}\geq0\end{cases}$
Find the shortest distance between the following pairs of lines whose vector equation are:
$\vec{\text{r}}=(\lambda-1)\hat{\text{i}}+(\lambda+1)\hat{\text{j}}-(1+\lambda)\hat{\text{k}}$ and $\vec{\text{r}}=(1-\mu)\hat{\text{i}}+(2\mu-1)\hat{\text{j}}+(\mu+2)\hat{\text{k}}$
Solve the following initial value problems:
$\text{x}\frac{\text{dy}}{\text{dx}}+\text{y}=\text{x}\cos\text{x}+\sin\text{x},\text{ y}\Big(\frac{\pi}{2}\Big)=1$
Solve the following differential equation: $e^x \tan y\ dx + (1 – e^x) \sec^2y\ dy = 0.$
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}+1=\text{e}^{\text{x + y}}$
Evaluate the following definite integrals:
$\int\limits_{1}^{2}\frac{\text{x}}{(\text{x}+1)(\text{x}+2)}\text{ dx}$