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

If $\text{y}=\sin\Big[2\tan^{-1}\Big\{\sqrt{\frac{1-\text{x}}{1+\text{x}}}\Big\}\Big],$ find $\frac{\text{dy}}{\text{dx}}.$
The two adjacent sides of a parallelogram are $2\hat i - 4\hat j + 5\hat k\;$ and $\hat i - 2\hat j - 3\hat k$. Find the unit vector parallel to its diagonal. Also, find its area.
Find the shortest distance between the following pairs of lines whose vector equation are:
$\vec{\text{r}}=\big(\hat{\text{i}}+\hat{\text{j}}\big)+\lambda\big(2\hat{\text{i}}-\hat{\text{j}}+\hat{\text{k}}\big)$ and $\vec{\text{r}}=2\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}}+\mu\big(3\hat{\text{i}}-5\hat{\text{j}}+2\hat{\text{k}}\big)$
A pair of dice is thrown 4 times. If getting a doublet is considered a success, find the probability distribution of the number of successes.
A company produces three product every day.Their production on a certain day is 45 tons. It is found that the production of third product exceeds the production of first product by 8 tons while the total production of first and third product is twice the production of second product. Determine the production level of each product using matrix method.
Using integration find the area of the region bounded by the curves $\text{y} = \sqrt{4 - \text{x}^{2}}, \text{x}^{2} + \text{y}^{2} \text{4x} = 0$ and the x-axis.
Find the largest possible area of a right angled triangle whose hypotenuse is 5cm long.
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}=(\text{x}+\text{y}+1)^{2}$
Evaluate the following intregals:
$\int\frac{\text{x}}{\sqrt{8+\text{x}-\text{x}^2}}\text{dx}$
Evaluate $\int _ { - 1 } ^ { 2 } \left| x ^ { 3 } - x \right| d x$.