Determine if the quadratic form is positive definite, negative definite or undefinite

11.5k Views Asked by At

Determine if the following quadratic form is positive definite, negative definite or undefinite>
$Q:\mathbb R^3\to \mathbb R, \,Q(u)=x_1^2+4x_1x_2-2x_2^2+2x_1x_3-2x_3^2$

$$Q=\begin{bmatrix} 1&2&1 \\ 2&-2&0 \\ 1&0&-2 \end{bmatrix}$$

  1. I tried to compute the diagonal matrix but the eigenvalues are not integers, thus it’s a bit hard to calculate by hand. UPDATE: Seemingly, I’ve done something wrong previously.
  2. I tried to group them to form squares, however there is nothing that guarantees it is either positive or negative. Plugging in numbers results in both positive and negative results.
  3. What else to try?
3

There are 3 best solutions below

10
On BEST ANSWER

Notice that if you add two times the identity matrix to $Q$ then the bottom-right $2\times 2$-submatrix will be $0$.

This shows that $-2$ is an eigenvalue--a corresponding eingenvector is $[0,1,-2]$.

Now use polynomial division to divide the characteristic polynomial by $(\lambda+2)$.

The zeros of the resulting quadratic polynomial are the two remaining eigenvalues.

4
On

The first vector of the canonical basis being positive and the second negative, the form is indefinite.

EDIT A. More careful phrasing:

The restriction of $Q$ to the first coordinate axis being positive definite, and its restriction to the second coordinate axis being negative definite, $Q$ is indefinite.

EDIT B. If the matrix of a quadratic form on $\mathbb R^n$ has a positive ($ > 0$) diagonal entry and a negative ($ < 0$) diagonal entry, then it is indefinite.

1
On

The principal determinant method is easy to apply, the eigenvalue method is more tedious