Math 218D-1 Fall 2022


Welcome

Welcome to Math 218D! I will post almost all course materials on this page. Please check back for information about homework assignments, exams, and additional resources. You should probably read the syllabus.


Jump to Week:   1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Instructors

Joe Rabinoff
Joe Rabinoff

Joe Rabinoff

jdr@math.duke.edu
Math & Physics 243
Office Hours:
M10am–noonGross Hall 105
Wnoon–1pmGross Hall 111
Jesse Silliman
Jesse Silliman

Jesse Silliman

jesse.silliman@duke.edu
Math & Physics 106
Office Hours:
W10am–noonMath & Physics 106
Chongyao Chen
Chongyao Chen

Chongyao Chen

chongyao.chen@duke.edu
Office Hours:
Th3:30–6:30pmGross Hall 351
Zijun Li
Zijun Li

Zijun Li

zijun.li@duke.edu
Office Hours:
M1:30–2:30pmGross Hall 358
Tu10am–noonPhysics 235
Chun-Hsien Hsu
Chun-Hsien Hsu

Chun-Hsien Hsu

chunhsien.hsu@duke.edu
Office Hours:
Tu3:30–6:30pmGross Hall 359

Classes

Lecture Instructor Location Time
218D-1 (001) Joe Rabinoff LSRC A247 TTh noon–1:15pm
218D-1 (002) Jesse Silliman Math & Physics 130 TTh 3:30–4:45pm
Problem Session Instructor Location Time
218D-1 (01D) Chongyao Chen Reuben-Cooke 127 F 10:15–11:30am
218D-1 (02D) Zijun Li Reuben-Cooke 127 F noon–1:15pm
218D-1 (03D) Zijun Li Math & Physics 235 F 1:45–3:00pm
218D-1 (04D) Chun-Hsien Hsu Reuben-Cooke 127 F 3:30–4:45pm
218D-1 (05D) Chun-Hsien Hsu Math & Physics 150 F 8:30–9:45am

Resources


Access Gradescope by clicking on the tab in Sakai.


Textbook

Strang
Strang, Introduction to Linear Algebra
The official text for the course is Introduction to Linear Algebra (5th Ed) by Gilbert Strang, Wellesley–Cambridge Press/SIAM (2016). However, we will follow Strang only loosely. Another good reference is the online text Interactive Linear Algebra, by Dan Margalit and Joe Rabinoff.

Help

Office Hours
Your first stop for help should be office hours! Joe, Jesse, Chongyao, Zijun, and Chun-Hsien will be holding plenty (times listed above), and you should not hesitate to show up with questions and chat with the other students there.
Ed Discussion
Ask questions on Ed Discussion. Your instructors and fellow students are happy to post answers for everyone to see, and usually do so much more quickly than someone can respond to an email message.
Help Rooms
The Math Department operates several Help Rooms to provide assistance to students in lower-level courses. Students are invited to drop by the Help Rooms whenever they are open. No appointment is necessary. If you can't make the scheduled office hours, send us an email and we'll set up a meeting.
The Academic Resource Center
The Academic Resource Center (ARC) offers free services to all students during their undergraduate careers at Duke. Services include Learning Consultations, Peer Tutoring, Learning Communities, ADHD/LD Coaching, Outreach Workshops, GRE/MCAT Prep, Study Connect, and more. Because learning is a process unique to every individual, we work with each student to discover and develop their own academic strategy for success at Duke. Contact the ARC to schedule an appointment. Undergraduates in any year, studying any discipline can benefit!

Schedule

  Topic and Section Materials Homework
Week 1: 8/29 Introduction Joe's Notes
Demo: Best fit ellipse
Demo: Rabbit population
Demo: A Plane
Demo: Two Planes
Homework #1
Updated 9/5
(fixed #16)
Due 9/7
11:59pm

Note: HW#1 also covers the recorded lecture.
Vectors and Matrices (Ch. 1, 2.4, 2.7) Joe's Notes

Recorded: Watch on WarpWire (on Sakai) before the second lecture.
Solving Equations: Elimination (2.2) Joe's Notes
Problem Session Worksheet and Solutions  ● Quiz
Week 2: 9/5 Gauss–Jordan Algorithm (2.2, 2.5) Joe's Notes
Gauss–Jordan Slideshow
Rabinoff's Reliable Row Reducer
Homework #2
Due 9/14
11:59pm

LU Decomposition (2.3, 2.6) Joe's Notes
Problem Session Worksheet and Solutions  ● Quiz
Week 3: 9/12 Parametric Form Joe's Notes
Demo: Parameterized Line
Demo: Parameterized Plane
Homework #3
Due 9/21
11:59pm

Spans (3.2, 3.3) Joe's Notes
Demo: A vector
Demo: Scalar multiplication
Demo: Vector addition
Demo: Vector subtraction
Demo: Linear combinations of two vectors in R2
Demo: Linear combinations of two vectors in R3
Demo: Linear combinations of three vectors in R3
Demo: Span of 1 vector in R2
Demo: Span of 2 vectors in R2
Demo: Span of 1 vector in R3
Demo: Span of 2 vectors in R3
Demo: Span of 3 vectors in R3
Demo: Column Picture for Consistency: Consistent
Demo: Column Picture for Consistency: Inconsistent
Demo: Row/column picture: parallel lines
Demo: Row/column picture: sometimes inconsistent
Problem Session Worksheet and Solutions  ● Quiz
Week 4: 9/19 Subspaces (3.1, 3.2) Joe's Notes
Demo: Column and Null Space
Homework #4
Due 9/26
11:59pm

Linear Independence and Basis (3.4, 3.5) Joe's Notes
Demo: Coplanar vectors
Demo: Redundant parameterization
Demo: Linearly dependent vectors
Demo: Linearly independent vectors
Demo: Linear (In)dependence of 1 vector
Demo: Linear (In)dependence of 2 vectors
Demo: Linear (In)dependence of 3 vectors
Demo: Linear Dependence of 3 vectors in R2
Problem Session Worksheet and Solutions  ● Quiz
Week 5: 9/26 Fundamental Subspaces (3.4, 3.5) Joe's Notes
Demo: Rank-nullity: n=3, r=0
Demo: Rank-nullity: n=3, r=1
Demo: Rank-nullity: n=3, r=2
Demo: Rank-nullity: n=3, r=3
Homework #5
Due 10/5
11:59pm

Orthogonal Complements (3.5, 4.1) Joe's Notes
Demo: Closest vector to b
Demo: Orthogonal complement of one vector
Demo: Orthogonal complement of two vectors
Demo: Orthogonal complements in R2
Friday, 9/30: MIDTERM 1 Practice Midterm and Solutions
Midterm and Solutions
Make-up and Solutions
Week 6: 10/3 Orthogonal Projections (4.2) Joe's Notes
Demo: Decomposition relative a line in R2
Demo: Decomposition relative a line in R3
Demo: Decomposition relative a plane in R3
Demo: Projection onto a plane
Demo: Projection onto a line
Demo: Projection onto a plane
Homework #6
Due 10/12
11:59pm

Projection Matrices (4.2) Joe's Notes
Problem Session Worksheet and Solutions  ● Quiz
Week 7: 10/10 FALL BREAK Homework #7
Due 10/19
11:59pm

Least Squares (4.3) Joe's Notes
Demo: Least-Squares
Demo: Best-fit line
Demo: Best-fit parabola
Demo: Best-fit trigonometric function
Demo: Best-fit ellipse
Demo: Best-fit ellipse: what is minimized?
Problem Session Worksheet and Solutions  ● Quiz
Week 8: 10/17 Gram–Schmidt and QR (4.4) Joe's Notes
Demo: Projection formula
Homework #8
Due 10/26
11:59pm

Determinants I (5.1, 5.3) Joe's Notes
Problem Session Worksheet and Solutions
Week 9: 10/24 Determinants II (5.2) Joe's Notes
Supplement: cofactor matrix
Homework #9
Due 11/2
11:59pm

Eigenvalues and Eigenvectors (6.1) Joe's Notes
Demo: Rabbits Multiply
Demo: Eigenspaces of a flip
Demo: Eigenspaces of a shear
Demo: Eigenspaces of a rotation
Demo: Eigenspaces of the rabbit matrix
Demo: Eigenspaces of a 3x3 matrix
Demo: Eigenspaces of a projection matrix
Problem Session Worksheet and Solutions  ● Quiz
Week 10: 10/31 Diagonalization: Vector Form (6.2) Joe's Notes Homework #10
Due 11/9
11:59pm

Diagonalization: Geometry (6.2) Joe's Notes
Dynamics demos:
Friday, 11/4: MIDTERM 2 Practice Midterm and Solutions
Midterm and Solutions
Week 11: 11/7 Complex Numbers; Euler's Formula (9.1) Joe's Notes

Recorded: Watch on WarpWire (on Sakai) before Tuesday's lecture.
Homework #11
Due 11/16
11:59pm

AM/GM and Diagonalizability (6.2) Joe's Notes
Supplement: Proof of the AM≥GM theorem

AM/GM demos:
Dynamics with a Complex Eigenvalue
Systems of ODEs (6.3) Joe's Notes
Problem Session Worksheet and Solutions  ● Quiz
Week 12: 11/14 Spectral Theorem (6.4) Joe's Notes
Demo: Eigenspaces of a 3x3 symmetric matrix
Demo: Eigenspaces of a 3x3 symmetric matrix (GM=2)
Demo: Dynamics of a 2x2 symmetric matrix
Homework #12
Due 11/23
11:59pm

LDLT; Quadratic Optimization (2.7, 6.5) Joe's Notes
Supplement: LDLT and Cholesky
Problem Session Worksheet and Solutions  ● Quiz
Week 13: 11/21 Quadratic Optimization II (6.5) Joe's Notes Homework #13
Due 11/30
11:59pm

THANKSGIVING
Week 14: 11/28 SVD: Outer Product Form (7.1, 7.2) Joe's Notes Homework #14
Due 12/7
11:59pm

SVD: Matrix Form (7.3) Joe's Notes
Friday, 12/2: MIDTERM 3 Practice Midterm and Solutions
Midterm and Solutions
Week 15: 12/5 PCA I (7.3, 7.4) Joe's Notes Homework #15
(Not collected)

PCA II (7.3) Joe's Notes
Problem Session Worksheet and Solutions  ● Quiz
 
Final exams:
218D-1 (001):Saturday, 12/17, 2–5pm
218D-1 (002):Thursday, 12/15, 2–5pm
Practice Final and Solutions