Is this function a convex function ?

Status
Not open for further replies.

mohit

Newbie level 6
Joined
Jan 9, 2006
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,373
Convex functions

Could anyone comment on the convexity of

f(x,y) = (x^2) * exp ...... i.e. x square into e to the power y.

I did try to find Hessian of the same and the value I get is :

Hessian(x,y) = -2 * x^2 * exp(2y).... which looks <= 0 for all x and y.

I assume this should imply f(x,y) is concave. However when I plot this function using a 3D graph plotter it seems convex .

try
https://www.livephysics.com/ptools/online-3d-function-grapher.php

for plotting function.

I am sure I am making a simple mistake or something.

Any help would be useful.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…