In my calculus class, I've come across this problem when we were on the topic of Jensen's Inequality:
\begin{multline}A=\{\cos(x_1)\cos(x_2)\dots\cos(x_n)\in\Bbb{R}:\\n\in\Bbb{N},x_1^2+...+x_n^2=1\}.\end{multline}
We are tasked with finding $\sup A$. I have tried the obvious approach of writing
$$\cos(x_1)\cos(x_2)\dots\cos(x_n)=e^{\ln(\cos(x_1))+\dots+\ln(\cos(x_n)}$$
and then trying to find an achievable upper bound for the value of $$\ln(\cos(x_1))+\dots+\ln(\cos(x_n)$$
by using Jensen's inequality for the concave function $\ln(\cos(x))$ in hope that those pesky squares could be dealt with using $$\sqrt{\dfrac{a_1^2+...+a_n^2}{n}}\geqslant\dfrac{a_1+...+a_n}{n}$$
but so far that didn't help. I am quite convinced that the answer will be $\dfrac{1}{\sqrt{e}}$ since that is what $e^{\ln(\cos(x_1))+\dots+\ln(\cos(x_n)}$ approaches from below when $x_1=x_2=...=x_n$ and $n$ goes to $\infty$, but can't prove it. Using different methods I've managed to show that the answer is smaller than $e^{\cos(1)-1}$ which is just barely larger than $\dfrac{1}{\sqrt{e}}$, but in proving so I have used inequalities with different equality conditions.
Any help would be appreciated as I feel I am missing something I should definitely find out by now.
By the way, no integrals allowed :)
Yay early calc
Let $x_i^2=a_i$.
Thus, $a_1+...+a_n=1$ and since $$\left(\ln\cos\sqrt{x}\right)''=\frac{\sin2\sqrt{x}-2\sqrt{x}}{8\sqrt{x^3}\cos^2\sqrt x}<0,$$ by Jensen we obtain: $$\prod_{i=1}^n\cos x_i=e^{\sum\limits_{i=1}^n\ln\cos\sqrt{a_i}}\leq e^{n\ln\cos\sqrt{\frac{a_1+...+a_n}{n}}}=\cos^n\frac{1}{\sqrt n}.$$ The equality occurs for $x_1=...=x_n=\frac{1}{\sqrt n},$ which says that we got a maximal value.