Question
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}=\cos\text{x}$

Answer

We have,
$\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}=\cos\text{x}\ \dots(1)$
Clearly, it is a linear differential equation of the form
$\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
where
$\text{P}=\tan\text{x}$
$\text{Q}=\cos\text{x}$
$\therefore$ I.F. $=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{\int\tan\text{xdx}}$
$=\text{e}^{\log|\sec\text{x}|}=\sec\text{x}$
Multiplying both sides of (1) by $\sec\text{x},$ we get
$\sec\text{x}\Big(\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}\Big)=\cos\text{x}\times\sec\text{x}$
$\Rightarrow\ \sec\text{x}\frac{\text{dy}}{\text{dx}}+\text{y}\sec\text{x}\tan\text{x}=1$
Integrating both sides with respect to x, we get
$\text{y}\sec\text{x}=\int\text{dx + C}$
$\Rightarrow\ \text{y}\sec\text{x}=\text{x + C}$
Hence, $\text{y}\sec\text{x}=\text{x + C}$ is the required solution.

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

In a culture, the bacteria count is 100000. The number is increased by 10% in 2 hours. In how many hours will the count reach 200000, if the rate of growth of bacteria is proportional to the number present?
Maximize : z = 11x + 8y subject to x ≤ 4, y ≤ 6, x + y ≤ 6, x ≥ 0, y ≥ 0.
If the functions f(x), defined below is continuous at x = 0, find the value of k.
$\text{f(x)}=\begin{cases}\frac{1-\cos2\text{x}}{2\text{x}^2},&\text{x}<0\\\text{k},&\text{x}=0\\\frac{\text{x}}{|\text{x}|},&\text{x}>0\end{cases}$
Differentiate $\tan^{-1}\Big(\frac{2\text{x}}{1-\text{x}^2}\Big)$ with respect to $\cos^{-1}\Big(\frac{1-\text{x}^2}{1+\text{x}^2}\Big),$ if 0 < x < 1.
Classify the following functions as injection, surjection or bijection:
$f : N \rightarrow N $given by $f(x) = x^3$​​​​​​​
Solve the following systems of linear equations by cramer's rule:
2x - 3z + w = 1,
x - y + 2w = 1,
-3y + z + w = 1,
x + y + z = 1
Evaluate the following integrals:
$\int\text{x}\Big(\frac{\sec2\text{x}-1}{\sec2\text{x}+1}\Big)\text{dx}$
Differentiate the following functions with respect to x:
$\frac{\text{e}^\text{x}\log\text{x}}{\text{x}^2}$
A person makes two types of gift items A and B requires the services of a cutter and a finisher. Gift item A requires 4 hours of cutter’s time and 2 hours of finisher’s time. B requires 2 hours of cutter’s time and 4 hours of finisher’s time. The cutter and finisher have 208 hours and 152 hours available times respectively every month. The profit of one gift item of type A is ₹ 75/- and on gift item B is ₹ 125/-. Assuming that the person can sell all the gift items produced, determine how many gift items of each type should he make every month to obtain the best returns?
The surface area of a balloon being inflated, changes at a rate proportional to time t. If initially its radius is 1 unit and after 3 seconds it is 2 units, find the radius after time t.