MATH 323 Lecture 24

From Notes
Jump to navigation Jump to search

« previous | Tuesday, November 27, 2012 | next »


Theorem 5.6.1 (Gram-Schmidt Process)

Let {x1,,xn} be a basis for V,,. Let u1=x1x1 and define u2,,un recursively by

uk+1=xk+1pkxk+1pk

Where pk=xk+1,u1u1+xk+1,u2u2++xk+1,ukuk is the projection of xk+1 onto vk=Span(u1,,uk)=Span(x1,,xk).

The set {u1,,un} is an orthonormal basis for V.

Notation

From now on,

rkk=xkpk1rik=xk,ui

Proof by Induction

Span(x1)=Span(u1) and u1 is an orthonormal basis for V1

Suppose u1,,uk are constructed so they are an orthonormal basis for vk and Span{x1,,xk}=Span{u1,,uk}.

pkSpan{u1,,uk}xk+1pkSpan{x1,,xk,xk+1}

xk+1pk0 because x1,,xk+1 are linearly independent.

xk+1pk=xk+1i=1kcixi, where ci=xk+1,ui

Therefore u1,,uk+1 is an orthonormal set of vectors in Span{x1,,xk+1}, and is a basis for subspace of dimension k+1.

Thus the theorem holds by induction.

Q.E.D.


Example

Find an orthonormal basis for the range of the following matrix:

A=[114142142110]

Column space is defined by Span{(1111),(1441),(4220)}=Span{a1,a2,a3}

r11=a1=12+12+12+12=1q1=a1r11=12,12,12,12r12=a2,q1=3p1=r12q1=3q1a2p1=52,52,52,52r22=a2p1=5q2=a2p1r22=12,12,12,12r13=a3,q1=2r23=a3,q2=2p2=r13q1+r23q2=2,0,0,2a3p2=2,2,2,2r33=a3p2=4q3=a3p2r33=12,12,12,12

Therefore, {q1,q2,q3}={(12121212),(12121212),(12121212)} is an orthonormal basis for the range of A.

Theorem 5.6.2 (Gram-Schmidt QR Factor)

If A is an m×n matrix of rank n, then A can be factored into a product QR, where Q is an m×n matrix with orthonormal column vectors and R is an upper triangular n×n matrix whose diagonal entries are all positive.

In the Gram-Schmidt Orthogonalization Process, pi represents the projection vectors.

rij={x1i=j=1xipii=jqi,xjotherwise

We use the defined values above to form an upper triangular matrix R

R=({rijij0otherwise)

such that A=QR, where Q=(q1,,qn).

Example

From previous example,

R=[r11r12r130r22r2300r33]Q=(q1,q2,q3)


Polynomial Space Example

Consider P3, the subspace consisting of quadratic polynomials, with an inner product:

p,q=i=1np(ci)q(ci), where c=1,0,1

1, x, and x2 (represented by x) form a basis for P3, but they are not orthonormal w.r.t. the inner product definition.


Find an orthonormal basis {u1,u2,u3} for P3.


x1=1=1,1=11+11+113u1=x1x1=13p1=x,1313=0x2p1=xx2p1=x,x=2u2=x2p2=x2,1313+x2,x2x2=23x2p2=x223,x223=62u3=x22323

Eigenvalues and Eigenvectors

Let A be an n×n matrix.

A scalar λ is an eigenvalue of A if there is a nonzero vector xn such that

Ax=λx

x is said to be an eigenvector belonging to λ.

All of the following are equivalent: λ is an eigenvalue iff

  • (AλI)x=0 has nonzero solution
  • |AλI|=0 This is important since it gives the characteristic equation
  • AλI is singular
  • N(AλI)0

Example

A=[4211], x=[21]

Ax=[63]=3x.

Therefore, λ=3 is the eigenvalue, and x=2,1 is an eigenvector belonging to λ=3.

If x is an eigenvector belonging to λ, then μx is also an eigenvector belonging to λ (for nonzero μ):

A(μx)=μAx=μλx


Characteristic Equation

p(λ)=AλI is called the characteristic polynomial

AλI=0 is called the characteristic equation

Either way, the form is

|a11λa1nan1annλ|

Example 1

A=[3232]

Characteristic equation is |3λ232λ|=λ2λ12.

Solutions are λ=4,3.

Eigenvectors can be obtained by solving (AλI)x=0.