can a constant in a max be taken outside

54 Views Asked by At

A really silly question, but can I do: $$\max_x \left( c \cdot f(x) \right) = c \cdot \max_x f(x)$$ It seems that way, since I'm just interested in the maximum value of $f(x)$ which is not influenced by a constant and it shouldn't matter if I multiply later.

1

There are 1 best solutions below

0
On

You can do this if and only if $c \geq 0$ (assuming that the max exists and is finite, otherwise you need $c>0$). If $c<0$ then $\max \{ cf \}=c \min \{ f \}$.