How can we define scalar product on $\mathbb{R}^3$ so that vectors $\overrightarrow{x} = \begin{pmatrix}1\\0\\-1\end{pmatrix}, \overrightarrow{y} = \begin{pmatrix}1\\0\\1\end{pmatrix}, \overrightarrow{z} = \begin{pmatrix}1\\-1\\0\end{pmatrix}$ will form orthonormal basis of $\mathbb{R}^3$?
I tried to do it via orthonormality condition, i.e. $\langle x_i | x_j \rangle = \delta_{i,j}$, but I'm having a hard time coming with some reasonable scalar product.
Edit: Changed title, so that question is how can we find the following scalar product.
P.S. I've seen this post, but I didn't get it, unfortunately.
Yes. In fact, for every basis $v_1,\ldots,v_n$ of $\mathbb{R}^n$ one can define an inner product by declaring this basis to be orthonormal.