Lecture 22

[[lecture-data]]

2024-10-21

Exam Debrief

5/6 problems graded - results soon

  • make sure to read all of the comments even if you got full credit for things

Some systemic issues

  • uni-directional language in if and only if proofs

Another exam coming soon

  • SVD and Courant-Fisher
  • in general, not comprehensive but still sharp on the basics
  • midterm 3 in the last week of classes seemed popular

7. Chapter 7

Recall that we will have AMm,n and BMm,n and we have a unique B such that

If we let A=UΣV be its singular value decomposition, then the Moore-Penrose inverse is given as A=VΣU. We can see this by seeing

Note

If AMm,n is full-column rank (ie, A is "tall" and the columns are each linearly independent). Then

A=(AA)1A
Note

This is like the regression setting :)

If A is full row rank (ie A is "fat" and the rows are each linearly independent), then

A=A(AA)1
Proof

Say A=UΣV is full column rank. Then

AA=VΣUUΣV=VΣ2V

And all n values in Σ2 are nonzero and real since A is full column rank. Thus AA is invertible.

Now, check for 1-2-3-4 generalized inverse conditions with (AA)1A. (All conditions are satisfied trivially).

The proof for the full row rank case follows analogously.

(see full column (or row) rank matrices have an easy psuedoinverse)

~ end of material for midterm 2 ~

5. Chapter 5

Here, we deal with a vector space V over a field K (either R or C in this case, and we will have statements for both)

Inner Product

An inner product on a vector space V over field K is a function ,:V×VK such that for all x,y,zV and all cK we have

  1. x,x is real, nonnegative. Also, x,x=0x=0
  2. x+y,z=x,z+y,z
  3. cx,z=cx,z (2 and 3 indicate that this is linear)
  4. x,z=z,x¯ (ie symmetric)

If all of these hold, then V is an inner product space.

Example

Cn over C.

  • Euclidean inner product: x,z:=zx
  • some AMn positive definite: x,zA:=zAx
    Note that the euclidean inner product is a special case of the second, where A is the identity!

(see inner product)

Note

x,y,z,wV and a,b,c,dK then

  1. x,cz=cz,x=c¯z,x=c¯x,z
  2. x,y+z=y,x+z,x=x,y+x,z
  3. ax+by,cz+dw=ac¯x,z+ad¯x,w+bc¯y,z+bd¯y,w

And we must show these, because we began only with the four axioms we had given in the definition of the inner product

(see additivity of inner products)

Norm

Let V be a vector space over field K. Then a norm on V is a function ||||:VR0 such that for all x,yV,cK

  1. ||x||=0x=0 ("idea of length of a vector" so no length only if no length! this is called positivity)
  2. ||cx||=|c|×||x||(homogeneity)
  3. ||x+y||||x||+||y|| (triangle inequality)

Spaced where these hold are called normed linear spaces (they are the same as vector spaces)

(see norm)

Lp norm

For Kn over K the Lp norm for pZ is defined as

||x||p=(i=1n|xi|p)1/p
  • When p=1 this is the "manhattan norm"
  • When p=2 this is the euclidean norm
  • ||x||=max(xi)

(see L-p norm)