ES.1802, October 13, 2026
Overview
The ES.1802 class reviews multivariable critical-point classification, then introduces constrained optimization through level curves, boundary checks, and the Lagrange multiplier condition ∇f = λ∇g. It then previews an ES.1806 linear algebra connection: deriving the projection of a vector onto a subspace using the matrix P = A(AᵀA)⁻¹Aᵀ.
Key takeaways
- For a symmetric Hessian at a critical point, all-positive eigenvalues indicate a local minimum, all-negative eigenvalues a local maximum, and mixed positive and negative eigenvalues a saddle; a zero eigenvalue makes the test inconclusive.
- A constrained optimum occurs where the objective and constraint level curves are tangent, yielding the Lagrange multiplier condition ∇f = λ∇g.
- To find the point on xy = 1 closest to the origin, minimize x² + y² subject to xy − 1 = 0; minimizing squared distance avoids the square root without changing the minimizer.
- Constrained optimization over a bounded domain requires checking both interior candidates and boundary endpoints, as illustrated by y = 1 − x² in the first quadrant.
- Projection onto a vector A is A(AᵀB)/(AᵀA); projection onto the column space of a full-column-rank matrix A generalizes this to A(AᵀA)⁻¹AᵀB.
Chapters
- A critical point in several variables satisfies ∇f = 0, the multivariable analogue of a zero first derivative.
- The Hessian is the matrix of second partial derivatives; equality of mixed partials makes it symmetric.
- Positive Hessian eigenvalues indicate a local minimum, negative eigenvalues a local maximum, and mixed signs a saddle.
- If a Hessian eigenvalue is zero, the second-derivative test is inconclusive; other analysis is needed to classify the point.
- Near a critical point, the quadratic approximation captures curvature that the tangent-plane approximation misses.
- A positive-definite Hessian makes the quadratic form positive in every nonzero direction, producing local bowl-shaped behavior and a minimum.
- A global maximum or minimum is defined relative to a specified domain, unlike a local extremum.
- Constraints can define regions such as the unit sphere x² + y² + z² ≤ 1 or the first octant.
- Optima may occur inside a domain or on its boundary, so boundary points must be included in the search.
- The example asks for the point on the hyperbola xy = 1 closest to the origin.
- Distance is √(x² + y²), and minimizing it is equivalent to minimizing the simpler objective f(x,y) = x² + y².
- The constraint is written as g(x,y) = xy − 1 = 0, keeping the objective and constraint separate rather than substituting one variable.
- Level curves of x² + y² are circles centered at the origin, while xy = 1 is the constraint curve.
- At a constrained optimum, the objective’s level curve is tangent to the constraint, so their gradients are parallel.
- The parallel-gradient condition is written ∇f = λ∇g, where λ is a scalar multiplier.
- For two variables, ∇f = λ∇g supplies two equations, which are solved together with the constraint equation.
- Lagrange multiplier candidates should be evaluated and compared to determine which gives the desired extremum.
- For a bounded curve segment, such as y = 1 − x² in the first quadrant, test endpoints as well as interior critical points.
- The projection of B onto a nonzero vector A is (A·B)/(A·A) times A.
- The dot product A·A equals the squared magnitude of A, avoiding a square root in the projection formula.
- Using matrix notation, the same vector projection can be written A(AᵀA)⁻¹AᵀB.
- The column space of A consists of all linear combinations of its columns; multiplying A by a coefficient vector produces such a combination.
- A vector B outside that space can be approximated by its projection P onto the column space.
- For linearly independent columns, the projection is P = A(AᵀA)⁻¹AᵀB, extending the single-vector projection formula to a subspace.
- The matrix A(AᵀA)⁻¹Aᵀ is the projection matrix, and multiplying it by B returns the component of B lying in A’s column space.
- The projection formula generalizes the earlier vector projection and previews a useful ES.1806 linear algebra technique.
- A’s columns span the set of outputs obtainable from A times coefficient vectors; projecting B finds the closest vector in that set.
Transcript excerpt
0:00 So today is Monday. When is our next exam? Today's not Monday. Well, it's a Monday schedule. It's Tuesday. So this is Monday 1802. This is Monday question, not Tuesday question. Um, how was the long weekend? You did change your hairstyle. I don't know if you want to be highlighted for that, but here's the here's the updated Sharif. >> Um, yes. Good mom weekend, bad mom weekend. This stuff is going >> Did you all procrastinate anyway? >> No, I did so much and I still have so much more. Um today we're going to do two things. We are going to continue along our track of optimization and then we're going to take a very indulgent 1806 related tangent that is still useful for pet sets and whatnot about these squares. >> Question becomes what should we do first? I think we should review
0:48 optimization do constraint optimization or introduce it at least then go into the 1806 track of these squares which is fun. It's got some pretty visuals. So review >> extrema >> critical points >> next. >> That's crazy. >> Okay. >> Now what >> at a critical point? >> Well, how do we find a critical point? What do we call this? What are we finding at a critical point? >> What happens at a critical point? Maral >> not before even before the second before we know nothing about the second >> the f >> first derivative is zero and in multi
1:35 what do we call that >> first derivative multi >> yes so the gradient is the zero vector and then how do we classify So, how many class? >> How do we classify them? That was what we closed on last time. >> Hiding under a baseball cap like someone
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, ChristianAltoSax.