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

Solve the following equation for x:
$\tan^{-1}\frac{\pi}{2}+\tan^{-1}\frac{\pi}{3}=\frac{\pi}{4},0<\text{x}<\sqrt6$
Evaluate the following integrals:
$\int\frac{1}{\sin^4\text{x}\cos^2\text{x}}\text{dx}$
If A and B are two events such that $2\text{P(A)}=\text{P(B)}=\frac{5}{13}$ and $\text{P}\Big(\frac{\text{A}}{\text{B}}\Big)=\frac{2}{5}$ find $\text{P}(\text{A}\cap\text{B}).$
If $\begin{vmatrix}\text{p}&\text{q}&\text{c}\\\text{a}&\text{q}&\text{c}\\\text{a}&\text{b}&\text{r} \end{vmatrix}=0,$ find the value of $\frac{\text{p}}{\text{p}-\text{a}}+\frac{\text{q}}{\text{q}-\text{b}}+\frac{\text{r}}{\text{r}-\text{c}},$ $\text{p}\neq\text{a},\text{q}\neq\text{b},\text{r}\neq\text{c}.$
Evaluate the following integrals:$\int_{0}^\limits{1}\frac{1}{1+2\text{x}+2\text{x}^2+2\text{x}^3+\text{x}^4}\text{ dx}$
Find the area bounded by the parabola $x=8+2 y-y^2$, the $y$-axis and the line $y=-1$ and $y=3$
Show that the general solution of defferential equation $\frac{d y}{d x}+\frac{y^2+y+1}{x^2+x+1}=0$ is given by $( x +$

y + 1) = c(1 – x – y – 2xy).

ABCD is aparallelogram. the position vectora of the points A, B and C are respectively, $4\hat{\text{i}}+5\hat{\text{j}}-10\hat{\text{k}},2\hat{\text{i}}-3\hat{\text{j}}+4\hat{\text{k}}$ and $-\hat{\text{i}}+2\hat{\text{j}}+\hat{\text{k}}.$ Find the vector equation of the line BD. Also, reduce it to cartesian form.
Differentiate $(\cos\text{x})^{\sin\text{x}}$ with respect to $(\sin\text{x})^{\cos\text{x}}$
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}$