Definition
Example
As we’ll see later, having this matrix be a symmetric matrix is very convenient.
$$\text{Example 2: Write this in quadratic form } 5x^2 + 3y^2 + 2z^2 - xy + 8yz$$ Well we know that the diagonals are the square terms, and we can fill in the other terms, verifying by checking: $$A = \begin{bmatrix}5 & -\frac{1}{2} & 0\\-\frac{1}{2} & 3 & 4\\0 &4 & 2\end{bmatrix}$$
Types of Quadratic Forms
Here are some definitions:
Positive Semidefinite
For every point, $q(x) \geq 0$.
Positive Definite
For every non-zero point, $q(x) > 0$.
Note that if a quadratic form is positive definite, then it is also positive semidefinite, because q(0) is always 0.
Negative Semidefinite
For every point, $q(x) \leq 0$.
Negative Definite
For every non-zero point, $q(x) < 0$.
Indefinite
There exists a point x such that q(x) > 0. There exists a point y such that q(y) < 0
Eigenvalues
Positive Definite
$$q(x) \gt 0 \text{ iff } \lambda_1 ... \lambda_n > 0$$
Negative Definite
$$q(x) \lt 0 \text{ iff } \lambda_1 ... \lambda_n < 0$$
Indefinite
$$q(x) \lt 0 \text{ iff } \lambda_i > 0 \text{ and } \lambda_j < 0$$
Semidefinite
$$q(x) \lt 0 \text{ iff } \lambda_i = 0 \text{ and all are non-negative or non-positive}$$