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

By computing the shortest distance determine whether the following pairs of lines intersect or not:
$\vec{\text{r}}=\big(\hat{\text{i}}-\hat{\text{j}}\big)+\lambda\big(2\hat{\text{i}}+\hat{\text{k}}\big)$ and $\vec{\text{r}}=\big(2\hat{\text{i}}-\hat{\text{j}}\big)+\mu\big(\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}}\big)$
If $\text{y}=\sin^{-1}\Big(\frac{\text{x}}{1+\text{x}^2}\Big)+\cos^{-1}\Big(\frac{1}{\sqrt{1+\text{x}^2}}\Big), 0<\text{x}<\infty$ prove that $\frac{\text{dy}}{\text{dx}}=\frac{4}{1+\text{x}^2}$
Find the area of the region enclosed by the parabola $x^2 = y,$ the line $y = x + 2$ and $x-$axis.
Find the differential equation of the family of curve $\text{y}=\text{Ae}^\text{2x}+\text{Be}^{-2\text{x}},$ where A and B are arbitrary constants.
If either $\vec{a}=\vec{0}\ \ \text{or}\ \ \vec{b}=\vec{0},\ \ \text{then}\ \ \vec{a}\times\vec{b}=\vec{0}.$ Is the converse true? Justify your answer with an example.
Show that the following systems of linear equations has infinite number of solutions and solve:
x - y + z = 3,
2x + y - z = 2,
-x - 2y + 2z = 1
If $\text{y}=\text{e}^{\text{x}^{\text{e}^\text{x}}}+\text{x}^{\text{e}^{\text{e}^\text{x}}}+\text{e}^{\text{x}^{\text{x}^{\text{e}}}},$ prove that $\frac{\text{dy}}{\text{dx}}=\text{e}^{\text{x}^{\text{e}^\text{x}}}\times\text{x}^{\text{e}^{\text{x}}}\Big\{\frac{\text{e}^\text{x}}{\text{x}}+\text{e}^\text{x}\log\text{x}\Big\}+\text{e}^{\text{x}^{\text{e}^{\text{x}}}}\times\text{e}^{\text{e}^\text{x}}\Big\{\frac{1}{\text{x}}+\text{e}^\text{x}\times\log\text{x}\Big\}+\text{e}^{\text{x}^{\text{x}^\text{e}}}\text{x}^{\text{x}^{\text{e}}}\times\text{x}^{\text{e}-1}\Big\{\text{x}+\text{e}\log\text{x}\Big\}$
Solve the following systems of homogeneous linear equations by matrix method:
3x + y - 2z = 0
x + y + z = 0
x - 2y + z = 0
Evaluate the following integrals:
$\int\frac{1}{\sin^4\text{x}+\sin^2\text{x}\cos^2\text{x}+\cos^4\text{x}}\ \text{dx}$
If $\hat{\text{a}}$ and $\hat{\text{b}}$ are unit vectors inclined at an angle $\theta$, prove that$\tan\frac{\theta}{2}=\frac{\big|\hat{\text{a}}-\hat{\text{b}}\big|}{\big|\hat{\text{a}}+\hat{\text{b}}\big|}$