The intermediate value theorem states that a continuous real-valued function on takes every value between and . To prove it, suppose and repeatedly bisect the interval, keeping endpoints whose function values bracket . The resulting nested closed intervals have lengths tending to zero and a common point by completeness of the real numbers. Both endpoint sequences tend to , so continuity implies . Endpoint values are immediate, and reversing the inequalities handles .
For the derivative assertion, put . The intermediate secant slope from endpoint derivatives can be constructed in three cases. If , take . If , the function
is continuous on : differentiability at supplies the endpoint limit, and differentiability elsewhere implies continuity. Since , the intermediate value theorem gives with . Take .
If , use instead
Its continuous endpoint extension satisfies , so there is with . Take . In every case,
The mean value theorem on this subinterval now gives
This proves the Darboux theorem for derivatives without assuming that is continuous.