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 = ex
$\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. = ex, 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

If $\cos\text{y}=\text{x}\cos(\text{a}+\text{y}),$ where $\cos\text{a}\neq\pm1,$ prove that $\frac{\text{dy}}{\text{dx}}=\frac{\cos^2(\text{a}+\text{y})}{\sin\text{a}}$
Radium decomposes at a rate proportional to the quantity of radium present. It is found that in 25 years, approximately 1.1% of a certain quantity of radium has decomposed. Determine approximately how long it will take for one-half of the original amount of radium to decompose?
Find all points of discontinuity of f, where f is defined by:
$\text{f(x)}= \begin{cases}\text{x} + 1,\ \ \text{if x}\geq 1 \\\text{x}^2 + 1,\ \text{if x}<1\end{cases}$
Differentiate $\sqrt{\tan\text{ x}}$ w.r.t. x from first principles.
If $\text{f}\text{(x)}=\begin{cases}\frac{\text{x}^2-1}{\text{x}-1},& \text{for }\text{ x}\neq1 \\2,&\text{for }\text{ x}=1\end{cases}$ Find whether f (x) is continuous at x = 1.
Solve the matrix equations:
$\begin{bmatrix}1&2&1\end{bmatrix}\begin{bmatrix}1&2&0\\2&0&1\\1&0&2\end{bmatrix}\begin{bmatrix}0\\2\\\text{x}\end{bmatrix}=0$
$\text{If} \overrightarrow{a} \times \overrightarrow{b} = \overrightarrow{c} \times \overrightarrow{d} and \overrightarrow{a} \times\overrightarrow{c} = \overrightarrow{b} \times\overrightarrow{d},$ show that $\overrightarrow{a} - \overrightarrow{d}$ is parallel to $\overrightarrow{b}-\overrightarrow{c},$ where $\overrightarrow{a} \neq\overrightarrow{d} and \overrightarrow{b}\neq\overrightarrow{c}.$
Evaluate the following integrals:
$\int(4\text{x}+2)\sqrt{\text{x}^2+\text{x}+1}\text{ dx}$
Find $\frac{\text{dy}}{\text{dx}}$ of the functions expressed in parametric:
$\text{x}=3\cos\theta-2\cos^3\theta,\text{ y}=3\sin\theta-2\sin^3\theta.$
If $\text{A}=\begin{bmatrix}\text{ab}&\text{b}^2\\-\text{a}^2&-\text{ab}\end{bmatrix},$ show that A2 = 0