Properties of quadric equation
-
We have shown that $\v x^T A \v x = \v x^T S\v x = \v x^T QDQ^T \v x$. So by changing basis $\v x \leftarrow Q^T\v x, \v b\leftarrow Q^T\v b$, the quadric equation is equivalent to $$ \v x^T D\v x + \v b^T \v x + c = 0 $$ since $(Q^T \v b)^T Q^T \v x = \v b^T \v x$ as $QQ^T = I$.
-
If $S$ has no zero eigenvalue, then $D$ is invertible. We can shift the origin to eliminate the linear term, $$ \v x \leftarrow \v x + \frac 12 D\inv \v b. $$ Then $$ \v x^T D\v x = k. $$ (Derivation)