compute the following limit:
$$\lim \frac{\cos(a+2x) - 2cos(a+x) + \cos(a)}{x^2}\ \mbox{as}\ x\to0.$$
How would I go about solving this problem? I have attempted to use trig identities (addition of angles) to try to simplify the problem, but it only seemed to make it worse... but without used ´Hospital
l'Hospital and using continuity of trigonometric functions:
$$\lim_{x\to 0}\frac{\cos(a+2x)-2\cos(a+x)+\cos a}{x^2}\stackrel{\text{l'H}}=\lim_{x\to 0}\frac{-\sin(a+2x)+\sin(a+x)}{x}\stackrel{\text{l'H}}=$$
$$=\lim_{x\to 0}\left(-2\cos(a+2x)+\cos(a+x)\right)=-\cos a$$