State and prove Rolle's theorem.
Let f and g be two continuous, real-valued functions on a closed, bounded interval [a,b] that are differentiable on the open interval (a,b). By considering the determinant
ϕ(x)=∣∣∣∣∣∣∣1f(a)g(a)1f(b)g(b)0f(x)g(x)∣∣∣∣∣∣∣=g(x)(f(b)−f(a))−f(x)(g(b)−g(a))
or otherwise, show that there is a point c∈(a,b) with
f′(c)(g(b)−g(a))=g′(c)(f(b)−f(a))
Suppose that f,g:(0,∞)→R are differentiable functions with f(x)→0 and g(x)→0 as x→0. Prove carefully that if the limitx→0g′(x)f′(x)=ℓ exists and is finite, then the limit limx→0g(x)f(x) also exists and equals ℓ.