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

Vitamins $A$ and $B$ are found in two different foods $F_1$ and $F_2$. One unit of food $F_1$ contains 2 units of vitamin $A$ and 3 units of vitamin $B$. One unit of food $F_2$ contains 4 units of vitamin $A$ and 2 units of vitamin $B$. One unit of food $F_1$ and $F_2$ cost Rs 50 and 25 respectively. The minimum daily requirements for a person of vitamin $A$ and $B$ is 40 and 50 units respectively. Assuming that anything in excess of daily minimum requirement of vitamin $A$ and $B$ is not harmful, find out the optimum mixture of food $\mathrm{F}_1$ and $\mathrm{F}_2$ at the minimum cost which meets the daily minimum requirement of vitamin A and B . Formulate this as a LPP.
Find the angle of intersecting of the following curves:
$\text{x}^2=27\text{y}\text{ and }\text{y}^2=8\text{x}$
An unbiased die is tossed twice. Find the probability of getting 4, 5, or 6 on the first toss and 1, 2, 3 or 4 on the second toss.
Write the points where $f(x) = |log_e x|$ is not differentiable.
Find the length and the foot ofo perpendicular from the point $\Big(1,\frac{3}{2},2\Big)$ to the plane 2x - 2y + 4z + 5 = 0
Evaluate the following integrals:$\int\cos^{-1}\Big(\frac{1-\text{x}^2}{1+\text{x}^2}\Big)\text{dx}$
If $\hat{\text{i}}+\hat{\text{j}}+\hat{\text{k}},\ 2\hat{\text{i}}+5\hat{\text{j}},\ 3\hat{\text{i}}+2\hat{\text{j}}-3\hat{\text{k}}$ and $\hat{\text{i}}-6\hat{\text{j}}-\hat{\text{k}}$ respectively are the position vectors of points A, B, C and D, then find the angle between the straight lines AB and CD. Find whether $\vec{\text{AB}}$ and $\vec{\text{CD}}$ are collinear or not.
Differentiate the following functions with respect to x:
$\text{x}\sin2\text{x}+5^{\text{x}}+\text{k}^\text{k}+(\tan^2\text{x})^3$
Prove the following identities:
$\begin{vmatrix}\text{a}^3&2&\text{a}\\\text{b}^3&2&\text{b}\\\text{c}^3&2&\text{c}\end{vmatrix}$
$=2(\text{a}-\text{b})(\text{b}-\text{c})(\text{c}-\text{a})(\text{a}+\text{b}+\text{c})$
Differentiate the following function with respect to x:$(\log\text{x})^{x} + \text{x}^{\log\text{x}}.$