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

Evaluate the following integrals:
$\int\frac{\text{x}^2-1}{\text{x}^4+1}\ \text{dx}$
Often it is taken that a truthful person commands, more respect in the society. A man is known to speak the truth 4 out of 5 times. He throws a die and reports that it is a six. Find the probability that it is actually a six.
Do you also agree that the value of truthfulness leads to more respect in the society?
Solve the following initial value problems:
$\frac{\text{dy}}{\text{dx}}-3\text{y}\cot\text{x}=\sin2\text{x},\text{ y}=2,\text{ when x}=\frac{\pi}{2}$
Find the vector equation of the plane passing through points A(a, 0, 0), B(0, b, 0) and C(0, 0, c). Reduce in to normal form. If plane ABC is at a distance p from the origin, prov that $\frac{1}{\text{p}^2}=\frac{1}{\text{a}^2}+\frac{1}{\text{b}^2}+\frac{1}{\text{c}^2}$
Find a unit vector perpendicular to the plane containing the vectors $\vec{\text{a}}=2\hat{\text{i}}+\hat{\text{j}}+\hat{\text{k}}$ and $\vec{\text{b}}=\hat{\text{i}}+2\hat{\text{j}}+\hat{\text{k}.}$
Three bags contain balls as shown in the table below:

Bag Number of White balls Number of Black balls Number of Red balls
I 1 2 3
II 2 1 1
III 4 3 2

A bag is chosen at random and two balls are drawn from it. They happen to be white and red. What is the probability that they came from the III bag?

For the differential equaton $\text{xy}\frac{\text{dy}}{\text{dx}}=(\text{x}+2)(\text{y}+2).$ Find the solution curve passing through the point (1, -1).
Evaluate the following integrals:

$\int\frac{2\text{x}+5}{\text{x}^2-\text{x}-2}\text{ dx}$

In a large bulk of items, 5 percent of the items are defective. What is the probability that a sample of 10 items will include not more than one defective item?
Form the differential equation of the family of parabolas having vertex at origin and axis along positive y-axis.