Prove the following simple version of L'H\^opital's rule. Suppose f:(a,b)→R and g:(a,b)→R are differentiable functions whose derivatives f′ and g′ are continuous functions. Suppose that at c∈(a,b), f(c)=0, g(c)=0, g′(x)=0 for all x∈(a,b), and g(x)=0 whenever x=c. Note that the limit of f′(x)/g′(x) as x goes to c exists. Show that
x→climg(x)f(x)=x→climg′(x)f′(x).