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

Verify Lagrange's mean value theorem for the following function on the indicated intervals. find a point $'c\ '$ in the indicated interval as stated by the Lagrange's mean value theorem. $f(x) = x^{3 }- 5x^2 - 3x$ on $[1, 3]$
Find the image of the point (0, 0, 0) in the plane 3x + 4y - 6z + 1 = 0.
Prove that the curves $y^2=4 x$ and $x^2=4 y$ divide the area of the square bounded by sides $x=0, x=4, y=4$ and $y$
$=0$ into three equal parts.
Verify Rolle's theorem of the following function on the indicated interval
$\text{f}(\text{x})=\cos2{\text{x}}\text{ on }[0,\pi]$
Let $S$ be a relation on the set $R$ of all real numbers defined by $S = \{(a, b) \in R \times R: a^2 + b^2 = 1\}$ prove that $S$ is not an equivalence relation on $R$.
$A$ factory has three machines $X, Y$ and $Z$ producing $1000, 2000$ and $3000$ bolts per day respectively. The machine $X$ produces $1\%$ defective bolts $,Y$ produces $1.5\%$ and $Z$ produces $2\%$ defective bolts. At the end of a day, a bolt is drawn at random and is found to be defective. What is the probability that this defective bolt has been produced by machine $X$?
Show that $\text{y}=\text{A}\cos2\text{x}+\text{B}\sin2\text{x}$ is a solution of the differential equation $\frac{\text{d}^2\text{y}}{\text{dx}^2}+4\text{y}=0$
Find the general solution of the differential equation $\text{x}\cos\Big(\frac{\text{y}}{\text{x}}\Big)\frac{\text{dy}}{\text{dx}}=\text{y}\cos\Big(\frac{\text{y}}{\text{x}}\Big)+\text{x}.$
Evaluate the following intregals:
$\int\frac{\text{x}^2+1}{(\text{x}^2+4)(\text{x}^2+25)}\ \text{dx}$
Evaluate the following integrals:$\int\frac{(1-\text{x}^2)}{\text{x}(1-2\text{x})}\text{ dx}$