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

Find the area of the region between the parabola x = 4y - y2 and the line x = 2y - 3
If the points A(m, -1), B(2, 1) and C(4, 5) are collinear, find the value of m.
If A and B are independent events such that P(A) = p, P(B) = 2p and P(Exactly one of A and B occurs) $=\frac{5}{9},$ then find the value or p.
Prove that:
$\begin{vmatrix}\text{a}^2&\text{bc}&\text{ac}+\text{c}^2\\\text{a}^2+\text{ab}&\text{b}^2&\text{ac}\\\text{ab}&\text{b}^2+\text{ac}&\text{c}^2\end{vmatrix}=4\text{a}^2\text{b}^2\text{c}^2$
If f is an integrable function such that f(2a - x) = f(x), then prove that:
$\int\limits^{2\text{a}}_0\text{f(x)}\text{dx}=2\int\limits^{\text{a}}_0\text{f(x)}\text{dx}$ 
Solve the following differential equation:
$3\text{x}^2\text{dy}=(3\text{xy}+\text{y}^2)\text{dx}$
A dietician wishes to mix together two kinds of food X and Y in such a way that the mixture contains at least 10 units of vitamin A, 12 units of vitamin B and 8 units of vitamin C. The vitamin contents of one kg food is given below:
Food Vitamin A Vitamin B Vitamin C
X 1 2 3
Y 2 2 1
One kg of food X costs Rs. 16 and one kg of food Y costs Rs. 20. Find the least cost of the mixture which will produce the required diet?
A company has two plants to manufacture bicycles. The first plant manufactures 60% of the bicycles and the second plant 40%. Out of the 80% of the bicycles are rated of standard quality at the first plant and 90% of standard quality at the second plant. A bicycle is picked up at random and found to be standard quality. Find the probability that it comes from the second plant.
Find the area bounded by the lines y = 4x + 5, y 5 - x and 4y = x + 5.
Three cards are cdrawn successively with replacement from a well shffled deck of 52 cards. A random variable X denotes the number of hearts in the three cards drawn. Determine the probability distribution of X.