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

Show that each of the given three vectors is a unit vector:
$ \frac{1}{7}\left( {2\hat i + 3\hat j + 6\hat k} \right), \frac{1}{7}\left( {6\hat i + 2\hat j - 3\hat k} \right), \ \frac{1}{7}\left( {3\hat i - 6\hat j + 2\hat k} \right)$ 
Also, show that they are mutually perpendicular to each other.
$\int\sin\text{x}\sqrt{1-\cos2\text{x}}\text{ dx}$
Evalute the following integrals:
$\int\frac{\cos\text{x}}{2+3\sin\text{x}}\text{dx}$
If f(x), defined by the following, is continuous at x = 0, find the values of a, b and c.

$\text{f(x)} = \begin{cases} \frac{\text{sin (a + 1)x + sin x}}{\text{x}},\quad&\text{if x < 0}\\ \text{c}, \quad &\text{if x = 0}\\ \frac{\sqrt{\text{x + bx}^{2}}-\sqrt{\text{x}}}{\text{bx}^{3/2}},\quad&\text{if x > 0} \end{cases}$.

Find the area lying above the x-axis and under the paraola y2 = 4x - x2.
Find the coordinates of the point where the line $\frac{\text{x}-2}{3}=\frac{\text{y}+1}{4}=\frac{\text{z}-2}{2}$ intersectscts the plane x - y + z - 5 = 0. Also, find the angle between the line and the plane.
Integrate the rational function in exercise:
$\frac{\text{x}}{(\text{x}^2+1)(\text{x}-1)}$
If $\sin(\text{xy})+\frac{\text{y}}{\text{x}}=\text{x}^2-\text{y}^2,$ find $\frac{\text{dy}}{\text{dx}}$
A manufacturing company makes two models A and B of a product. Each piece of model A requires 9 labour hours for fabricating and 1 labour hour for finishing.  Each piece of model B requires 12 labour hours for fabricating and 3 labour hours for finishing. For fabricating and finishing, the maximum labour hours available are 180 and 30 respectively. The company makes a profit of Rs. 8000 on each piece of model A and Rs. 12000 on each piece of model B. How many pieces of model A and model B should be manufactured per week to realise a maximum profit? What is the maximum profit per week?
The prices of three commodities P, Q and R are Rs. x, y and z per unit respectively. A purchases 4 units of R and sells 3 units of P and 5 units of Q. B purchases 3 units of Q and sells 2 units of P and 1 unit of R. C purchases 1 unit of P and sells 4 units of Q and 6 units of R. In the process A, B and C earn Rs. 6000, Rs. 5000 and Rs. 13000 respectively. If selling the units is positive earning and buying the units is negative earnings, find the price per unit of three commodities by using matrix method.