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

Solve the following differential equation:
$\cos^2(\text{x}-2\text{y}) = 1-2\frac{\text{dy}}{\text{dx}}$
Solve the following linear programming problem graphically.Minimise $\text{z = 3x + 5y}$
subject to the constraints
$\text{x + 2y}\geq 10$
$\text{x + y}\geq 6$
$\text{3x + y}\geq 8$
$\text{x, y}\geq 0.$
Determine two positive numbers whose sum is $15$ and the sum of whose squares is maximum.
Differentiate the following functions with respect to x:
$10^{\log\sin\text{x}}$
$\text{A}=\begin{bmatrix}3&-4&2\\ 2&3&5\\ 1&0&1\end{bmatrix}$, find $A^{-1}$ and hence solve the following system of equations:
$3x - 4y +2z = -1, 2x + 3y + 5z = 7, x + z = 2$
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}+\frac{\text{y}}{\text{x}}=\text{x}^3$
Three shopkeepers $\text{A, B}$ and $C$ go to a store to buy stationery. A purchases $12$ dozen notebooks, $5$ dozen pens and $6$ dozen pencils. $B$ purchases $10$ dozen notebooks, $6$ dozen pens and $7$ dozen pencils. $C$ purchases $11$ dozen notebooks, $13$ dozen pens and $8$ dozen pencils. A notebook costs $40$ paise, a pen costs ₹ $1.25$ and a pencil costs $35$ paise. Use matrix multiplication to calculate each individual's bill.
If $\vec{\text{a}},\ \vec{\text{b}},\ \vec{\text{c}}$ are non-coplanar vectors, prove that the point having the following position vectors is collinear:$\vec{\text{a}}+\vec{\text{b}}+\vec{\text{c}},\ 4\vec{\text{a}}+3\vec{\text{b}},\ 10\vec{\text{a}}+7\vec{\text{b}}-2\vec{\text{c}}$
Find the angle between the pairs of lines with direction ratios proportional to
$5, -12, 13$ and $-3, 4, 5$
In a factory, machine $A$ produces $30\%$ of the total output, machine $B$ produces $25\%$ and the machine $C$ produces the remaining output. If defective items produced by machines $A, B$ and $C$ are $1\%, 1.2\%,2\%$ respectively. Three machines working together produce $10000$ items in a day. An item is drawn at random from a day's output and found to be defective. Find the probability that it was produced by machine $B$?