ArticleslgStudy

mathematics

SOS-convexity

SOS-convexity is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand SOS-convexity rather than just read about it. In short: A multivariate polynomial is SOS-convex (or sum of squares convex) if its Hessian matrix H can be factored as H(x) = ST(x)S(x) where S is a matrix (possibly rectangular) which entries are polynomials in x. In other words, the Hessian matrix is a SOS matrix polynomial.

Key takeaways

  • SOS-convexity belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect SOS-convexity to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of SOS-convexity from memory before moving on to harder problems.

Reference excerpt

A multivariate polynomial is SOS-convex (or sum of squares convex) if its Hessian matrix H can be factored as H(x) = ST(x)S(x) where S is a matrix (possibly rectangular) which entries are polynomials in x. In other words, the Hessian matrix is a SOS matrix polynomial. An equivalent definition is that the form defined as g(x,y) = yTH(x)y is a sum of squares of forms.

Connection with convexity If a polynomial is SOS-convex, then it is also convex. Since establishing whether a polynomial is SOS-convex amounts to solving a semidefinite programming problem, SOS-convexity can be used as a proxy to establishing if a polynomial is convex. In contrast, deciding if a generic quartic polynomial of degree four (or higher even degree) is convex is a NP-hard problem. The first counterexample of a polynomial which is convex but not SOS-convex was constructed by Amir Ali Ahmadi and Pablo Parrilo in 2009. The polynomial is a homogeneous polynomial that is sum-of-squares and given by:

p ( x ) = 32 x 1 8 + 118 x 1 6 x 2 2 + 40 x 1 6 x 3 2 + 25 x 1 4 x 2 4 − 43 x 1 4 x 2 2 x 3 2 − 35 x 1 4 x 3 4 + 3 x 1 2 x 2 4 x 3 2 − 16 x 1 2 x 2 2 x 3 4 + 24 x 1 2 x 3 6 + 16 x 2 8 + 44 x 2 6 x 3 2 + 70 x 2 4 x 3 4 + 60 x 2 2 x 3 6 + 30 x 3 8 {\displaystyle p(x)=32x_{1}^{8}+118x_{1}^{6}x_{2}^{2}+40x_{1}^{6}x_{3}^{2}+25x_{1}^{4}x_{2}^{4}-43x_{1}^{4}x_{2}^{2}x_{3}^{2}-35x_{1}^{4}x_{3}^{4}+3x_{1}^{2}x_{2}^{4}x_{3}^{2}-16x_{1}^{2}x_{2}^{2}x_{3}^{4}+24x_{1}^{2}x_{3}^{6}+16x_{2}^{8}+44x_{2}^{6}x_{3}^{2}+70x_{2}^{4}x_{3}^{4}+60x_{2}^{2}x_{3}^{6}+30x_{3}^{8}}

In the same year, Grigoriy Blekherman proved in a non-constructive manner that there exist convex forms that is not representable as sum of squares. An explicit example of a convex form (with degree 4 and 272 variables) that is not a sum of squares was claimed by James Saunderson in 2021.

Connection with non-negativity and sum-of-squares In 2013 Amir Ali Ahmadi and Pablo Parrilo showed that every convex homogeneous polynomial in n variables and degree 2d is SOS-convex if and only if either (a) n = 2 or (b) 2d = 2 or (c) n = 3 and 2d = 4. Impressively, the same relation is valid for non-negative homogeneous polynomial in n variables and degree 2d that can be represented as sum of squares polynomials (See Hilbert's seventeenth problem).

References

See also Hilbert's seventeenth problem Polynomial SOS Sum-of-squares optimization

Worked examples

Example 1 — a first encounter with SOS-convexity

Start with the simplest possible case. Write down what SOS-convexity claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to SOS-convexity before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about SOS-convexity ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of SOS-convexity

In research
SOS-convexity appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses SOS-convexity in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
SOS-convexity is common in secondary-school and first-year university syllabi. It links to neighbouring topics Convex analysis, Homogeneous polynomials, Real algebraic geometry, so understanding it makes those chapters shorter.
In everyday life
Look for SOS-convexity outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “SOS-convexity” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study SOS-convexity in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what SOS-convexity means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain SOS-convexity out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is SOS-convexity in simple terms?

A multivariate polynomial is SOS-convex (or sum of squares convex) if its Hessian matrix H can be factored as H(x) = ST(x)S(x) where S is a matrix (possibly rectangular) which entries are polynomials in x. In other words, the Hessian matrix is a SOS matrix polynomial.

Why does SOS-convexity matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study SOS-convexity?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on SOS-convexity.

Tags

  • Convex analysis
  • Homogeneous polynomials
  • Real algebraic geometry

Keep exploring