Question
Solve the following differential equation:
$(\sin\text{x})\frac{\text{dy}}{\text{dx}}+\text{y}\cos\text{x}=2\sin^2\text{x}\cos\text{x}$

Answer

We have,
$(\sin\text{x})\frac{\text{dy}}{\text{dx}}+\text{y}\cos\text{x}=2\sin^2\text{x}\cos\text{x}$
$\frac{\text{dy}}{\text{dx}}+\text{y}\cot\text{x}=2\sin\text{x}\cos\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}=2\sin\text{x}\cos\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}\times2\sin\text{x}\cos\text{x}$
$\sin\text{x}\frac{\text{dy}}{\text{dx}}+\text{y}\cos\text{x}=2\sin^2\text{x}\cos\text{x}$
Integrating both sides with respect to x, we get
$\text{y}\sin\text{x}=2\int\sin^2\text{x}\cos\text{x dx + C}\ \dots(2)$
Putting $\sin\text{x}=\text{t}$
$\Rightarrow\ \cos\text{x dx = dt}$
Therefore, (2) becomes
$\text{y}\sin\text{x}=2\int\text{t}^2\text{dt + C}$
$\Rightarrow \text{y}\sin\text{x}=\frac{2}3\text{t}^3+\text{C}$
$\Rightarrow \text{y}\sin\text{x}=\frac{2}3\sin^3\text{x}+\text{C}$
Hence, $\text{y}\sin\text{x}=\frac{2}3\sin^3\text{x}+\text{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 angle between line $\frac{\text{x}-1}{1}=\frac{\text{y}-2}{-1}=\frac{\text{z}+1}{1}$ and the plane 2x + y - z = 4.
Find the absolute maximum and the absolute minimum value of the following functions in the given intervals:
f(x) = 3x4 - 8x3 + 12x2 - 48x + 25 in [0,3]
Show that the curve $\frac{\text{x}^2}{\text{a}^2+\lambda_1}+\frac{\text{y}^2}{\text{b}^2+\lambda_1}=1$ and $\frac{\text{x}^2}{\text{a}^2+\lambda_2}+\frac{\text{y}^2}{\text{b}^2+\lambda_2}=1$ intersect at right angles.
Maximum Z = 2x + 3y
Subject to
$\text{x}+\text{y}\geq1$
$10\text{x}+\text{y}\geq5$
$\text{x}+10\text{y}\geq1$
$\text{x},\text{y}\geq0$
Evaluate the following integrals:

$\int\text{x}\tan^2\text{x dx}$

If $\text{x}=\cos\text{t}(3-2\cos^2\text{t}),\text{y}\sin\text{t}(3-2\sin^2\text{t})$ find the value of $\frac{\text{dy}}{\text{dx}}\text{ at t}=\frac{\pi}{4}$
Find A-1, If $\text{A}=\begin{bmatrix}1&2&5\\ 1&-1&-1\\ 2&3&-1\end{bmatrix}$. Hence solve the follwing system of linear equations:
x + 2y +5z = 10, x- y - z = - 2, 2x + 3y - z = - 11
If given function is continuous at $x=1$, then find $a$ and $b$.$
f(x)=\left\{\begin{array}{cl}
3 a x+b, & \text { if } x>1 \\
11, & \text { if } x=1 \\
5 a x-2 b, & \text { if } x<1
\end{array}\right.
$
A fair die is tossed. Let X denote 1 or 3 according as an odd or an even number appears. Find the probability distribution, mean and variance of X.
A purse contains 2 silver and 4 copper coins. A second purse contains 4 silver and 3 copper coins. If a coin is pulled at random from one of the two purses, what is the probability that it is a silver coin?