1 / 9

Convex and Concave Functions

Convex and Concave Functions. • How to determine if a function f ( x 1 , x 2 ,… x n )is convex or concave • Use the Hessian matrix and determine principal minors. Note: H will always be a square symmetric matrix. Convex and Concave Functions. Example:. [ 4 ] = 4. H 1 =. 4 0

Download Presentation

Convex and Concave Functions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Convex and Concave Functions • How to determine if a function f(x1, x2,… xn)is convex or concave • Use the Hessian matrix and determine principal minors Note: H will always be a square symmetric matrix

  2. Convex and Concave Functions Example: [ 4 ] = 4 H1= 4 0 0 6 4 0 0 0 6 0 0 0 8 H2= = 24 4 0 0 0 6 0 0 0 8 H = H3= = 192

  3. Convex and Concave Functions Example:f(x) = 2x12 + 3x22 +4x32 - 8x1 - 12x2 - 24x3 +110 H1= 4 H2= 24 H3= 192 • If all leading principal minors of H are nonnegative f(x) is convex • If all leading principal minors of H are positive f(x) is strictly convex •• Therefore, f(x) is a strictly convex function (i.e. a local minimum will be a global minimum) Example:f(x) = x12 - x22 + x32 + 2x1x3 + x1x2 Is f(x) convex or concave? or neither?

  4. Convex and Concave Functions Example:f(x) = x12 - x22 + x32 + 2x1x3 + x1x2 2 1 2 1 -2 0 2 0 2 H1 = 2 H2 = - 5 H3 = - 2 H = • If the kth leading principal minors of H has the same sign as (-1)k ,, then f(x) is strictly concave (in which case a local maximum will be a global maximum). • If the kth leading principal minors of H has the same sign as (-1)k ,, or zero, f(x) is concave. •• Therefore, f(x) is neither convex nor concave

  5. My work- Continues

  6. My work- Continues

  7. My work- Continues

  8. My work- Continues

  9. My work- Continues

More Related