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

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}}$
If $\text{f}:[-5,5]\rightarrow\text{R}$ is differentiable and if f'(x) does not vanish anywhere, then prove that $\text{f}(-5)\pm\text{f}(5).$
$\int\frac{1}{\text{x}^{\frac{1}{3}}\big(\text{x}^{\frac{1}{3}}-1\big)}\text{dx}$
Find the equation of the curve which passes through the point (1, 2) and the distance between the foot of the ordinate of the point of contact and the point of intersection of the tangent with x-axis twice abscissa of the pont of contact.
Draw a rough sketch of the region ${(x, y) : y^2 < 5x, 5x^2 + < 36}$ and find the area by the region using mwthod of integration.
Evaluate the following integrals as limit of sum:$\int\limits^{3}_{1}\big(3\text{x}^2+1\text{x}\big)\text{dx}$
If $2 y=\sqrt{x+1}+\sqrt{x-1}$, show that $4\left(x^2-1\right) y_2+4 x y_1-y=0$.
Find the foot of perpendicular from the point (2, 3, 4) to the line $\frac{4-\text{x}}{2}=\frac{\text{y}}{6}=\frac{1-\text{z}}{3}.$ Also, find the perpendicular distance from the given point to the line.
Consider the binary operation * and o defined by the following tables on set S = {a, b, c, d}.
*
a
b
c
d
a
a
b
c
d
b
b
a
d
c
c
c
d
a
b
d
d
c
b
a
The contents of three urns are as follows:
Urn 1 : $7$ white, $3$ black balls,
Urn 2 : $4$ white, $6$ black balls,
Urn 3 : $2$ white, $8$ black balls.
One of these urns is chosen at random with probabilities $0.20, 0.60$ and $0.20$ respectively. From the chosen urn two balls are drawn at random without replacement. If both these balls are white, what is the probability that these came from urn $3$?