Save this video free

Lecture 7: Multivariate calculus

Burton Ma · 32:51 · 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 the multivariate calculus notation needed for high-dimensional optimization, including column vectors, vector-valued functions, scalar-valued functions of vectors, partial derivatives, and directional derivatives. He connects the material to deep neural networks with billions of parameters and demonstrates MATLAB implementations for lines, vector norms, and direction-based calculations before defining the gradient as a column vector.

Key takeaways

Chapters

0:00 Why Vector Calculus Matters for Billion-Parameter Optimization
4:00 Vector-Valued Functions and Parametric Lines in MATLAB
12:00 Unit-Direction Lines, Vector Norms, and a 3D Helix
15:00 Derivatives of Vector-Valued Functions
17:00 Scalar Functions of Vectors and Partial Derivatives
24:00 Standard Basis Vectors, Directional Derivatives, and the Gradient

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

Transcript excerpt

0:01 There we go. All right, we're now into lecture set number six. Uh, so this is um Sorry, what's going on over here? There we go. All right. Uh, so we're now into some um I guess calculus. So this is going to be some vector calculus. Um so I have to introduce these concepts because I'm not 100% sure that everybody knows uh or everybody has done some sort of vector calculus in the past. All right. So so far we've only looked at one dimensional um functions. Uh most interesting optimization problems though are um in a higher dimension. Um and in

0:51 I guess today's world um when you're looking at deep neural networks uh those um these networks have billions of parameters and so you're looking at a billiondimensional uh billiondimensional optimization problem. Um and so we need techniques that can generalize uh to multi-dimensions. Um and so this lecture is basically laying down the basic calculus that you need to talk about these sort of things. Okay, so we're going to have to start using vectors instead of just scalers. Uh so every time you see a vector quantity in this course, it's always going to have the little arrow on top of it. So w arrow indicates that w uh is a vector quantity, right? And this is consistent throughout the notes, right? So you can always tell what a vector

1:37 quantity is. Um one of the annoying things about optimization texts is that uh you most standard texts don't use this notation. uh they just use a uh they just use a symbol of some kind. Um and it's not clear whether they're talking about a scalar quantity or a vector quantity or a matrix quantity. Um okay. Uh by default we're always working with column vectors, right? So

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.