MHB Why does the following have no maximums or minimums

  • Thread starter Thread starter brunette15
  • Start date Start date
Click For Summary
The function p(x,y) = (2-x²) exp(-y) has been analyzed for critical points using its partial derivatives. The correct partial derivative with respect to x is dp/dx = -2x exp(-y), not 2x exp(-y). Setting the conditions for maxima and minima leads to a quadratic equation with a negative discriminant, indicating no real solutions exist. Consequently, there are no maximum or minimum points for the function. The confusion arose from an error in calculating the partial derivative.
brunette15
Messages
58
Reaction score
0
I have the following function:

p(x,y) = (2-x2) exp(-y)

I have found the partial derivatives:
dp/dx = 2x*exp(-y)

dp/dy = -2*exp(-y) + x2exp(-y)

By solving these i found the points x = 0, and \pm 20.5.However, the answer i have been given is that there is no maximums and minimums.

Can someone please clarify where i am going wrong.

Thanks in advance (Happy)
 
Physics news on Phys.org
Check your result for $$\pd{p}{x}$$...and then equating the partials you should find you have a quadratic in $x$ with a negative discriminant.
 
brunette15 said:
I have the following function:

p(x,y) = (2-x2) exp(-y)

I have found the partial derivatives:
dp/dx = 2x*exp(-y)

dp/dy = -2*exp(-y) + x2exp(-y)

By solving these i found the points x = 0, and \pm 20.5.However, the answer i have been given is that there is no maximums and minimums.

Can someone please clarify where i am going wrong.

Thanks in advance (Happy)
Because $e^{- y}$ never vanishes you can divide by it and the conditions fom maximum or minimum become...

$\displaystyle 2\ x = x^{2}-2 = 0\ (1)$

... and there is no value of x satisfiyng (1)...

Kind regards

$\chi$ $\sigma$
 
brunette15 said:
I have the following function:

p(x,y) = (2-x2) exp(-y)

I have found the partial derivatives:
dp/dx = 2x*exp(-y)

dp/dy = -2*exp(-y) + x2exp(-y)

By solving these i found the points x = 0, and \pm 20.5.However, the answer i have been given is that there is no maximums and minimums.

Can someone please clarify where i am going wrong.

Thanks in advance (Happy)

You have a small error. $\displaystyle \begin{align*} \frac{\partial p}{\partial x } = -2x\,\mathrm{e}^{-y} \end{align*}$, not $\displaystyle \begin{align*} 2x\,\mathrm{e}^{-y} \end{align*}$...
 
There are probably loads of proofs of this online, but I do not want to cheat. Here is my attempt: Convexity says that $$f(\lambda a + (1-\lambda)b) \leq \lambda f(a) + (1-\lambda) f(b)$$ $$f(b + \lambda(a-b)) \leq f(b) + \lambda (f(a) - f(b))$$ We know from the intermediate value theorem that there exists a ##c \in (b,a)## such that $$\frac{f(a) - f(b)}{a-b} = f'(c).$$ Hence $$f(b + \lambda(a-b)) \leq f(b) + \lambda (a - b) f'(c))$$ $$\frac{f(b + \lambda(a-b)) - f(b)}{\lambda(a-b)}...

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
585
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K