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

If $x=a \cos ^3 \theta, y=a \sin ^3 \theta$ then find $\left(\frac{d^2 y}{d x^2}\right)_{\theta=\frac{\pi}{4}}$
Show that the following system of linear equation is inconsistent:
4x − 2y = 3
6x − 3y = 5
Let R be a relation on the set N of natural numbers defined by nRm if n divides m. Then, R is:
  1. Reflexive and symmetric.
  2. Transitive and symmetric.
  3. Equivalence.
  4. Reflexive, transitive but not symmetric.
$\text{If x = }\sqrt{\text{a}^{\sin^{-1}t},}\text{ y}=\sqrt{\text{a}^{\text{cos}^{-1}}},\text{ show that }\frac{\text{dy}}{\text{dy}}=-\frac{\text{y}}{\text{x}}.$
In a class, 5% of the boys and 10% of the girls have an IQ of more than 150. In this class, 60% of the students are boys. If a student is selected at random and found to have an IQ of more than 150, find the probability that the student is a boy.
Determine the values of x for which the function f(x) = x2 - 6x + 9 is increasing or decreasing. Also, find the coordinates of the point on the curve y = x2 - 6x + 9 where the normal is parallel to the line y = x + 5.
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{4}}_{-\frac{\pi}{4}}\frac{\text{x}^{11}-3\text{x}^9+5\text{x}^7-\text{x}^5+1}{\cos^2\text{x}}\text{ dx}$
If $\text{y}=\text{e}^{\tan^{-1}\text{x}},$ prove that $(1+\text{x}^2)\text{y}_2+(2\text{x}-1)\text{y}_1=0$
An unbiased coin is tossed 8 times. Find, by using binomial distribution, the probability of getting at least 6 heads.
Find the equation of the tangent to the curve $\text{x}=\sin3\text{t},\text{y}=\cos2\text{t}\text{ at }\text{t}=\frac{\pi}{4}$