Instructor | Sheel Ganatra | Course Assistant | Valentin Buciumas | Course Assistant | Zev Rosengarten |
Office | 380-382E | Office | 380-381A | Office | 380-381N |
ganatra (at) math (dot) stanford (dot) edu | buciumas (at) stanford (dot) edu | zevr (at) math (dot) stanford (dot) edu |
Linear Algebra and Multivariable Calculus are two of the most widely used mathematical tools across all scientific disciplines. This course seeks to develop background in both and highlight the ways in which multivariable calculus can be naturally understood in terms of linear algebra.
By the end of this course, you should be able to:
Prerequesites (from the Stanford Course catalogue): Math 21, or 42, or a score of 4 on the BC Advanced Placement exam or 5 on the AB Advanced Placement exam, or consent of instructor. Note that our prerequesite for the above AP exam scores is not strict, so if you believe you have comparable requesite background, you are welcome to enroll.
The textbook is a special combined edition of Levandosky's Linear Algebra book and parts of Colley's Vector Calculus. (We will use Chapter 2 and 4 from the 4th edition of Colley.) Hard-copy versions of the text should be available at the campus bookstore. An electronic version is also available. If you are interested in one, read these instructions and then go to the publisher's site.
Calculators are neither required nor recommended for Math 51 (and will not be allowed on exams anyway).
Each member of the course staff will hold office hours every week in which you can discuss concepts covered in classes, homework problems, or other class-related questions. You may attend the office hours of any member of the course staff, and no appointment is ever necessary.
Stanford Summer Tutor Program (STP) offers FREE tutoring and academic skills coaching to students enrolled in Stanford's Summer Quarter; just drop in. Math tutoring is held in the Organic Chemistry Building, and the weekly schedule is posted here.
Here is some advice for succeeding in Math 51, given by Professor Brumfiel (slightly modified to account for the different structure of the class in summer).
Statement from the Registrar concerning students with documented disabilities:
"Students who may need an academic accommodation based on the impact of a disability must initiate the request with the Office of Accessible Education (OAE). Professional staff will evaluate the request with required documentation, recommend reasonable accommodations, and prepare an Accommodation Letter for faculty dated in the current quarter in which the request is being made. Students should contact the OAE as soon as possible since timely notice is needed to coordinate accommodations. The OAE is located at 563 Salvatierra Walk (phone: 723-1066)."
The course grade will be based on the following:
Homeworks will be posted here on an ongoing basis. Please read carefully the Weekly Homework Policy before submitting your homework assignment; it gives important instructions in how to approach the homework assignments and how to write up (for instance, you are required to show all your work for full credit; just answers given will often receive no credit).
HW Submission Instructions:
Late homeworks will not be accepted. In order to accomodate exceptional situations such as serious illness, your lowest homework score will be dropped at the end of the quarter. You are encouraged to discuss problems with each other, but you must work on your own when you write down solutions. The Honor Code applies to this and all other aspects of the course.
As homeworks are completed, solutions (in PDF) will be uploaded here.
Once you pick up your graded HWs, it is your responsibility to look over your assignment (and CourseWork grade), along with the posted solutions, to make sure it is correctly graded. Here are instructions for how to submit a regrade request in case there is any issue with your grade.
Due date and time | Assignment | Remarks |
---|---|---|
Friday, June 24 at 1 PM | HW 1. | Solutions on coursework. |
Friday, July 1 at 1 PM | HW 2. | Solutions on coursework. |
Friday, July 8 at 1 PM | HW 3. | Solutions on coursework. |
Friday, July 15 at 1 PM | HW 4. | Solutions on coursework. |
Friday, July 22 at 1 PM | HW 5. | Solutions on coursework. |
Friday, July 29 at 1 PM | HW 6. | Solutions on coursework. |
Thursday, August 4 at 1 PM | HW 7. | Solutions on coursework. |
Wednesday, August 10 at 1 PM | HW 8. | Solutions on coursework. |
All exams for Math 51 are closed-book, closed-notes exams, with no calculators or other electronic aids permitted. Furthermore, they are all cumulative (so Midterm 2 will test on everything covered in class to that point, not just everything covered since Midterm 1, and so on). Your overall exam average is the weighted average of all scores on all exams; this average counts 82.5% towards the final grade. No scaling or curving is applied to individual exam scores.
A good way to prepare for these exams is to make sure you can solve all of the homework problems, and to solve problems from old exams from previous incarnations of Math 51; see also below.
Once you pick up your graded midterms, it is your responsibility to look over your assignment (and CourseWork grade), along with the posted solutions, to make sure it is correctly graded. Here are instructions for how to submit a regrade request in case there is any issue with your grade.
The first midterm was held in class (the usual room, 200-203) on Wednesday, July 6. The topics ranged through topics covered in class by the end of Friday, July 1.
Here is the exam. Here are solutions to the exam.
The second midterm exam was held in class (the usual room, 200-203) on Wednesday, July 27. The topics ranged through topics covered in class by the end of Friday, July 22.
Here is the exam. Here are solutions to the exam.
The Final Exam was held on Saturday, August 13 from 7:00pm - 10:00 pm.
Here is the exam (with a small typo fixed in 13g -- because of this typo, everyone received credit for that part of problem 13). Here are solutions to the exam.
Here is a page with links to old exams given in previous incarnations of Math 51.
Lecture topics by day will be posted on an ongoing basis below. Future topics are tentative and will be adjusted as necessary. L refers to The Levandosky, Linear Algebra part of your text (Part 1) and C refers to the Colley, Vector Calculus part of your text (Part 2).
Note: no recording of lectures is permitted. You are welcome to take pictures of the whiteboard though.
Day | Lecture topics | Book chapters | Remarks |
---|---|---|---|
June 20 | Welcome and overview of class. Vectors in R^n and linear combinations. | L1, L2. | |
June 21 | Linear combinations and spans. | L2. | |
June 22 | Parametric representations of lines and planes. Linear independence and dependence. A brief mention of the dot product. | L3, L4. | |
June 23 | Dot products and cross products. | L4. | |
June 24 | Systems of linear equations. Matrices. Augmented matrices associated to systems of linear equations, row operations and reduced row echelon form (rref). | L5, L6. | |
June 27 | Matrix-vector products (and matrix multiplication). The relationship to systems of linear equations: the augmented system corresponding to [A|b] describes solutions to the equation Ax = b. The null space N(A) of a matrix A. | L7, L8. | See also L15 p. 99-100 for general matrix multiplication. |
June 28 | Homogeneous and inhomogeneous systems of linear equations. The column space C(A) of a matrix A. The relationship between N(A), C(A), and solutions to the system of linear equations Ax = b. | L9. | |
June 29 | Subspaces of R^n. If A is an m x n matrix, the null space N(A) is a subspace of R^n and the column space C(A) is a subspace of R^m. | L10. | |
June 30 | Basis for a subspace. How find the basis of the null space and column space of a matrix A. The dimension of a subspace. Properties of dimension. The rank-nullity theorem relating the dimension of the column space (or rank) and the dimension of the null space (or nullity) of a matrix A. | L11, L12. | |
July 1 | Linear transformations. Every linear transformation T has an associated matrix A; how to go back and forth. Examples and non-examples of linear transformations. The kernel and image of a linear transformation. | L13, L14. | |
July 4 | No class (holiday) | ||
July 5 | (Guest lecture by Professor Ralph Cohen) More examples of linear transformations. Composition of linear transformations and matrix multiplication. | L14, L15. | |
July 6 | Midterm exam 1 (in class). | ||
July 7 | Inverses. | L16. | |
July 8 | Determinants | L17. | |
July 11 | Systems of coordinates. The change of basis matrix (and its inverse!) as a way of going between different systems of coordinates. Systems of coordinates with respect to orthonormal bases. | L21 (p. 145-149) for systems of coordinates, and L22 (p. 162) for orthonormal bases. | |
July 12 | Systems of coordinates II: the matrix of a linear transformation in different coordinates. Similar matrices. | L21. | |
July 13 | Eigenvectors and Eigenvalues I. The notion of an eigenbasis. If a matrix has an eigenbasis then it is similar to a diagonal matrix, meaning it is diagonalizable (and vice versa). | L23. | |
July 14 | Eigenvectors and Eigenvalues II. Cases in which we can find an eigenbasis. Symmetric matrices and the Spectral Theorem. | L23, L18 (for transpose), L25 | |
July 15 | Multivariable functions, graphs, and level sets. Contour maps (which are drawings of collections of level sets). Parametric curves. | C2.1 + additional notes on parametric curves (handout given in class) | Note that Colley doesn't use the term contour map but you will be expected to know what this term means. |
July 18 | Limits, continuity; partial derivatives; differentiability. | C2.2 (up to page 111, not including addendum), C2.3 (up to page 128, not including addendum) | Limits will only appear on the final exam in a minimal way; you should know the formal definition and intuitive meaning, and how to show certain limits do *not* exist, but you will not need to check a limit exists directly from the definition. You should however know the definition of continuity and differentiability in terms of limits. |
July 19 | Partial derivatives and higher order derivatives. Clairaut's theorem. Differentiability and applications: tangent planes to graphs, linear approximations of multivariable functions. The gradient vector of a real-valued function. | C2.3 (up to page 128, not including addendum), C2.4 (up to page 138, not including addendum) | |
July 20 | Tangent lines to images of parametric curves. The matrix of partial derivatives of a general multivariable function. Differentiability and the total dervative linear transformation (whose associated matrix is the matrix of partial derivatives). | C2.3 (up to page 128, not including addendum), C2.4 (up to page 138, not including addendum), paper handout given earlier in class (for finding tangent lines to images of parametric curves) | |
July 21 | The chain rule. A brief mention of directional derivatives and the gradient. | C2.5 (up to page 153, not including addendum), C2.3 (up to page 128, for the gradient), C2.6 (up to page 168, not including implicit/inverse function theorems) | |
July 22 | (Guest lecture by Oleg Lazarev) Directional derivatives and the gradient. Application: tangent planes to implicit surfaces, and more generally tangent planes to level sets. | C2.6 (up to page 168, not including implicit/inverse function theorems), C2.3 (for definition of gradient) | |
July 25 | No class. | ||
July 26 | Review session during regular class hours in regular classroom. Students are welcome to come to both classes' review sessions; problems covered will be different! | ||
July 27 | Midterm exam 2 (in class). | ||
July 28 | Quadratic forms. | L26, not including Prop. 26.2 | Any verification of definiteness of a quadratic form should be either directly from definitions or using Prop. 26.1. of Levandosky, checking the signs of the eigenvalues of the corresponding matrix. Solutions on exams which use Prop 26.2 for 2x2 matrices will not receive credit. |
July 29 | First and second-order Taylor approximations for multivariable functions. The Hessian of a real-valued function, which is (in most nice cases) a symmetric matrix. | C4.1 (up to page 258, not including addendum) | |
August 1 | The first and second derivative tests for finding local extrema (minimum/maximum) of multivariable functions. | C4.2 and L26 (to check definiteness of the quadratic form associated to the Hessian, we will use Levandosky Prop. 26.1, not the method in Colley p. 268 and not the method in Levadosky Prop. 26.2. | Any verification of definiteness of the quadratic form associated to the Hessian should be either directly from definitions or using Prop. 26.1. of Levandosky, checking the signs of the eigenvalues of the corresponding matrix. Solutions on exams which use Prop 26.2 for 2x2 matrices or Colley p.268's "principal minors" will not receive credit. |
August 2 | Finding global extrema (minima/maxima) of functions. The Extreme Value theorem which ensures that global extrema of continuous functions always exist when the domain is closed and bounded (also called compact ). Using the first and second derivative tests for interior local extrema, and finding boundary local extrema via parametrizing the boundary. | C2.2 p. 101-102 for definitions of a ball and a closed set. C4.2 Definition 2.4 for the definition of a compact set, and Theorem 2.5. | |
August 3 | More closed and bounded domains. Finding boundary extrema via parametrizing the boundary , and finding global extrema in examples. | C4.2 as above, handout on parametrizing the boundary given two days earlier | |
August 4 | Lagrange Multipliers with one constraint. Worked Examples. | C4.3, up to page 286 (not including "A Hessian Criterion for Constrained Extrema") | |
August 5 | Lagrange Multipliers continued. More examples and applications: calculating the distance from a point in R^n to various sets. | C4.3 (as above) | |
August 8 | Lagrange Multipliers with multiple constraints. | C4.3 (as above) | |
August 9 | A conceptual exercise in finding extrema. An application of finding extrema to Least Squares Solutions, in particular for linear regressions. | C4.4 (note: C4.4 doesn't have any particularly new mathematics, it just applies existing concepts to various problems; so you could think of this section as "applied problem solving exercises involving Colley Chapter 4 concepts"). | This class day might only appear on the final exam in an inessential way: specific formulae appearing in C4.4 will not need to be memorized for the final exam. If anything from this section appears it will be carefully explained so that all you need to know is the calculus done in C4.2 and C4.3. |
August 10 | An applications of Linear Algebra: Google's PageRank algorithm. | None (though you can search to learn more about this topic online!) | This is an optional lecture which will not appear on the final exam. |
August 11 | Review session through both classes. | ||
August 13 | Final exam from 7pm-10pm in Herrin hall room T175 (for both classes). |