on the RHS we only have a constant, but on the left hand side we have information about . Thinking, we could try different values to learn more information about at points within those intervals (however, you don't know the exact value of though).
Let's apply the MVT!
Examples
Let be differentiable on the interval . If for all then is constant. We use this idea of anti-derivation all the time, but using the Mean Value Theorem (MVT) we get that for free.
Proof
Take any and WLOG . Now since is differentiable on then it satisfies the properties for Mean Value Theorem (MVT). As such then such that:
But we know that (per our given) so then:
so since were arbitrary then all points of the function must be equal, so is constant.