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

If $\text{A}=\begin{bmatrix}0&1&0\\0&0&1\\\text{p}&\text{q}&\text{r}\end{bmatrix},$ and I is the identity matrix of order 3, show that $A^3 = pI + qA + rA^2.$
If $\text{A}=\begin{bmatrix}1&5\\7&12\end{bmatrix}$ and $\text{B}=\begin{bmatrix}9&1\\7&8\end{bmatrix},$ find a matrix C such that 3A + 5B + 2C is a null matrix.
Find the points of discontinuity, if any of the following function:
$\text{f(x)}=\begin{cases}|\text{x}|+3,&\text{if }\text{ x}\geq-3\\-2\text{x},&\text{if }-3<\text{ x}<3\\6\text{x}+2,&\text{if }\text{ x}>3\end{cases}$
Show that area of the parallelogram whose diagonals ate given by $\vec{\text{a}}$ and $\vec{\text{b}}$ is $\frac{|\vec{\text{a}}\times\vec{\text{b}}|}{2}.$ Also, find the area of the parallelogram, whose diagonals are $2\hat{\text{i}}-\hat{\text{j}}+\hat{\text{k}}$ and $\hat{\text{i}}+3\hat{\text{j}}-\hat{\text{k}}.$
Show the solution zone of the following inequalities on a graph paper:
$5\text{x}+\text{y}\geq10$
$\text{x}+\text{y}\geq6$
$\text{x}+4\text{y}\geq12$
$\text{x}\geq,\text{y}\geq0$
Form the differential equation corresponding to $\text{y}^2-2\text{ay}+\text{x}^2=\text{a}^2$ by eliminating a.
The probability of a man hitting a target is 0.25. He shoots 7 times. What is the probability of his hitting at least twice?
Prove that $\text{f}(\text{x})=\sin\text{x}+\sqrt{3}\cos\text{x}$ has maximum value at $\text{x}=\frac{\pi}{6}$.
Verify the Rolle’s theorem for each of the functions:
$f(x) = x(x - 1)^2$ in $[0, 1].$
Evaluate the following intregals:
$\int\frac{1}{5+7\cos\text{x}+\sin\text{x}}\ \text{dx}$