For what values of the constant is convex, for what values is it strictly convex, and what is its minimum when ?
Linear algebra and optimisation, Convexity
Level L2 Elementary. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can compute a Hessian, check positive semidefiniteness via principal minors or eigenvalues, and solve .
Key idea
A twice-differentiable function on is convex if its Hessian is positive semidefinite () everywhere, and strictly convex if it is positive definite (). For a symmetric matrix, positive definiteness holds when the top-left entry and determinant are both positive.
Steps
- Compute the gradient: .
- Differentiate again to get the constant Hessian (the linear terms vanish): .
- Check positive semidefiniteness: the top-left entry (the leading principal minor) is , and the determinant is . Because , both eigenvalues are iff , so is convex for and strictly convex for .
- Find the minimum at : since , is strictly convex and has a unique global minimum where . Solving () and () gives , .
- Evaluate the minimum value: .
Common mistakes
- Forgetting the factor of 2 on the off-diagonal derivative of , or dropping the in when taking the determinant.
- Checking only without checking (or ). Two negative eigenvalues also give a positive determinant.
How long your answer should be
Half a page; 3–4 minutes.
Read this
Previous in Linear algebra and optimisation: How does RMSProp fix AdaGrad's diminishing step size, and for starting from with , and , what are and under (a) AdaGrad () and (b) RMSProp () with ?
Next in Linear algebra and optimisation: Using Lagrange multipliers, find the point on the line that minimises , and what is the minimum value?