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

Find the intervals in which the function $f(x) = x^3 - 12x^2 + 36x +17$ is $(a)$ increasing, $(b)$ decreasing.
Prove that the curves $\text{y}^{2} = 4x \text{ and } x^{2} = 4y $ divided the area of square bounded by $x = 0, x = 4,y=4 \text{ and } y = 0$ into three equal parts.
Using differentials, find the approximate values of the following:
$(15)^{\frac{1}{4}}$
Solve the following differential equation
$\sqrt{1-\text{x}^4}\text{dy}=\text{x dx}$
Find a point on the curve $y = x^3 - 3x$ where the tangent is parallel to the chord joining $(1, -2)$ and $(2, 2).$
Solve the following differential equation:
$\text{x dy}=(2\text{y}+2\text{x}^4+\text{x}^2)\text{dx}$
Find the absolute maximum and minimum values of the function f given by $f(x) = \cos^2 x + \sin x, x \in [0, \pi]$
In the following, determine the values of constants involved in the definition so that the given function is continuous:
$\text{f(x)}=\begin{cases}\frac{\sqrt{1+\text{px}}\sqrt{1-\text{px}}}{\text{x}},&\text{if }-1\leq\text{ x}\leq-0\\\frac{2\text{x}+1}{\text{x}-2},&\text{if }0\leq\text{ x}\leq1\end{cases}$
Discuss the continuity and differentiability of,$\text{f(x)}=\begin{cases}(\text{x}-\text{c})\cos\Big(\frac{1}{\text{x}-\text{c}}\Big), & \text{x}\neq 0\\0, & \text{x}= 0\end{cases}$
Find a unit vector perpendicular to each of the vectors $\overrightarrow{\text{a}}+ \overrightarrow{\text{b}}$ and $\overrightarrow{\text{a}}- \overrightarrow{\text{b}},$ where $\overrightarrow{\text{a}}=3\hat{\text{i}}+2\hat{\text{j}}+2\hat{\text{k}}$ and $\overrightarrow{\text{b}}=\hat{\text{i}}+2\hat{\text{j}}-2\hat{\text{k}}.$