Maximization of 4-variable function...

182 Views Asked by At

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?

2

There are 2 best solutions below

2
On BEST ANSWER

$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}$.

0
On

By the hypotesis you can write $x_1=\sin \theta, y_1=\cos \theta$ and $x_2=\sin \alpha, y_2=\cos \alpha$. Then, your want to find the maximum value of $$E=(\sin \alpha - \sin \theta)+(\cos \alpha - \cos \theta)=(\sin \alpha+\cos \alpha) -(\sin \theta +\cos \theta).$$ But, $-\sqrt{2}\le \sin x+\cos x\le \sqrt{2}, \ \forall x\in [0,2\pi]$ and the equality holds for $\alpha=\pi/4$ and $\theta=5\pi/4$. In particular, $E\le 2\sqrt{2},$ exactly as professor Rama Murty found.