chapter 3/4: lecture 15 - linear algebra math 124, fall, 2010 · ch. 3/4: lec. 15 review for exam 2...

68
Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010 Prof. Peter Dodds Department of Mathematics & Statistics Center for Complex Systems Vermont Advanced Computing Center University of Vermont Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.

Upload: others

Post on 20-Oct-2019

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

1 of 16

Chapter 3/4: Lecture 15Linear Algebra

MATH 124, Fall, 2010

Prof. Peter Dodds

Department of Mathematics & StatisticsCenter for Complex Systems

Vermont Advanced Computing CenterUniversity of Vermont

Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.

Page 2: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

2 of 16

Outline

Review for Exam 2

Words

Pictures

Page 3: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

3 of 16

Basics:

Sections covered on second midterm:I Chapter 3 and Chapter 4 (Sections 4.1–4.3)I Main pieces:

1. Big Picture of A~x = ~b

Must be able to draw the big picture!

2. Projections and the normal equationI As always, want ‘doing’ and ‘understanding’ and

abilities.

Page 4: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

3 of 16

Basics:

Sections covered on second midterm:I Chapter 3 and Chapter 4 (Sections 4.1–4.3)I Main pieces:

1. Big Picture of A~x = ~b

Must be able to draw the big picture!

2. Projections and the normal equationI As always, want ‘doing’ and ‘understanding’ and

abilities.

Page 5: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

3 of 16

Basics:

Sections covered on second midterm:I Chapter 3 and Chapter 4 (Sections 4.1–4.3)I Main pieces:

1. Big Picture of A~x = ~b

Must be able to draw the big picture!

2. Projections and the normal equationI As always, want ‘doing’ and ‘understanding’ and

abilities.

Page 6: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

3 of 16

Basics:

Sections covered on second midterm:I Chapter 3 and Chapter 4 (Sections 4.1–4.3)I Main pieces:

1. Big Picture of A~x = ~b

Must be able to draw the big picture!

2. Projections and the normal equationI As always, want ‘doing’ and ‘understanding’ and

abilities.

Page 7: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

3 of 16

Basics:

Sections covered on second midterm:I Chapter 3 and Chapter 4 (Sections 4.1–4.3)I Main pieces:

1. Big Picture of A~x = ~b

Must be able to draw the big picture!

2. Projections and the normal equationI As always, want ‘doing’ and ‘understanding’ and

abilities.

Page 8: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

3 of 16

Basics:

Sections covered on second midterm:I Chapter 3 and Chapter 4 (Sections 4.1–4.3)I Main pieces:

1. Big Picture of A~x = ~bMust be able to draw the big picture!

2. Projections and the normal equationI As always, want ‘doing’ and ‘understanding’ and

abilities.

Page 9: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

4 of 16

Stuff to know/understand

Vector Spaces:

I Vector space concept and definition.I Subspace definition (three conditions).I Concept of a spanning set of vectors.I Concept of a basis.I Basis = minimal spanning set.I Concept of orthogonal complement.I Various techniques for finding bases and orthogonal

complements.

Page 10: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

4 of 16

Stuff to know/understand

Vector Spaces:

I Vector space concept and definition.I Subspace definition (three conditions).I Concept of a spanning set of vectors.I Concept of a basis.I Basis = minimal spanning set.I Concept of orthogonal complement.I Various techniques for finding bases and orthogonal

complements.

Page 11: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

4 of 16

Stuff to know/understand

Vector Spaces:

I Vector space concept and definition.I Subspace definition (three conditions).I Concept of a spanning set of vectors.I Concept of a basis.I Basis = minimal spanning set.I Concept of orthogonal complement.I Various techniques for finding bases and orthogonal

complements.

Page 12: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

4 of 16

Stuff to know/understand

Vector Spaces:

I Vector space concept and definition.I Subspace definition (three conditions).I Concept of a spanning set of vectors.I Concept of a basis.I Basis = minimal spanning set.I Concept of orthogonal complement.I Various techniques for finding bases and orthogonal

complements.

Page 13: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

4 of 16

Stuff to know/understand

Vector Spaces:

I Vector space concept and definition.I Subspace definition (three conditions).I Concept of a spanning set of vectors.I Concept of a basis.I Basis = minimal spanning set.I Concept of orthogonal complement.I Various techniques for finding bases and orthogonal

complements.

Page 14: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

4 of 16

Stuff to know/understand

Vector Spaces:

I Vector space concept and definition.I Subspace definition (three conditions).I Concept of a spanning set of vectors.I Concept of a basis.I Basis = minimal spanning set.I Concept of orthogonal complement.I Various techniques for finding bases and orthogonal

complements.

Page 15: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

4 of 16

Stuff to know/understand

Vector Spaces:

I Vector space concept and definition.I Subspace definition (three conditions).I Concept of a spanning set of vectors.I Concept of a basis.I Basis = minimal spanning set.I Concept of orthogonal complement.I Various techniques for finding bases and orthogonal

complements.

Page 16: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

5 of 16

Stuff to know/understand:

Fundamental Theorem of Linear Algebra:

I Applies to any m × n matrix A.I Symmetry of A and AT.

I Column space C(A) ⊂ Rm.I Left Nullspace N(AT) ⊂ Rm.I dim C(A) + dim N(AT) = r + (m − r) = mI Orthogonality: C(A)

⊗N(AT) = Rm

I Row space C(AT) ⊂ Rn.I (Right) Nullspace N(A) ⊂ Rn.I dim C(AT) + dim N(A) = r + (n − r) = nI Orthogonality: C(AT)

⊗N(A) = Rn

Page 17: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

5 of 16

Stuff to know/understand:

Fundamental Theorem of Linear Algebra:

I Applies to any m × n matrix A.I Symmetry of A and AT.

I Column space C(A) ⊂ Rm.I Left Nullspace N(AT) ⊂ Rm.I dim C(A) + dim N(AT) = r + (m − r) = mI Orthogonality: C(A)

⊗N(AT) = Rm

I Row space C(AT) ⊂ Rn.I (Right) Nullspace N(A) ⊂ Rn.I dim C(AT) + dim N(A) = r + (n − r) = nI Orthogonality: C(AT)

⊗N(A) = Rn

Page 18: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

5 of 16

Stuff to know/understand:

Fundamental Theorem of Linear Algebra:

I Applies to any m × n matrix A.I Symmetry of A and AT.

I Column space C(A) ⊂ Rm.I Left Nullspace N(AT) ⊂ Rm.I dim C(A) + dim N(AT) = r + (m − r) = mI Orthogonality: C(A)

⊗N(AT) = Rm

I Row space C(AT) ⊂ Rn.I (Right) Nullspace N(A) ⊂ Rn.I dim C(AT) + dim N(A) = r + (n − r) = nI Orthogonality: C(AT)

⊗N(A) = Rn

Page 19: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

5 of 16

Stuff to know/understand:

Fundamental Theorem of Linear Algebra:

I Applies to any m × n matrix A.I Symmetry of A and AT.

I Column space C(A) ⊂ Rm.I Left Nullspace N(AT) ⊂ Rm.I dim C(A) + dim N(AT) = r + (m − r) = mI Orthogonality: C(A)

⊗N(AT) = Rm

I Row space C(AT) ⊂ Rn.I (Right) Nullspace N(A) ⊂ Rn.I dim C(AT) + dim N(A) = r + (n − r) = nI Orthogonality: C(AT)

⊗N(A) = Rn

Page 20: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

5 of 16

Stuff to know/understand:

Fundamental Theorem of Linear Algebra:

I Applies to any m × n matrix A.I Symmetry of A and AT.

I Column space C(A) ⊂ Rm.I Left Nullspace N(AT) ⊂ Rm.I dim C(A) + dim N(AT) = r + (m − r) = mI Orthogonality: C(A)

⊗N(AT) = Rm

I Row space C(AT) ⊂ Rn.I (Right) Nullspace N(A) ⊂ Rn.I dim C(AT) + dim N(A) = r + (n − r) = nI Orthogonality: C(AT)

⊗N(A) = Rn

Page 21: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

5 of 16

Stuff to know/understand:

Fundamental Theorem of Linear Algebra:

I Applies to any m × n matrix A.I Symmetry of A and AT.

I Column space C(A) ⊂ Rm.I Left Nullspace N(AT) ⊂ Rm.I dim C(A) + dim N(AT) = r + (m − r) = mI Orthogonality: C(A)

⊗N(AT) = Rm

I Row space C(AT) ⊂ Rn.I (Right) Nullspace N(A) ⊂ Rn.I dim C(AT) + dim N(A) = r + (n − r) = nI Orthogonality: C(AT)

⊗N(A) = Rn

Page 22: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

5 of 16

Stuff to know/understand:

Fundamental Theorem of Linear Algebra:

I Applies to any m × n matrix A.I Symmetry of A and AT.

I Column space C(A) ⊂ Rm.I Left Nullspace N(AT) ⊂ Rm.I dim C(A) + dim N(AT) = r + (m − r) = mI Orthogonality: C(A)

⊗N(AT) = Rm

I Row space C(AT) ⊂ Rn.I (Right) Nullspace N(A) ⊂ Rn.I dim C(AT) + dim N(A) = r + (n − r) = nI Orthogonality: C(AT)

⊗N(A) = Rn

Page 23: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

5 of 16

Stuff to know/understand:

Fundamental Theorem of Linear Algebra:

I Applies to any m × n matrix A.I Symmetry of A and AT.

I Column space C(A) ⊂ Rm.I Left Nullspace N(AT) ⊂ Rm.I dim C(A) + dim N(AT) = r + (m − r) = mI Orthogonality: C(A)

⊗N(AT) = Rm

I Row space C(AT) ⊂ Rn.I (Right) Nullspace N(A) ⊂ Rn.I dim C(AT) + dim N(A) = r + (n − r) = nI Orthogonality: C(AT)

⊗N(A) = Rn

Page 24: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

6 of 16

Stuff to know/understand:

Finding four fundamental subspaces:

I Enough to find bases for subspaces.I Be able to reduce A to R.I Identify pivot columns and free columns.I Rank r of A = # pivot columns.I Know that relationship between R’s columns hold for

A’s columns.I Warning: R’s columns do not give a basis for C(A)

I But find pivot columns in R, and same columns in Aform a basis for C(A).

Page 25: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

6 of 16

Stuff to know/understand:

Finding four fundamental subspaces:

I Enough to find bases for subspaces.I Be able to reduce A to R.I Identify pivot columns and free columns.I Rank r of A = # pivot columns.I Know that relationship between R’s columns hold for

A’s columns.I Warning: R’s columns do not give a basis for C(A)

I But find pivot columns in R, and same columns in Aform a basis for C(A).

Page 26: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

6 of 16

Stuff to know/understand:

Finding four fundamental subspaces:

I Enough to find bases for subspaces.I Be able to reduce A to R.I Identify pivot columns and free columns.I Rank r of A = # pivot columns.I Know that relationship between R’s columns hold for

A’s columns.I Warning: R’s columns do not give a basis for C(A)

I But find pivot columns in R, and same columns in Aform a basis for C(A).

Page 27: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

6 of 16

Stuff to know/understand:

Finding four fundamental subspaces:

I Enough to find bases for subspaces.I Be able to reduce A to R.I Identify pivot columns and free columns.I Rank r of A = # pivot columns.I Know that relationship between R’s columns hold for

A’s columns.I Warning: R’s columns do not give a basis for C(A)

I But find pivot columns in R, and same columns in Aform a basis for C(A).

Page 28: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

6 of 16

Stuff to know/understand:

Finding four fundamental subspaces:

I Enough to find bases for subspaces.I Be able to reduce A to R.I Identify pivot columns and free columns.I Rank r of A = # pivot columns.I Know that relationship between R’s columns hold for

A’s columns.I Warning: R’s columns do not give a basis for C(A)

I But find pivot columns in R, and same columns in Aform a basis for C(A).

Page 29: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

6 of 16

Stuff to know/understand:

Finding four fundamental subspaces:

I Enough to find bases for subspaces.I Be able to reduce A to R.I Identify pivot columns and free columns.I Rank r of A = # pivot columns.I Know that relationship between R’s columns hold for

A’s columns.I Warning: R’s columns do not give a basis for C(A)

I But find pivot columns in R, and same columns in Aform a basis for C(A).

Page 30: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

6 of 16

Stuff to know/understand:

Finding four fundamental subspaces:

I Enough to find bases for subspaces.I Be able to reduce A to R.I Identify pivot columns and free columns.I Rank r of A = # pivot columns.I Know that relationship between R’s columns hold for

A’s columns.I Warning: R’s columns do not give a basis for C(A)

I But find pivot columns in R, and same columns in Aform a basis for C(A).

Page 31: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

6 of 16

Stuff to know/understand:

Finding four fundamental subspaces:

I Enough to find bases for subspaces.I Be able to reduce A to R.I Identify pivot columns and free columns.I Rank r of A = # pivot columns.I Know that relationship between R’s columns hold for

A’s columns.I Warning: R’s columns do not give a basis for C(A)

I But find pivot columns in R, and same columns in Aform a basis for C(A).

Page 32: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

7 of 16

Stuff to know/understand:

More on bases for column and row space:

I Reduce [A |~b ] where ~b is general.I Find conditions on ~b’s elements for a solution to

A~x = ~b to exist

→ obtain basis for C(A).

I Basis for row space = non-zero rows in R (easy!)I Alternate basis for column space = non-zero rows in

reduced form of AT (easy!)

Page 33: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

7 of 16

Stuff to know/understand:

More on bases for column and row space:

I Reduce [A |~b ] where ~b is general.I Find conditions on ~b’s elements for a solution to

A~x = ~b to exist

→ obtain basis for C(A).

I Basis for row space = non-zero rows in R (easy!)I Alternate basis for column space = non-zero rows in

reduced form of AT (easy!)

Page 34: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

7 of 16

Stuff to know/understand:

More on bases for column and row space:

I Reduce [A |~b ] where ~b is general.I Find conditions on ~b’s elements for a solution to

A~x = ~b to exist

→ obtain basis for C(A).

I Basis for row space = non-zero rows in R (easy!)I Alternate basis for column space = non-zero rows in

reduced form of AT (easy!)

Page 35: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

7 of 16

Stuff to know/understand:

More on bases for column and row space:

I Reduce [A |~b ] where ~b is general.I Find conditions on ~b’s elements for a solution to

A~x = ~b to exist → obtain basis for C(A).I Basis for row space = non-zero rows in R (easy!)I Alternate basis for column space = non-zero rows in

reduced form of AT (easy!)

Page 36: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

7 of 16

Stuff to know/understand:

More on bases for column and row space:

I Reduce [A |~b ] where ~b is general.I Find conditions on ~b’s elements for a solution to

A~x = ~b to exist → obtain basis for C(A).I Basis for row space = non-zero rows in R (easy!)I Alternate basis for column space = non-zero rows in

reduced form of AT (easy!)

Page 37: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

7 of 16

Stuff to know/understand:

More on bases for column and row space:

I Reduce [A |~b ] where ~b is general.I Find conditions on ~b’s elements for a solution to

A~x = ~b to exist → obtain basis for C(A).I Basis for row space = non-zero rows in R (easy!)I Alternate basis for column space = non-zero rows in

reduced form of AT (easy!)

Page 38: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

8 of 16

Stuff to know/understand:

Bases for nullspaces, left and right:

I Basis for nullspace obtained by solving A~x = ~0I Always express pivot variables in terms of free

variables.I Free variables are unconstrained (can be any real

number)I # free variables = n - # pivot variables = n − r = dim

N(A).I Similarly find basis for N(AT) by solving AT~y = ~0.

Page 39: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

8 of 16

Stuff to know/understand:

Bases for nullspaces, left and right:

I Basis for nullspace obtained by solving A~x = ~0I Always express pivot variables in terms of free

variables.I Free variables are unconstrained (can be any real

number)I # free variables = n - # pivot variables = n − r = dim

N(A).I Similarly find basis for N(AT) by solving AT~y = ~0.

Page 40: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

8 of 16

Stuff to know/understand:

Bases for nullspaces, left and right:

I Basis for nullspace obtained by solving A~x = ~0I Always express pivot variables in terms of free

variables.I Free variables are unconstrained (can be any real

number)I # free variables = n - # pivot variables = n − r = dim

N(A).I Similarly find basis for N(AT) by solving AT~y = ~0.

Page 41: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

8 of 16

Stuff to know/understand:

Bases for nullspaces, left and right:

I Basis for nullspace obtained by solving A~x = ~0I Always express pivot variables in terms of free

variables.I Free variables are unconstrained (can be any real

number)I # free variables = n - # pivot variables = n − r = dim

N(A).I Similarly find basis for N(AT) by solving AT~y = ~0.

Page 42: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

8 of 16

Stuff to know/understand:

Bases for nullspaces, left and right:

I Basis for nullspace obtained by solving A~x = ~0I Always express pivot variables in terms of free

variables.I Free variables are unconstrained (can be any real

number)I # free variables = n - # pivot variables = n − r = dim

N(A).I Similarly find basis for N(AT) by solving AT~y = ~0.

Page 43: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

8 of 16

Stuff to know/understand:

Bases for nullspaces, left and right:

I Basis for nullspace obtained by solving A~x = ~0I Always express pivot variables in terms of free

variables.I Free variables are unconstrained (can be any real

number)I # free variables = n - # pivot variables = n − r = dim

N(A).I Similarly find basis for N(AT) by solving AT~y = ~0.

Page 44: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

9 of 16

Stuff to know/understand:

Number of solutions to A~x = ~b:

1. If ~b 6∈ C(A), there are no solutions.

2. If ~b ∈ C(A) there is either one unique solution orinfinitely many solutions.

I Number of solutions now depends entirely on N(A).I If dim N(A) = n − r > 0, then there are infinitely

many solutions.I If dim N(A) = n − r = 0, then there is one solution.

Page 45: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

9 of 16

Stuff to know/understand:

Number of solutions to A~x = ~b:

1. If ~b 6∈ C(A), there are no solutions.

2. If ~b ∈ C(A) there is either one unique solution orinfinitely many solutions.

I Number of solutions now depends entirely on N(A).I If dim N(A) = n − r > 0, then there are infinitely

many solutions.I If dim N(A) = n − r = 0, then there is one solution.

Page 46: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

9 of 16

Stuff to know/understand:

Number of solutions to A~x = ~b:

1. If ~b 6∈ C(A), there are no solutions.

2. If ~b ∈ C(A) there is either one unique solution orinfinitely many solutions.

I Number of solutions now depends entirely on N(A).I If dim N(A) = n − r > 0, then there are infinitely

many solutions.I If dim N(A) = n − r = 0, then there is one solution.

Page 47: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

9 of 16

Stuff to know/understand:

Number of solutions to A~x = ~b:

1. If ~b 6∈ C(A), there are no solutions.

2. If ~b ∈ C(A) there is either one unique solution orinfinitely many solutions.

I Number of solutions now depends entirely on N(A).I If dim N(A) = n − r > 0, then there are infinitely

many solutions.I If dim N(A) = n − r = 0, then there is one solution.

Page 48: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

9 of 16

Stuff to know/understand:

Number of solutions to A~x = ~b:

1. If ~b 6∈ C(A), there are no solutions.

2. If ~b ∈ C(A) there is either one unique solution orinfinitely many solutions.

I Number of solutions now depends entirely on N(A).I If dim N(A) = n − r > 0, then there are infinitely

many solutions.I If dim N(A) = n − r = 0, then there is one solution.

Page 49: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

9 of 16

Stuff to know/understand:

Number of solutions to A~x = ~b:

1. If ~b 6∈ C(A), there are no solutions.

2. If ~b ∈ C(A) there is either one unique solution orinfinitely many solutions.

I Number of solutions now depends entirely on N(A).I If dim N(A) = n − r > 0, then there are infinitely

many solutions.I If dim N(A) = n − r = 0, then there is one solution.

Page 50: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

10 of 16

Projections:I Understand how to project a vector ~b onto a line in

direction of ~a.I ~b = ~p + ~eI ~p = that part of ~b that lies in the line:

~p =~aT~b~aT~a

~a(

=~a~aT

~aT~a~b)

I ~e = that part of ~b that is orthogonal to the line.I Understand generalization to projection onto

subspaces.I Understand construction and use of subspace

projection operator P:

~P = A(ATA)−1AT,

where A’s columns form a subspace basis.

Page 51: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

10 of 16

Projections:I Understand how to project a vector ~b onto a line in

direction of ~a.I ~b = ~p + ~eI ~p = that part of ~b that lies in the line:

~p =~aT~b~aT~a

~a(

=~a~aT

~aT~a~b)

I ~e = that part of ~b that is orthogonal to the line.I Understand generalization to projection onto

subspaces.I Understand construction and use of subspace

projection operator P:

~P = A(ATA)−1AT,

where A’s columns form a subspace basis.

Page 52: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

10 of 16

Projections:I Understand how to project a vector ~b onto a line in

direction of ~a.I ~b = ~p + ~eI ~p = that part of ~b that lies in the line:

~p =~aT~b~aT~a

~a(

=~a~aT

~aT~a~b)

I ~e = that part of ~b that is orthogonal to the line.I Understand generalization to projection onto

subspaces.I Understand construction and use of subspace

projection operator P:

~P = A(ATA)−1AT,

where A’s columns form a subspace basis.

Page 53: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

10 of 16

Projections:I Understand how to project a vector ~b onto a line in

direction of ~a.I ~b = ~p + ~eI ~p = that part of ~b that lies in the line:

~p =~aT~b~aT~a

~a(

=~a~aT

~aT~a~b)

I ~e = that part of ~b that is orthogonal to the line.I Understand generalization to projection onto

subspaces.I Understand construction and use of subspace

projection operator P:

~P = A(ATA)−1AT,

where A’s columns form a subspace basis.

Page 54: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

10 of 16

Projections:I Understand how to project a vector ~b onto a line in

direction of ~a.I ~b = ~p + ~eI ~p = that part of ~b that lies in the line:

~p =~aT~b~aT~a

~a(

=~a~aT

~aT~a~b)

I ~e = that part of ~b that is orthogonal to the line.I Understand generalization to projection onto

subspaces.I Understand construction and use of subspace

projection operator P:

~P = A(ATA)−1AT,

where A’s columns form a subspace basis.

Page 55: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

10 of 16

Projections:I Understand how to project a vector ~b onto a line in

direction of ~a.I ~b = ~p + ~eI ~p = that part of ~b that lies in the line:

~p =~aT~b~aT~a

~a(

=~a~aT

~aT~a~b)

I ~e = that part of ~b that is orthogonal to the line.I Understand generalization to projection onto

subspaces.I Understand construction and use of subspace

projection operator P:

~P = A(ATA)−1AT,

where A’s columns form a subspace basis.

Page 56: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

10 of 16

Projections:I Understand how to project a vector ~b onto a line in

direction of ~a.I ~b = ~p + ~eI ~p = that part of ~b that lies in the line:

~p =~aT~b~aT~a

~a(

=~a~aT

~aT~a~b)

I ~e = that part of ~b that is orthogonal to the line.I Understand generalization to projection onto

subspaces.I Understand construction and use of subspace

projection operator P:

~P = A(ATA)−1AT,

where A’s columns form a subspace basis.

Page 57: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

11 of 16

Stuff to know/understandNormal equation for A~x = ~b:

I If ~b 6∈ C(A), project ~b onto C(A).I Write projection of ~b as ~p.I Know ~p ∈ C(A) so ∃ ~x∗ such that A~x∗ = ~p.I Error vector must be orthogonal to column space so

AT~e = AT(~b − ~p) = ~0.I Rearrange:

AT~p = AT~b

.I Since A~x∗ = ~p, we end up with

ATA~x∗ = AT~b.

I This is linear algebra’s normal equation;~x∗ is our best solution to A~x = ~b.

Page 58: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

11 of 16

Stuff to know/understandNormal equation for A~x = ~b:

I If ~b 6∈ C(A), project ~b onto C(A).I Write projection of ~b as ~p.I Know ~p ∈ C(A) so ∃ ~x∗ such that A~x∗ = ~p.I Error vector must be orthogonal to column space so

AT~e = AT(~b − ~p) = ~0.I Rearrange:

AT~p = AT~b

.I Since A~x∗ = ~p, we end up with

ATA~x∗ = AT~b.

I This is linear algebra’s normal equation;~x∗ is our best solution to A~x = ~b.

Page 59: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

11 of 16

Stuff to know/understandNormal equation for A~x = ~b:

I If ~b 6∈ C(A), project ~b onto C(A).I Write projection of ~b as ~p.I Know ~p ∈ C(A) so ∃ ~x∗ such that A~x∗ = ~p.I Error vector must be orthogonal to column space so

AT~e = AT(~b − ~p) = ~0.I Rearrange:

AT~p = AT~b

.I Since A~x∗ = ~p, we end up with

ATA~x∗ = AT~b.

I This is linear algebra’s normal equation;~x∗ is our best solution to A~x = ~b.

Page 60: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

11 of 16

Stuff to know/understandNormal equation for A~x = ~b:

I If ~b 6∈ C(A), project ~b onto C(A).I Write projection of ~b as ~p.I Know ~p ∈ C(A) so ∃ ~x∗ such that A~x∗ = ~p.I Error vector must be orthogonal to column space so

AT~e = AT(~b − ~p) = ~0.I Rearrange:

AT~p = AT~b

.I Since A~x∗ = ~p, we end up with

ATA~x∗ = AT~b.

I This is linear algebra’s normal equation;~x∗ is our best solution to A~x = ~b.

Page 61: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

11 of 16

Stuff to know/understandNormal equation for A~x = ~b:

I If ~b 6∈ C(A), project ~b onto C(A).I Write projection of ~b as ~p.I Know ~p ∈ C(A) so ∃ ~x∗ such that A~x∗ = ~p.I Error vector must be orthogonal to column space so

AT~e = AT(~b − ~p) = ~0.I Rearrange:

AT~p = AT~b

.I Since A~x∗ = ~p, we end up with

ATA~x∗ = AT~b.

I This is linear algebra’s normal equation;~x∗ is our best solution to A~x = ~b.

Page 62: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

11 of 16

Stuff to know/understandNormal equation for A~x = ~b:

I If ~b 6∈ C(A), project ~b onto C(A).I Write projection of ~b as ~p.I Know ~p ∈ C(A) so ∃ ~x∗ such that A~x∗ = ~p.I Error vector must be orthogonal to column space so

AT~e = AT(~b − ~p) = ~0.I Rearrange:

AT~p = AT~b

.I Since A~x∗ = ~p, we end up with

ATA~x∗ = AT~b.

I This is linear algebra’s normal equation;~x∗ is our best solution to A~x = ~b.

Page 63: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

11 of 16

Stuff to know/understandNormal equation for A~x = ~b:

I If ~b 6∈ C(A), project ~b onto C(A).I Write projection of ~b as ~p.I Know ~p ∈ C(A) so ∃ ~x∗ such that A~x∗ = ~p.I Error vector must be orthogonal to column space so

AT~e = AT(~b − ~p) = ~0.I Rearrange:

AT~p = AT~b

.I Since A~x∗ = ~p, we end up with

ATA~x∗ = AT~b.

I This is linear algebra’s normal equation;~x∗ is our best solution to A~x = ~b.

Page 64: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

11 of 16

Stuff to know/understandNormal equation for A~x = ~b:

I If ~b 6∈ C(A), project ~b onto C(A).I Write projection of ~b as ~p.I Know ~p ∈ C(A) so ∃ ~x∗ such that A~x∗ = ~p.I Error vector must be orthogonal to column space so

AT~e = AT(~b − ~p) = ~0.I Rearrange:

AT~p = AT~b

.I Since A~x∗ = ~p, we end up with

ATA~x∗ = AT~b.

I This is linear algebra’s normal equation;~x∗ is our best solution to A~x = ~b.

Page 65: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

13 of 16

The symmetry of A~x = ~b and AT~y = ~c:

Null

Space

Space

Left Null

A~xr = ~b

AT~yr = ~c

Rm

A ~xn = ~0~0

~0AT ~yn = ~0

d = m− r

d = r

Row SpaceColumn Space

Rn

d = r

d = n− rN(A) N(AT)

C(AT) C(A)

Page 66: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

14 of 16

How A~x = ~b works:

Space

Left Null

Rm

~0

~0

d = m− r

d = r

Row SpaceColumn Space

Rn

Null Space

~xn

~xr

A ~xn = ~0

A~xr = ~b

A~x = ~b

d = n− r

d = r

~x = ~xr + ~xn

~b

Page 67: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

15 of 16

Best solution ~x∗ when ~b = ~p + ~e:

Space

Left Null

Rm

~0

~0

d = m− r

d = r

Row SpaceColumn Space

Rn

Null Space

~xn

~xr

A ~xn = ~0

A~xr = ~p

A~x∗ = ~p

d = n− r

d = r

~x∗ = ~xr + ~xn

~p

~b

~e

Page 68: Chapter 3/4: Lecture 15 - Linear Algebra MATH 124, Fall, 2010 · Ch. 3/4: Lec. 15 Review for Exam 2 Words Pictures 1 of 16 Chapter 3/4: Lecture 15 Linear Algebra MATH 124, Fall, 2010

Ch. 3/4: Lec. 15

Review for Exam 2

Words

Pictures

16 of 16

The fourfold ways of A~x = ~b:

case example R big picture#solutions

m = rn = r

[1 00 1

]1 always

m = r ,n > r

[1 0 K10 1 K2

]∞ always

m > r ,n = r

1 00 10 0

0 or 1

m > r ,n > r

1 0 ®10 1 ®20 0 00 0 0

0 or ∞