Question
Solve the following initial value problems:
$\frac{\text{dy}}{\text{dx}}+2\text{y}=\text{e}^{-2\text{x}}\sin\text{x},\text{ y}(0)=0$

Answer

We have,
$\frac{\text{dy}}{\text{dx}}+2\text{y}=\text{e}^{-2\text{x}}\sin\text{x}\ ...(\text{i})$
Clearly, it is a linear differential equation of the form
$\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
Where $\text{P}=2$ and $\text{Q}=\text{e}^{-2\text{x}}\sin\text{x}$
$\therefore\text{ I.F.}=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{\int2\text{dx}}$
$=\text{e}^{2\text{x}}$
Multiplying both sides of (1) by $\text{I.F.}=\text{e}^{2\text{x}},$ we get
$\text{e}^{2\text{x}}\Big(\frac{\text{dy}}{\text{dx}}+2\text{y}\Big)=\text{e}^{2\text{x}}\text{e}^-{2\text{x}}\sin\text{x}$
$\Rightarrow\text{e}^{2\text{x}}\Big(\frac{\text{dy}}{\text{dx}}+2\text{y}\Big)=\sin\text{x}$
Integrating both sides with respect to x, we get
$\text{y}\text{e}^{2\text{x}}=\int\sin\text{x dx}+\text{C}$
$\Rightarrow\text{y}\text{e}^{2\text{x}}=-\cos\text{x}+\text{C}\ ....(\text{ii})$
Now,
$\text{y}(0)=0$
$\therefore\ 0\times\text{e}^0=-\cos0+\text{C}$
$\Rightarrow\text{C}=1$
Putting the value of C in (2), we get
$\text{y}\text{e}^{2\text{x}}=-\cos\text{x}+1$
$\Rightarrow\text{y}\text{e}^{2\text{x}}=1-\cos\text{x}$
Hence, $\text{y}\text{e}^{2\text{x}}=1-\cos\text{x}$ 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 definite integral $\int _ { 0 } ^ { 1 } x e ^ { x ^ { 2 } } d x.$
Evaluate the following integrals:
$\int\cos^{-1}(4\text{x}^3-3\text{x})\text{dx}$
Differentiate $\sin^{-1}\Big(2\text{x}\sqrt{1-\text{x}^2}\Big)$ with respect to $\sec^{-1}\Big(\frac{1}{\sqrt{1+\text{x}^2}}\Big),$ if:
$\text{x}\in\Big(0,\frac{1}{\sqrt{2}}\Big)$
Show that the line $\frac{\text{x}+3}{-3}=\frac{\text{y}-1}{1}=\frac{\text{z}-5}{5}$ and $\frac{\text{x}+1}{-1}=\frac{\text{y}-2}{2}=\frac{\text{z}-5}{5}$ are coplanar. Hence, find the equation of the plane containing these lines.
Find the equation of the plane through the points $(3, 4, 1)$ and $(0, 1, 0)$ and parallel to the line $\frac{\text{x}+3}{2}=\frac{\text{y}-3}{7}=\frac{\text{z}-2}{5}.$
A die is thrown 5 times. Find the probability that an odd number will come up exactly three times.
Find the Vector and Cartesian equations of the line passing through the point (1, 2, – 4) and perpendicular to the two lines $\frac{\text{x - 8}}{3} =\frac{\text{y + 19}}{-16}=\frac{\text{z - 10}}{7}\text{ and }\frac{\text{x - 15}}{3}= \frac{\text{y - 29}}{8}=\frac{\text{z - 5}}{-5}$.
If $x^y + y^x = a^b$, then find $\frac{\text{dy}}{\text{dx}}.$
Find the area of the bounded by the curve xy - 3x - 2y = 0, x-axis and the lins x = 3, x = 4.
A factory manufactures two types of screws A and B, each type requiring the use of two machines, an automatic and a hand-operated. It takes 4 minutes on the automatic and 6 minutes on the hand-operated machines to manufacture a packet of screws ‘A’ while it takes 6 minutes on the automatic and 3 minutes on the hand-operated machine to manufacture a packet of screws ‘B’. Each machine is available for at most 4 hours on any day. The manufacturer can sell a packet of screws ‘A’ at a profit of 70 paise and screws ‘B’ at a profit of Rs. 1. Assuming that he can sell all the screws he manufactures, how many packets of each type should the factory owner produce in a day in order to maximize his profit? Formulate the above LPP and solve it graphically and find the maximum profit.