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

Answer

We have,
$\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}=\text{x}^2\cos^2\text{x}$
Comparing with $\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q},$ we get
$\text{P}=\tan\text{x}$
$\text{Q}=\text{x}^2\cos^2\text{x}$
Now,
I.F. $=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{\int\tan\text{xdx}}$
$=\text{e}^{\log|\sec\text{x}|}=\sec\text{x}$
Therefore, solution is given by,
$\text{y}\times\text{I.F.}=\int\text{x}^2\cos^2\text{x}\times\text{I.F.}\text{dx + C}$
$\Rightarrow\ \text{y}\sec\text{x}=\int\text{x}^2\cos\text{x dx + C}$
$\Rightarrow\ \text{y}\sec\text{x}=\text{I + C}$
Where,
$\text{I}=\int\text{x}^2\cos\text{xdx + C}$
$\Rightarrow\ \text{I}=\text{x}^2\int\cos\text{xdx}-\int\Big[\frac{\text{d}}{\text{dx}}(\text{x}^2)\int\cos\text{xdx}\Big]\text{dx}$
$\Rightarrow\ \text{I}=\text{x}^2\sin\text{x}-2\int\text{x}\sin\text{xdx}$
$\Rightarrow\ \text{x}^2\sin\text{x}-2\text{x}\int\sin\text{xdx}+2\int\Big[\frac{\text{d}}{\text{dx}}(\text{x})\int\sin\text{xdx}\Big]\text{dx}$
$\Rightarrow\ \text{I}=\text{x}^2\sin\text{x}+2\text{x}\cos\text{x}-2\int\cos\text{xdx}$
$\Rightarrow\ \text{I}=\text{x}^2\sin\text{x}+2\text{x}\cos\text{x}-2\sin\text{x}$
$\therefore\ \text{y}\sec\text{x}=\text{x}^2\sin\text{x}+2\text{x}\cos\text{x}-2\sin\text{x + C}$

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 the differential equation $2 y e^{\frac{x}{y}} d x+\left(y-2 x e^{\frac{x}{y}}\right) d y=0$ is homogeneous and find its particular solution, given that, x = 0 when y = 1.
Differentiate the following functions with respect to x:
$\text{e}^{\text{x}\log\text{x}}$
If $\text{A}=\begin{bmatrix}0&0\\4&0\end{bmatrix},$ find $A^{16}$.
Show that the points A, B, C with position vectors $\vec{\text{a}}-2\vec{\text{b}}+3\vec{\text{c}},\ 2\vec{\text{a}}+3\vec{\text{b}}-4\vec{\text{c}}$ and $-7\vec{\text{b}}+10\vec{\text{c}}$ are collinear.
Find $\frac{\text{dy}}{\text{dx}}$
$\text{y}=(\sin\text{x})^\text{x}+\sin^{-1}\sqrt{\text{x}}$
A wire of length $28\ m$ is to be cut into two pieces. One of the pieces is to be made into a square and the other into a circle. What should be the length of the two pieces so that the combined areas of the square and the circle is minimum?
Solve the following systems of linear equations by cramer's rule:
2x - y = 17,
3x + 5y = 6
If $\text{x}=\text{a}(\cos\text{t}+\text{t}\sin\text{t})\ \text{and}\ \text{y}=\text{a}(\sin\text{t}-\text{t}\cos\text{t}),$ find the value of $\frac{\text{d}^2\text{y}}{\text{dx}^2}\ \text{at}\ \text{t}=\frac{\pi}{4}.$
Find the position vector of the food of perpendicular and the perpendicular distance from the point $P$ with position vector $2\hat{\text{i}}+3\hat{\text{j}}+4\hat{\text{k}}$ to the plane $\vec{\text{r}}.(2\hat{\text{i}}+\hat{\text{j}}+3\hat{\text{k}})-26=0.$ Also find image or $P$ in the plane.
Prove that:
$\begin{vmatrix}-\text{bc}&\text{b}^2+\text{bc}&\text{c}^2+\text{bc}\\\text{a}^2+\text{ac}&-\text{ac}&\text{c}^2+\text{ac}\\\text{a}^2+\text{ab}&\text{b}^2+\text{ab}&-\text{ab}\end{vmatrix}$
$=(\text{ab}+\text{bc}+\text{ca})^3$