Properties of sets
Compare sets, examine their boundaries and distinguish an extreme value from the input that produces it.
The best value and the inputs producing it
A function assigns an output to each allowed input. If the outputs are scores, the maximum tells us the best score. Argmax tells us which inputs produced it. “Arg” refers to the argument, meaning the input. Argmin does the same for the smallest output.
| Input $x$ | Score $f(x)$ |
|---|---|
| a | 3 |
| b | 7 |
| c | 7 |
For the chosen domain $D=\{a,b,c\}$, the maximum score is 7 and both b and c achieve it. We report argmax and argmin as sets of all winning inputs, even when there is only one. Thus $\operatorname{argmax}_{x\in D}f(x)=\{b,c\}$ and $\operatorname{argmin}_{x\in D}f(x)=\{a\}$. The minimum score itself is 3.
$$\operatorname{argmax}_{x\in D}f(x)=\{x\in D:f(x)\ge f(u)\text{ for every }u\in D\}$$
Keep exactly the allowed inputs whose output is at least every other allowed output. Reverse the inequality for argmin.
An argmax can be empty. For $f(x)=x$ on $D=(0,1)$, larger inputs always give larger outputs, but input 1 is unavailable. The supremum of the outputs is 1; there is no maximum and no maximizing input. Accordingly, $\operatorname{argmax}_{x\in(0,1)}x=\emptyset$. A bound on the scores does not guarantee a winning choice.
Read maxima from tables and graphs
In a table, find the best output first, then read back every input in that row or column. In a graph of $(x,f(x))$, the same operation uses the vertical coordinate for the value and the horizontal coordinate for the input. Work within the stated domain, including its endpoint rules.
Read the graph, then verify the values
- At the highest point, the output is 4 and the input is 1: $\max f=4$, while $\operatorname{argmax} f=\{1\}$.
- At the two lowest points, the output is 0: $\min f=0$, while $\operatorname{argmin} f=\{-1,3\}$.
- Check the formula: $f(1)=4-0^2=4$, $f(-1)=4-(-2)^2=0$, and $f(3)=4-2^2=0$. For every input in $[-1,3]$, $0\le(x-1)^2\le4$, so no output exceeds 4 or falls below 0.
Changing the domain changes the answer. On the open interval $(-1,3)$, both zero-output endpoints disappear. The function still reaches its maximum 4 at 1, but now has no minimum: its outputs approach 0 without reaching it. Its infimum is 0 and its argmin is empty.
What a table actually establishes
If a table lists only sampled inputs, its best output is the best among those samples. It does not establish the maximum over an entire interval. The quadratic formula above lets us verify the whole interval; a handful of plotted points alone would not.