Save this video free

Lecture 3: Optimization via quadratic approximation (cont); Stationarity

Burton Ma · 37:37 · 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 finishes the MATLAB implementation of quadratic interpolation for one-dimensional minimization, showing how function handles, bracket updates, iteration limits, and the backslash operator support the algorithm. He then develops stationarity conditions: a local minimum requires a zero first derivative and a nonnegative second derivative, but stationary points can also be maxima or inflection points.

Key takeaways

Chapters

0:00 Quadratic Interpolation Inputs, History, and MATLAB Function Handles
8:00 Solving the Parabola Fit and Visualizing Bracket Updates
13:00 Interpolation Converges as the Parabola Fits the Objective Locally
16:30 Why a Local Minimum Must Have Zero First Derivative
24:10 Stationary Minima, Maxima, and Inflection Points
28:10 Second-Order Minimum Condition and the Taylor Approximation
34:30 Inflection Points and the Terminology of Saddle Points

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

Transcript excerpt

0:00 uh I'll start posting videos to the lectures as well. Uh in the previous lecture we were looking at this quadratic fit approximation uh to minimization. So the idea here is that um you can bracket uh a minimizer. So you can get a po you can find uh points on either side of the minimum. So the left and the right so that the minimum is somewhere in the middle. Uh and then you can um successfively use parabas to approximate the function. using the bottom of the parabola as your estimate of the minimizer. Okay, so uh we ended the previous class looking at this mat lab code here. Um so I stuck in some comments here so that you can actually understand what's going

0:47 on. Right? So I'm telling so there are all the outputs and inputs to the function. Right? So tar is going to be your estimated uh minimizer. uh f-star is your estimated minimum. Uh t and p are just the history uh of the brackets and the parabola parameters um that the function uh records as it iterates through um as it shrinks the bracket u from step to step to step. Right? probably not so useful um for general purpose use um but it's super useful for illustrating the process later on uh which I'll show you in just a second um did Dr. Let's tell you how functions are passed to other functions in mat lab

1:36 in two in 271. Well, that's not useful. All right. So, in uh mat lab, if you want to pass a function to another function, you use what's called a function handle. Do you know what a handle is? Who took 220? Who has taken 220? Oh, not many of you. Okay. So, in first year, someone would

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.