I'm trying to calculate the limit of $(1 + x^2 + y^2)^\frac{1}{x^2 + y^2 + xy^2}$ as $(x,y) \rightarrow (0,0)$.
I know that the limit is supposed to be $e$, and I can arrive at this answer if I study the univariate limit by, for instance, setting $x=t, y=0$ and letting $t \rightarrow 0$ or vice versa.
I'm not sure how to calculate it for the multivariate case. I tried using polar coordinates $(x= r \cos{\theta}, y = r \sin{\theta})$ which gets me
$$ (1 + r^2)^{\frac{1}{r^2(1 + r \cos{\theta}\sin^2{\theta})}} $$, after symplifying the expression, but I don't know how to proceed from there. I assume that I am supposed to end up with an expression similar to $(1 + n)^\frac{1}{n} \rightarrow e$ as $n \rightarrow 0$.
From here
$$(1 + r^2)^{ \frac{1}{r^2(1 + r \cos{\theta}\sin^2{\theta})} }=e^{\frac{\log (1 + r^2)}{r^2(1 + r \cos{\theta}\sin^2{\theta})}}\to e$$
indeed
$$\frac{\log (1 + r^2)}{r^2(1 + r \cos{\theta}\sin^2{\theta})}=\frac{\log (1 + r^2)}{r^2}\frac{1}{1 + r \cos{\theta}\sin^2{\theta}}\to1\cdot1=1$$