If f(x) and f’(x) are differentiable at x = c, then the necessary condition for f(c) to be an extremum of f(x) is -
f’(c) = 0
We know that if a function has an extremum at a point x = a and also the function is differentiable at x = a then the necessary condition would be f’(c) = 0. Notice that this is only necessary condition and not sufficient, meaning if f’(c) = 0 that doesn’t imply that “c” is an extrema. For example - f(x)=x3f′(x)=3×2f′(0)=0 But we know that f(x) doesn’t have any extrema at x = 0.