For each of the exercises given below,verify that the given function (implicit or explicit) is a solution of the corresponding differential equation.
$y=e^{x}(a \cos x+b \sin x) \quad: \frac{d^{2} y}{d x^{2}}-2 \frac{d y}{d x}+2 y=0$

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(N/A) Given function: $y=e^{x}(a \cos x+b \sin x) = ae^{x} \cos x + be^{x} \sin x$.
Differentiating with respect to $x$:
$\frac{dy}{dx} = a(e^{x} \cos x - e^{x} \sin x) + b(e^{x} \sin x + e^{x} \cos x)$
$\frac{dy}{dx} = e^{x}[(a+b) \cos x + (b-a) \sin x]$.
Differentiating again with respect to $x$:
$\frac{d^{2}y}{dx^{2}} = \frac{d}{dx} \{e^{x}[(a+b) \cos x + (b-a) \sin x]\}$
$\frac{d^{2}y}{dx^{2}} = e^{x}[(a+b) \cos x + (b-a) \sin x] + e^{x}[-(a+b) \sin x + (b-a) \cos x]$
$\frac{d^{2}y}{dx^{2}} = e^{x}[(a+b+b-a) \cos x + (b-a-a-b) \sin x]$
$\frac{d^{2}y}{dx^{2}} = e^{x}[2b \cos x - 2a \sin x]$.
Substituting $\frac{d^{2}y}{dx^{2}}$,$\frac{dy}{dx}$,and $y$ into the $L.H.S.$ of the differential equation:
$L.H.S. = \frac{d^{2}y}{dx^{2}} - 2\frac{dy}{dx} + 2y$
$= e^{x}[2b \cos x - 2a \sin x] - 2e^{x}[(a+b) \cos x + (b-a) \sin x] + 2e^{x}[a \cos x + b \sin x]$
$= e^{x}[2b \cos x - 2a \sin x - 2a \cos x - 2b \sin x + 2b \sin x - 2a \cos x + 2a \cos x + 2b \sin x]$
$= e^{x}[(2b - 2a - 2b + 2a) \cos x + (-2a - 2b + 2b + 2a) \sin x]$
$= e^{x}[0 \cos x + 0 \sin x] = 0 = R.H.S.$
Thus,the given function is a solution of the differential equation.

Explore More

Similar Questions

Form the differential equation of the family of circles touching the $x$-axis at the origin.

The differential equation of the family of curves $y = a e^x + b x e^x + c x^2 e^x$,where $a, b, c$ are arbitrary constants,is

The differential equation of all straight lines passing through the origin is

If the differential equation obtained by eliminating $A$ and $B$ from $y = (\sin^{-1} x)^2 + A \cos^{-1} x + B$ is $(a - x^2) y'' - x y' = b$,then $\frac{b + a}{b - a} =$

The differential equation of all circles having center on the $x$-axis and touching the $y$-axis at the origin is:

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo