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

Evaluate the following integrals:
$\int\limits^{\frac{\pi}{3}}_{\frac{\pi}{6}}\frac{1}{1+\sqrt{\tan\text{x}}}\text{ dx}$
Discuss the applicability of Rolle’s theorem on the function given by.
$\text{f(x)}=\begin{cases}\text{x}^2+1,&\text{if }0\leq\text{x}\leq1\\3-\text{x},&\text{if }1\leq\text{x}\leq2\end{cases}$
Using integration, find the area of the triangular region whose sides have the equations y = 2x + 1, y = 3x + 1 and x = 4.
If $\text{x}=\text{a}(\theta-\sin\theta),\text{y}=\text{a}(1+\cos\theta)$ find $\frac{\text{d}^2\text{y}}{\text{dx}^2}$
Find the distance between the lines $l_1$ and $l_2$ given by$\vec{\text{r}}=\hat{\text{i}}+2\hat{\text{j}}-4\hat{\text{k}}+\lambda\big(2\hat{\text{i}}+3\hat{\text{j}}+6\hat{\text{k}}\big)$ and, $\vec{\text{r}}=3\hat{\text{i}}+3\hat{\text{j}}-5\hat{\text{k}}+\mu\big(2\hat{\text{i}}+3\hat{\text{j}}+6\hat{\text{k}}\big)$
Solve the following differential equations:$\frac{\text{dy}}{\text{dx}}=2\text{e}^{2\text{x}}\text{y}^2,\text{y}(0)=-1$
Show that $\text{A}=\begin{bmatrix} -8 & 5 \\ 2 & 4 \end{bmatrix}$ sastisfies the equation $A^2 + 4A - 42I = 0.$ Hence find $A^{-1}.$
If $\cos\text{y}=\text{x}\cos(\text{a}+\text{y}),$ with $\cos\text{a}\neq\pm1,$ prove that $\frac{\text{dy}}{\text{dx}}=\frac{\cos^2(\text{a}+\text{y})}{\sin\text{a}}$
Find the position vector of the food of perpendicular and the perpendicular distance from the point $P$ with position vector $2\hat{\text{i}}+3\hat{\text{j}}+4\hat{\text{k}}$ to the plane $\vec{\text{r}}.(2\hat{\text{i}}+\hat{\text{j}}+3\hat{\text{k}})-26=0.$ Also find image or $P$ in the plane.
A bag contains $(2n + 1)$ coins. It is known that $n$ of these coins have a head on both sides where as the rest of the coins are fair. A coin is picked up at random from the bag and is tossed. If the probability that the toss results in a head is $\frac{31}{42},$ determine the value of $n.$