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 A∈Mm,n and B∈Mm,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 A∈Mm,n is full-column rank (ie, A is "tall" and the columns are each linearly independent). Then

A†=(A∗A)−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

A∗A=VΣ∗U∗UΣV∗=VΣ2V∗

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

Now, check for 1-2-3-4 generalized inverse conditions with (A∗A)−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×V→K such that for all x,y,z∈V and all c∈K we have

  1. ⟨x,x⟩ is real, nonnegative. Also, ⟨x,x⟩=0⟺x=0
  2. ⟨x+y,z⟩=⟨x,z⟩+⟨y,z⟩
  3. ⟨cx,z⟩=c⟨x,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⟩:=z∗x
  • some A∈Mn positive definite: ⟨x,z⟩A:=z∗Ax
    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,w∈V and a,b,c,d∈K 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 ||⋅||:V→R≥0 such that for all x,y∈V,c∈K

  1. ||x||=0⟺x=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 p∈Z 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)