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 of $3y = \sqrt{x + c}$ is

The general solution of the differential equation of all circles having center at $A(-1, 2)$ is $ . . . . . . $.

If the degree of the differential equation corresponding to the family of curves $y=ax+\frac{1}{a}$ (where $a \neq 0$ is an arbitrary constant) is $r$ and its order is $m$,then the solution of $\frac{dy}{dx}=\frac{y}{2x}, y(1)=\sqrt{r+m}$ is

The differential equation obtained by eliminating $A$ and $B$ from the equation $y = A \cos \omega t + B \sin \omega t$ is

If $x^2+y^2=1$,then

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