For the following question verify that the given function (explicit or implicit) is a solution of the corresponding differential equation.
y=x2+2x+C and y′−2x−2=0
Given, y=x2+2x+C
On differentiating both sides w.r.t. x, we get
⇒dydx=y′=ddx(x2+2x+C)⇒y′=2x+2
But we have to verify, y'-2x-2=0 ....(i)
On substituting the value of y' in Eq. (i), we get
LHS=y'-2x-2=2x+2-2x-2=0=RHS
Hence, y=x2+2x+C is a solution of the given differential equation.