Question
Solve the following differential equation:
$(\text{x}^2-1)\frac{\text{dy}}{\text{dx}}+2(\text{x}+2)\text{y}=2(\text{x}+1)$

Answer

We have,
$(\text{x}^2-1)\frac{\text{dy}}{\text{dx}}+2(\text{x}+2)\text{y}=2(\text{x}+1)$
$\Rightarrow\ \frac{\text{dy}}{\text{dx}}+\frac{2(\text{x}+2)}{\text{x}^2-1}\text{y}=\frac{2(\text{x}+1)}{\text{x}^2-1}$
$\Rightarrow\ \frac{\text{dy}}{\text{dx}}+\frac{2(\text{x}+2)}{\text{x}^2-1}\text{y}=\frac{2}{\text{x}-1}\ \dots(1)$
Clearly, it is a linear differential equation of the form
$\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
where
$\text{P}=\frac{2(\text{x}+2)}{\text{x}^2-1}$
$\text{Q}=\frac{2}{\text{x}-1}$
$\therefore$ I.F. $=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{\int\frac{2(\text{x+2})}{\text{x}^2-1}\text{dx}}$
$=\text{e}^{\int\frac{2\text{x}}{\text{x}^2-1}+4\int\frac{1}{\text{x}^2-1}\text{dx}}$
$=\text{e}^{\log|\text{x}^2-1|+4\times\frac{1}2\log\big|\frac{\text{x}-1}{\text{x}+1}\big|}$
$=\text{e}^{\log\Big|(\text{x}^2-1)\times\frac{(\text{x}-1)^2}{(\text{x}+1)^2}\Big|}$
$=\text{e}^{\log\Big|(\text{x}^2-1)\times\frac{(\text{x}-1)^2}{(\text{x}+1)^2}\Big|}$
$=\text{e}^{\log\Big|\frac{(\text{x}-1)^3}{(\text{x}+1)}\Big|}$
$=\frac{(\text{x}-1)^3}{(\text{x}+1)}$
Multiplying both sides of (1) by $\frac{(\text{x}-1)^3}{(\text{x}+1)},$ we get
$\frac{(\text{x}-1)^3}{(\text{x}+1)}\Big(\frac{\text{dy}}{\text{dx}}+\frac{2(\text{x}+2)}{\text{x}^2-1}\text{y}\Big)=\frac{(\text{x}-1)^3}{(\text{x}+1)}\times\frac{2}{\text{x}-1}$
$\Rightarrow\ \frac{(\text{x}-1)^3}{(\text{x}+1)}\frac{\text{dy}}{\text{dx}}-\frac{2(\text{x}+2)(\text{x}-1)^2}{(\text{x}+1)^2}\text{y}=\frac{2(\text{x}-1)^2}{(\text{x}+1)}$
Integrating both sides with respect to x, we get
$\frac{(\text{x}-1)^3}{(\text{x}+1)}\text{y}=\int\frac{2(\text{x}-1)^2}{(\text{x}+1)}\text{dx + C}$
$\Rightarrow\ \frac{(\text{x}-1)^3}{(\text{x}+1)}\text{y}=\int2\Big\{\frac{(\text{x}-1)^2-4\text{x}}{(\text{x}+1)}\Big\}\text{dx + C}$
$\Rightarrow\ \frac{(\text{x}-1)^3}{(\text{x}+1)}\text{y}=\int2\Big\{(\text{x}+1)-\frac{4\text{x}}{(\text{x}+1)}\Big\}\text{dx + C}$
$\Rightarrow\ \frac{(\text{x}-1)^3}{(\text{x}+1)}\text{y}=\int2\Big\{(\text{x}+1)-\frac{4(\text{x}+1-1)}{(\text{x}+1)}\Big\}\text{dx + C}$
$\Rightarrow\ \frac{(\text{x}-1)^3}{(\text{x}+1)}\text{y}=\int2\Big\{(\text{x}+1)-4+\frac{4}{(\text{x}+1)}\Big\}\text{dx + C}$
$\Rightarrow\ \frac{(\text{x}-1)^3}{(\text{x}+1)}\text{y}=\int\Big(2\text{x}-6+\frac{8}{\text{x}+1}\Big)\text{dx + C}$
$\Rightarrow\ \frac{(\text{x}-1)^3}{(\text{x}+1)}\text{y}=\text{x}^2-6\text{x}+8\log|\text{x}+1|+\text{C}$
$\Rightarrow\ \text{y}=\frac{(\text{x}-1)^3}{(\text{x}+1)}(\text{x}^2-6\text{x}+8\log|\text{x}+1|+\text{C})$
Hence, $\text{y}=\frac{(\text{x}-1)^3}{(\text{x}+1)}(\text{x}^2-6\text{x}+8\log|\text{x}+1|+\text{C})$ is the required solution.

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

If $\vec{\text{a}}$ be the position vector whose tip is (5, -3), find the coordinates of a point B such that $\overrightarrow{\text{AB}}=\vec{\text{a}}$, the coordinates of A being (4, -1).
If $l_i, m_i, n_i; i = 1, 2, 3$ denotes the direction cosines of three mutually perpendicular vectors in space, prove that $AA^T = I$, where
$\text{A}=\begin{bmatrix}\text{l}_1&\text{m}_1&\text{n}_1\\\text{l}_2&\text{m}_2&\text{n}_2\\\text{l}_3&\text{m}_3&\text{n}_3 \end{bmatrix}.$
Evaluate the following intregals:
$\int\frac{\text{x}}{(\text{x}-1)^2(\text{x}+2)}\ \text{dx}$
In a culture, the bacteria count is 100000. The number is increased by 10% in 2 hours. In how many hours will the count reach 200000, if the rate of growth of bacteria is proportional to the number present?
Find the differential equation of all the parabolas with latus rectum '4a' and whose axes are parallel to x-axis.
Find the intercepts made on the coordinate axes by the plane 2x + y - 2z = 3 and also find the direction cosines of the normal to the plane.
A company manufactures two types of toys A and B. Type A requires 5 minutes each for cutting and 10 minutes each for assembling. Type B requires 8 minutes each for cutting and 8 minutes each for assembling. There are 3 hours available for cutting and 4 hours available for assembling in a day. The profit is Rs. 50 each on type A and Rs. 60 each on type B. How many toys of each type should the company manufacture in a day to maximize the profit?
Find the foot of the perpendicular drawn from the point $\hat{\text{i}}+6\hat{\text{j}}+3\hat{\text{k}}$ to the line $\vec{\text{r}}=\hat{\text{j}}+2\hat{\text{k}}+\lambda\big(\hat{\text{i}}+2\hat{\text{j}}+3\hat{\text{k}}\big).$ Also, find the length of the perpendicylar
Solve the following system of equations by matrix method:
$3x + y = 19$
$3x - y = 23$
If $\text{y}=\Big[\log\Big(\text{x}+\sqrt{\text{x}^2+1}\Big)\Big]^2$ show that $(1+\text{x}^2)\frac{\text{d}^2\text{y}}{\text{dx}^2}+\text{x}\frac{\text{dy}}{\text{dx}}=2$