4

my task is to figure out the critical points of $f(x,y)=e^y(x^4-x^2+y)$, $\ $$\mathbb{R}^2 \rightarrow \mathbb{R}$, and show which of them is a maximum or minimum. As far as I got, I've shown that the critical points are:

1.: $(0,-1)$ which is neither max. nor min. (char. pol. of Hessian is indefinite)

2.: $\left(\frac{1}{ \sqrt2},-\frac{3}{4}\right)$, which is a local minimum and

3.: $\left(-\frac{1}{ \sqrt2},-\frac{3}{4}\right)$ which is the second local minimum.

Moving towards my question, is there any way to easily show if any global maximum or minimum exists (in general and/or concerning this example)? I’ve used the char. poly. of the Hessian, is there any faster possibility to finding local min./max.?

Maazul
  • 2,498
Josh
  • 43

1 Answers1

2

First find the limit as x and y approach infinity. In single variable functions, you only have to check to "ends", $-\infty$ and $\infty$. In functions of two variables, there are four, $x\to-\infty$, $x\to\infty$, $y\to-\infty$, and $y\to\infty$.

$$\lim_{x\to-\infty}f(x,y)=\infty$$

$$\lim_{x\to\infty}f(x,y)=\infty$$

$$\lim_{y\to-\infty}f(x,y)=-\lim_{y\to\infty}\frac{e^{-y}}{\frac{1}{y}}=0$$

$$\lim_{y\to\infty}f(x,y)=\infty$$

Evaluate $f(x,y)$ at the critical points you calculated and compare them to these values.

  • $f(0,-1)= -e^{-1}$,$f(\left(\frac{1}{ \sqrt2},-\frac{3}{4}\right))= -e^{- \frac{3}{4} }$. This means the values of f(x,y) at the critical points aren't equal to these limits, so I can conclude that there is non global max./min.? – Josh May 25 '13 at 14:59
  • @Josh It would appear that $-e^{-\frac{3}{4}}$ is the global minimum and $\infty$ is the global maximum. Are you sure the Hessian at $(0,−1)$ is indefinite? I just checked, and I'm getting that the Hessian at $(0,-1)$ is negative semi-definite. – rurouniwallace May 25 '13 at 15:23
  • Well, I calculated the eigenvalues $\lambda_1 = \frac{1}{e}$ and $\lambda_2 = - \frac{2}{e}$ for the char. pol. of the Hessian at (0,-1). WolframAlpha also tells me that there are just two local minima( $\left(-\frac{1}{ \sqrt2},-\frac{3}{4}\right)$ and $\left(\frac{1}{ \sqrt2},-\frac{3}{4}\right)$). – Josh May 25 '13 at 15:30
  • @Josh Ok, I was just wondering because I tried it and got that it was negative semi-definite, but it doesn't really matter since $-e^{-1}$ isn't a minimum. So since the only other three critical values are $-e^{-1}$, $0$, and $\infty$, the global minimum is...? – rurouniwallace May 25 '13 at 15:35
  • I'd say $-e^{-1}$? I'm still a little bit confused: the step I have to make is evaluating f(x,y) at the critical points and also the limits? What tells me then if global min./max. exists? – Josh May 25 '13 at 15:41
  • @Josh Evaluate $f(x,y)$ at all the critical points. Out of all of the results, if the smallest is anything other than $-\infty$, then a global minimum exists. If the largest is anything other than $\infty$, then a global maximum exists. Out of $-e^{-\frac{3}{4}}$, $0$, and $\infty$, which is the largest, and which is the smallest? – rurouniwallace May 25 '13 at 15:46
  • the smallest is $-e^{-\frac{3}{4}}$, the largest is $\infty$ – Josh May 25 '13 at 15:56
  • @Josh Correct. So given what I said in the previous comment, what can you conclude about the global min and max? – rurouniwallace May 25 '13 at 15:59
  • I can conclude that non glocal max exists and the global min is $e^{-\frac{3}{4}}$. Is there any reason that WolframAlpha gives the ouput "non global max or min exists" in this case? – Josh May 25 '13 at 16:08
  • @Josh I'm not entirely sure, but I believe they mean at least one local min and local max exists that is not a global min or max. $-e^{\frac{3}{4}}$ is the global minimum, and there is no global maximum. – rurouniwallace May 25 '13 at 16:29
  • Okay, I see. Thanks for your help! – Josh May 25 '13 at 16:42
  • @Josh glad to help :-) – rurouniwallace May 25 '13 at 16:42