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

Suppose a girl throws a die. If she gets 1 or 2, she tosses a coin three times and notes the number of tails. If she gets 3, 4, 5 or 6, she tosses a coin once and notes whether a 'head' or 'tail' is obtained. If she obtained exactly one 'tail', then what is the probability that she threw 3, 4, 5 or 6 with the die?
Let $\text{A}=\begin{bmatrix}-1&1&-1\\3&-3&3\\5&5&5\end{bmatrix}$ and $\text{B}=\begin{bmatrix}0&4&3\\1&-3&-3\\-1&4&4\end{bmatrix},$ compute $A^2 - B^2.$
Find the value(s) of $x$ for which $y = [x (x – 2)]^2 $ is an increasing function.
One kind of cake requires 200g of flour and 25g of fat, and another kind of cake requires 100g of flour and 50g of fat. Find the maximum number of cakes which can be made from 5kg of flour and 1kg of fat assuming that there is no shortage of the other ingredients used in making the cakes.
If $\text{A}=\begin{bmatrix}\cos\theta&\text{i}\sin\theta\\\text{i}\sin\theta&\cos\theta\end{bmatrix},$ then prove by principle of mathematical induction that $\text{A}^\text{n}=\begin{bmatrix}\cos\text{n}\theta&\text{i}\sin\text{n}\theta\\\text{i}\sin\text{n}\theta&\cos\text{n}\theta\end{bmatrix}$ for all $\text{n}\in\text{N}.$
Evaluate the following intregals: $\int\frac{1}{\sqrt{3}\sin\text{x}+\cos\text{x}}\ \text{dx}$
In a hockey match, both teams $A$ and $B$ scored same number of goals up to the end of the game, so to decide the winner, the referee asked both the captains to throw a die alternately and decided that the team, whose captain gets a six first, will be declared the winner. If the captain of team A was asked to start, find their respective probabilities of winning the match and state whether the decision of the referee was fair or not.
Solve the follwing system of equations by matrix method:
$5x + 2y = 3$
$3x + 2y = 5$
Evaluate the following intregals:
$\int\frac{3\text{x}+1}{\sqrt{5-2\text{x}-\text{x}^2}}\text{ dx}$
Differentiate $\tan^{-1} \bigg(\frac{\sqrt{1 + x^{2} - 1}}{x}\bigg)$ w.r.t. $\sin^{-1} \frac{2x}{1 + x^{2}}, \text{ if } x \in (-1, 1)$