This is a question from textbook.
Determine if the vector space of all $2 \times 2$ matrices is a inner product. Let $A$ and $B$ be $2\times 2$ matrices then $\langle A, B \rangle = a_1b_1 + a_2b_2 + a_3b_3 + a_4b_4$.
My understanding is that this is not an inner product because it does not satisfy P4 $\langle v, w \rangle \geq 0$ for all $v$ and $w$. Suppose we let $A =\begin{bmatrix} 1 & 0 \\ 0 & 0 \end{bmatrix}$ and $B = \begin{bmatrix} -1 & 0 \\ 0 & 0 \end{bmatrix} $ then $\langle A, B \rangle = -1$ therefore it is not an inner product. However, the text solution states that it is an inner product. What am I misunderstanding here? I apologize for the bad syntax.