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}\text{ and }1=2\text{B}+\text{C}\text{ and }1=\text{A}+2\text{C}$
$\text{or}\text{ A } =\frac{3}{5}\text{ and }\text{B}=\frac{2}{5}\text{ 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

Show that the lines $\frac{\text{x}}{1}=\frac{\text{y}-2}{2}=\frac{\text{z}+3}{3}$ and $\frac{\text{x}-2}{2}=\frac{\text{y}-6}{3}=\frac{\text{z}-3}{4}$ intersect and find their point of intersection.
Show that the line whose vector equation is $\vec{\text{r}}=2\hat{\text{i}}+5\hat{\text{j}}+7\hat{\text{k}}+\lambda(\hat{\text{i}}+3\hat{\text{j}}+4\hat{\text{k}})$ is parallel to the plane whose vector equation is $\vec{\text{r}}\cdot(\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}})=7$ Also, find the distance between thetm.
Solve the following differential equation
$(\text{x}^3+\text{x}^2+\text{x}+1)\frac{\text{dy}}{\text{dx}}=2\text{x}^2+\text{x}$
A firm manufactures headache pills in two sizes A and B. Size A contains 2 grains of aspirin, 5 grains of bicarbonate and 1 grain of codeine; size B contains 1 grain of aspirin, 8 grains of bicarbonate and 66 grains of codeine. It has been found by users that it requires at least 12 grains of aspirin, 7.4 grains of bicarbonate and 24 grains of codeine for providing immediate effects. Determine graphically the least number of pills a patient should have to get immediate relief. Determine also the quantity of codeine consumed by patient
Find the angle between the lines whose direction cosines are given by the equations:
$l + m +n = 0$ and $l^2 + m^2 + n^2 = 0$
Evaluate the following intregals:
$\int\frac{\text{x}}{(\text{x}^2+1)(\text{x}-1)}\ \text{dx}$
A man, 2m tall, walks at the rate of $1\frac{2}{3}\text{m/s}$ towards a street light which is $5\frac{1}{3}\text{m}$ above the ground. At what rate is the tip of his shadow moving? at what rate is the length of the shadow changing when he is $3\frac{1}{3}\text{m}$ from the base of the light?
Determine whether the following pair of lines intersect or not:
$\frac{\text{x}-1}{3}=\frac{\text{y}-1}{-1}=\frac{\text{z}+1}{0}$ and $\frac{\text{x}-4}{2}=\frac{\text{y}-0}{0}=\frac{\text{z}+1}{3}$
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}\cos(\text{x}-\text{y})=1$
Show that the points $(1, 1, 1)$ and $(-3, 0, 1)$ are equidistant from the plane $3x + 4y - 12z + 13 = 0$.