Let a,b be real numbers with a<b in the order of the ordered field R, let [a,b] be the closed interval determined by a and b, regarded as a subset of the real line (R,dR), and let the codomain R carry the same metric dR. Write (a,b) for {x∈R:a<x<b}; every x∈(a,b) is an interior point of the interval [a,b], since a,b∈[a,b] and a<x<b.
Let f:[a,b]→R be continuous on [a,b] and differentiable at every point of (a,b).
Then there exists c∈(a,b) such that
f′(c)=b−af(b)−f(a).