Save this video free

Lecture 2: Optimization via quadratic approximation

Burton Ma · 49:58 · Watch on YouTube

Part of Queen's University CISC 371. See all 23 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Burton Ma introduces minimization concepts through a triangle-distance example, then develops a one-dimensional line search that fits a quadratic to three bracketed samples and repeatedly narrows the bracket. He explains local versus global minima, derives the parabola’s minimizer, and demonstrates MATLAB implementation details including stopping tolerances, iteration limits, Vandermonde systems, and solving with backslash rather than an explicit matrix inverse.

Key takeaways

Chapters

0:00 Triangle-Distance Minimization and MATLAB Contour Plots
5:00 Optimization Domains, Real Vectors, and Objective Functions
8:00 Minimizers, Minimum Values, and the Limits of Function Plots
14:00 Local and Global Minima on Restricted Domains
22:00 Bracketing a One-Dimensional Minimum
26:00 Fitting a Quadratic Through Three Bracket Samples
32:00 Calculating the Parabolic Minimum and Updating the Bracket
40:00 MATLAB Line-Search Function and Stopping Conditions
44:00 Solving the Vandermonde System Stably in MATLAB

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 uh able to store the videos on my USB key for the previous lecture and I know it's not going to work today. Uh so I have to ask it to see if this thing is actually recording or not. So I can't promise you that either of the first two videos will be there. Uh if this thing's not working at all then I have to come up with some other solution to record these videos. All right. So uh we ended up looking at this little uh small example of an optimization problem at the last class. Right? So remember you're given a triangle or points uh making up the triangle. So A, B, and C. Uh and the goal is to find some point X such that the sum of the distances between X and the corner of the triangles is a minimum. Uh and so we were playing around in mat lab and I showed you a little uh a very

0:49 well a short mat lab script um that tries to brute force the solution, right? Uh and we ended up here. So there's our triangle. Uh these lines that you see uh these are called contour lines. Um which you may or may not have seen before. Uh each line represents a constant value of our uh of the objective function. Right? So our objective function is the sum of the distances from a point to a to the uh points of the triangle. Right? And so if you're on this line here, uh I guess it says its value is 5.99, right? If you're at that point, if you took the distance from that point to each of the three uh points on the triangle, sum those distances, you would

1:36 get 5.99, right? And they get smaller uh as you

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, Burton Ma.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.