Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Is this function a convex function?

Status
Not open for further replies.

mohit

Newbie level 6
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(y) ...... 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.
 

Re: Convex Functions

f(x,y)= x^2 * exp(y) is not convex (you can verify that if you connect points (1,10,f(1,10)) and (10,6,f(10,6)) then the center of this segment lies below the graph of f).
A function is convex if the Hessian matrix is positive definite - it is not enough to have positive determinant of the Hessian matrix.
In your case the Hessian matrix is not positive definite because the top left corner is positive, but the determinant of the whole matrix is <= 0.
See Wikipedia on Positive definite matrix, and on Hessian.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top