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}(1-\cos\theta),\text{y}=\text{a}(\theta+\sin\theta),$ prove that, $\frac{\text{d}^2\text{y}}{\text{dx}^2}=-\frac{1}{\text{a}}$ at $\theta=\frac{\pi}{2}.$
Find the value of k if the function: $f (x) = \begin{matrix} kx^{2}& x\geq 1 & \\ 4 & x< 1 & \\ \end{matrix} \text{is continuous at x = 1} $
Show that the vectors $2\hat{\text{i}}-3\hat{\text{j}}+4\hat{\text{k}}$ and $-4\hat{\text{i}}+6\hat{\text{j}}-8\hat{\text{k}}$ are collinear.
If $\begin{vmatrix}\text{a}&\text{b}-\text{y}&\text{c}-\text{z}\\\text{a}-\text{x}&\text{b}&\text{c}-\text{z}\\\text{a}-\text{x}&\text{b}-\text{y}&\text{c}\end{vmatrix}=0,$ then using properties of determinants, find the value of $\frac{\text{a}}{\text{x}}+\frac{\text{b}}{\text{y}}+\frac{\text{c}}{\text{z}},$ where $\text{x},\text{y},\text{z}\neq0.$
Show that $\text{f}(\text{x})=\sin\text{x}$ is increasing on $\Big(0,\frac{\pi}{2}\Big)$ and decreasing on $\Big(\frac{\pi}{2},\pi\Big)$ and neither increasing nor decreasing in $(0,\pi).$
Using the proprties of determinants in Exercise:
$\begin{vmatrix}\text{y}^2\text{z}^2&\text{yz}&\text{y}+\text{z}\\\text{z}^2\text{x}^2&\text{zx}&\text{z}+\text{x}\\\text{x}^2\text{y}^2&\text{xy}&\text{x}+\text{y}\end{vmatrix}=0$
Find the equations of the tangent and the normal to the following curves at the indicated points.
$\frac{\text{x}^2}{\text{a}^2}-\frac{\text{y}^2}{\text{b}^2}=1\text{ at }(\text{x}_0,\text{y}_0)$
Show that the function $\text{f}(\text{x})=\cot^{-1}(\sin\text{x}+\cos\text{x})$ is decreasing on $\Big(0,\frac{\pi}{4}\Big)$ and increasing on $\Big(\frac{\pi}{4},\frac{\pi}{2}\Big).$
A random variable $X$ has the following probability distribution:
$X$ $0$ $1$ $2$ $3$ $4$ $5$ $6$ $7$
$P(X)$ $0$ $k$ $2k$ $2k$ $3k$ $k^2$ $2k^2$ $7k^2+k$
Determine
  1. $k$
  2. $P(X < 3)$
  3. $P(X > 6)$
  4. $P(0 < X < 3)$
A firm manufactures two types of products $A$ and $B$ and sells them at a profit of Rs. 5 per unit of type $A$ and Rs 3 per unit of type $B$. Each product is processed on two machines $M_1$ and $M_2$. One unit of type $A$ requires one minute of processing time on $M_1$ and two minutes of processing time on $M_2$, whereas one unit of type $B$ requires one minute of processing time on $\mathrm{M}_1$ and one minute on $\mathrm{M}_2$. Machines $\mathrm{M}_1$ and $\mathrm{M}_2$ are respectively available for at most 5 hours and 6 hours in a day. Find out how many units of each type of product should the firm produce a day in order to maximize the profit. Solve the problem graphically.