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

 Let $\text{F}(\alpha)=\begin{bmatrix}\cos\alpha & -\sin\alpha & 0 \\ \sin\alpha & \cos\alpha & 0 \\ 0 & 0 & 1\end{bmatrix}$ and

$\text{G}(\beta)=\begin{bmatrix} \cos\beta & 0 & \sin\beta \\ 0 & 1 & 0 \\ -\sin\beta & 0 & \cos\beta \end{bmatrix}$

Show that

$\big[\text{F}(\alpha)\big]^{-1}=\text{F}(-\alpha)$

Solve the following differential equation:

$\frac{\text{dy}}{\text{dx}}+2\text{y}=4\text{x}$

Find A and B so that $\text{y}=\text{A}\sin3\text{x}+\text{B}\cos3\text{x}$ satisfy the equation $\frac{\text{d}^2\text{y}}{\text{dx}^2}+4\frac{\text{dy}}{\text{dx}}+3\text{y}=10\cos3\text{x}.$
If $\text{y}=\tan^{-1}\Big(\frac{2\text{x}}{1-\text{x}^2}\Big)+\sec^{-1}\Big(\frac{1+\text{x}^2}{1-\text{x}^2}\Big),\text{x}>0,$ prove that $\frac{\text{dy}}{\text{dx}}=\frac{4}{1+\text{x}^2}$
If f : Q → Q, g : Q → Q are two functions defined by f(x) = 2x and g(x) = x + 2, show that f and g are bijective maps. Verify that (gof)-1 = f-1og-1.
Discuss the continuity of the function $\text{f(x)}=\begin{cases}2\text{x}-1,&\text{if }\text{ x}<2\\\frac{3\text{x}}{2},&\text{if }\text{ x}\geq2\end{cases}$
Using vectors find the area of the triangle with vertices, A(2, 3, 5), B(3, 5, 8) and C(2, 7, 8).
Maximum Z = 2x + 4y

Subject to

$\text{x}+\text{y}\geq8$

$\text{x}+4\text{y}\geq12$

$\text{x}\geq3,\text{y}\geq2$

Show that the differential equation $2 x y+y^{2}-2 x^{2} \frac{d y}{d x}=0$, is homogenous and find the particular solution, given that y = 2 when x = 1.
Evaluate: $\int\text{e}^{x}\Bigg(\frac{\sin 4x - 4}{1-\cos 4x}\Bigg)\text{dx}$.