This is something that is bothering me and I can't seem to remember the answer. Say you have a vector, $\alpha$ that is $p \times 1$, and a vector $X$ that is the same dimensions (assume all entries are real). Then clearly $\alpha^{\prime}X$ is just a scalar. If I write $(\alpha^{\prime}X)^2$ that is just a square of a scalar. The question is how does one expand this: I would write $\alpha^{\prime}X\alpha^{\prime}X$ but equally reasonably one can write $\alpha^{\prime}XX^{\prime}\alpha$ since the transpose of a scalar is just that scalar. Is there a reason to prefer one over the other?
2026-05-06 07:57:32.1778054252
square of a number (vector times a matrix)
627 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
By associativity, $$ (a'X)(X'a)=a'(XX')a $$ which is a quadratic form.