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

Solve the following differential equation:
$\text{y dx}+\Big\{\text{x}\log\Big(\frac{\text{y}}{\text{x}}\Big)\Big\}\text{dy}-2\text{x dy}=0$
Find the vector equation of the plane passing through the points (1, 1, 1), (1, -1, 1) and (-7, -3, -5)
If $\vec{\text{a}},\vec{\text{b}},\vec{\text{c}}$ are non-zero, non-coplanar vectors, prove that the vector is coplanar:
$5\vec{\text{a}}+6\vec{\text{b}}+7\vec{\text{c}},\ 7\vec{\text{a}}-8\vec{\text{b}}+9\vec{\text{c}}$ and $3\vec{\text{a}}+20\vec{\text{b}}+5\vec{\text{c}}$
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}.$
A curve is such that the length of the perpendicular from the origin on the tangent at any point P of the curve is equal to the abscissa of P. Prove that the differential equation of the curve is $\text{y}^{2}-2\text{xy}\frac{\text{dy}}{\text{dx}}-\text{x}^{2}=0$ and hence find the curve.
$\text{Find}: \int(x + 3) \sqrt{3 - 4x - x^{2}} dx.$
Sketch the region $\{(x, y): 9x^2+ 4y^2 = 36\}$ and find the area of the enclosed by it, using integration.
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.
If X follows a binomial distribution with mean 4 and variance 2, find P (X ≥ 5).
A fair coin is tossed four times. Let X denote the number of heads occuring. Find the probability distribution, mean and variance of X.