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

If $e^y(x + 1) = 1,$ show that $\frac { d ^ { 2 } y } { d x ^ { 2 } } = \left( \frac { d y } { d x } \right) ^ { 2 }$
Evaluate the following integrals:
$\int\frac{1}{(\text{x}^2-1)\sqrt{\text{x}^2+1}}\text{ dx}$
To promote the making of toilets for women, an organisation tried to generate awareness through (i) house calls (ii) letters, (iii) announcements. The cost for each mode per attempt is given below:
  1. Rs.50
  2. Rs.20
  3. Rs.40
The number of attempts made in three villages X, Y, and Z are given below:
  (i) (ii) (iii)
X 400 300 100
Y 300 250 75
Z 500 400 150
Find the total cost incurred by the organisation for the three villages separately, using matrices.
Write one value generated by the organisation in the society.
Differentiate the following functions with respect to x:
$\tan^{-1}\Big(\frac{4\text{x}}{1-4\text{x}^2}\Big),-\frac{1}{2}<\text{x}<\frac{1}{2}$
Solve the follwing system of equations by matrix method:
$3x + 4y - 5 = 0$
$x - y + 3 = 0$
Solve the following initial value problems:
$\text{xe}^{\frac{\text{y}}{\text{x}}}-\text{y + x}\frac{\text{dy}}{\text{dx}}=0,\text{y(e)}=0$
Find the area bounded by the parabola $y^2 = 4x$ and the line $y = 2x - 4$:
By using horizontal strips.
If $\text{x}-\text{e}^{\tan\text{x}}+\sqrt{\frac{\text{x}^2+1}{2}},$ find $\frac{\text{dy}}{\text{dx}}$
Using properties of determinants, prove that:
$\begin{vmatrix} \text{(b + c)}^{2} & \text{a}^{2} & \text{bc} \\ \text{(c + a)}^{2} & \text{b}^{2} & \text{ca} \\ \text{(a + b)}^{2} & \text{c}^{2} & \text{ab} \end{vmatrix} = {(a - b) (b - c) (c - a) (a + b + c)}\text{(a}^{2} + \text{b}^{2} + \text{c}^{2}) $
Two schools $P$ and $Q$ want to award their selected students on the values of Discipline, Politeness and Punctuality. The school P wants to award ₹ x each,₹ y each and ₹ z each for the three respective values to its $3, 2$ and $1$ students with a total award money of ₹ $1,000$. School $Q$ wants to spend ₹ $1,500$ to award its $4, 1$ and $3$ students on the respective values (by giving the same award money for the three values as before). If the total amount of awards for one prize one each value is ₹ $600$, using matrices, find the award money for each value.Apart from the above three values, suggest one more value for awards.