Question:

Verify that the function \(y=a\cos x+b\sin x\), in which \(a,b\in R\), is a solution of the differential equation \(\dfrac{d^2y}{dx^2}+y=0\).

Show Hint

Differentiate twice and show y'' = −y.
Updated On: Sep 23, 2026
Show Solution
collegedunia
Verified By Collegedunia

Solution and Explanation

Step 1: First derivative:
\(y=a\cos x+b\sin x \Rightarrow \dfrac{dy}{dx}=-a\sin x+b\cos x\).

Step 2: Second derivative:
\(\dfrac{d^2y}{dx^2}=-a\cos x-b\sin x\).

Step 3: Comparing with y:
Notice \(\dfrac{d^2y}{dx^2}=-(a\cos x+b\sin x)=-y\).

Final Answer:
So \(\dfrac{d^2y}{dx^2}+y=-y+y=0\), confirming \(y=a\cos x+b\sin x\) solves the equation.\[ \boxed{\dfrac{d^2y}{dx^2}+y=0 \text{ holds}} \]
Was this answer helpful?
0
0