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

Find $A^{-1}$, If $\text{A}=\begin{bmatrix}1&2&5\\ 1&-1&-1\\ 2&3&-1\end{bmatrix}$.
Hence solve the follwing system of linear equations:
$x + 2y +5z = 10, x- y - z = - 2, 2x + 3y - z = - 11$
For the matrices A and B, verify that $(AB)^T = B^TA^T$, where $\text{A}=\begin{bmatrix}1&3\\2&4\end{bmatrix},\text{B}=\begin{bmatrix}1&4\\2&5\end{bmatrix}$
A manufacturer makes two types A and B of tea-cups. Three machines are needed for the manufacture and the time in minutes required for each cup on the machines is given below:
  Machines
I II III
A 12 18 6
B 6 0 9
Each machine is available for a maximum of 6 hours per day. If the profit on each cup A is 75 paise and that on each cup B is 50 paise, show that 15 tea-cups of type A and 30 of type B should be manufactured in a day to get the maximum profit.
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}+\text{y}=\sin\text{x}$
A large window has the shape of a rectangle surmounted by an equilateral triangle. If the perimeter of the window is 12 metres find the dimensions of the rectangle will produce the largest area of the window.
The probability that a bulb produced by a factory will fuse after 150 days of use is 0.05. Find the probability that out of 5 such bulbs.
  1. None
  2. Not more than one
  3. More than one
  4. At least one
will fuse after 150 days of use.
In each of the show that the given differential equation is homogeneous and solve each of them.
$\text{x}\frac{\text{dy}}{\text{dx}}-\text{y}+\text{x}\sin\bigg(\frac{\text{y}}{\text{x}}\bigg)=0$
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^2- 1$ on $[2, 3]$
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{3}}_{\frac{\pi}{6}}\frac{\sqrt{\sin\text{x}}}{\sqrt{\sin\text{x}}+\sqrt{\cos\text{x}}}\text{ dx}$
Find the direction cosines of the line $\frac{4-\text{x}}{2}=\frac{\text{y}}{6}=\frac{1-\text{z}}{3}.$ Also, reduce it to vector form