# Thread: vector with euclidian norm of 1

1. ## vector with euclidian norm of 1

Let's say I have a vector x of positive real values and

$||x||_2=1$

Then I have a matrix $X=x^Tx$

My question is: are all elements of $X$ outside of diagonal $X \leq 0.5$?

Some more information I have about matrix $X$: $X\succeq 0$ and $rank(X)=1$

2. ## Re: vector with euclidian norm of 1

Originally Posted by robustor
Let's say I have a vector x of positive real values and

$||x||_2=1$

Then I have a matrix $X=x^Tx$

My question is: are all elements of $X$ outside of diagonal $X \leq 0.5$?

The (i,j)-element of X is $x_ix_j.$ Use the inequality $x_ix_j\leqslant\tfrac12(x_i^2+x_j^2)$ (which follows from the fact that $(x_i-x_j)^2\geqslant0$) to see that $x_ix_j\leqslant \tfrac12\|x\|_2^2=\tfrac12.$

3. ## Re: vector with euclidian norm of 1

Originally Posted by Opalg

The (i,j)-element of X is $x_ix_j.$ Use the inequality $x_ix_j\leqslant\tfrac12(x_i^2+x_j^2)$ (which follows from the fact that $(x_i-x_j)^2\geqslant0$) to see that $x_ix_j\leqslant \tfrac12\|x\|_2^2=\tfrac12.$
Thanks.

So now I have further that

$\sum_{i,j} x_{ij} \leq r$, where $0 \leq x_{ij} \leq 0.5$ and $r \geq 0$

and I also have

$\sum_{i,j} y_{ij} \leq d$, where $y_{ij} \geq 0$ and $d \geq 0$ and $y$ is zero-diagonal

$\sum_{i,j} x_{ij} y_{ij} \leq ?$
$\sum_{i,j} x_{ij} y_{ij} \leq \frac{d}{2}$