(a) State Rolle's theorem. Show that if f:R→R is N+1 times differentiable and x∈R then
f(x)=f(0)+f′(0)x+2!f′′(0)x2+…+N!f(N)(0)xN+(N+1)!f(N+1)(θx)xN+1
for some 0<θ<1. Hence, or otherwise, show that if f′(x)=0 for all x∈R then f is constant.
(b) Let s:R→R and c:R→R be differentiable functions such that
s′(x)=c(x),c′(x)=−s(x),s(0)=0 and c(0)=1
Prove that (i) s(x)c(a−x)+c(x)s(a−x) is independent of x, (ii) s(x+y)=s(x)c(y)+c(x)s(y), (iii) s(x)2+c(x)2=1.
Show that c(1)>0 and c(2)<0. Deduce there exists 1<k<2 such that s(2k)=c(k)=0 and s(x+4k)=s(x).