Every derivative has the intermediate-value property, even when the derivative is discontinuous.
Let for a function differentiable on a neighborhood of . If , use the whole interval. If , the continuous extension of takes values and at the endpoints, so the intermediate value theorem supplies a secant of slope starting at . If , use the continuous extension of and obtain a secant ending at . The mean value theorem then produces an interior derivative equal to , without requiring a continuous derivative.