Skip to content

AI & ML · Optimization

Convexity

560 problems in this skill, each with a solver-verified answer key. Answers are checked the moment you submit — with a hint if you want one and a worked solution afterwards.

What the problems look like

A few statements from this skill. Answers, hints and worked solutions live in the practice session.

  1. Warm-up

    Let f(x,y)=5x2+bxy+4y2f(x,y) = 5x^{2} + bxy + 4y^{2}, so its Hessian is H=(10bb8)H = \begin{pmatrix} 10 & b \\ b & 8 \end{pmatrix} with det⁡(H)=80−b2\det(H) = 80 - b^{2}. The boundary between ff being convex (positive semi-definite Hessian) and ff being a saddle (indefinite Hessian) occurs where det⁡(H)=0\det(H) = 0. Find both values of bb at this boundary, separated by a comma.

  2. Warm-up

    Let f(x,y)=7x2+bxy+9y2f(x,y) = 7x^{2} + bxy + 9y^{2}, so its Hessian is H=(14bb18)H = \begin{pmatrix} 14 & b \\ b & 18 \end{pmatrix} with det⁡(H)=252−b2\det(H) = 252 - b^{2}. The boundary between ff being convex (positive semi-definite Hessian) and ff being a saddle (indefinite Hessian) occurs where det⁡(H)=0\det(H) = 0. Find both values of bb at this boundary, separated by a comma.

  3. Warm-up

    Let f(x,y)=3x2+bxy+2y2f(x,y) = 3x^{2} + bxy + 2y^{2}, so its Hessian is H=(6bb4)H = \begin{pmatrix} 6 & b \\ b & 4 \end{pmatrix} with det⁡(H)=24−b2\det(H) = 24 - b^{2}. The boundary between ff being convex (positive semi-definite Hessian) and ff being a saddle (indefinite Hessian) occurs where det⁡(H)=0\det(H) = 0. Find both values of bb at this boundary, separated by a comma.

Problems shown under their original terms: Generated (template, solver-computed).

Practice this free, right now

Unlimited math practice is on the free plan — no card, no trial clock.

See every Optimization skill for ai & ml