ES.1802, October 6, 2026
Overview
The ES.1802 lesson connects Jacobian matrices to the multivariable chain rule, showing how products of Jacobians combine derivatives across nested functions and how the same calculation underlies backpropagation in neural networks. It then reviews tangent planes to implicitly defined surfaces, matrix transposes and vector notation, and first- and second-order Taylor approximations, motivating the Hessian matrix as the multivariable extension of curvature.
Key takeaways
- A Jacobian’s dimensions are output count by input count; composing compatible Jacobians applies the multivariable chain rule across nested functions.
- For a scalar function depending on several variables, its Jacobian is a row vector, and multiplying Jacobians yields the partial derivatives with respect to the final inputs.
- Backpropagation uses chain-rule products to measure how changes in parameters affect a neural network’s output or loss.
- For an implicit surface F(x,y,z)=c, the gradient ∇F(P) is normal to the surface, so the tangent plane satisfies ∇F(P)·(X−P)=0.
- A vector dot product can be written as uᵀv, turning the multivariable linear approximation into f(P)+∇f(P)ᵀΔx.
- Second-order Taylor approximations include curvature through the second derivative in one variable and the Hessian matrix in multiple variables.
Chapters
- For a function with components u and v depending on x and y, the Jacobian is a 2×2 matrix whose rows are ∇u and ∇v.
- If u and v depend on x, y, and z, the Jacobian has 2 rows and 3 columns, matching the number of outputs and inputs.
- The row-by-column convention keeps Jacobian dimensions aligned with the input and output spaces.
- For nested mappings (t,s) → (x,y) → (u,v) → f, the derivative is the product of the Jacobians at each layer.
- The Jacobians have dimensions 1×2, 2×2, and 2×2, so their product is a 1×2 row containing ∂f/∂t and ∂f/∂s.
- Expanding ∂f/∂t produces four path contributions, one for each route through u or v and x or y.
- Neural-network training adjusts model parameters to improve an output or loss, which requires tracking how changes propagate through dependent variables.
- Backpropagation applies the chain rule through successive layers, multiplying partial derivatives in the same structure as the Jacobian products.
- Matrix multiplication packages many derivative paths into one calculation, with dot products generating the required sums.
- For a surface defined implicitly by F(x,y,z)=constant, ∇F at a point on the surface provides a normal vector.
- The tangent plane through P is described by ∇F(P)·((x,y,z)−P)=0, without solving the surface equation explicitly for z.
- For the sphere F=x²+y²+z², the gradient is (2x,2y,2z), giving a radial normal at each point.
- The gradient points in the direction of steepest increase of a scalar function and is perpendicular to that function’s level surface.
- For F=x²+y²+z², increasing the level value produces spheres farther from the origin, illustrating why the gradient points radially outward.
- Level surfaces generalize level curves: they show locations where a function of three variables takes a fixed value.
- Transposition turns every row into a column, so a 2×3 matrix becomes a 3×2 matrix.
- A matrix product is defined when the first matrix’s column count matches the second matrix’s row count; a 3×2 matrix times a 2×3 matrix yields 3×3.
- The transpose of a column-vector gradient is a row vector, a form used in Jacobian calculations.
- In one variable, the tangent-line approximation near p is f(p)+f′(p)Δx.
- For f(x,y), the corresponding tangent-plane approximation is f(P)+∇f(P)·Δx, where Δx contains the changes in both inputs.
- The gradient coefficients describe the local first-order change in the function.
- Represent vectors u and v as 2×1 columns; their dot product is uᵀv, a 1×2 row times a 2×1 column.
- The matrix product produces a 1×1 scalar equal to u₁v₁+u₂v₂.
- Using this notation, the linearization becomes f(P)+∇f(P)ᵀΔx, which scales naturally to higher dimensions.
- A quadratic approximation adds the second-order term ½f″(p)(Δx)² to the one-variable linear approximation.
- Unlike a tangent line, the quadratic approximation captures local concavity and curvature, which help distinguish nearby minima and maxima.
- In multiple variables, the corresponding second-order term uses a matrix of second partial derivatives, the Hessian.
Transcript excerpt
0:00 First thing um Jacobian what is the Jacobian? If I have the Jacobian of some vector valued function f that is to say that is the Jacobian of a function whose components is components are u and v of x y brackets. Okay, remind me what this is you guys. What is the different what's it? What are the different ways to show the notation? What does this do? Tell me more. >> Yeah, this is a matrix. Yeah. >> Okay. This is Oh, you're saying yes. >> Partial of UV [applause] with respect to XY. And now because we need to get this
0:49 with a fine tooth comb, let's get a smaller piece of chalk. Another way we can write this is as a matrix. >> All right. What are the rows of this matrix? >> Delta. >> Yes. So gradient of U and >> and gradient of V, right? The gradients are vector value functions. Now something that we didn't talk about is what it looks like when um the dimensions are different. Let's right now this is U and V which are two two two functions of two variables. So our Jacobian will be a what by what matrix? 2x two. Yes, you got it on you almost
1:37 got it. But you dropped some. >> Oh, did I did you push? You pushed >> you lost. That was more exciting. >> Who is this? I guess it's I'll have a dramatic moment in class where I just go I guess I just had that dramatic moment. Okay. So, um if let's say you don't have that but um unless you want to. Well, now I'm just going to do it. Okay. It's a trap. Christian, don't fall for it. Okay. Speaking of He fell for some kind of trap. He's not
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.