Optimization in Several Variables

soe236
Messages
22
Reaction score
0
F(x,y) = (2*y+1)*e^(x^2-y)
Find critical point and prove there is only one.
Use second derivative test to determine nature of crit. pt.


I know the procedure in solving it: set partial derivatives to zero and solve resulting equations. And by second derivative test, if D>0, f(a,b) is local min/max; D<0, (a,b) is saddle point. if f_xx(a,b)>0, f(a,b) is min
where D=D(a,b)=f_xx(a,b)f_yy(a,b)-f_xy(a,b)^2

I have no idea how to get the partial derivatives and start the problem. Any help will be appreciated, thanks.
 
Physics news on Phys.org
To take a partial derivative, you just treat one of either x or y as a constant, and differentiate with respect to the other one. So for example if the function was f(x,y) = x2y2 + x3 the partial derivative with respect to x is

2xy2 + 3x2

and with respect to y

2yx2
 
Office_Shredder said:
To take a partial derivative, you just treat one of either x or y as a constant, and differentiate with respect to the other one. So for example if the function was f(x,y) = x2y2 + x3 the partial derivative with respect to x is

2xy2 + 3x2

and with respect to y

2yx2

Well yea I know that.. I meant I did not know how to get the partials specifically for the function I posted above : F(x,y) = (2*y+1)*e^(x^2-y).
Is dF/dx = (2*y+1)*e^(x^2-y)*2*x ? and dF/dy = ?
 
Yes. To find dF/dy, use the product rule. What are d(2y+1)/dy and de^(x^2-y)/y separately?
 
HallsofIvy said:
Yes. To find dF/dy, use the product rule. What are d(2y+1)/dy and de^(x^2-y)/y separately?

d(2y+1)/dy= 2
de^(x^2-y)/dy = -e^(x^2-y)
so by product rule, dF/dy= 2*e^(x^2-y) ?
 
The product rule is d(f*g)/dy = df/dy*g + dg/dy*f not df/dy*dg/dy
 
So dF/dy= (2y+1)*(-e^(x^2-y) + 2*(e^(x^2-y)) ?
 
soe236 said:
So dF/dy= (2y+1)*(-e^(x^2-y) + 2*(e^(x^2-y)) ?
Technically speaking, the two first derivatives are partial derivatives \frac{\partial{F}}{\partial{x}} and \frac{\partial{F}}{\partial{y}}, also written as F_x and F_y.
 
Back
Top