Nepedia
Back to Discover
Independent Reader
🔢

Duality (optimization)

math Maturity 11-13 Next article →

In math, you can look at a problem from two sides. One side is called the primal problem. The other side is called the dual problem. These two sides work like a pair. If the primal problem looks for the smallest number, the dual problem looks for the biggest number.

There is a rule called weak duality. This rule says the smallest number is always at least as large as the biggest number. If the two answers are not the same, there is a difference. We call this difference the duality gap.

Sometimes, the two answers are exactly the same. This is called strong duality. This often happens in convex problems. A convex problem is a special kind of math puzzle. In these cases, the gap is zero.

Math experts use different ways to find these dual problems. One way is the Lagrangian dual. Another way is the Wolfe dual. People use these ideas to solve hard tasks. For example, they help computers work with support vector machines. This helps machines learn from data. Solving both sides can sometimes be easier than solving just one side.

186 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.