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

Answer

$\text{xy}\frac{\text{dy}}{\text{dx}}=(\text{x}+2)(\text{y}+2),\text{y}(1)=-1$
$\Rightarrow\frac{\text{y}}{\text{y}+2}\text{dy}=\frac{\text{x}+2}{\text{x}}\text{dx}$
$\Rightarrow\frac{\text{y}+2-2}{\text{y}+2}\text{dy}=\frac{\text{x}+2}{\text{x}}\text{dx}$
$\Rightarrow\Big(1-\frac{2}{\text{y}+2}\Big)\text{dy}=\Big(1+\frac{2}{\text{x}}\Big)\text{dx}$
$\Rightarrow\Big(1-\frac{2}{\text{y}+2}\Big)\text{dy}=\Big(1+\frac{2}{\text{x}}\Big)\text{dx}$
Integrating both sides, we get
$\int\Big(1-\frac{2}{\text{y}+2}\Big)\text{dy}=\int\Big(1+\frac{2}{\text{x}}\Big)\text{dx}$
$\Rightarrow\text{y}-2\log|\text{y}+2|=\text{x}+2\log|\text{x}|+\text{C}...(1)$
We know that at $\text{x}=1,\text{y}=-1$
Substituting the valuse of x and y in (1), we get
$-1-2\log|1|=1+2\log|1|+\text{C}$
$\Rightarrow-1=1+\text{C}$
$\Rightarrow\text{C}=-2$
Substituting the value of C in (1), we get
$\text{y}-2\log|\text{y}+2|=\text{x}+2\log|\text{x}|-2$
Hence, $\text{y}-2\log|\text{y}+2|=\text{x}+2\log|\text{x}|-2$ 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

Verify mean value theorem for the function:
$\text{f(x)}=\sqrt{25-\text{x}^2}\text{ in }[1,5].$
Evaluate the following integrals:
$\int\text{cosec x}\log({\text{cosec x}-\cot\text{x})}\text{dx}$
Find $\frac{\text{dy}}{\text{dx}}$ of the functions expressed in parametric:
$\text{x}=\text{e}^\theta\Big(\theta+\frac{1}{\theta}\Big),\text{ y}=\text{e}^{-\theta}\Big(\theta-\frac{1}{\theta}\Big)$
Evaluate the following integrals:
$\int\frac{\text{x}}{3\text{x}^4-18\text{x}^2+11}\text{dx}$
If A and B are two events such that,
$\text{P(A)}=\frac{1}{2},\text{P(B)}=\frac{1}{3}$ and $\text{P}(\text{A}\cap\text{B})=\frac{1}{4},$ then find $\text{P}(\text{A}|\text{B}), \text{ P}(\text{B}|\text{A}), \text{ P}(\overline{\text{A}}|\text{B})$ and $\text{P}(\overline{\text{A}}|\overline{\text{B}}).$
Find the vector equation of the plane passing through the points (1, 1, 1), (1, -1, 1) and (-7, -3, -5)
Find the points of discontinuity, if any of the following function:
$\text{f(x)}=\begin{cases}\frac{\sin\text{x}}{\text{x}}+\cos\text{x},&\text{if }\text{ x}\neq0\\5,&\text{if }\text{ x}=0\end{cases}$
In a factory, machine A produces $30\%$ of the total output, machine B produces $25\%$ and the machine C produces the remaining output. If defective items produced by machines A, B and C are $1\%, 1.2\%, 2\%$ respectively. Three machines working together produce $10000$ items in a day. An item is drawn at random from a day's output and found to be defective. Find the probability that it was produced by machine B?
If $\text{A}=\begin{bmatrix}1&0\\-1&7\end{bmatrix},$ find k such that $A^2 - 8A + kI = 0.$
Find the vector and Cartesian equations of the line through the point (5, 2, -4) and which is parallel to the vector $3\hat i + 2\hat j - 8\hat k$.