There are posts in TeX.SE that shows how argmin and argmax with limits can be typesetted using the \DeclareMathOperator*
command. But how to do this in Markdown?
I am especially interested in doing this in Jupyter Notebook when I'm documenting in Markdown.
Is this possible?
Typically, “argmax” is written as two separate words, e.g. “arg max“. For example: result = arg max(g(x))
The max function gives the largest possible value of f(x) for any x in the domain, which is the function value achieved by any element of the argmax. Unlike the argmax, the max function is unique since all elements of the argmax achieve the same value. However, the max may not exist because the argmax may be empty.
ArgMin is typically used to find the smallest possible values given constraints. In different areas, this may be called the best strategy, best fit, best configuration and so on. If f and cons are linear or polynomial, ArgMin will always find a global minimum.
The way to do this is by using the \underset
command.
Syntax:
\underset{<constraints>}{\operatorname{<argmax or argmin>}}
Example:
$\underset{c\in C}{\operatorname{argmax}}$
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With