Question
Solve $\text{y}+\frac{\text{d}}{\text{dx}}(\text{xy})=\text{x}(\sin\text{x}+\log\text{x}).$

Answer

We have
 $\text{y}+\frac{\text{d}}{\text{dx}}(\text{xy})=\text{x}(\sin\text{x}+\log\text{x})$
$\Rightarrow\text{y}+\text{x}\frac{\text{dy}}{\text{dx}}\text{y}=\text{x}(\sin\text{x}+\log\text{x}).$
$\Rightarrow\text{x}\frac{\text{dy}}{\text{dx}}+2\text{y}=\text{x}(\sin\text{x}+\log\text{x})$
$\Rightarrow\frac{\text{dy}}{\text{dx}}+\frac{2}{\text{x}}\text{y}=\sin\text{x}+\log\text{x}$
This is a linear differential equation.
On comparing it with $\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q},$ we get
$\text{P}=\frac{2}{\text{x}},\text{Q}=\sin\text{x}+\log\text{x}$
$\text{I.F.}=\text{e}^{\int\frac{2}{\text{x}}\text{dx}}=\text{e}^{2\log\text{x}}$
$\text{e}^{\log\text{x}^2}=\text{x}^2$
So, the reneral solition is,
$\text{y}.\text{x}^2=\int(\sin\text{x}+\log\text{x})\text{x}^2\text{dx}+\text{C}$
$\Rightarrow\text{y}.\text{x}^2=\int\text{x}^2\sin\text{x}\text{dx}+\int\text{x}^2\log\text{x}\text{dx}+\text{C}\ .....(\text{i})$
Now $\int\text{x}^2\sin\text{x}\text{dx}=\text{x}^2(-\cos\text{x})+\int2\cos\text{xdx}$
$=-\text{x}^2\cos\text{x}+[2\text{x}(\sin\text{x})-\int2\sin\text{x}\text{dx}]$
$=-\text{x}^2\cos\text{x}+2\text{x}\sin\text{x}+2\cos\text{x}\ ......(\text{ii})$
and $\int\text{x}^2\log\text{xdx}$
$=\log\text{x}.\frac{\text{x}^3}{3}-\int\frac{1}{\text{x}}.\frac{\text{x}^3}{3}\text{dx}$
$=\frac{\text{x}^3}{3}\log\text{x}-\frac{1}{3}\int\text{x}^2\text{dx}$
$=\frac{\text{x}^3}{3}\log\text{x}-\frac{\text{x}^3}{9}\ ......(\text{iii})$
On substituting the values from Eqs. (ii) and (iii) in Eq. (i), we get
$\text{y}.\text{x}^2=-\text{x}^2\cos\text{x}+2\text{x}\sin\text{x}+2\cos\text{x}+\frac{\text{x}^3}{3}\log\text{x}-\frac{1}{9}\text{x}^3+\text{C}$
$\therefore\text{y}=-\cos\text{x}+\frac{2\sin\text{x}}{\text{x}}+\frac{2\cos\text{x}}{\text{x}^2}+\frac{\text{x}}{3}\log\text{x}-\frac{\text{x}}{9}+\text{C}\text{x}^{-2}$

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

Using integration find the are of the region bounded by the parabola $y^{2} ={4x}$ and the circle $4x^{2} + 4y^{2} = 9$
Evaluate the following definite integrals:
$\int\limits_{0}^{\frac{\pi}{2}}\cos^4\text{x}\text{ dx}$
Find the angle of intersection of the curves $y^2 = 4ax$ and $x^2 = 4by.$
Let $\vec{\text{a}}=\hat{\text{i}}+4\hat{\text{j}}+2\hat{\text{k}},\vec{\text{b}}=3\hat{\text{i}}-2\hat{\text{j}}+7\hat{\text{k}}$ and  $\vec{\text{c}}=2\hat{\text{i}}-\hat{\text{j}}+4\hat{\text{k}}.$Find a vector $\vec{\text{d}}$ which is perpendicular to both $\vec{\text{a}}$ and $\vec{\text{d}}$ and $\vec{\text{c}}.\vec{\text{d}}=15.$
Differentiate $\sin^{-1}\sqrt{1-\text{x}^2}$ with respect to $\cos^{-1}\text{x},$ if
$\text{x}\in(-1,0)$
Using the method of integration find the area bounded by the curve |x| + |y| = 1
[Hint: the required region is bounded by lines x + y = 1, x - y = 1, -x + y = 1 and -x - y = 11]
Prove that: $\begin{vmatrix}\text{a}+\text{b}+2\text{c}&\text{a}&\text{b}\\\text{c}&\text{b}+\text{c}+2\text{a}&\text{b}\\\text{c}&\text{a}&\text{c}+\text{a}+2\text{b} \end{vmatrix}=2(\text{a}+\text{b}+\text{c})^3$
Verify mean value theorem for the function: $\text{f(x)}=\sqrt{25-\text{x}^2}\text{ in }[1,5].$
Find the differential equation of the family of curve $\text{x}=\text{A}\cos\text{nt}+\text{B}\sin\text{nt},$ where A and B are arbitrary constants.
$\text{If}\cos\text{y}=\text{x}\cos(\text{a}+\text{y}),\ \text{with}\cos\text{a}\neq\pm1,\ \text{prove that}\frac{\text{dy}}{\text{dx}}=\frac{\cos^2(\text{a}+\text{y})}{\sin\text{a}}$