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 points of local maxima or local minima and corresponding local maximum and local minimum values of the following functions. Also, find the points of inflection,
$f(x) = x^3 - 2ax^3 + a^2x$
Evaluate the following integrals:$\int\limits^{\pi}_0\frac{\text{x}\sin\text{x}}{1+\sin\text{x}}\text{ dx}$
Show that $\text{f}\text{(x)}=\begin{cases}\frac{\sin 3\text{x}}{\tan2\text{x}},&\text{if } \text{x}<0\\\frac{3}{2},&\text{if }\text{x} = 0\\\frac{\log(1+3\text{x})}{\text{e}^{2\text{x}}},&\text{if}\text{ x}>0\end{cases}$ is discontinuous at x = 0.
At every point on a curve the slope is the sum of the abscissa and the product of the ordinate and the abscissa, and the curve passes through (0, 1). Find the equation of the curve.
Maximize : z = 7x + 11y subject to 3x + 5y ≤ 26 5x + 3y ≤ 30, x ≥ 0, y ≥ 0.
Using integration find the area of the region bounded by the curve $\text{y}=\sqrt{4-\text{x}^2},\text{ x}^2+\text{y}^2-4\text{x}=0$ and the x-axis.
In a hospital, there are 20 kidney dialysis machines and that the chance of any one of them to be out of service during a day is 0.02. Determine the probability that exactly 3 machines will be out of service on the same day.
Evaluate the following integrals:$\int_{0}^\limits{\frac{\pi}{4}}\big(\text{a}^2\cos^2\text{x}+\text{b}^2\sin^2\text{x}\big)\text{dx}$
Find the area enclosed by the curve $y = -x^2$ and the strainght line $x + y + 2 = 0.$
Differentiate the following functions with respect to x:
$\log\sqrt{\frac{\text{x}-1}{\text{x}+1}}$