Is there any reason that this generalization of the mean value theorem would fail?
Let A be a subset of Rn that is differentiably connected, and let f : A --> R be continuously differentiable at every point in A. If x and y are two points in A then there exists a point c in A such that
f(y)-f(x) = (grad(f(c)))*(y-x)
It seems like this would work to me, however every generalization I've run into specifies that A must be open, so I assume if it failed it would be on account of that, however I can't figure out why.
Thanks