ArticleslgStudy

mathematics

Arg max

Arg max 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 Arg max rather than just read about it. In short: In mathematics, the arguments of the maxima (abbreviated arg max or argmax) and arguments of the minima (abbreviated arg min or argmin) are the input points at which a function output value is maximized and minimized, respectively. While the arguments are defined over the domain of a function, the output is part of its codomain.

Arg max — main illustration
Arg max — illustration

Key takeaways

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

Reference excerpt

In mathematics, the arguments of the maxima (abbreviated arg max or argmax) and arguments of the minima (abbreviated arg min or argmin) are the input points at which a function output value is maximized and minimized, respectively. While the arguments are defined over the domain of a function, the output is part of its codomain.

Definition Given an arbitrary set X, a totally ordered set Y, and a function, f:X→Y, the argmax over some subset S of X is defined by

argmaxSf:=argmaxx∈Sf(x):={x∈S : f(s)≤f(x) for all s∈S}. If S=X or S is clear from the context, then S is often left out, as in argmaxxf(x):={x : f(s)≤f(x) for all s∈X}. In other words, argmax is the set of points x for which f(x) attains the function's largest value (if it exists). Argmax may be the empty set, a singleton, or contain multiple elements. In the fields of convex analysis and variational analysis, a slightly different definition is used in the special case where Y=[−∞,∞]=ℝ∪{±∞} are the extended real numbers. In this case, if f is identically equal to ∞ on S then argmaxSf:=∅ (that is, argmaxS∞:=∅) and otherwise argmaxSf is defined as above, where in this case argmaxSf can also be written as:

argmaxSf:={x∈S : f(x)=sup⁡Sf} where it is emphasized that this equality involving sup⁡Sf holds only when f is not identically ∞ on S.

Arg min The notion of argmin (or argmin), which stands for argument of the minimum, is defined analogously. For instance,

argminx∈Sf(x):={x∈S : f(s)≥f(x) for all s∈S} are points x for which f(x) attains its smallest value. It is the complementary operator of argmax. In the special case where Y=[−∞,∞]=ℝ∪{±∞} are the extended real numbers, if f is identically equal to −∞ on S then argminSf:=∅ (that is, argminS−∞:=∅) and otherwise argminSf is defined as above and moreover, in this case (of f not identically equal to −∞) it also satisfies:

argminSf:={x∈S : f(x)=inf⁡Sf}.

Examples and properties For example, if f(x) is 1−|x|, then f attains its maximum value of 1 only at the point x=0. Thus

argmaxx(1−|x|)={0}. The argmax operator is different from the max operator. The max operator, when given the same function, returns the maximum value of the function instead of the point or points that cause that function to reach that value; in other words

maxxf(x) is the element in {f(x) : f(s)≤f(x) for all s∈S}. Like argmax⁡, max may be the empty set (in which case the maximum is undefined) or a singleton, but unlike argmax⁡, max may not contain multiple elements: for example, if f(x) is 4x2−x4, then argmaxx(4x2−x4)={−2,2}, but maxx(4x2−x4)={4} because the function attains the same value at every element of argmax⁡. Equivalently, if M is the maximum of f, then the argmax is the level set of the maximum:

argmaxxf(x)={x : f(x)=M}=:f−1(M). We can rearrange to give the simple identity

f(argmaxxf(x))=maxxf(x). If the maximum is reached at a single point then this point is often referred to as the argmax⁡, and argmax is considered a point, not a set of points. So, for example,

argmaxx∈ℝ(x(10−x))=5 (rather than the singleton set {5}), since the maximum value of x(10−x) is 25, which occurs for x=5. However, in case the maximum is reached at many points, argmax needs to be considered a set of points. For example

argmaxx∈[0,4π]cos⁡(x)={0,2π,4π} because the maximum value of cos⁡x is 1, which occurs on this interval for x=0,2π or 4π. On the whole real line

argmaxx∈ℝcos⁡(x)={2kπ : k∈ℤ}, so an infinite set. Functions need not in general attain a maximum value, and hence the argmax is sometimes the empty set; for example, argmaxx∈ℝx3=∅, since x3 is unbounded on the real line. As another example, argmaxx∈ℝarctan⁡(x)=∅, although arctan is bounded by ±π/2. However, by the extreme value theorem, a continuous real-valued function on a closed interval has a maximum, and thus a nonempty argmax⁡.

See also Argument of a function Maxima and minima Mode (statistics) Mathematical optimization Kernel (linear algebra) Preimage Softmax function

Notes

References

Rockafellar, R. Tyrrell; Wets, Roger J.-B. (26 June 2009). Variational Analysis. Grundlehren der mathematischen Wissenschaften. Vol. 317. Berlin New York: Springer Science & Business Media. ISBN 9783642024313. OCLC 883392544.

External links arg min and arg max at PlanetMath.

Illustrations

Arg max: As an example, both unnormalised and normalised sinc functions above have argmax of {0} because both attain their global maximum value of 1 at x = 0.The unnormalised sinc function (red) has arg min of {−4.49, 4.49}, approximately, because it has 2 global minimum values of approximately −0.217 at x = ±4.49. However, the normalised sinc function (blue) has arg min of {−1.43, 1.43}, approximately, because their global minima occur at x = ±1.43, even though the minimum value is the same.[1]
As an example, both unnormalised and normalised sinc functions above have argmax of {0} because both attain their global maximum value of 1 at x = 0.The unnormalised sinc function (red) has arg min of {−4.49, 4.49}, approximately, because it has 2 global minimum values of approximately −0.217 at x = ±4.49. However, the normalised sinc function (blue) has arg min of {−1.43, 1.43}, approximately, because their global minima occur at x = ±1.43, even though the minimum value is the same.[1]

Worked examples

Example 1 — a first encounter with Arg max

Start with the simplest possible case. Write down what Arg max 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 Arg max 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 Arg max 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 Arg max

In research
Arg max 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 Arg max 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
Arg max is common in secondary-school and first-year university syllabi. It links to neighbouring topics Elementary mathematics, Inverse functions, so understanding it makes those chapters shorter.
In everyday life
Look for Arg max 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 “Arg max” →

How to study Arg max in 20 minutes

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

Frequently asked questions

What is Arg max in simple terms?

In mathematics, the arguments of the maxima (abbreviated arg max or argmax) and arguments of the minima (abbreviated arg min or argmin) are the input points at which a function output value is maximized and minimized, respectively. While the arguments are defined over the domain of a function, the…

Why does Arg max 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 Arg max?

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 Arg max.

Tags

  • Elementary mathematics
  • Inverse functions

Keep exploring