I am trying to find the local extrema of this function:
$f(x,y)=e^{\frac{1}{x^2 + 2 + \cos^2 y-2 \cos y}}$
I know what I am supposed to do (finding critical points and studying the Hessian). But, since the derivatives of this function are quite long, I was wondering if there might be a more efficient way to do it.
I have thought that, since $g(t)=e^t $ strictly increasing and $h(t)=\frac{1}{t}$ is decreasing, I may just study the critical points of the function $l(x,y)=x^2 + 2 + \cos^2 y-2\cos y$. However, I am not sure whether this would be correct, my main concern is with saddle points.
It would be very helpful if anyone could tell me if that way of doing things is correct and, in case it is not correct, why so.
Thanks
A function $f:\mathbb R^2 \to \mathbb R$ having a local extremum in a point $(a,b)$ means that there exists a neighbourhoud $U$ of the point such that either $f(a,b) < f(x,y)$ or $f(a,b) > f(x,y)$ for all $(x,y) \in U \setminus \{(a,b)\}$. Note that, if $g:\mathbb R \to \mathbb R$ is a increasing function $f(a,b) < f(x,y) \iff g(f(a,b)) < g(f(a,b))$ and if $h:\mathbb R \to \mathbb R$ is decreasing, $f(a,b) < f(x,y) \iff h(f(a,b)) < h(f(a,b))$. Your reasoning is thus correct.
In fact, when finding extrema, it is often a good idea to try to reason as far as you can go with increasing and decreasing functions. This has the advantage that it simplifies the calculations. Moreover, note that this also works if $g$ and $h$ are not differentiable. In some cases this method can thus be more general then calculating the gradient of the original function.