PositiveDefinite

They are definitely positive

More about symmetric matrixes

symmetricsymmetric

Positive Definite Matrixes

Bring the whole course together

  • They are symmetric

  • All Eigen values are positive

  • All pivots are positive

  • All sub-determinants are positive

Test : How can I tell if a matrix is positive definite or not ?

2 by 2 case :

A=[ab bd]

  • Eigen values : λ1>0λ2>0?

  • Pivots : a>0acb2a>0

  • Sub-determinants : |a|>0|ab bd|>0

  • xTAx>0 , x should be any vectors(except 0)

Example:

quadraticquadratic

Positive definite

positivepositive

Non-positive definite

non-positivenon-positive

But it is not easy for us to tell how the graph look like

We see that all quadratic form goes through (0,0,0).

So we only need to see when they go out of the origin, it grows “upwards” in all directions or “downwards” in some directions (The partial derivatives).

And it finally turn out that we only need to look at the directions that Eigen vectors point to.

Connection with calculus

(0,0,0) should be the minimum value for z=f(x1,x2,,xn)

In calculus:
  1. all first order partial derivative = 0

  2. second order partial derivative > 0

In linear algebra
  1. all first order partial derivative = 0

  2. Matrix of second order partial derivate is positive definite

[fxxfxy fyxfyy]

Recall that fxy=fyx (so we have 二元无条件极值Δ法)

3 by 3 example

testtest

n19n19

n20n20

Similar matrixes

A and B are both *n * n matrixes* and they are similar when

\existM,B=M1AM

So recall A=S1ΛS, so A is similar to Λ

Why they are “similar”

Similar matrixes all have the same Eigen values

Prof 

\therefore AMM^{-1} \vec{x} = \lambda \vec{x}

\therefore M^{-1}AMM^{-1} \vec{x} = \lambda M^{-1}\vec{x}

\therefore B M^{-1} \vec{x} = \lambda M^{-1}\vec{x}

\therefore let M^{-1}\vec{x} = \vec{x’} ,\text{Eigen vectors for B}

\therefore B\vec{x’} = \lambda \vec{x’}

A and B have the same Eigen value but different Eigen vectors