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 equation of the plane through the line of intersection of the planes x + y + z = 1 and 2x + 3y + 4z = 5 and twice of its y-intercept is equal to three times its z-intercept.
Find the particular solution of the differential equation $\text{x}\cos\Big(\frac{\text{y}}{\text{x}}\Big)\frac{\text{dy}}{\text{dx}}=\text{y}\cos\Big(\frac{\text{y}}{\text{x}}\Big)+\text{x},$ given that when $\text{x}=1,\text{y}=\frac{\pi}4$.
If $(\cos\text{x})^{\text{y}}=(\tan\text{y})^{\text{x}},$ Prove that $\frac{\text{dy}}{\text{dx}}=\frac{\log\tan\text{y}-\text{y}\tan\text{x}}{\log\cos\text{x}-\text{x}\sec\text{y cosec y}}$
Draw a rough sketch of the graph of the function $\text{y}=2\sqrt{1-\text{x}^{2}}, \text{x}\in [0, 1] $ and evaluate the area enclosed between the curve and the x-axis.
Without expanding, show that the values of the following determinant are zero: $\begin{vmatrix}1&\text{a}&\text{a}^2-\text{bc}\\1&\text{b}&\text{b}^2-\text{ac}\\1&\text{c}&\text{c}^2-\text{ab} \end{vmatrix}$
Two groups are competing for the positions of the Board of Directors of a Corporation. The probabilities that the first and the second groups will win are $0.6$ and $0.4$ respectively. Further, if the first group wins, the probability of introducing a new product is $0.7$ and the corresponding probability is $0.3$ if the second group wins. Find the probability that the new product introduced was by the second group.
If the points A(m, -1), B(2, 1) and C(4, 5) are collinear, find the value of m.
Evaluate the following integrals: $\int\frac{\text{x}^2+9}{\text{x}^4+81}\ \text{dx}$
If $\text{A}^\text{T}=\begin{bmatrix}3&4\\-1&2\\0&1\end{bmatrix}$ and $\text{B}=\begin{bmatrix}-1&2&1\\1&2&3\end{bmatrix},$ find $A^T - B^T.$
One kind of cake requires 200 g of flour and 25 g of fat, and another kind of cake requires 100 g of flour and 50 g of fat. Find the maximum number of cakes which can be made from 5 kg of flour and 1 kg of fat assuming that there is no shortage of the other ingredients used in making the cakes.