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

Show that the relation R on the set Z of integers, given by R = {(a, b): 2 divides a - b},  is an equivalence relation.
Find the differential equation of the family of curve $\text{x}=\text{A}\cos\text{nt}+\text{B}\sin\text{nt},$ where A and B are arbitrary constants.
Evaluate the following intregals:
$\int\frac{2\text{x}+1}{(\text{x}+2)(\text{x}-3)^2}\text{ dx}$
A dietician wishes to mix two types of foods in such a way that the vitamin contents of the mixture contains at least $8$ units of vitamin $A$ and $10$ units of vitamin $C.$ Food I contains $2$ units/kg of vitamin $A$ and $1$ unit/kg of vitamin $C$ while Food $II$ contain $1$ unit/kg of vitamin $A$ and $2$ units/kg of vitamin $C.$ It costs $₹\ 5$ per kg to purchase Food $I$ and $₹\ 7$ per kg to purchase Food $II.$ Determine the minimum cost of such a mixture. Formulate the above as a $LPP$ and solve it graphically. 
For the matrix $\text{A}=\begin{bmatrix}1 & -1 & 1 \\2 & 3 & 0 \\ 18 & 2 & 10 \end{bmatrix},$ show that A (adjoint A) = 0.
Show that the minimum of Z occurs at more than two points.
Minimize and Maximize Z = 5x + 10y subject to $x + 2y \leq 120, \ x + y \geq 60$, $x - 2y \geq 0, \ x, \ y \geq 0$.
Find the particular solution of the differential equation $\text{e}^\text{x}\tan\text{y dx}+(2-\text{e}^\text{x})\text{sec}^2\text{y dy}=0,$ given that $\text{y}=\frac{\pi}{4}\ \text{x} = 0.$
Given the probability that A can solve a problem is $\frac{2}{3}$ and the probability that B can solve the same problem is $\frac{3}{5}$. Find the probability that none of the two will be able to solve the problem.
Prove that $\text{f(x)}=\begin{cases}\frac{\sin\text{x}}{\text{x}},&\text{x}<0\\\text{x}+1,&\text{x}\geq0\end{cases}$ is everywhere continuous.
There are 2 families A and B. There are 4 men, 6 women and 2 children in family A, and 2 men, 2 women and 4 children in family B. The recommended daily amount of calories is 2400 for men, 1900 for women, 1800 for children and 45 grams of proteins for men, 55 grams for women and 33 grams for children. Represent the above information using matrices. Using matrix multiplication, calculate the total requirement of calories and proteins for each of the 2 families. What awareness can you create among people about the balanced diet from this question?