[xy]QDQT[xy]=6x2+24xy−y2.\begin{bmatrix} x & y \end{bmatrix} Q D Q^T \begin{bmatrix} x \\ y \end{bmatrix} = 6x^2+24xy-y^2.[xy]QDQT[xy]=6x2+24xy−y2.