Verify that the function $y=a \cos x+b \sin x$,where $a, b \in \mathbb{R}$,is a solution of the differential equation $\frac{d^{2} y}{d x^{2}}+y=0$.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
The given function is $y=a \cos x+b \sin x$ $(1)$.
Differentiating both sides of equation $(1)$ with respect to $x$,we get:
$\frac{d y}{d x} = -a \sin x + b \cos x$.
Differentiating again with respect to $x$,we get:
$\frac{d^{2} y}{d x^{2}} = -a \cos x - b \sin x$.
Now,substitute the values of $\frac{d^{2} y}{d x^{2}}$ and $y$ into the given differential equation:
$L.H.S. = \frac{d^{2} y}{d x^{2}} + y = (-a \cos x - b \sin x) + (a \cos x + b \sin x)$.
Simplifying the expression:
$L.H.S. = -a \cos x - b \sin x + a \cos x + b \sin x = 0$.
Since $L.H.S. = R.H.S. = 0$,the given function is indeed a solution of the differential equation.

Explore More

Similar Questions

The differential equation representing the family of circles of constant radius $r$ is

The differential equation corresponding to the primitive $y = e^{mx}$ is obtained by eliminating the arbitrary constant $m$. What is the resulting differential equation?

The differential equation of all parabolas whose axis is the $y$-axis is:

$y = ax + b$ is

Form the differential equation representing the family of curves $y=a \sin (x+b),$ where $a$ and $b$ are arbitrary constants.

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