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

Using elementary operations, find the inverse of the following matrix:$\begin{pmatrix} -1 & 1 & 2 \\ 1 & 2 & 3 \\ 3 & 1 & 1 \end{pmatrix}$
Show that if a matrix A is invertible, then A is non-singular.
Let $\vec a = \hat i + 4\hat j + 2\hat k$, $\vec b = 3\hat i - 2\hat j + 7\hat k$ and $\vec c = 2\hat i - \hat j + 4\hat k$. Find a vector $\vec d$ which is perpendicular to both $\vec a$ and $\vec b$, and $\vec c.\vec d = 15$.
Evaluate the following integrals:
$\int_{0}^\limits{{\pi}}\frac{1}{5+3\cos\text{x}}\text{ dx}$
A diet for a sick person must contain at least 4000 units of vitamins, 50 units of minerals and 1400 of calories. Two foods A and B, are available at a cost of Rs 4 and Rs 3 per unit respectively. If one unit of A contains 200 units of vitamin, 1 unit of mineral and 40 calories and one unit of food B contains 100 units of vitamin, 2 units of minerals and 40 calories, find what combination of foods should be used to have the least cost?
Solve the following systems of linear equations by cramer's rule:
9x + 5y = 10,
3x - 2y = 8
Evaluate the following intregals:
$\int\frac{3}{(1-\text{x})(1+\text{x}^2)}\ \text{dx}$
If $\text{A}=\begin{bmatrix}\cos2\theta&\sin2\theta\\-\sin2\theta&\cos2\theta\end{bmatrix},$ find $A^2.$
From a lot of 10 bulbs, which includes 3 defectives, a sample of 2 bulbs is drawn at random. Find the probability distribution of the number of defective bulbs.
At what points on the curve $y = 2x^2 - x + 1$ is the tangent parallel to the line $y = 3x + 4?$