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

Using intergation, find the area of the bounded by the triangle whose vertices are (-1, 2), (1, 5) and (3, 4).
A toy company manufactures two types of dolls, A and B. Market tests and available resources have indicated that the combined production level should not exceed 1200 dolls per week and the demand for dolls type B is at most half of that for dolls of types A. Further, the production level of dolls of type A can exceed three times the production of dolls of other type by at most 600 units. If the company makes profit of  Rs. 12 and Rs. 16 per doll respectively on dolls A and B, how many of each should be produced weekly in order to maximize the profit ?
Integrate the function in Exercise:
$\frac{1}{\sqrt{(\text{x}-\text{a})(\text{x}-\text{b})}}$a
Calculate the area of the ragion bounded by $y^2= x$ and $x^2= y.$
On Q, the set of all rational numbers a binary operation * is defined by $\text{a}\ ^*\ \text{b}=\frac{\text{a}+\text{b}}{2}.$ Show that * is not associative on Q.
If $\text{A}=\begin{bmatrix}1&2\\2&1\end{bmatrix}, f(x) = x^2 - 2x - 3,$ show that $f(A) = 0$
The feasible region for a LPP is shown in Evaluate Z = 4x + y at each of the corner points of this region. Find the minimum value of Z, if it exists.
Evaluate the following integrals:$\int\limits^3_{0}\big|3\text{x}-1\big|\text{dx}$
Find $\frac{\text{dy}}{\text{dx}}$
$y = e^x + 10^x + x^x$
On a multiple choice examination with three possible answers (out of which only one is correct) fo each of the five questions, what is the probability that a candidate would get four or more correct answers just by guessing?