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 all lines perpendicular to the line $5x + 2y + 7 = 0$ is

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

The differential equation of the family of circles whose center lies on the $X$-axis is

The differential equation formed by eliminating $A$ and $B$ from $A x^2 + B y^2 = 1$ is

The differential equation of all circles which pass through the origin and whose centres lie on the $y$-axis 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