ArticleslgStudy

mathematics

Danskin's theorem

Danskin's theorem 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 Danskin's theorem rather than just read about it. In short: In convex analysis, Danskin's theorem is a theorem which provides information about the derivatives of a function of the form f(x)=maxz∈Zϕ(x,z). The theorem has applications in optimization, where it sometimes is used to solve minimax problems.

Key takeaways

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

Reference excerpt

In convex analysis, Danskin's theorem is a theorem which provides information about the derivatives of a function of the form f(x)=maxz∈Zϕ(x,z). The theorem has applications in optimization, where it sometimes is used to solve minimax problems. The original theorem given by J. M. Danskin in his 1967 monograph provides a formula for the directional derivative of the maximum of a (not necessarily convex) directionally differentiable function. An extension to more general conditions was proven 1971 by Dimitri Bertsekas.

Statement The following version is proven in "Nonlinear programming" (1991). Suppose ϕ(x,z) is a continuous function of two arguments, ϕ:ℝn×Z→ℝwhere Z⊂ℝm is a compact set. Under these conditions, Danskin's theorem provides conclusions regarding the convexity and differentiability of the function f(x)=maxz∈Zϕ(x,z).To state these results, we define the set of maximizing points Z0(x) as Z0(x)=arg⁡maxz∈Zϕ(x,z)={z‾:ϕ(x,z‾)=maxz∈Zϕ(x,z)}.Danskin's theorem then provides the following results.

Convexity If ϕ(x,z) is convex in x for every z∈Z, then f(x) is convex in x (this extends the known fact that the maximum of finitely many convex functions is convex).

Derivative If Z0(x) consists of a single element z‾, then f(x) is differentiable at x, and its derivative (or gradient if x is a vector) equals the derivative of ϕ(x,z) at the unique arg-max:∂f∂x=∂ϕ(x,z‾)∂x.

Directional semi-derivative If Z0(x) contains more than one element, then f(x) is not differentiable at x, but it has a semi-differential. The semi-differential of f(x) in the direction y, denoted ∂y f(x), is the maximum of different derivatives over all z:∂yf(x)=maxz∈Z0(x)ϕ′(x,z;y), where ϕ′(x,z;y) is the directional derivative of the function ϕ(⋅,z) at x in the direction y.

Example of no directional derivative In the statement of Danskin, it is important to conclude semi-differentiability of f and not directional-derivative as explains this simple example. Set Z={−1,+1}, ϕ(x,z)=zx, we get f(x)=|x| which is semi-differentiable with ∂−f(0)=−1,∂+f(0)=+1 but has not a directional derivative at x=0.

Subdifferential If ϕ(x,z) is differentiable with respect to x for all z∈Z, and if ∂ϕ/∂x is continuous with respect to z for all x, then the subdifferential of f(x) is given by ∂f(x)=conv{∂ϕ(x,z)∂x:z∈Z0(x)} where conv indicates the convex hull operation.

Extension The 1971 Ph.D. Thesis by Dimitri P. Bertsekas (Proposition A.22) proves a more general result, which does not require that ϕ(⋅,z) is differentiable. Instead it assumes that ϕ(⋅,z) is an extended real-valued closed proper convex function for each z in the compact set Z, that int⁡(dom⁡(f)), the interior of the effective domain of f, is nonempty, and that ϕ is continuous on the set int⁡(dom⁡(f))×Z. Then for all x in int⁡(dom⁡(f)), the subdifferential of f at x is given by ∂f(x)=conv⁡{∂ϕ(x,z):z∈Z0(x)} where ∂ϕ(x,z) is the subdifferential of ϕ(⋅,z) at x for any z in Z.

See also Maximum theorem Envelope theorem Hotelling's lemma

References

Worked examples

Example 1 — a first encounter with Danskin's theorem

Start with the simplest possible case. Write down what Danskin's theorem 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 Danskin's theorem 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 Danskin's theorem 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 Danskin's theorem

In research
Danskin's theorem 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 Danskin's theorem 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
Danskin's theorem is common in secondary-school and first-year university syllabi. It links to neighbouring topics Convex optimization, Theorems in mathematical analysis, so understanding it makes those chapters shorter.
In everyday life
Look for Danskin's theorem 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 “Danskin's theorem” →

How to study Danskin's theorem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Danskin's theorem 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 Danskin's theorem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Danskin's theorem in simple terms?

In convex analysis, Danskin's theorem is a theorem which provides information about the derivatives of a function of the form f(x)=maxz∈Zϕ(x,z). The theorem has applications in optimization, where it sometimes is used to solve minimax problems.

Why does Danskin's theorem 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 Danskin's theorem?

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 Danskin's theorem.

Tags

  • Convex optimization
  • Theorems in mathematical analysis

Keep exploring