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 equations:
$\text{x}\frac{\text{dy}}{\text{dx}}+\cot\text{y}=0,$ given that $\text{y}=\frac{\pi}{4},$ when $\text{x}=\sqrt{2}.$
If $\vec{\text{a}},\vec{\text{b}}$ are the position vectors of A, B respectively, find the position vector of a point C in AB produced such that AC = 3AB and that a point D in BA produced such that BD = 2BA.
Evaluate the following integrals:
$\int(2\text{x}+3)\sqrt{\text{x}^2+4\text{x}+3}\text{dx}$
If $(\text{x}-\text{y})\text{e}^{\frac{\text{x}}{\text{x}-\text{y}}}=\text{a},$ prove that $\text{y}\frac{\text{dy}}{\text{dx}}+\text{x}=2\text{y}$
Find the shortest distance between the following pairs of lines whose cartesian equation are:
$\frac{\text{x}-1}{2}=\frac{\text{y}+1}{3}=\text{z}$ and $\frac{\text{x}+2}{3}=\frac{\text{y}-2}{1};\text{z}=2$
Differentiate the following functions with respect to x:
$\text{x}^{(\sin\text{x}-\cos\text{x})}+\frac{\text{x}^2-1}{\text{x}^2+1}$
Evaluvate the following intregals:
$\int\frac{3+2\cos\text{x}+4\sin\text{x}}{2\sin\text{x}+\cos\text{x}+3}\ \text{dx}$
Find the equation of the plane passing through the point (-1, 3, 2) and perpendicular to each of the planes x + 2y + 3z = 5 and 3x + 3y + z = 0.
Solve the following linear programming problem graphically:
Maximise Z = 7x + 10y
subject to the constraints
4x + 6y $\leq$ 240
6x + 3y $\leq$ 240
x $\geq$ 10
x $\geq$ 0, y $\geq$ 0
Find $\text{y}=\text{Ae}^{-\text{kt}}\cos\text({pt}+\text{c})$prove that $\frac{\text{d}^2\text{y}}{\text{dt}^2}+2\text{k}\frac{\text{dy}}{\text{dt}}+\text{n}^2\text{y}=0,$Where $\text{n}^2=\text{p}^2+\text{k}^2.$