Question
Verify that the function $y=e^{x}(a \cos x+b \sin x)$ (implicit or explicit) is a solution of the differential equation $\frac{d^{2} y}{d x^{2}}-2 \frac{d y}{d x}+2 y=0$ 

Answer

It is given that y = ex(a.cosx + bsinx) = a.excosx + b.exsinx 
Now, differentiating both sides w.r.t. x, we get,
$\frac{d y}{d x}=a \frac{d}{d x}\left(e^{x} \cos x\right)+b \frac{d}{d x}\left(e^{x} \sin x\right)$ 
$\Rightarrow \frac{d y}{d x}=a\left(e^{x} \cos x-e^{x} \sin x\right)+b \cdot\left(e^{x} \sin x+e^{x} \cos x\right)$ 
$\Rightarrow \frac{d y}{d x}=(a+b) e^{x} \cos x+(b-a) e^{x} \sin x$ 
Now, again differentiating both sides w.r.t. x, we get,
$\frac{d^{2} y}{d x^{2}}=(a+b) \cdot \frac{d}{d x}\left(e^{x} \cos x\right)+(b-a) \frac{d}{d x}\left(e^{x} \sin x\right)$ 
= $(a+b) \cdot\left[e^{x} \cos x-e^{x} \sin x\right]+(b-a)\left[e^{x} \sin x+e^{x} \cos x\right]$ 
= $\mathrm{e}^{\mathrm{x}}[\mathrm{a.cosx}-\mathrm{a.sinx}+\mathrm{b.cosx}-\mathrm{b.sinx}+\mathrm{b.sinx}+\mathrm{b.cosx}-\mathrm{a.sinx}-\mathrm{a.cosx}]$ 
= $\left[2 \mathrm{e}^{\mathrm{x}}(\mathrm{b.cosx}-\mathrm{a.sinx})\right]$ 
Now, Substituting the values of $\frac{d y}{d x}$ and $\frac{d^{2} y}{d x^{2}}$ in the given differential equations, we get,
LHS = $=\frac{d^{2} y}{d x^{2}}+2 \frac{d y}{d x}+2 y$ 
= 2ex(b cos x - a sin x) -2ex[(a + b)cosx + (b - a ) sinx] + 2ex(a cos x + b sin x)
=ex[(2b cos x - 2a sin x) - (2a cos x + 2b cosx) - (2b sinx - 2a sin x) + (2a cosx + 2b sin x)]
= ex[(2b - 2a - 2b + 2a)cosx] + ex[(-2a - 2b + 2a + 2b) sinx]
= 0 = RHS.
Therefore, the given function is the solution of the corresponding differential equation.

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