Maximizing multivariable function by maximizing log

73 Views Asked by At

In the one-variable case we can take a log transform of the function f(x) -> log(f(x)) and know that the same value maximizes both because log is increasing. The log turns products into sums which facilitates taking derivatives. Can the same argument be applied for multivariable cases? The question is: for a function f(x,y) if I wish to find the x*,y* that maximize f(x,y) are these the same x**,y** that maximize log(f(x,y))? My intuition is yes, nothing should be different in this multivariable case, but I desire a quick sanity check before setting off with computations. I would appreciate a rigorous proof or a counterexample.

1

There are 1 best solutions below

0
On

Yes (as long as $f$ takes positive values) since $f(x^*, y^*) \ge f(x,y)$ if and only if $\log f(x^*, y^*) \ge \log f(x,y)$.