So I was again looking through the homepage of YouTube to see if there were any math equations that I thought that I would be able to solve, and I got lucky and found this equation by Cipher$$\text{Evaluate }\lim_{x\to0}\frac{2-\cos(2x)-\cos(4x)}{x^2}$$which I thought I might be able to solve. Here is my attempt at evaluating the limit:$$\text{Since I know that plugging in }0\text{ for }x\text{ will get me}$$$$\lim_{x=0}\frac{2-\cos(0)-\cos(0)}{0^2}\text{ }\longrightarrow\text{ }\frac{2-1-1}{0}\text{ }\longrightarrow\text{ }\frac{0}{0}$$$$\text{which is undefined, so I need to take the left hand and right hand limits}$$$$\text{Right hand limit: }\lim_{x\to0^+}\frac{2-\cos(2x)-\cos(4x)}{x^2}$$
| $x$ | $y$ |
|---|---|
| $0.01$ | $\approx8$ |
| $0.001$ | $\approx9$ |
| $0.0001$ | $\approx10$ |
| $0.00001$ | $\approx10$ |
Now, taking the left hand limit$$\lim_{x\to0^-}\frac{2-\cos(2x)-\cos(4x)}{x^2}$$
| $x$ | $y$ |
|---|---|
| $-0.01$ | $\approx8$ |
| $-0.001$ | $\approx9$ |
| $-0.0001$ | $\approx10$ |
| $-0.00001$ | $\approx10$ |
We see that we get the same thing, therefore, the limit of $$\frac{2-\cos(2x)-\cos(4x)}{x^2}$$as $x$ approaches $0$, although undefined at $0$, is $\approx10$.$$\text{My question}$$
Is my solution correct, or is there anything that I could do to evaluate the limit more easily? I am only looking to see if the overall evaluation is correct.
Your numerical evaluation of the limit is pointing towards the correct solution of $10$. To obtain the limit note that as $x\to 0$ $$ \cos x\sim1-\frac{x^2}{2}+\mathcal O(x^4). $$ So as $x\to 0$: $$ \frac{2-\cos 2x-\cos 4x}{x^2}\sim\frac{2-1+\frac{(2x)^2}{2}-1+\frac{(4x)^2}{2}+\mathcal O(x^4)}{x^2}=10+\mathcal O(x^2). $$ Taking the limit, the $\mathcal O(x^2)$ term vanishes giving $$ \lim_{x\to0}\frac{2-\cos 2x-\cos 4x}{x^2}=10. $$