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

Find the shortest distance between the following pairs of lines whose vector equation are:
$\vec{\text{r}}=\big(3\hat{\text{i}}+5\hat{\text{j}}+7\hat{\text{k}}\big)+\lambda\big(\hat{\text{i}}-2\hat{\text{j}}+7\hat{\text{k}}\big)$ and $\vec{\text{r}}=-\hat{\text{i}}-\hat{\text{j}}-\hat{\text{k}}+\mu\big(7\hat{\text{i}}-6\hat{\text{j}}+\hat{\text{k}}\big)$
Evaluate the following intregals:
$\int\frac{1}{4\sin^2\text{x}+5\cos^2\text{x}}\text{ dx}$
If $\text{y}=\text{x}\sin\text{y},$ prove that $\frac{\text{dy}}{\text{dx}}=\frac{\text{y}}{\text{x}(1-\text{x}\cos\text{y})}$
A letter is known to have come either from $\ce{LONDON}$ or $\ce{CLIFTON}.$ On the envelope just two consecutive letters $\ce{ON}$ are visible. What is the probability that the letter has come from, $\ce{LONDON}.$
Let $A = R -\{3\}$ and $B = R -\{1\}$. Consider the function f : $A \Rightarrow B$ defined by $f(x)=\left(\frac{x-2}{x-3}\right)$. Is $f$ one$-$one and onto? Justify your answer.
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}=\frac{\text{y}}{\text{x}}\{\log\text{y}-\log\text{x}+1\}$
Find the area enclosed by the curve $y = |x - 1|$ and $y = -|x - 1 | + 1.$
Evaluate the following integrals:
$\int\limits_{0}^{1}\tan^{-1}\text{x dx}$
Find the points of discontinuity, if any of the following function:
$\text{f(x)}=\begin{cases}|\text{x}-3|,&\text{if }\text{ x}\geq1\\\frac{\text{x}^2}{4}-\frac{3\text{x}}{2}+\frac{13}{4},&\text{if }\text{ x}<1\end{cases}$
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{2}}_0\frac{\text{a}\sin\text{x}+\text{b}\sin\text{x}}{\sin\text{x}+\cos\text{x}}\text{ dx}$