Let $n$ be in $\mathbb { N } ^ { * }$. We denote by $U _ { n }$ the open set $\left( \mathbb { R } _ { + } ^ { * } \right) ^ { n }$. Its closure, denoted $\overline { U _ { n } }$, is $\left( \mathbb { R } _ { + } \right) ^ { n }$.
Let $s > 0$. We define the functions $f$ and $g _ { s }$ on $\overline { U _ { n } }$ by setting, for all $x = \left( x _ { 1 } , \ldots , x _ { n } \right) \in \overline { U _ { n } }$,
$$f ( x ) = \prod _ { k = 1 } ^ { n } x _ { k } \quad \text { and } \quad g _ { s } ( x ) = \left( \sum _ { k = 1 } ^ { n } x _ { k } \right) - s .$$
We denote by $X _ { s }$ the subset of $\overline { U _ { n } }$ consisting of the zeros of $g _ { s } : X _ { s } = \left\{ x \in \overline { U _ { n } } \mid g _ { s } ( x ) = 0 \right\}$.
Prove that the restriction of $f$ to $X _ { s }$ admits a maximum on $X _ { s }$ and that this maximum is in fact attained on $X _ { s } \cap U _ { n }$.
You may verify that $f$ is strictly positive at certain points of $X _ { s } \cap U _ { n }$.
Let $n$ be in $\mathbb { N } ^ { * }$. We denote by $U _ { n }$ the open set $\left( \mathbb { R } _ { + } ^ { * } \right) ^ { n }$. Its closure, denoted $\overline { U _ { n } }$, is $\left( \mathbb { R } _ { + } \right) ^ { n }$.

Let $s > 0$. We define the functions $f$ and $g _ { s }$ on $\overline { U _ { n } }$ by setting, for all $x = \left( x _ { 1 } , \ldots , x _ { n } \right) \in \overline { U _ { n } }$,

$$f ( x ) = \prod _ { k = 1 } ^ { n } x _ { k } \quad \text { and } \quad g _ { s } ( x ) = \left( \sum _ { k = 1 } ^ { n } x _ { k } \right) - s .$$

We denote by $X _ { s }$ the subset of $\overline { U _ { n } }$ consisting of the zeros of $g _ { s } : X _ { s } = \left\{ x \in \overline { U _ { n } } \mid g _ { s } ( x ) = 0 \right\}$.

Prove that the restriction of $f$ to $X _ { s }$ admits a maximum on $X _ { s }$ and that this maximum is in fact attained on $X _ { s } \cap U _ { n }$.

You may verify that $f$ is strictly positive at certain points of $X _ { s } \cap U _ { n }$.