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

In a triangle OAB, $\angle\text{AOB}=90^\circ.$ If P and Q are points of trisection of AB, prove that $\text{OP}^2+\text{OQ}^2=\frac{5}{9}\text{AB}^2.$
In a bank principal increases at the rate of $r \%$ par year. Find the value of $r$ if $₹ 100$ double it self in $10$ years $\left(\log _e 2=\right.$ 0.6931 ).
Examine the differentiability of f, where f is defined by:
$\text{f(x)}=\begin{cases}\text{x}^2\sin\frac{1}{\text{x}},&\text{if x}\neq0\\0,&\text{if x}=0\end{cases}$
at x = 0.
Find A and B so that $\text{y}=\text{A}\sin3\text{x}+\text{B}\cos3\text{x}$ satisfy the equation $\frac{\text{d}^2\text{y}}{\text{dx}^2}+4\frac{\text{dy}}{\text{dx}}+3\text{y}=10\cos3\text{x}.$
Evaluate the following intregals:
$\int\frac{\text{x}^2+\text{x}-1}{(\text{x}+1)^2(\text{x}+2)}\ \text{dx}$
If $\hat{\text{a}}$ and $\hat{\text{b}}$ are unit vectors inclined at an angle $\theta$, prove that$\cos\frac{\theta}{2}=\frac{1}{2}\big|\hat{\text{a}}+\hat{\text{b}}\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.
$\text{f}(\text{x})=\tan^{-1}\text{x}\text{ on }[0,1]$
Show that $\text{f(x)}=\cos\text{x}^2$ is a continuous function.
Maximum Z = 15x + 10y
Subject to
$3\text{x}+2\text{y}\leq80$
$2\text{x}+3\text{y}\leq70$
$\text{x},\text{y}\geq0$
Find the points of discontinuity, if any of the following function:
$\text{f(x)}=\begin{cases}|\text{x}-3|,&\text{if }\text{ x}\geq1\\\frac{\text{x}^2}{4}-\frac{3\text{x}}{2}+\frac{13}{4},&\text{if }\text{ x}<1\end{cases}$