$f:(\mathbb{R_+})^n \to \mathbb{R}$
$f(x_1,\dots ,x_2)=(1+x_1)\cdots(1+x_n)$
I want to determine where $f$ has a local or global extremum with the condition $x_1 \cdots x_n=a^n$ for a fixed $a>0$ using lagrange multipliers. How can this be done?
$f:(\mathbb{R_+})^n \to \mathbb{R}$
$f(x_1,\dots ,x_2)=(1+x_1)\cdots(1+x_n)$
I want to determine where $f$ has a local or global extremum with the condition $x_1 \cdots x_n=a^n$ for a fixed $a>0$ using lagrange multipliers. How can this be done?
On
Calling
$$ L(x,\lambda) = \prod_{k=1}^n(1+x_k)-\lambda\left(\prod_{k=1}^n x_k - a^n\right) $$
we have the stationary points as solutions for
$$ \nabla L =\begin{cases} \frac{\prod_{k=1}^n(1+x_k)}{1+x_k}-\frac{\lambda \prod_{k=1}^n x_k}{x_k} = 0,\ \ k = 1,\cdots ,n\\ \prod_{k=1}^n x_k - a^n = 0 \end{cases} $$
now calling
$$ \mu = \lambda\frac{\prod_{k=1}^n x_k}{\prod_{k=1}^n(1+x_k)} $$
we have
$$ \frac{1}{1+x_k}-\frac{\mu}{x_k} = 0,\ \ k = 1,\cdots, n $$
or
$$ x_k = \frac{1-\mu}{\mu}\Rightarrow \frac{1-\mu}{\mu} = a \Rightarrow \mu = \frac{1}{a+1} $$
hence the solution $x_k = a$ is extremal
The general strategy would be as follows:
That being said, if seems that you would have an easier time working with logarithms for that particular problem, which may also give you an intuition about the solutions.