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

Find the equation of the normal to the curve $x^2 + 2y^2 - 4x - 6y + 8 = 0$ at the point whose abscissa is 2.
Find the foot of the perpendicular from (0, 2, 7) on the line $\frac{\text{x}+2}{-1}=\frac{\text{y}-1}{3}=\frac{\text{z}-3}{-2}.$
Find the equations of the tangent and the normal to the following curves at the indicated points.
$\text{x}^{\frac{2}{3}}+\text{y}^{\frac{2}{3}}=2\text{ at }(1,1)$
A merchant plans to sell two types of personal computers a desktop model and a portable model that will cost Rs. 25,000 and Rs. 40,000 respectively. He estimates that the total monthly demand of computers will not exceed 250 units. Determine the number of units of each type of computers which the merchant should stock to get maximum profit if he does not want to invest more than Rs. 70 lakhs and his profit on the desktop model is Rs. 4500 and on the portable model is Rs. 5000. Make an LPP and solve it graphically.
At what points on the following curves, is the tangent parallel to x-axis?
$\text{y}=\text{e}^{1-\text{x}^2}\text{ on }[-1,1]$
Find the points of local maxima or local minima and corresponding local maximum and local minimum values of the following functions. Also, find the points of inflection,
$\text{f}'(\text{x})=\text{x}^{4}-62\text{x}^{2}+120\text{x}+9$
Evaluate:
$\cos\Big(\sin^{-1}\frac{3}{5}+\sin^{-1}\frac{5}{13}\Big)$
Find values of k, if area of triangle is 4 square units whose vertices are:
(-2, 0), (0, 4), (0, k)
Solve the following differential equations:
$\text{x}\frac{\text{dy}}{\text{dx}}=\text{x + y}$
Solve the following differential equation:
$(\text{x}+\text{y})^2\frac{\text{dy}}{\text{dx}} = 1$