Save this video free

Lecture 5: Line search

Burton Ma · 31:06 · 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 explains bracket-based dichotomous line search and derivative-driven one-dimensional searches, showing how step size affects evaluation cost, accuracy, and convergence. He compares dichotomous search with Fibonacci and golden-section variants, then demonstrates fixed-step and derivative-scaled updates, stopping criteria, and why an oversized step can cause divergence.

Key takeaways

Chapters

0:00 Dichotomous Line Search: Narrowing a Bracket Around the Minimum
4:08 Fibonacci and Golden-Section Search Reduce Function Evaluations
5:36 Using Derivative Signs to Choose a Search Direction
7:44 Fixed-Step Search: Accuracy Depends on Step Size
14:21 Scaling Fixed Steps by the Derivative Can Overshoot
21:00 Stopping Rules and MATLAB Implementation Choices
23:12 Oversized Steps Cause Divergence and Make Tuning Necessary

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

Transcript excerpt

0:00 the there are videos. So, the I am the recordings for this course do exist. Um so, they're now on YouTube for the first four lectures, and they will appear um within a reasonable amount of time after each lecture. Um I'll update the playlist and upload the videos. Uh the reason this came up is because someone sent me an email. Pooria. >> [laughter] >> He sent me an email containing some Jupiter notebooks uh and with an implementation of dichotomous line search um in Python. Um so, with your permission, I will post those on Yeah, on the lecture page. So, if you have your computer set up to run a Jupiter notebook and um NumPy installed, um you can see uh a nice um illustration of uh dichotomous line search. Now, if you don't have it uh set up, you

0:48 don't have your computer set up for that, no problem. You've got it set up for MATLAB, and I've got that demonstration right here. Uh so, uh there is an implementation of dichotomous line search uh which I will provide to you um later today. Um I'm not going to go through it, right? So, it's it's not a hard uh algorithm to implement. Um but, what I wanted to show you was how I generated that plot that I showed you the other day. Uh so, uh I'll also make this available to you as well. Okay. So, here's the function that I want to find the minimum of. It's just a parabola, right? So, we know that the minimum is at uh t = 0. Um I'm going to start with a left and a right point of my bracket. Right. Dichotomous line search uh we're going to pick two points near the middle

1:35 of the interval.

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.