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

$\begin{vmatrix}\text{b}+\text{c}&\text{a}&\text{a}\\\text{b}&\text{c}+\text{a}&\text{b}\\\text{c}&\text{c}&\text{a}+\text{b}\end{vmatrix}=4\text{abc}$
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}=\text{x}^2\cos^2\text{x}$
A small firm manufactures gold rings and chains. The total number of rings and chains manufactured per day is at most 24. It takes 1 hour to make a ring and 30 minutes to make a chain. The maximum number of hours available per day is 16. If the profit on a ring is Rs. 300 and that on a chain is Rs. 190, find the number of rings and chains that should be manufactured per day, so as to earn the maximum profit. Make it as an LPP and solve it graphically.
Form the differential equation of the family of circles in the second quadrant and touching the coordinate axes.
If $\text{A}=\begin{bmatrix}2&3\\1&2\end{bmatrix}$ and $\text{I}=\begin{bmatrix}1&0\\0&1\end{bmatrix},$ then find $\lambda,\mu$ so that $\text{A}^2=\lambda\text{A}+\mu\text{I}$
Evaluate the following integrals as limit of sum:
$\int\limits^{2}_{0}\big(\text{x}^2+2\big)\text{dx}$
Prove that the curves $x = y^2 $ and $xy = k$ cut at right angles if $8k^2 = 1.$
The slope of the tangent at a point P(x, y) on a curve is $\frac{-\text{x}}{\text{y}}$. If the curve passs es through the point (3, -4). Find the equation of the curve.
Evaluate the following intregals:
$\int\frac{2\text{x}+1}{(\text{x}-2)(\text{x}-3)}\ \text{dx}$
Evaluate: $\int\limits_0^{\frac{\pi}{4}}\frac{\sin\text{x}+\cos\text{x}}{16+9\sin2\text{x}}$