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

In the following cases, determine whether the given planes are parallel or perpendicular, and in case they are neither, find the angles between them.
4x + 8y + z - 8 = 0 and y + z - 4 = 0
Solve the following differential equation:
$\text{cosec }x\ \log\text{ y}\frac{\text{dy}}{\text{d}x}+x^2\text{y}^2=0$
Two tailors, A and B earn Rs. 15 and Rs. 20 per day respectively. A can stitch 6 shirts and 4 pants  while B can stitch 10 shirts and 4 pants per day. How many days shall each work if it is desired to produce (at least) 60 shirts and 32 pants at a minimum labour cost?
Given $\vec{\text{a}}=\frac{1}{7}\big(2\hat{\text{i}}+3\hat{\text{j}}+6\hat{\text{k}}\big),\vec{\text{b}}=\frac{1}{7}\big(3\hat{\text{i}}-6\hat{\text{j}}+2\hat{\text{k}}\big),$

$\vec{\text{c}}=\frac{1}{7}\big(6\hat{\text{i}}+2\hat{\text{j}}-3\hat{\text{k}}\big),\hat{\text{i}},\hat{\text{j}},\hat{\text{k}}$

being a right handed orthogonal system of unit vector in spece, show that $\vec{\text{a}},\vec{\text{b}},\vec{\text{c}}$ is also another system.

Find the image of the point with position vector $3\hat{\text{i}}+\hat{\text{j}}+2\hat{\text{k}}$ in the plane $\vec{\text{r}}. (2\hat{\text{i}}-\hat{\text{j}}+\hat{\text{k}})=4.$ Also, find the position vectors of the foot of the prependicular and the equation of the perpendicular line through $3\hat{\text{i}}+\hat{\text{j}}+2\hat{\text{k}}.$
Suppose a girl throw a die. If she gets 1 or 2, she tosses a coin three times and notes the number of tails. If she gets 3, 4, 5 or 6, she tosses a coin once and notes whether a 'head' or 'tail' is obtained exactly one 'tail', what is the probability that she threw 3, 4, 5 or 6 with the die?
If $\text{y}=\text{x}\sin(\text{a}+\text{y}),$ prove that $\frac{\text{dx}}{\text{dx}}=\frac{\sin^2(\text{a}+\text{y})}{\sin(\text{a}+\text{y})-\text{y}\cos(\text{a}+\text{y})}$
Find the area of the region common to the parabolas 4y2 = 9x and 3x2 = 16y.
Find the point on the curvey y= 2x which is at a minimum distance from the point (1, 4).
Evaluate the following integrals:
$\int\cos^3\sqrt{\text{x}}\text{dx}$