CPBS 7620 - Lecture 15 - More on the Frechet Derivative
Overview
Nicholas Dwork derives Fréchet derivatives for linear maps and quadratic forms, showing that the gradient of f(x) = xᵀAx is (A + Aᵀ)x and simplifies to 2Ax when A is symmetric. He applies these results to minimize ||Ax − b||², deriving the normal equations and the full-column-rank least-squares solution x = (AᵀA)⁻¹Aᵀb.
Key takeaways
- The Fréchet derivative of f(x) = aᵀx is the Jacobian row aᵀ, while its gradient is the column vector a.
- A linear map f(x) = Ax has constant Fréchet derivative A, independent of x.
- For f(x) = xᵀAx, the gradient is (A + Aᵀ)x; symmetry of A gives the familiar 2Ax formula.
- The quadratic remainder δxᵀAδx vanishes relative to ||δx|| because its magnitude is bounded by ||A||·||δx||².
- Minimizing ||Ax − b||² produces the normal equations AᵀAx = Aᵀb and, for full-column-rank A, the pseudoinverse solution (AᵀA)⁻¹Aᵀb.
Chapters
- For f(x) = aᵀx from ℝⁿ to ℝ, the derivative is the row vector aᵀ and the gradient is a.
- For f(x) = Ax from ℝⁿ to ℝᵐ, the Fréchet derivative is the matrix A.
- For f(x) = xᵀAx, expanding around x shows the linear terms give derivative xᵀA + xᵀAᵀ; the remaining term δxᵀAδx is quadratic in δx.
- The quadratic-form remainder is δxᵀAδx; Cauchy–Schwarz bounds its magnitude by ||δx||·||Aδx||.
- Using ||Aδx|| ≤ ||A||·||δx|| makes the remainder ratio at most ||A||·||δx||, which tends to zero.
- Transposing the derivative gives ∇f(x) = (A + Aᵀ)x; for symmetric A, this reduces to 2Ax.
- For f(x) = ||Ax − b||² with tall, skinny, full-column-rank A, expansion gives xᵀAᵀAx − 2bᵀAx + bᵀb.
- Differentiation yields ∇f(x) = 2AᵀAx − 2Aᵀb; setting it to zero gives the normal equations AᵀAx = Aᵀb.
- Since A has full column rank, the minimizer is x = (AᵀA)⁻¹Aᵀb = A†b, and convexity makes this critical point a minimum.
Transcript excerpt
0:00 Hi, I'm Nicholas Dwark and in this lecture we'll discuss more on the FCHE derivative. Let's go through a few examples of discovering the FCH derivative. For this first example, we'll consider f which maps Rn to R such that f ofx is equal to a transpose x. We seek the matrix f prime that satisfies the limit of the fchet derivative. Let's look at just the numerator of that limit. f(x) plus delta x - f ofx - frime delta x is equal to arpose * x plus delta x - arpose x - frime delta x and that equals arpose delta x - frime delta x. So we see that if we let frime of x= arpose then the limit equals zero.
0:50 For functions that map a vector to a scalar the gradient is the derivative transpose. So in this case the gradient of f at x is equal to a. Let's consider another example f which maps rn to rm such that f ofx is equal to ax. Here capital a is a matrix. Again we seek frime that satisfies the limit of the fchet derivative. Again we'll look at the numerator. f(x) plus delta x - f(x) - frime of x delta x is equal to a * x plus delta x - ax - frime of x delta x. Distributing the a we get this expression ax - ax cancel out. So we get this expression and we see that if we let frime of x
1:38 equal a then the limit equals zero. Another example, we're going to consider f which maps Rn to R such that f ofx is equal to xrpose ax. Again, let's look at the numerator and the expression we get is x + delta xrpose a * x + delta x - xrpose ax -
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, Nicholas Dwork.