Question
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}=\text{y}\tan\text{x}-2\sin\text{x}$

Answer

Here,$\frac{\text{dy}}{\text{dx}}=\text{y}\tan\text{x}-2\sin\text{x}$
It is a linear differential equation. Comparing the equation by,
$\text{P}=-\tan\text{x},\text{Q}=-\sin\text{x}$
I.F. $=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{-\int\tan\text{xdx}}$
$=\text{e}^{-\log\sec\text{x}}$
$=\frac{1}{\sec\text{x}}$
Solution of the equation is given by,
$\text{y}\times(\text{I.F.})=\int\text{Q}\times(\text{I.F.})\text{dx + C}$
$\frac{\text{y}}{\sec\text{x}}=\int-\frac{2\sin\text{x}}{\sec\text{x}}\text{dx+ C}$
$\text{y}\cos\text{x}=-\int2\sin\text{x}\cos\text{xdx + C}$
$\text{y}\cos\text{x}=-\int\sin2\text{xdx + C}$
$\text{y}\cos\text{x}=\frac{\cos2\text{x}}{2}+\text{C}$
$\text{y}=\frac{\cos2\text{x}}{2\cos\text{x}}+\frac{\text{C}}{\cos\text{x}}$

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 equations:

$(\text{xy}^2+2\text{x})\text{dx}+(\text{x}^2\text{y+2y})\text{dy}=0$

Find the vector equation of the plane through the line of intersection of the planes x + y + z = 1 and 2x + 3y + 4z = 5 which is perpendicular to the plane x - y + z = 0.
Evaluate the following integrals:
$\int\sin^7\text{x}\text{ dx}$
Solve $\text{x}\frac{\text{dy}}{\text{dx}}=\text{y}(\log{\text{y}-\log\text{x}+1}).$
$\text{Evaluate} \lim\limits_{x \rightarrow\frac{\pi}{4}} \bigg( \frac{ \sin x - \cos x}{x- \frac{\pi}{4}} \bigg)$
Show that $\triangle\text{ABC}$ is an isosceles triangle, if the determinant $\triangle=\begin{vmatrix}1&1&1\\1+\cos\text{A}&1+\cos\text{B}&1+\cos\text{C}\\\cos^2\text{A}+\cos\text{A}&\cos^2\text{B}+\cos\text{B}&\cos^2\text{C}+\cos\text{C}\end{vmatrix}=0.$
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}=\cos\text{x}$
Using integration, Find the area bounded by the the triangle whose vartices are (2, 1), (3, 4) and (5, 2).
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{3}}_{\frac{\pi}{6}}\frac{1}{1+\sqrt{\tan\text{x}}}\text{ dx}$
The probabilities of two students A and B coming to the school in time are $\frac{3}{7}$ and $\frac{5}{7}$ respectively. Assuming that the events, 'A coming in time' and 'B coming in time' are independent, find the probability of only one of them coming to the school in time. Write at least one advantage of coming to school in time.