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

Find the equations of the tangent and normal to the curve$\frac{\text{x}^{2}}{\text{a}^{2}} - \frac{\text{y}^{2}}{\text{b}^{2}} = 1$ at the point ($\sqrt{2}$a, b).
Find the area of the region in the first quadrant enclosed by x-axis, the line $\text{y}=\sqrt{3\text{x}}$ and the circle x2 + y2 = 16.
Show that the lines $\vec{\text{r}}=(\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}})+\lambda(3\hat{\text{i}}-\hat{\text{j}})\ \text{and}\ \vec{\text{r}}=({4\hat{\text{i}}-\hat{\text{k}})+\mu(2\hat{\text{i}}+3\hat{\text{k}}})$intersect. Also find their point of intersection.
Using matrices, solve the following system of equations:

x + y + z = 6
x + 2z = 7
3x + y + z = 12

In the following, determine the values of constants involved in the definition so that the given function is continuous:
$\text{f(x)}=\begin{cases}4,&\text{if }\text{ x}\leq-1\\\text{ax}^2+\text{b},&\text{if }-1<\text{ x}<0\\\cos\text{x},&\text{if }\text{ x}\geq0\end{cases}$
Find $\frac{\text{dy}}{\text{dx}}$ in the following cases:
$4\text{x}+3\text{y}=\log\big(4\text{x}-3\text{y}\big)$
Find the inverse of the following matrices by using elementry row transformation:

$\begin{bmatrix} 3 & 0 & -1 \\ 2 & 3 & 0 \\ 0 & 4 & 1 \end{bmatrix}$

Find the condition that the curves 2x = y2 and 2xy = k intersect orthogonally.
If $\hat{\text{i}}+\hat{\text{j}}+\hat{\text{k}},\ 2\hat{\text{i}}+5\hat{\text{j}},\ 3\hat{\text{i}}+2\hat{\text{j}}-3\hat{\text{k}}$ and $\hat{\text{i}}-6\hat{\text{j}}-\hat{\text{k}}$ respectively are the position vectors of points A, B, C and D, then find the angle between the straight lines AB and CD. Find whether $\vec{\text{AB}}$ and $\vec{\text{CD}}$ are collinear or not.
If lines $\frac{x - 1}{2} = \frac{y + 1}{3} = \frac{z - 1}{4} \text{and} \frac{x - 3}{1} = \frac{y - k}{2} = \frac{z}{1}$ intersect, then find the value of k and hence find the equation of the plane containing these lines.