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 $\frac{d^2 y}{d x^2}$ if, : $x=\cot ^{-1}\left(\frac{\sqrt{1-t^2}}{t}\right)$ and $x=\operatorname{cosec}^{-1}\left(\frac{1+t^2}{2 t}\right)$
Find the area of the region bounded by the curve $(y-1)^2=4(x+1)$ and the line $y=(x-$

1).

Find the distance of the point (2, 12, 5) from the point of intersection of the line $\vec{\text{r}}=2\hat{\text{i}}-4\hat{\text{j}}+2\hat{\text{k}}+\lambda(3\hat{\text{i}}+4\hat{\text{j}}+2\hat{\text{k}})$ and $\vec{\text{r}}\cdot(\hat{\text{i}}-2\hat{\text{j}}+\hat{\text{k}})=0.$
If $\log\sqrt{\text{x}^2+\text{y}^2}=\tan^{-1}\Big(\frac{\text{y}}{\text{x}}\Big),$ prove that $\frac{\text{dx}}{\text{dx}}=\frac{\text{x}+\text{y}}{\text{x}-\text{y}}$
A firm manufactures two products $A$ and $B$. Each product is processed on two machines $M_1$ and $M_2$. Product $A$ requires $4$ minutes of processing time on $M_1$ and $8$ min . on $M_2$; product $B$ requires 4 minutes on $M_1$ and 4 min . on $M _2$. The machine $M _1$ is available for not more than $8$ hrs $20$ min . while machine $M _2$ is available for 10 hrs. during any working day. The products $A$ and $B$ are sold at a profit of Rs. $3$ and Rs. $4$ respectively.
Formulate the problem as a linear programming problem and find how many products of each type should be produced by the firm each day in order to get maximum profit.
Find the points of local maxima or local minima and corresponding local maximum and local minimum values of the following functions. Also, find the points of inflection,
$\text{f}(\text{x})=\text{x}\sqrt{2-\text{x}^{2}}-\sqrt{2}\leq\text{x}\leq\sqrt{2}$
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
If $\text{A}=\begin{bmatrix}3&1\\-1&2\end{bmatrix},$ show that $A^2 - 5A + 7I_2 = 0.$
Differentiate the following functions with respect to x:
$\text{e}^{\sqrt{\cot\text{x}}}$
Consider $\text{f}:\text{R}_+\rightarrow[-5,\infty)$ given by $f(x) = 9x^2 + 6x - 5.$ Show that f is invertible with $\text{f}^{-1}(\text{x})=\frac{\sqrt{\text{x}+6}-1}{3}.$