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

Solve the following systems of homogeneous linear equations by matrix method:
$x + y - z = 0$
$x - 2y + z = 0$
$3x + 6y - 5z = 0$
A couple has two children. Find the probability that both the children are,
  1. Males, if it is known that at least one of the children is male.
  2. Females, if it is known that the elder child is a female.
Find all vectors of magnitude $10\sqrt{3}$ that are perpendicular to the plane of $\hat{\text{i}}+2\hat{\text{j}}+\hat{\text{k}}$ and $-\hat{\text{i}}+3\hat{\text{i}}+4\hat{\text{k}}.$
A and B take turns in throwing two dice, the first to throw 9 being awarded the prize. Show that their chance of winning are in the ratio 9 : 8.
On a multiple choice examination with three possible answers (out of which only one is correct) for each of the five questions, what is the probability that a candidate would get four or more correct answers just by guessing?
If x = a (cos t + t sin t) and y = a (sin t – t cos t), 0 < t < $\frac{\pi}{2},$
$\text{find }\frac{\text{d}^{2}\text{x}}{\text{dt}^{2}},\frac{\text{d}^{2}\text{y}}{\text{dt}^{2}}\text{ and }\frac{\text{d}^{2}\text{y}}{\text{dx}^{2}}$.
If $\text{x}=\cot\text{t and y}=\sin\text{t},$ prove that $\frac{\text{dy}}{\text{dx}}=\frac{1}{\sqrt{3}}\text{ at t}=\frac{2\pi}{3}$
find the area of the region ${(x, y) : y^2 < 8x, x^2 + y^2 < 9}.$
Maximum Z = x - 5y + 20
Subject to
$\text{x}-\text{y}\geq0$
$-\text{x}+2\text{y}\geq2$
$\text{x}\geq3$
$\text{y}\geq4$
$\text{x},\text{y}\geq0$
In a bank, principal increases continuously at the rate of $5\%$ per year. An amount of Rs $1000$ is deposited with this bank, how much will it worth after $10$ years $(e^{0.5}= 1.648).$