Question
Solve the following differential equations:

$\text{xy}\frac{\text{dy}}{\text{dx}}=\text{y}+2,\text{y}(2)=0$

Answer

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

Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}+\frac{\text{y}}{\text{x}}=\text{x}^3$
Find the equations of the tangent and the normal to the following curves at the indicated points.
y = x4 - bx3 + 13x2 - 10x + 5 at (0, 5)
$\text{A}=\begin{bmatrix}1&-2&0\\ 2&1&3\\ 0&-2&1\end{bmatrix}\text{and }\text{B}=\begin{bmatrix}7&2&-6\\ -2&1&-3\\ -4&2&5\end{bmatrix}$, find AB. Hence, solve the system of equations:
x - 2y = 10, 2x + y + 3z = 8 and -2y + z = 7
Two cards are drawn successively with replacement from well shuffled pack of 52 cards. Find the probability distribution of the number of kings.
Find the length and the foot ofo perpendicular from the point $\Big(1,\frac{3}{2},2\Big)$ to the plane 2x - 2y + 4z + 5 = 0
Solve the follwing system of equations by matrix method:
3x + 4y - 5 = 0
x - y + 3 = 0
The slope of the tangent at a point P(x, y) on a curve is $\frac{-\text{x}}{\text{y}}$. If the curve passs es through the point (3, -4). Find the equation of the curve.
Evaluate the following integrals:
$\int\frac{(\text{x}\tan^{-1}\text{x})}{(1+\text{x}^2)^{\frac{3}{2}}}\text{dx}$

Find the maximum and minimum value of 2x + y subject to the constraints:

$\text{x}+3\text{y}\geq6,\text{x}-3\text{y}\leq3,3\text{x}+4\text{y}\leq24,$ $-3\text{x}+2\text{y}\leq6,5\text{x}+\text{y}\geq5,\text{x},\text{y}\geq0$

Prove that x2 - y2 = c(x2 + y2)2 is the general solution of differential equation $(x^3-3xy^2)dx=(y^3-3x^2y)dy$, where c is a parameter.