In each of the question verify that the given functions (explicit or implicit) is a solution of the corresponding differential equation:
y = cos x + C : y′ + sin x = 0
It is given that y = cosx + C
Now, differentiating both sides w.r.t. x, we get,
⇒ y’ = -sinx
Now, Substituting the values of y’ in the given differential equations, we get,
y’ + sinx = -sinx + sinx = 0 = RHS.
Therefore, the given function is the solution of the corresponding differential equation.