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 equation of the plane passing through the line of intersection of the planes $\vec{\text{r}}.\Big(\hat{\text{i}}+\hat{\text{j}}+\hat{\text{k}}\Big)=1\ \text{and}\ \vec{\text{r}}.\Big(2\hat{\text{i}}+3\hat{\text{j}}-\hat{\text{k}}\Big)+4=0$ and parallel to x-axis.
Differentiate the following functions with respect to x:
$\sqrt{\tan^{-1}\big(\frac{\text{x}}{2}\big)}$
Differential equation $\frac{\text{d}^2\text{y}}{\text{dx}^2}-3\frac{\text{dy}}{\text{dx}}+2\text{y}=0,\text{y}(0)=1,\text{y}(0)=3$
Function $\text{y}=\text{e}^\text{x}+\text{e}^{2\text{x}}$
Kellogg is a new cereal formed of a mixture of bran and rice that contains at least 88 grams of protein and at least 36 milligrams of iron. Knowing that bran contains 80 grams of protein and 40 milligrams of iron per kilogram, and that rice contains 100 grams of protein and 30 milligrams of iron per kilogram, find the minimum cost of producing this new cereal if bran costs Rs. 5 per kg and rice costs Rs 4 per kg.
Evalute the following integrals:
$\int\frac{1-\cot\text{x}}{1+\cot\text{x}}\text{dx}$
Evaluate the following integrals:
$\int_{0}^\limits{{2\pi}}\sqrt{1-\sin\frac{\text{x}}{2}}\text{ dx}$
Solve the following linear programming problem graphically:
Maximise Z = 7x + 10y
subject to the constraints
4x + 6y $\leq$ 240
6x + 3y $\leq$ 240
x $\geq$ 10
x $\geq$ 0, y $\geq$ 0
Given $\text{A}=\begin{bmatrix}2&2&-4\\-4&2&-4\\2&-1&5\end{bmatrix},\text{B}=\begin{bmatrix}1&-1&0\\2&3&4\\0&1&2\end{bmatrix}$ , find BA and use this to solve the system of equations $y + 2z = 7, x - y = 3, 2x + 3y + 4z = 17$
Find the condition for the following set of curves to intersect orthogonally
$\frac{\text{x}^2}{\text{a}^2}-\frac{\text{y}^2}{\text{b}^2}=1\text{ and }\text{xy}=\text{c}^2$
Consider the function $\text{f}:\text{R}^{+}\rightarrow[-9,\infty]$ given by $f(x) = 5x2 + 6x - 9$. Prove that f is invertible with $\text{f}^{-1}\text{(y)}=\frac{\sqrt{54+5\text{y}}-3}{5}.$