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

The mean and variance of a binomial variate with parameters n and p are 16 and 8, respectively. Find P(X = 0), P (X = 1) and P (X ≥ 2).
If $\text{y}=\sin\Big[2\tan^{-1}\Big\{\sqrt{\frac{1-\text{x}}{1+\text{x}}}\Big\}\Big],$ find $\frac{\text{dy}}{\text{dx}}.$
The contents of urns $I, II, III$ are as follows:
Urn$ I : 1$ white, $2$ black and $3$ red balls
Urn $II : 2$ white, $1$ black and $1$ red balls
Urn $III : 4$ white, $5$ black and $3$ red balls.
One urn is chosen at random and two balls are drawn. They happen to be white and red. What is the probability that they come from Urns $I, II, III$?
Differentiate the following functions with respect to x:
$\sin(2\sin^{-1}\text{x})$
If the interest is compounded continuously at $6\%$ per annum, how much worth $Rs.100$ will be after $10$ years? How long will it take to double $Rs. 1000?$
Evaluate the following integrals:$\int\frac{\text{x}^3+\text{x}^2+2\text{x}+1}{\text{x}^2-\text{x}+1}\text{ dx}$
Find the area of the ragion in the first quadrant bounded by the parabola $y = 4x^2$ and the lines $x = 0, y = 1$ and $y = 4.$
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}$
If the line $\frac{\text{x}-3}{2}=\frac{\text{y}+2}{-1}=\frac{\text{z}+4}{3}$ lies in the plane $lx + my - z = 9,$ then find the value of $l^2 + m^2.$
Using the property of determinants and without expanding, prove that:
$\begin{vmatrix}b+c&q+r&y+z\\c+a&r+p&z+x\\a+b&p+q&x+y\end{vmatrix}=2\begin{vmatrix}a&p&x\\b&q&y\\c&r&z\end{vmatrix}$