Show that $A \in M_n$ and $B \in M_n$ need not be equal if $x^TAx = x^TBx$ for all $x \in \mathbb{C}^n$.

509 Views Asked by At

Show that $A \in M_n$ and $B \in M_n$ need not be equal if $x^TAx = x^TBx$ for all $x \in \mathbb{C}^n$.

My attempt: $x^TAx - x^TBx = x^T(A-B)x = x^TCx = 0$, where define $C = A-B$, then either $A=B$, or the eigen values of $C$ correspond to zero. Does that proof make sense? or do I need more information to corroborate the statement?

Thank you in advance

1

There are 1 best solutions below

1
On BEST ANSWER

So you need $C\not=0$ such that $x^TCx = 0$ for all $x$. For $2\times2$-matrices this may be achieved with $C=C_2=\pmatrix{0&1\\-1&0}$. For $n>2$ you may use $\pmatrix{C_2&0\\0&0}$.