Prove that, $\lim_{h\to 0}\frac{f(a+h)-f(a-h)}{2h}=f'(a)$ if $f'(x)$ is continuous at $a.$
This was how the question was presented in a regional book focusing upon Mean Value Theorems and no other details were given.
My solution is as follows:
We have, $$\lim_{x\to a}\frac{f(x)-f(a)}{x-a}=f'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}=\lim_{h\to 0}\frac{f(a-h)-f(a)}{-h}=\lim_{h\to 0}\frac{f(a)-f(a-h)}{h}.$$
We note that, $$\lim_{h\to 0}\frac{f(a+h)-f(a)-f(a-h)+f(a)}{h}=\lim_{h\to 0}\frac{f(a+h)-f(a-h)}{h}=2f'(a)\implies \lim_{h\to 0}\frac{f(a+h)-f(a-h)}{2h}=f'(a),$$ as required.
However, the solution given in the book is, as follows:
From Lagrange's Mean Value Theorem, we have, $f(a+h)=f(a)+hf'(a+\theta h),\theta\in (0,1)$ and $f(a)=f(a-h)+hf'(a-\theta ' h),\theta '\in (0,1).$
Adding these relations and rearranging we have, $$f(a+h)-f(a-h)=h(f'(a+\theta h)+f'(a-\theta ' h))\implies \frac{f(a+h)-f(a-h)}{2h}=\frac 12[f'(a+\theta h)+f'(a-\theta ' h)].$$
Taking limit $h\to 0$ on both sides, we have, $$\lim_{h\to 0}\frac{f(a+h)-f(a-h)}{2h}=\frac 12\lim_{h\to 0}[f'(a+\theta h)+f'(a-\theta ' h)]=\frac 12\times 2f'(a)=f'(a).$$
However, I feel the approach given in the book has a major flaw. First of all, how did they apply Lagrange's Mean Value Theorem just like that without checking whether $f$ is continuous at $[a,a+h]$ and $[a-h,a].$ Also, in order to apply this theorem we need to have $f$ being differentiable in $(a,a+h)$ and $(a-h,a).$ They never guaranteed such claims holding true. I think, this makes the proof given in the book incorrect.
Also, the information that, $f'(x)$ is continuous at $a$ seems totally useless and unnecessary!
Lastly, is my solution at the beginning a valid one?