Derivative is Zero Implies Constant Function

See Mean Value Theorem (MVT), which gives the following results:

Corollary

If g:I→R is differentiable on an interval I and satisfies g′(x)=0 for all x∈I then g(x)=k for some constant k∈R.

Proof

Take x,y∈I and suppose x<y. Apply the Mean Value Theorem (MVT) to g on the interval [x,y] to get that:

g′(c)=g(y)−g(x)y−x=0

Thus g(y)=g(x), but since x,y were arbitrary then set k=g(x)=g(y)=…, then it follows that g(x)=k for all x∈I.

☐

Corollary

If f,g are differentiable on an interval I and satisfy f′(x)=g′(x) for all x∈I then f(x)=g(x)+k for some constant k∈R.

Proof

Let h(x)=f(x)−g(x) and apply the previous corollary to the differentiable function h.

☐