[Math] Absence of cross product terms in quadratic forms.

linear algebramatricesquadratic-forms

Question is whether the following statement is true or false?

if the quadratic form $X^T AX$ has no cross product terms then $A$ is diagonal matrix.

I know that, if A is diagonal matrix then quadratic form has no cross product terms!
But what if the quadratic form has no cross product terms? Is A will be diagonal matrix?

If there are no cross product terms in quadratic form then all off diagonal entries of matrix are zeros. So A will be diagonal.
But in key it is given that, answer is false! That is $A$ is not diagonal! Please explain? and if possible please give me an examples.

Best Answer

Hint: $$\begin{bmatrix} x & y \end{bmatrix} \begin{bmatrix} a & b \\ -b & c \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} =?$$

Related Question