The quadratic form is given: $f=x_1x_2-x_2x_3$ I have to determine a rank and signature of it. What is the way to do it? ( I know that usually I have to transform a matrix into upper triangular form to determine the rank, but in this case on diagonal it is all zeros and there is no way I can transform it to be a upper diagonal matrix)
$$\left[\begin{matrix}0 & \frac{1}{2} & 0 \\ \frac{1}{2} & 0 & -\frac{1}{2} \\ 0 & -\frac{1}{2} & 0 \end{matrix}\right]$$
The only thing I could think of was to add to the first column the third one and the first row to the third row, then the first column will be all zeros and I willl change to columns to look it as follows:
$$\left[\begin{matrix} \frac{1}{2} & 0 & 0 \\ 0 & -\frac{1}{2} & 0 \\ 0 & 0 & 0\end{matrix}\right]$$ I now that by switching rows or columns you change determinan, but is it important in this case? Any case, the rank for this form is $r=2$ am I right? ( I just don't know for sure how to determine it)
Write the quadratic form on its reduced form i.e. with squared terms:
$$x_1x_2-x_2x_3=x_2(x_1-x_3)=\frac14(x_2+x_1-x_3)^2-\frac14(x_2-x_1+x_3)^2.$$ hence the signature is $(1,1)$ and the rank is $r=2$.