Maximize $$x_2 - x_1 + y_1 - y_2$$ given that $x_1^2 + y_1^2 =1$ and $x_2^2 + y_2^2 = 1$.
I was thinking about using Lagrange multipliers, but I only know how that works for a 3-variable function, not 4. Could someone please suggest a way to solve this? Maybe with Lagrange multipliers or some more elementary method?
$y_1-x_1 \leq \sqrt {y_1^{2}+x_1^{2}} \sqrt {1+1}=\sqrt 2$. Similarly $x_2 -y_2\leq \sqrt 2$ so the given expession does not exceed $2\sqrt 2$. To see that this value is actually attained take $x_1=-\frac 1 {\sqrt 2}$, $y_1=\frac 1 {\sqrt 2}$ $x_2=\frac 1 {\sqrt 2}$ and $y_2=-\frac 1 {\sqrt 2}$.