Learn Before
Example

Newton's Method on a Quadratic Function

When applied to a simple quadratic function, such as f(x)=12x2f(x) = \frac{1}{2} x^2, Newton's Method can converge to the global minimum perfectly in a single step. For this function, the gradient is ablaf(x)=x abla f(x) = x and the Hessian is H=1\mathbf{H} = 1. The update step ϵ=H1ablaf(x)\epsilon = -\mathbf{H}^{-1} abla f(x) yields ϵ=x\epsilon = -x. Because the second-order Taylor expansion is mathematically exact for any quadratic function, no further adjustments or iterative steps are needed to reach the minimum.

0

1

Updated 2026-05-15

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L