Drakkith said:
What I don't get is why the limit as x goes to 0 of sin(9x)/x is 9, but the limit of 1/cos(9x) is 1 and not 1/9. Would it make a difference if it was x/cos(9x) instead?
Because ##\cos(9x)## is not ##0## at ##x = 0##, you can simply plug in the value of ##0## to see that ##\lim_{x \to 0} 1/\cos(9x) = 1/1 = 1##. We can't do this for the ##\sin(9x)/x## because it is not defined for ##x = 0##.
Likewise, for ##\lim_{x \to 0} x/\cos(9x)##, we have ##\lim_{x \to 0} x/\cos(9x) = 0/1 = 0##
If you want an intuitive reason, it's because for ##x## close to ##0##, you may have learned that ##\sin(x) \approx x##. Then it makes sense that ##\lim_{x \to 0} \sin(9x)/x = 9##.
If you know L'Hôpital's rule, then this can also be seen, and there is also a geometric proof using the squeeze theorem to show the correct limit for your sine example, but honestly, the best thing to do is look at some graphs of the two.
Another intuitive approach: the cosine function is approaching ##1## as ##x \to 0##, so the ratio of ##\frac{k}{\cos(x)}## as ##x \to 0## will just be ##k## (there are no problems with dividing by zero.
Things become more tricky with the sine function, because it is approaching 0. If it were some constant k divided by the sine function, you can see that the limit would not exist, but because both the numerator and denominator are approaching 0, it's a bit more subtle than that, because it's possible for both of them to be approaching in such a way that they have a constant ratio for ##x## near ##0##.
If you have not covered L'Hôpital's rule yet, it will make more sense when you do.