0

If $||x||_2 = 3$ and $||y||_2 = 7$, find the minimum of $\langle x, y\rangle$

My thought process is that it would be 3 since if $||x||_2 = 3$, we can have $|x_1| = 1$, $|x_2| = 1$, $|x_3| = 1$ and every other term can equal $0$. Similarly, if $||y||_2 = 7$ then we can have $||y_1|| = 1$, $||y_2|| = 1$, ... , $||y_7|| = 1$ and every other term can equal $0$. So, we would have that $$\langle x, y\rangle = |x_1| |y|_1 + |x_2| |y|_2 + |x_3| |y|_3 + |x_4| |y|_4 + |x_5| |y|_5 + |x_6| |y|_6 + |x_7| |y|_7 + ... + |x_k| |y|_k\\=(1\times1) + (1\times1) + (1\times1) + (0\times1) + (0\times1) + (0\times1) + (0\times1) + (0\times0) + ... + (0\times0) = 3$$. So our minimum is 3.

Is is train of logic correct?

pluton
  • 1,209
  • 2
  • 11
  • 30

1 Answers1

1

Take $x$ and $y$ to be in opposite directions. For example $x=(3,0)$ and $y=(-7,0)$.

The minimum is $$-3\cdot 7 = -21.$$

Or are $x$ and $y$ $n-$dimensional?:

$x=(3,0,0,\cdots,0)$ and $y=(-7,0,0,\cdots,0)$ and again the minimum is $-21.$

UPDATE: To derive this result, we can use Lagrange multipliers.

$$ L = \langle x,y \rangle - \lambda ( \langle x,x \rangle-9) - \mu( \langle y,y \rangle-49)$$

Computing $0=\frac{\partial L}{\partial x}=y-2\lambda x$ and $0=\frac{\partial L}{\partial y}=x-2\mu y$ leads to the condition that $y= \alpha x$, for some $\alpha$, so $x$ and $y$ are in the same direction (maximizing the inner product) or in opposite directions (minimizing the inner product).

mjw
  • 8,647
  • 1
  • 8
  • 23