Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For real matrix $X$ where $d_{i,j}^2(X)$ indicates the euclidean distance squared between the rows $i,j$ of $X$, if $d_{i,j}^2(X)=||f(X_i.)-f(X_j.)||_H$ then what would the function $f(.)$ be? Is there only one such function? Note that $X_i.$ indicates the row $i$ of $X$ and the norm is the hilbert norm.

share|cite|improve this question
up vote 1 down vote accepted

You can use the versors. Given that $X \in \mathbb{R}^{N \times M}$, then you can use the versors in $\mathbb{R}^N$ which are $$ e_i = \left [0 ~ 0 \cdot \cdot \cdot 0 ~ 1 ~0 \cdot \cdot \cdot 0 ~ 0 \right]^T$$ where the only "1" is at position $i$. Then, your $f$ is a $f_i$ defined as follows: $$ f_i(X) = e_i^T X $$ In this way you obtain your $i$-th row vector.

Finally, you have that $d_{ij}^2(X) = \|f_i(X) - f_j(X)\|_H^2$

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.