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

A square piece of tin of side 18cm is to be made into a box without top by cutting a square from each corner and folding up the flaps to form a box. What should be the side of the square to be cut off so that the volume of the box is maximum? Find this maximum volume.
Find the equations of the tangent and the normal to the following curves at the indicated points.
$\text{xy}=\text{c}^2\text{ at }\big(\text{ct},\frac{\text{c}}{\text{t}}\big)$
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{2}}_0\frac{\text{x}\sin\text{x}\cos\text{x}}{\sin^4\text{x}+\cos^4\text{x}}\text{ dx}$
Find $\frac{\text{dy}}{\text{dx}}$ in the following cases:
x5 + y5 = 5xy
Draw a rough sketch to indicate the region bounded between the curve y2 = 4x and the line x = 3. Also, find the area of this region.
Without expanding, prove that:
$\begin{vmatrix}\text{a}&\text{b}&\text{c}\\\text{x}&\text{y}&\text{z}\\\text{p}&\text{q}&\text{r}\end{vmatrix}=\begin{vmatrix}\text{x}&\text{y}&\text{z}\\\text{p}&\text{q}&\text{r}\\\text{a}&\text{b}&\text{c}\end{vmatrix}=\begin{vmatrix}\text{y}&\text{b}&\text{q}\\\text{x}&\text{a}&\text{p}\\\text{z}&\text{c}&\text{r}\end{vmatrix}$
Evaluate the following integrals:
$\int^\limits{\frac{\pi}{6}}_{0}\cos^{-3}2\theta\sin2\theta\text{ d}\theta$
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.
Verify Lagrange's mean value theorem for the following function on the indicated intervals. find a point 'c' in the indicated interval as stated by the Lagrange's mean value theorem.
f(x) = (x - 1)(x - 2)(x - 3) on [0, 4]
If $\vec{\text{a}}\text{ and }\vec{\text{b}}$ are two non-collinear vectors having the same initial point. What are the vectors represented by $\vec{\text{a}}+\vec{\text{b}}\text{ and }\vec{\text{a}}-\vec{\text{b}}$.