MATH 323 Lecture 20

From Notes
Jump to navigation Jump to search

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


Orthogonality

xyxy=0θ=π2

Subspaces X,Yn: XYxyxXyY

If XY{0}, then take vv=v20 for vXY0: X is not orthogonal to Y.

Xn, X={yn:yX} is orthogonal complement. For example, a plane and a normal vector.

Range

R(A) for m×n matrix A and LA:nm is defined as

R(LA)=R(A)={ym:y=Axxn}m

For transpose matrix, R(AT)n

Note: Range is nothing more than the column space of a matrix

Theorem 5.2.1

Fundamental subspaces theorem

  1. N(A)=R(AT)
  2. N(AT)=R(A)

Proof

Prove one, then the proof of the second follows from the first: Let B=AT, then N(AT)=N(B)=R(BT)=R(A)


Example

A=[1020]AT=[1200]R(A)=Span(12)={α(12):α}N(A)==Span(e2)R(AT)=Span((10),(20))=Span(e1)N(AT)==Span(21)

  1. N(A)R(AT)
  2. N(AT)R(A)

Theorem 5.2.2

If S is a subspace of n, then dimS+dimS=n=dimn

Furthermore, if {x1,,xr} is a basis for S and {xr+1,,xn} is a basis for S, then {x1,xr,xr+1,,xn} is a basis for n

Proof

If S{0} and {x1,,xr} is a basis for S, then dimS=r.

Let X=(xiT) be a r×n matrix formed by using the basis vectors as rows of X. The rank of X is r, and R(XT)=S.

S=R(XT)=N(X) by equation 1 of the previous theorem, so dimS=dimN(X)=nr

Therefore dimS+dimS=r+(nr)=n. This proves the first part of the theorem.

Check linear independence of xs to determine whether it is a valid basis of n.

c1x1++crxry+cr+1xr+1++cnxnz=0

In order for y=z to be true, y and z must be elements of SS Since S and S are orthogonal subspaces, SS={0}, so y=z=0.


Direct Sum

If U,VW are subspaces of a vector space W, and each wW can be written as a sum u+v, where uU and vV, then W is a direct sum of U and V, written W=UV

Theorem 5.2.3

If S is a subspcae of n, then n=SS. In other words (or lack thereof):

Snn=SS

Proof

Let {x1,,xr,xr+1,,xn} be a basis for n, then

x=c1x1++crxry+cr+1xr+1++cnxnz=y+z

x=u+vx=y+z

This must be unique since SS={0}.

Theorem 5.2.4

(S)=S

Example

A=[112011134]

Find basis for N(A), R(AT), N(AT), and R(A)


rrefA=[101011000]

Therefore, 1,0,1,0,1,1 is a basis for R(AT).


N(A)=α1,1,1, so 1,1,1 is basis for N(A).


Repeat above steps for AT=[101113214]


Section 5.3: Least Squares

Find best approximation of b (outside of a subspace) using vector p (in subspace)

Theorem 5.3.1

Let Sm be a subspace.

For each bm, there is a unique element p of S that is closest to b, i.e.

by>bp for any ypS

Furthermore, bpS


Definition: Residual Vector

A vector x^ is a solution to the least squares problem Ax=b iff p=Ax is the vector in R(A) that is closest to b.

Thus we know that p is the projection of b onto R(A)

bp=bAx^=r(x^)R(A), where r(x^) is the residual vector.

Thus x is a solution of the least squares problem iff r(x^)R(A).