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

If the area bounded by the parabola $\text{y}^{2} = 16\text{ax}$ and the line $\text{y = 4 mx}$ is $\frac{\text{a}^{2}}{12}$ sq. units, then using integration, find the value of m.
Show that the following system of linear equations is consistent and also find solution:
$x + y + z = 6$
$x + 2y + 3z = 14$
$x + 4y + 7z = 30$
Evaluate $\int_{\frac{-\pi}{4}}^{\frac{\pi}{4}} \sin ^2 x d x$.
Find the equation of the plane passing through the points whose coordinates are $(-1, 1, 1)$ and $(1, -1, 1)$ and perpendicular to the plane $x + 2y + 2z = 5.$
The length x of a rectangle is decreasing at the rate of 5cm/ minute and the width y is increasing at the rate of 4cm/ minute. When x = 8cm and y = 6cm, find the rates of change of:
  1. The perimeter.
  2. The area of the rectangle.
Prove that the area the region bounded by $\text{y}=\sqrt{\text{x}}, $and x = 2y + 3 in the first and x-asis.
Without expanding, show that the values of the following determinant are zero: $\begin{vmatrix}(2^{\text{x}}+2^{-\text{x}})^2&(2^{\text{x}}-2^{-\text{x}})^2&1\\(3^{\text{x}}+3^{-\text{x}})^2&(3^{\text{x}}-3^{-\text{x}})^2&1\\(4^{\text{x}}+4^{-\text{x}})^2&(4^{\text{x}}-4^{-\text{x}})^2&1\end{vmatrix}$
Using vectors find the area of the triangle with vertices, A(2, 3, 5), B(3, 5, 8) and C(2, 7, 8).
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{2}}_{0}\sqrt{\cos\text{x}-\cos^3\text{x}}(\sec^3\text{x}-1)\cos^2\text{x dx}$
A given quantity of metal is to be cast into a half cylinder with a rectangular base and semicircular ends. Show that in order that the total surface area may be minimum the ratio of the length of the cylinder to the diameter of its semi-circular ends is $\pi:(\pi+2)$.