2.I.1ELinear AlgebraPart IB, 2006State Sylvester's law of inertia.Find the rank and signature of the quadratic form qqq on Rn\mathbf{R}^{n}Rn given byq(x1,…,xn)=(∑i=1nxi)2−∑i=1nxi2q\left(x_{1}, \ldots, x_{n}\right)=\left(\sum_{i=1}^{n} x_{i}\right)^{2}-\sum_{i=1}^{n} x_{i}^{2}q(x1,…,xn)=(i=1∑nxi)2−i=1∑nxi2