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

If $\text{xy}\log(\text{x}+\text{y})=1,$ prove that $\frac{\text{dx}}{\text{dx}}=-\frac{\text{y}(\text{x}^2\text{y}+\text{x}+\text{y})}{\text{x}(\text{xy}^2+\text{x}+\text{y})}$
ABCD is aparallelogram. the position vectora of the points A, B and C are respectively, $4\hat{\text{i}}+5\hat{\text{j}}-10\hat{\text{k}},2\hat{\text{i}}-3\hat{\text{j}}+4\hat{\text{k}}$ and $-\hat{\text{i}}+2\hat{\text{j}}+\hat{\text{k}}.$ Find the vector equation of the line BD. Also, reduce it to cartesian form.
Solve the matrix equation $\begin{bmatrix}5 & 4 \\1 & 1 \end{bmatrix}\text{X}=\begin{bmatrix}1 & -2 \\1 & 3 \end{bmatrix},$ where X is a 2 × 2 matrix.
Find a point on the parabola $y = (x - 4)^2$​​​​​​​, where the tangent is parallel to the chord joining (4, 0) and (5, 1).
Show that the relation R defined by R = {(a, b): a - b is divisible by 3; a, b ∈ Z} is an equivalence relation.
$\text{If}\ \vec{\text{a},}\ \vec{\text{b}},\ \vec{\text{c}}$ are mutually perpendicular vectors of equal magnitudes, show that the vector $\vec{\text{a}}+ \vec{\text{b}}+ \vec{\text{c}}$ is equally inclined to $\vec{\text{a},}\ \vec{\text{b}},\text{and}\ \vec{\text{c}}.$
Evaluate the following integrals:
$\int\limits^{\text{a}}_{-\text{a}}\log\Big(\frac{\text{a}-\sin\theta}{\text{a}+\sin\theta}\Big)\text{d}\theta$
Solve the following system of equations by matrix method:
$5x + 7y + 2 = 0$
$4x + 6y + 3 = 0$
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}+\text{y}=\cos\text{x}$
If $\vec{\text{p}}=5\hat{\text{i}}+\lambda\hat{\text{j}}-3\hat{\text{k}}$ and $\vec{\text{q}}=\hat{\text{i}}+3\hat{\text{j}}-5\hat{\text{k}},$ then find the value of $\lambda,$ so that $\vec{\text{p}}+\vec{\text{q}}$ and $\vec{\text{p}}-\vec{\text{q}}$ are perpendicular vectora.