H S Therefore, the given function is a solution of the given differential equation Example 3 Verify that the function y = a cos x + b sin x, where, a, b ∈ R is a solution
of the differential equation 
2
2
0
d y
y
dx
+
=
Solution The given function is
y = a cos x + b sin x