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

Answer

We have,
$\text{y}'+\text{y}=\text{e}^{\text{x}}$
$\Rightarrow\frac{\text{dy}}{\text{dx}}+\text{y}=\text{e}^{\text{x}}\ ...(\text{1})$
Clearly, it is a linear differential equation of the form
$\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
Where $P = 1$ and $Q = e^x$
$\therefore\ \text{I.F.}=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{\int1\text{dx}}$
$=\text{e}^{\text{x}}$
Multiplying both sides of $(1)$ by $I.F. = e^x,$ we get
$\text{e}\Big(\frac{\text{dy}}{\text{dx}}+\text{y}\Big)=\text{e}^{\text{x}}\text{e}^{\text{x}}$
$\Rightarrow\text{e}^{\text{x}}\frac{\text{dy}}{\text{dx}}+\text{e}^{\text{x}}\text{y}=\text{e}^{2\text{x}}$
Integrating both sides with respect to $x,$ we get
$\text{y}\text{e}^{\text{x}}=\int\text{e}^{2\text{x}}\text{dx}+\text{C}$
$\Rightarrow\text{y}\text{e}^{\text{x}}=\frac{\text{e}^{2\text{x}}}{2}+\text{C}\ ...(\text{ii})$
Now,
$\text{y}(0)=\frac{1}{2}$
$\therefore\ \frac{1}{2}\text{e}^0=\frac{\text{e}^0}{2}+\text{C}$
$\Rightarrow\text{C}=0$
Putting the value of $C$ in $(2),$ we get
$\text{y}\text{e}^{\text{x}}=\frac{\text{e}^{2\text{x}}}{2}$
$\Rightarrow\text{e}^{\text{x}}=\frac{\text{e}^{\text{x}}}{2}$
Hence, $\text{y}=\frac{\text{e}^{\text{x}}}{2}$ 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 inverse of the matrix $\text{A}=\begin{bmatrix}\text{a} & \text{b} \\ \text{c} & \frac{1+\text{bc}}{\text{a}} \end{bmatrix}$ ans show that $aA^{-1} = (a^2 + bc + 1) I - aA.$
Differentiate the following functions with respect to x:
$\cos^{-1}\Big\{\sqrt{\frac{1+\text{x}}{2}}\Big\},-1<\text{x}<1$
Show that the four points A, B, C, D with position vectors $\vec{\text{a}},\ \vec{\text{b}},\ \vec{\text{c}},\ \vec{\text{d}}$ respectively such that $3\vec{\text{a}}-2\vec{\text{b}}+5\vec{\text{c}}-6\vec{\text{d}}=0$, are coplanar. Also, find the position vector of the point of intersection of the line segments AC and BD.
Solve the following differential equation:
$\cos^2(\text{x}-2\text{y}) = 1-2\frac{\text{dy}}{\text{dx}}$
$\text{If (x}-\text{a})^2+(\text{y}-\text{b})^2=\text{c}^2,$  for some c > 0 , prove that
$\frac{\Big[1+\Big(\frac{\text{dy}}{\text{dx}}\Big)^2\Big]^{\frac{3}{2}}}{\frac{\text{d}^2\text{y}}{\text{dx}^2}}$
is a constant independent of a and b.
Evaluate the following integrals as limit of sum:
$\int\limits^2_0(\text{x}+3)\text{dx}$
Differentiate $\sin^{-1}\Big(2\text{x}\sqrt{1-\text{x}^2}\Big)$ with respect to $\tan^{-1}\Big(\frac{\text{x}}{\sqrt{1-\text{x}^2}}\Big),$ if $-\frac{1}{\sqrt{2}}<\text{x}<\frac{1}{\sqrt{2}}$
Find the points of discontinuity, if any of the following function: $\text{f(x)}=\begin{cases}\text{x}^{10}-1,&\text{if }\text{ x}\leq1\\\text{x}^2,&\text{if }\text{ x}>1\end{cases}$
Find the shortest distance between the lines whose vector equations are:
$\vec{\text{r}}=(1-\text{t})\hat{\text{i}}+(\text{t}-2)\hat{\text{j}}+(3-2\text{t})\hat{\text{k}}\ \text{and}$
$\vec{\text{r}}=(\text{s}+1)\hat{\text{i}}+(2\text{s}-1)\hat{\text{j}}-(2\text{s}+1)\hat{\text{k}}$
Find the angle of intersecting of the following curves:
$\text{x}^2+\text{y}^2=2\text{x}$ and $\text{y}^2=8\text{x}$