a) Let h(x)=f(x)−g(x). Then h′(x)=f′(x)−g′(x) and for x>a
x−ah(x)−h(a)=h′(y)for some y∈(a,x). But h′(y)=f′(y)−g′(y)>0 so
x−af(x)−g(x)−f(a)+g(a)>0⟹f(x)>g(x)since f(a)=g(a). Likewise, for x<a we have
a−xh(a)−h(x)=h′(z)for some z∈(x,a) so
a−xf(a)−g(a)−f(x)+g(x)>0⟹g(x)>f(x).b) Let f(x)=2x−1 and g(x)=x. Then f′(x)=2>1=g′(x) for all x. Clearly f(0)=−1=0=g(0). However,
f(41)=−21<41=g(41).c) Suppose for contradiction that f(y)≤g(y) for some y=x0>a. Let h(x)=f(x)−g(x). By the mean value theorem, for any x>a we have
x−ah(x)−h(a)=h′(z)=f′(z)−g′(z)≥0for some z∈(a,x). But this implies that f(x)≥g(x) for any x>a. Hence, we can trivially eliminate the possibility that f(y)<g(y) and that leaves us with f(y)=g(y), equivalently, h(y)=0.
We now assert that h(x)=0 for all x∈[a,y]. Suppose for contradiction this were not so: h(t)=0 for some t∈(a,y). We trivially discount h(t)<0 as we did above. If h(t)>0, then
−h(t)<0⟹h(y)−h(t)<0⟹y−th(y)−h(t)<0,and by the mean value theorem h′(z)<0 for some z∈(t,y) which contradicts the premise that h′≥0.
Hence, h(x)=0 for all x∈[a,y]. But this implies that h′(x)=0 for all x∈[a,x0]⊆[a,y] and therefore f′(x0)=g′(x0).