Given $f:\mathbb{R}^2 \rightarrow \mathbb{R}$ defined by $$f(x,y) = (ax^2+by^2)\exp(-x^2-y^2)$$
where $a > b > 0$, how can I show $f$ attains a global maximum? It is easy to show that it attains a local maximum via the Hessian matrix and I suspect its local maxima coincide with its global maxima. This function is reminiscent of the $\mathbb{R} \rightarrow \mathbb{R}$ function $x\exp(-x)$ and I am wondering if there is a simple change of variables to simplify the problem to showing that this $\mathbb{R} \rightarrow \mathbb{R}$ function attains its global maximum. I am looking for some help in this regard.