Question
Solve the following initial value problems:
$\frac{\text{dy}}{\text{dx}}+2\text{y}=\text{e}^{-2\text{x}}\sin\text{x},\text{ y}(0)=0$

Answer

We have,
$\frac{\text{dy}}{\text{dx}}+2\text{y}=\text{e}^{-2\text{x}}\sin\text{x}\ ...(\text{i})$
Clearly, it is a linear differential equation of the form
$\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
Where $\text{P}=2$ and $\text{Q}=\text{e}^{-2\text{x}}\sin\text{x}$
$\therefore\text{ I.F.}=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{\int2\text{dx}}$
$=\text{e}^{2\text{x}}$
Multiplying both sides of (1) by $\text{I.F.}=\text{e}^{2\text{x}},$ we get
$\text{e}^{2\text{x}}\Big(\frac{\text{dy}}{\text{dx}}+2\text{y}\Big)=\text{e}^{2\text{x}}\text{e}^-{2\text{x}}\sin\text{x}$
$\Rightarrow\text{e}^{2\text{x}}\Big(\frac{\text{dy}}{\text{dx}}+2\text{y}\Big)=\sin\text{x}$
Integrating both sides with respect to x, we get
$\text{y}\text{e}^{2\text{x}}=\int\sin\text{x dx}+\text{C}$
$\Rightarrow\text{y}\text{e}^{2\text{x}}=-\cos\text{x}+\text{C}\ ....(\text{ii})$
Now,
$\text{y}(0)=0$
$\therefore\ 0\times\text{e}^0=-\cos0+\text{C}$
$\Rightarrow\text{C}=1$
Putting the value of C in (2), we get
$\text{y}\text{e}^{2\text{x}}=-\cos\text{x}+1$
$\Rightarrow\text{y}\text{e}^{2\text{x}}=1-\cos\text{x}$
Hence, $\text{y}\text{e}^{2\text{x}}=1-\cos\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 angle of intersection of the curves y2 = 4ax and x2 = 4by.
Solve the following differential equation:
$(\text{x}+\text{y}+1)\frac{\text{dy}}{\text{dx}} = 1$
If $\text{x}=\Big(\text{t}+\frac{1}{\text{t}}\Big)^\text{a},\text{y}=\text{a}^{\text{t}+\frac{1}{\text{t}}},$ find $\frac{\text{dy}}{\text{dx}}$
Evaluate the following integrals:

$\int\sin\text{x}\log(\cos\text{x})\text{dx}$

If four points A, B, C and D with position vectors $4\hat{\text{i}}+3\hat{\text{j}},5\hat{\text{i}}+\text{x}\hat{\text{j}}+7\hat{\text{k}},5\hat{\text{i}}+3\hat{\text{j}}$ and $7\hat{\text{i}}+6\hat{\text{j}}+\hat{\text{k}}$ respectively are coplanar, then find the value of x.
Evaluate the following integrals:
$\int\text{e}^{2\text{x}}\sin\text{x}\cos\text{x }\text{dx}$
Evaluate the following integrals:
$\int^\limits1_0\frac{1-\text{x}^2}{\text{x}^4+\text{x}^2+1}\text{ dx}$
Verify Rolle's theorem of the following function on the indicated interval
$\text{f}(\text{x})=\sin^4\text{x}+\cos^4\text{x}\text{ on }\Big[0,\frac{\pi}{2}\Big]$
The function f(x) is befined as follows: $\text{f(x)}=\begin{cases}\text{x}^2+\text{ax}+\text{b},&0\leq\text{x}<2\\3\text{x}+2,&2\leq\text{x}\leq4\\2\text{ax}+5\text{b},&4<\text{x}\leq8\end{cases}$ if is continuous on [0, 8] find the value of a and b.
A shopkeeper has 3 varieties of pens 'A', 'B' and 'C'. Meenu purchased 1 pen of each variety for a total of Rs 21. Jeevan purchased 4 pens of 'A' variety 3 pens of 'B' variety and 2 pens of 'C' variety for Rs 60. While Shikha purchased 6 pens of 'A' variety, 2 pens of 'B' variety and 3 pens of 'C' variety for Rs 70. Using matrix method, find cost of each variety of pen.