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

Answer

We have,
$\frac{\text{dy}}{\text{dx}}=\text{y}\tan\text{x}-2\sin\text{x}$
$\frac{\text{dy}}{\text{dx}}-\text{y}\tan\text{x}=-2\sin\text{x}\ \dots(1)$
Clearly, it is a linear differential equation of the form
$\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
where
$\text{P}=-\tan\text{x}$
$\text{Q}=-2\sin\text{x}$
$\therefore$ I.F. $=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{-\int\tan\text{xdx}}$
$=\text{e}^{-\log|\sec\text{x}|}=\cos\text{x}$
Multiplying both sides of (1) by $\cos\text{x},$ we get
$\cos\text{x}\Big(\frac{\text{dy}}{\text{dx}}-\text{y}\tan\text{x}\Big)=-2\sin\text{x}\times\cos\text{x}$
$\Rightarrow\ \cos\text{x}\frac{\text{dy}}{\text{dx}}+\text{y}\sin\text{x}=-\sin2\text{x}$
Integrating both sides with respect to x, we get
$\text{y}\cos\text{x}=-\int\sin2\text{x dx + C}$
$\Rightarrow\ \text{y}\cos\text{x}=\frac{\cos2\text{x}}{2}+\text{C}$
$\Rightarrow\ \text{y}\cos\text{x}=\frac{1-2\sin^2\text{x}}{2}+\text{C}$
$\Rightarrow\ \text{y}\cos\text{x}=-\sin^2\text{x}+\frac{1}{2}+\text{C}$
$\Rightarrow\ \text{y}\cos\text{x}=-\sin^2\text{x}+\text{K}$ $\Big($where $\text{K}=\frac{1}2+\text{c}\Big)$
$\Rightarrow\ \text{y}=\sec\text{x}\big(-\sin^2\text{x}+\text{K}\big)$
Hence, $\text{y}=\sec\text{x}\big(-\sin^2\text{x}+\text{K}\big)$ is the required solution.

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

Using differentials, find the approximate values of the following:
$\frac{1}{(2.002)^2}$
Evalute the following integrals:
$\int\frac{\sin2\text{x}}{\text{a}^2+\text{b}^2\sin^2\text{x}}\text{dx}$
Find the slope of the normal to the curve $\text{x} =1-\text{a}\sin \theta,\text{y}=\text{b} \cos^2\theta \text{ at } \theta =\frac{\pi}{2}.$
Using differentials, find the approximate values of the following:
$(82)^{\frac{1}{4}}$
Differentiate $\frac{\text{x}}{\sin\text{x}}$ w.r.t. $\sin\text{x}.$
If $\text{y}=\tan^{-1}\Big(\frac{1-\text{x}}{1+\text{x}}\Big),$, find $\frac{\text{dy}}{\text{dx}}.$
Let $X$ be a discrete random variable whose probability distribution is defined as follows:
$\text{P}(\text{X}=\text{x})=\begin{cases}\text{k}(\text{x}+1) & \text{for}\text{ x}= 1,2,3,4\\2\text{kx} & \text{for}\text{ x } =5,6,7\\0&\text{otherwise} \end{cases}$
where k is a constant. Calculate:
  1. The value of A if $E(X) = 2.94$
  2. Variance of $X.$
  3. Standard deviation of $X.$
One bag contains $4$ white and $5$ black balls. Another bag contains $6$ white and $7$ black balls. A ball is transferred from first bag to the second bag and then a ball is drawn from the second bag. Find the probability that the ball drawn is white.
Evaluate the following integrals:
$\int\limits_{0}^{1}\text{x}\log(1+2\text{x})\text{dx}$
Find the vector and cartesian forms of the plane passing through the point (1, 2, -4) and parallel to the lines $\vec{\text{r}}=(\hat{\text{i}}+2\hat{\text{j}}-4\hat{\text{k}})+\lambda(2\hat{\text{i}}+3\hat{\text{j}}+6\hat{\text{k}})$ and $\vec{\text{r}}=(\hat{\text{i}}-3\hat{\text{j}}+5\hat{\text{k}})+\mu(\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}}).$ Also, find the distance of the point (9, -8, -10) from the plane thus obtained.