[Math] Is the matrix $A$ symmetric in the quadratic form

linear algebramatricesquadratic-forms

Given $x \in \mathbb{R}^n$ and $A \in \mathbb{R}^{n \times n}$ ($A$ is not necessarily symmetric), the quadratic form is written as $x^TAx$, a scaler. We have,
$$x^TAx=(x^TAx)^T=x^TA^Tx$$
that is $x^T(A-A^T)x=0$

Why couldn't conclude $A=A^T$ from $x^T(A-A^T)x=0$, where $x \ne \boldsymbol{0}$? I know it's a false statement and there are counter examples, but it seems to me, mathematically, $A$ should be symmetric. Could someone help explain why I couldn't make such an inference?

Best Answer

In fact, any quadratic form can be reduced to a symmetric matrix. Suppose $A$ is a non-symmetric matrix. Then $(A-A^T)/2$ is skew-symmetric since $$ \left(\frac{A-A^T}{2}\right)^T=\frac{A^T-A}{2}=-\frac{A-A^T}{2} $$ And for a skew-symmetric matrix it is always true that $$ x^T\left(\frac{A-A^T}{2}\right)x=0 $$ Since $$ x^T\left(\frac{A-A^T}{2}\right)x=\left(x^T\left(\frac{A-A^T}{2}\right)x\right)^T=x^T\left(\frac{A-A^T}{2}\right)^Tx=-x^T\left(\frac{A-A^T}{2}\right)x $$ Thus we have $$ x^TAx=x^T\left(\frac{A+A^T}{2}+\frac{A-A^T}{2}\right)x=x^T\left(\frac{A+A^T}{2}\right)x+x^T\left(\frac{A-A^T}{2}\right)x=x^T\left(\frac{A+A^T}{2}\right)x $$ Clearly, $(A+A^T)/2$ is symmetric. So a quadratic form matrix can be always reduced to a symmetric matrix.

Related Question