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

If $\text{f}\text{(x)}=\begin{cases}\frac{2^\text{z+2}-16}{4^\text{x}-16}, &\text{if x} \neq 2\\\text{k}, & \text{x} = 2\end{cases}$
is continuous at x = 2, Find k.
Differentiate $\tan^{-1}\Big(\frac{\text{x}-1}{\text{x}+1}\Big)$ with respect to $\sin^{-1}\big(3\text{x}-4\text{x}^3\big),$ if $-\frac{1}{2}<\text{x}<\frac{1}{2}$
Evaluate the following integrals:
$\int\frac{\text{e}^{\text{x}}}{\text{x}}\Big\{\text{x}(\log\text{x})^2+2\log\text{x}\Big\}\text{dx}$
Solve the following linear programming problem graphically.Minimise $\text{z = 3x + 5y}$
subject to the constraints
$\text{x + 2y}\geq 10$
$\text{x + y}\geq 6$
$\text{3x + y}\geq 8$
$\text{x, y}\geq 0.$
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}=\text{x}^2\cos^2\text{x}$
Find the condition for the following set of curves to intersect orthogonally
$\frac{\text{x}^2}{\text{a}^2}-\frac{\text{y}^2}{\text{b}^2}=1\text{ and }\text{xy}=\text{c}^2$
Verify Rolle's theorem of the following function on the indicated interval
$\text{f}(\text{x})=\frac{\text{x}}{2}-\sin\frac{\pi\text{x}}{6}\text{ on }[-1,0]$
Find the perpendicular distance of the point $(1, 0, 0)$ from the line $\frac{x-1}{2}=\frac{y+1}{-3}=\frac{z+10}{8}$. Also, find the coordinates of the foot of the perpendicular and the equation of the perpendicular.
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}$
Evaluate:
$\int\limits^{\pi}_{0}\frac{\text{x}\tan\text{x}}{\sec \text{x} . \text{cosec x}}$