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

Show that  $\text{f}\text{ (x)}=\begin{cases}\frac{\text{|x}-\text{a}|}{|\text{x}-\text{a}|}, & \text{when} \text{ x}\neq 0\\2, & \text{when}\text{ x} = 0\end{cases}$ is discontinuous at x = a.
In a hockey match, both teams A and B scored same number of goals upto the end of the game, so to decide the winner, the refree asked both the captains to throw a die alternately and decide that the team, whose captain gets a first six, will be declared the winner. If the captain of team A was asked to start, find their respective probabilities of winning the match and state whether the decision of the refree was fair or not.
If $\text{A}=\begin{bmatrix}2 & -3 & 5 \\3 & 2 & -4\\1 & 1 & -2 \end{bmatrix},$ then find $A^{–1}.$ Hence solve the following system of equations: $2x - 3y + 5z = 11, 3x + 2y - 4z = -5, x + y - 2z = -3.$
By using properties of definite integral, evaluate the following integral in Exercise:
$\int^{\pi}_{0}\frac{\text{x}\ \text{dx}}{1+\sin\text{x}}$
Solve the differential equation $(1 + x^2) \frac{\text{dy}}{\text{dx}} + \text{y} = \text{e}^{\tan^{-1}\text{x}.}$
Evaluvate the following intregals:
$\int\frac{1}{1-\cot\text{x}}\text{ dx}$
If $\vec{\text{a}} , \vec{\text{b}} , \vec{\text{c}}$ are mutually perpendicular vectors of equal magnitudes, show that the vector $\vec{\text{a}} + \vec{\text{b}} + \vec{\text{c}}$ is equally inclined to $\vec{\text{a}} , \vec{\text{b}}$ and $\vec{\text{c}}$ Also, find the angle which $\vec{\text{a}} + \vec{\text{b}} + \vec{\text{c}}$ makes with $\vec{\text{a}} \text{ or }\vec{\text{b}} \text{ or } \vec{\text{c}}.$
Form the differential equation corresponding to $(\text{x}-\text{a})^2+(\text{y}-\text{b})^2=\text{r}^2$ by eliminating a and b.
Solve the following differential equation
$\text{C}(\text{x})=2+0.15\text{x},\text{C}(0)=100$
Evalute the following integrals:
$\int\frac{\sin(\text{x}-\alpha)}{\sin(\text{x}+\alpha)}\text{dx}$