Question
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}+\text{y}\cot\text{x}=\text{x}^2\cot\text{x}+2\text{x}$

Answer

We have,
$\frac{\text{dy}}{\text{dx}}+\text{y}\cot\text{x}=\text{x}^2\cot\text{x}+2\text{x}\ \dots(1)$
Clearly, it is a linear differential equation of the form
$\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
where
$\text{P}=\cot\text{x}$
$\text{Q}=\text{x}^2\cot\text{x}+2\text{x}$
$\therefore$ I.F. $=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{\int\cot\text{xdx}}$
$=\text{e}^{\log|\sin\text{x}|}=\sin\text{x}$
Multiplying both sides of (1) by $\sin\text{x},$ we get
$\sin\text{x}\Big(\frac{\text{dy}}{\text{dx}}+\text{y}\cot\text{x}\Big)=\sin\text{x}(\text{x}^2\cot\text{x}+2\text{x})$
$\Rightarrow\ \sin\text{x}\frac{\text{dy}}{\text{dx}}+\text{y}\cos\text{x}=\text{x}^2\cos\text{x}+2\text{x}\sin\text{x}$
Integrating both sides with respect to x, we get
$\text{y}\sin\text{x}=\int\text{x}^2\cos\text{xdx}+\int2\text{x}\sin\text{xdx + C}$
$\Rightarrow\ \text{y}\sin\text{x}=\text{x}^2\int\cos\text{xdx}-\int\Big[\frac{\text{d}}{\text{dx}}(\text{x}^2)\int\cos\text{xdx}\Big]\text{dx}+\int2\text{x}\sin\text{x dx + C}$
$\Rightarrow\ \text{y}\sin\text{x}=\text{x}^2\sin\text{x}-\int2\text{x}\sin\text{xdx}+\int2\text{x}\sin\text{xdx + C}$
$\Rightarrow\ \text{y}\sin\text{x}=\text{x}^2\sin\text{x +C}$
Hence, $\Rightarrow\ \text{y}\sin\text{x}=\text{x}^2\sin\text{x +C}$ 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

Find the angle between the vectors whose direction cosines are proportional to 2, 3, -6 and 3, -4, 5.
Solve the following differential equation:
$\big(\cot^{-1}\text{y} + \text{x}\big)\text{dy}= \big(1 + \text{y}^2\big) \text{dx}$
Evaluate the following definite integrals:
$\int_{0}^\limits{\frac{\pi}{6}}\cos\text{x }\cos2\text{x}\text{ dx}$
Show that the vectors $2\hat{\text{i}}-3\hat{\text{j}}+4\hat{\text{k}}$ and $-4\hat{\text{i}}+6\hat{\text{j}}-8\hat{\text{k}}$ are collinear.
Integrate the function in Exercise:
$\frac{1}{\text{x}-\text{x}^{3}}$
By computing the shortest distance determine whether the following pairs of lines intersect or not:
$\frac{\text{x}-1}{2}=\frac{\text{y}+1}{3}=\text{z}$ and $\frac{\text{x}+1}{5}=\frac{\text{y}-2}{1};\text{z}=2$
If $\vec{\text{a}} \times \vec{\text{b}} = \vec{\text{c}} \times \vec{\text{d}}$ and $\vec{\text{a}} \times \vec{\text{c}} = \vec{\text{b}} \times \vec{\text{d}},$ show that $\vec{\text{a}} - \vec{\text{d}}$ is parallel to $\vec{\text{b}} - \vec{\text{c}},$ where $\vec{\text{a}} \neq \vec{\text{d}}$ and $\vec{\text{b}} \neq \vec{\text{c}}.$
Verify Rolle's theorem for the following function on the indicated intervals

$\text{f}(\text{x})=\sin2\text{x}\text{ on }\Big[0,\frac{\pi}{2}\Big]$

Verify Lagrange's mean value theorem for the following function on the indicated intervals. find a point 'c' in the indicated interval as stated by the Lagrange's mean value theorem.
f(x) = x(x + 4)2 on [0,4]
If $\text{x}=\sin\text{t},\text{y}=\sin\text{pt}$ prove that $(1-\text{x}^2)\frac{\text{d}^2\text{y}}{\text{dx}^2}-\text{x}\frac{\text{dy}}{\text{dx}}+\text{p}^2\text{y}=0$