I need to find the following limit:
$$ \lim_{(x,y) \to (0,0)} \frac{x^2+y^2}{1-\cos x\cos y}$$
My approach to find the limit is to first plug in the point, this doesn't work as the function is not continuous at that point. My next step is to notice that there are functions of $\cos$ of $x$ and of $y$ separately which means that I can Taylor expand and this is a very close approximation to the original function and we can therefore treat it as the actual function. So I Taylor expand both $\cos x$ and $\cos y$ to two terms to get the new limit:
$$ \lim_{(x,y) \to (0,0)} \frac{x^2+y^2}{1-((1-\frac{x^2}{2})(1-\frac{y^2}{2}))}$$
This simplifies to :
$$ \lim_{(x,y) \to (0,0)} \frac{x^2+y^2}{\frac{x^2+y^2}{2}-\frac{x^2y^2}{4} }$$
$$ \lim_{(x,y) \to (0,0)} \frac{x^2+y^2}{x^2+y^2} \frac{1}{\frac{1}{2}-\frac{x^2y^2}{4(x^2+y^2)} }$$
the term
$$ -\frac{x^2y^2}{4(x^2+y^2)} $$ goes to zero and so the limit goes to $2$. Can someone check my work please, also I Taylor expanded both $\cos x$ and $\cos y$ to the same amount of terms, does it matter to how many terms I expand is there some unwritten rule about this since I notice that it affects the outcome. Also let me know if there is an alternative approach to solve this limit and how it is justified in order for me to get a better understanding of how to approach several variable limits. Thank you for your time and help :)
All your steps are correct, and the limit does converge to $2$. Although you only expanded to $2$ terms, the highest power of $x$ and $y$ in the denominator is $4$, compared to only $2$ in the numerator. So there is no problem with your work.
Side note: This is like simplifying a quotient of two rational expressions, where you can just take the highest coefficient of the numerator and denominator to find the limit at infinity. With the fraction $\frac{x^2y^2}{4(x^2+y^2)}$, $x^2$ and $y^2$ are multiplied on the top, but only added on the bottom, so the limit will tend to $0$.