Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to typeset argmin and argmax in Markdown?

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?

like image 313
Ébe Isaac Avatar asked Mar 23 '16 10:03

Ébe Isaac


People also ask

How do you write argmax?

Typically, “argmax” is written as two separate words, e.g. “arg max“. For example: result = arg max(g(x))

What is the difference between Max and argmax?

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.

What does ArgMin?

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.


1 Answers

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}}$

like image 71
Ébe Isaac Avatar answered Oct 15 '22 17:10

Ébe Isaac