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

Evaluate the following integrals:
$\int\limits_{0}^{\frac{\pi}{4}}\frac{\tan^{3}\text{x}}{1+\cos2\text{x}}\text{ dx}$
Evaluate the following integrals:$\int\frac{\text{x}}{\text{x}^2+3\text{x}+2}\text{ dx}$
If $|\vec{\text{a}}|=13,\big|\vec{\text{b}}\big|=5$ and $\vec{\text{a}}.\vec{\text{b}}=60,$ then find $\big|\vec{\text{a}}\times\vec{\text{b}}\big|.$
An aeroplane can carry a maximum of $200$ passengers. A profit of $Rs. 400$ is made on each first class ticket and a profit of $Rs. 600$ is made on each economy class ticket. The airline reserves at least $20$ seats of first class. However, at least $4$ times as many passengers prefer to travel by economy class to the first class. Determine how many each type of tickets must be sold in order to maximize the profit for the airline. What is the maximum profit.
Evalute the following integrals:
$\int\frac{\sin(\text{x}-\text{a})}{\sin(\text{x}-\text{b})}\text{dx}$
Let $C$ be the set of all complex numbers and $C_{0 }$ be the set of all no$-$zero complex numbers. Let a relation $R$ on $C_{0 }$ be defined as $\text{z}_1\text{R z}_2\Leftrightarrow\frac{\text{z}_1-\text{z}_2}{\text{z}_1+\text{z}_2}$ is real for all $\text{z}_1,\ \text{z}_2\in\text{C}_0.$ Show that $R$ is an equivalence relation.
In each of the show that the given differential equation is homogeneous and solve each of them. $\Bigg\{\text{x}\cos\bigg(\frac{\text{y}}{\text{x}}\bigg)+\text{y sin}\bigg(\frac{\text{y}}{\text{x}}\bigg)\Bigg\}\text{y dx}$ $=\Bigg\{\text{y}\sin\bigg(\frac{\text{y}}{\text{x}}\bigg)-\text{x cos}\bigg(\frac{\text{y}}{\text{x}}\bigg)\Bigg\}\text{x dy}$ 
If the lines $\frac{\text{x}-1}{-3}=\frac{\text{y}-2}{-2\text{k}}=\frac{\text{z}-3}{2}$ and $\frac{\text{x}-1}{\text{k}}=\frac{\text{y}-2}{1}=\frac{\text{z}-3}{5}$ are perpendicular, find the value of $k$ and, hence find the equation of the plane containing these lines.
Evaluate the following integrals:$\int(\text{x}+1)\text{e}^{\text{x}}\log(\text{xe}^{\text{x}})\text{dx}$
Differentiate the following functions with respect to x:
$\sin^{-1}\Big(\frac{\text{x}+\sqrt{1-\text{x}^3}}{\sqrt{2}}\Big),-1<\text{x}<1$