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

Without expanding, show that the values of the following determinant are zero:
$\begin{vmatrix}0&\text{x}&\text{y}\\-\text{x}&0&\text{z}\\-\text{y}&-\text{z}&0\end{vmatrix}$
Prove that the given vectors are non-coplanar:
$\hat{\text{i}}+2\hat{\text{j}}+3\hat{\text{k}},\ 2\hat{\text{i}}+\hat{\text{j}}+3\hat{\text{k}}$ and $\hat{\text{i}}+\hat{\text{j}}+\hat{\text{k}}$
Find the equations of the tangent and the normal to the following curves at the indicated points.
$\frac{\text{x}^2}{\text{a}^2}+\frac{\text{y}^2}{\text{b}^2}=1\text{ at }(\text{a}\sec\theta,\text{b}\tan\theta)$
$\text{If f(x)} = \begin{vmatrix} a & -1 & 0 \\ ax & a & -1 \\ ax^{2} & ax & a \end{vmatrix} , $ using properties of determinants find the value of $\text{f}(2x) - \text{f}(x).$
Find the maximum and the minimum values, if any, without using derivaives of the following functions:
$f(x) = 16x^2 - 16x + 28$ on R.
Using intergation, find the area of the bounded by the triangle whose vertices are (-1, 2), (1, 5) and (3, 4).
In Figure ABCD is a regular hexagon, which vectors are:
  1. Collinear.
  2. Equal.
  3. Co-initial.
  4. Collinear but not equal.
In the set Z of all integers, which of the following relation R is not an equivalence relation?
  1. xRy : if $\text{x}\leq\text{y}$
  2. xRy : if x = y
  3. xRy : if x - y is an even integer
  4. xRy : if $\text{x}\equiv\text{y}\ (\text{mod 3})$
Find the length and the foot of the perpendicular from the point $(1, 1, 2)$ to the plane $\vec{\text{r}}.\big(\hat{\text{i}}-2\hat{\text{j}}+4\hat{\text{k}}\big)+5=0.$
Let O be the origin. We define a relation between two points P and Q in a plane if OP = OQ. Show that the relation, so defined is an equivalence relation.