Question
Solve the following initial value problems:
$\frac{\text{dy}}{\text{dx}}+2\text{y}\tan\text{x}=\sin\text{x},\text{ y}=0,\text{ when x}=\frac{\pi}{3}$

Answer

We have,
$\frac{\text{dy}}{\text{dx}}+2\text{y}\tan\text{x}=\sin\text{x}\ ...(1)$
Clearly, it is a linear differential equation of the form
$\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
Where $\text{P}=2\tan\text{x}$ and $\text{Q}=\sin\text{x}$
$\therefore\text{ I.F.}=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{2\int\tan\text{x dx}}$
$=\text{e}^{2\log|\sec\text{x}|}$
$=\sec^2\text{x}$
Multiplying both sides of (1) by $\text{I.F.}=\sec^2\text{x},$ we get
$\sec^2\text{x}\Big(\frac{\text{dy}}{\text{dx}}+2\text{y}\tan\text{x}\Big)=\sec^2\text{x}\times\sin\text{x}$
$\sec^2\text{x}\Big(\frac{\text{dy}}{\text{dx}}+2\text{y}\tan\text{x}\Big)=\tan\text{x }\sec\text{x}$
Integrating both sides with respect to x, we get
$\text{y}\sec^2\text{x}=\int\tan\text{x}\sec\text{x dx}+\text{C}$
$\text{y}\sec^2\text{x}=\sec{\text{x}}+\text{C}\ ...(2)$
Now,
$\text{y}\Big(\frac{\pi}{3}\Big)=0$
$\therefore\ 0\Big(\sec\frac{\pi}{3}\Big)^2=\sec\frac{\pi}{3}+\text{C}$
$\Rightarrow\text{C}=-2$
Putting the value of C in (2), we get
$\text{y}\sec^2\text{x}=\sec\text{x}-2$
$\Rightarrow\text{y}=\cos\text{x}-2\cos^2\text{x}$
Hence, $\text{y}=\cos\text{x}-2\cos^2\text{x}$ 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

Solve the following differential equation $(\text{x}+2\text{y}^2)\frac{\text{dy}}{\text{dx}}=\text{y},$ given that when x = 2, y = 1.
Differentiate $\sin^{-1}\Big\{\frac{2^{\text{x}+1}\times3^\text{x}}{1+(36)^\text{x}}\Big\}$ with respect to x:
Find all points of discontinuity of $f,$ where $f$ is defined by: $\text{f(x)}= \begin{cases}\text{x}^{10} - 1,\ \ \text{if x}\leq 1 \\\text{x}^2,\ \ \ \ \ \ \ \ \ \ \text{if x}>1\end{cases}$ 
For each of the differential equations given in find the general solution: 
$\cos^2\text{x}\frac{\text{dy}}{\text{dx}}+\text{y}=\tan\text{x}\Big(0\leq\text{x}<\frac{\pi}{2}\Big)$
Find the particular solution of the differential equation $\frac{\text{dy}}{\text{dx}}=-4\text{xy}^2$ given that $\text{y}=1.$ when $\text{x}=0.$
Evaluate the following integrals:
$\int\frac{1}{\sin^4\text{x}\cos^2\text{x}}\text{dx}$
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}}.$
Find the area of a parallelogram ABCD whose side AB and the diagonal AC are given by the vectors $3\hat{\text{i}} + \hat{\text{j}}+4\hat{\text{k}}$ and $4\hat{\text{i}} + 5\hat{\text{k}} $ respectively.
Solve the following equation:
$\text{x}\frac{\text{dy}}{\text{dx}}+\text{y}=\text{y}^2$
If A and B are two events such that,
$\text{P(A)}=\frac{7}{13},\text{P(B)}=\frac{9}{13}$ and $\text{P}(\text{A}\cap\text{B})=\frac{4}{13},$ then find $\text{P}(\overline{\text{A}}|\text{B}).$