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

Find the equation of the plane that contains the point (1, -1, 2) and is perpendicular to each of the planes 2x + 3y - 2z = 5 and x + 2y - 3z = 8.
If $\text{A}=\begin{bmatrix}1&0&2\\0&2&1\\2&0&3\end{bmatrix},$ then show that A is a root of the polynomial $f(x) = x^3 - 6x^2 + 7x + 2.$
Prove using vector: the quadrilateral obtained by joining mid-points of adjacent sides of a rectangle is a rhombus.
Find the intervals in which the following functions are increasing or decreasing.
$\text{f}(\text{x})=5\text{x}^{\frac{3}{2}}-3\text{x}^{\frac{5}{2}},\text{x}>0$
Evaluate the following integrals:
$\int\sqrt{1+\text{x}-2\text{x}^2}\text{dx}$
Evaluate the following integrals:
$\int\text{e}^{2\text{x}}\sin(3\text{x}+1)\text{dx}$
The rate of increase in the number of bacteria in a certain bacteria culture is proportional to the number present. Given the number triples in $5$ hrs, find how many bacteria will be present after $10$ hours. Also find the time necessary for the number of bacteria to be $10$ times the number of initial present.
If Q is the foot of the perpendicular from P(2, 4, 3) on the line joining the points A(1, 2, 4) and B(3, 4, 5), find coordinates of Q.
Find the slopes of the tangent and the normal to the following curves at the indicated points:
$\text{x}=\text{a}(\theta-\sin\theta),\text{y}=\text{a}(1-\cos\theta)\ \text{at}\ \theta=\frac{-\pi}{2}$
If $\text{y}\log(1+\cos\text{x}),$ prove that $\frac{\text{d}^3\text{y}}{\text{dx}^3}+\frac{\text{d}^\text{y}}{\text{dx}^2}.\frac{\text{d}\text{y}}{\text{dx}}=0$