M3 · Newton and quasi-Newton methods, from zero
Lectures 14–15 (29 Sep – 1 Oct) · MT2 material · about 1.5 hours with practice · Goal: state and run Newton's method, explain its quadratic convergence and when it fails, and handle quasi-Newton questions (the secant condition, find the update's coefficients, positive definiteness). Plus the many T/F items on these.
Same as M1 and M2: a story, Check boxes as you go, a Summary card at the end. Uses M1 (rates, $C^1_L$) and M2 (conjugacy, CG).
Why it matters: Newton appeared in the 2020 final (P1 Q2, 10 marks) and the 2021 final (P1 Q4, 10 marks). Newton and quasi-Newton T/F items came in 2024, 2025 and every MT2 (2021, 2023, 2025, 2026: about 5 items each). The quasi-Newton "find the coefficients" question was MT2 2023 Q3 and MT2 2024 Q3.
Notation (his):
- $x^{(k)}$ iterate, $x^*$ local minimiser, $\nabla f$, $\nabla^2f$ (also written $H(x)$) gradient and Hessian. $d$ = dimension.
- $r_k=\|x^{(k)}-x^*\|$ (distance to the minimiser); in 1-D also $e_k=|x^{(k)}-r|$.
- Quasi-Newton: $G^{(k)}$ = current approximation to the inverse Hessian; $\delta_k=x^{(k+1)}-x^{(k)}$ (the step); $\gamma_k=\nabla f(x^{(k+1)})-\nabla f(x^{(k)})$ (the change in gradient).
- (CQ) = the convex quadratic $\frac12x^\top Qx-h^\top x+c$, $Q\succ0$.
- $A\succ0$ ("positive definite", PD): $z^\top Az>0$ for every $z\ne0$ (all eigenvalues $>0$); $A\succeq\ell I$: all eigenvalues $\ge\ell$. Exact line search: choose $\alpha$ to minimise $f$ along the direction (M1, B2). For a matrix, $\|A\|$ is the largest stretch factor $\max_{\|z\|=1}\|Az\|$.
- Letters reused by the papers (read them per section): in B2 and P1, $\alpha,\beta$ are bounds on $f'''$ and $f''$, and $a,b$ are interval ends; in 2021 Q4 (B4, P2), $(\alpha,\beta)$ is the starting point; $\alpha_k$ is always a step length; in C4, P4 and P5, $a,b,c$ are unknown numbers in the update.
0. Why Newton exists
Gradient descent only uses the slope. It doesn't know how curved $f$ is, so it has to guess a step size, and on a stretched bowl it zig-zags (M1). Newton also uses the curvature (the Hessian). At each point it fits the best quadratic (the second-order Taylor model) and jumps straight to that quadratic's bottom.
- Payoff: on a quadratic, the model is the function, so Newton finishes in one step. Near a minimum, the number of correct digits roughly doubles every step ("quadratic convergence").
- Price: you need second derivatives and must solve a $d\times d$ linear system each step (about $d^3$ work). The guarantee is only local (start close enough), and it needs a positive definite Hessian.
- Quasi-Newton keeps most of the benefit using only gradients: it learns an approximate inverse Hessian from how the gradient changes between steps.
Newton = "minimise the local quadratic model" (one step on quadratics, digits double near a good minimum, can fail far away). Quasi-Newton = "build the inverse Hessian from steps $\delta$ and gradient changes $\gamma$ so that $G\gamma=\delta$".
A. The Newton step
A1. In one variable
Near $x^{(k)}$, Taylor gives the quadratic model $q(\delta)=f(x^{(k)})+f'(x^{(k)})\delta+\frac12f''(x^{(k)})\delta^2$. Its derivative is $f'+f''\delta$; setting it to zero gives $\delta=-f'/f''$:
$$x^{(k+1)}=x^{(k)}-\frac{f'(x^{(k)})}{f''(x^{(k)})}.$$Same thing seen differently: it is Newton's root-finding method applied to $f'$. Draw the tangent line to the graph of $f'$ and see where it crosses zero.
$f'=e^x-2$, $f''=e^x$. From $x^{(0)}=0$: $x^{(1)}=0-\frac{1-2}{1}=1$. $x^{(2)}=1-\frac{e-2}{e}\approx0.7358$. Then $0.6940$, $0.693147\ldots$
Errors: $0.693,\ 0.307,\ 0.043,\ 0.0009,\ 4\times10^{-7}$. Look at the exponents in the last steps: roughly doubling the number of correct digits.
A2. In $d$ variables
In practice: solve the linear system $\nabla^2f(x^{(k)})\,\delta=-\nabla f(x^{(k)})$, then set $x^{(k+1)}=x^{(k)}+\delta$. The step length is $1$; pure Newton "has no stepsize" (MT2 2023 T/F (d): True). It needs $f\in C^2$; a $C^3$ function is in particular $C^2$, so Newton applies to it.
Every Newton iterate is the stationary point of the quadratic model $q(\delta)=f+\nabla f^\top\delta+\frac12\delta^\top\nabla^2f\,\delta$ (MT2 2026 T/F (f): True).
A3. On a quadratic: one step, whatever the eigenvalues
For (CQ): $\nabla f=Qx-h$, $\nabla^2f=Q$. So $x^{(1)}=x^{(0)}-Q^{-1}(Qx^{(0)}-h)=Q^{-1}h=x^*$ from any start. Unlike GD (M1) and CG (M2), the speed doesn't depend on the eigenvalues at all.
- 2024 final T/F (e) "convergence of Newton on $h$ depends on the eigenvalues of $Q$": False.
- 2025 final T/F (h) "Newton on (CQ) can take 10 or more iterations": False (always one).
- MT2 2026 T/F (g) "Newton on a strongly convex quadratic is slower than CG": False (1 step vs up to $d$).
A4. Is the Newton step downhill?
The Newton direction $u=-[\nabla^2f]^{-1}\nabla f$ has $\nabla f^\top u=-\nabla f^\top[\nabla^2f]^{-1}\nabla f$. If $\nabla^2f\succ0$, then so is its inverse, and this is $<0$: a descent direction (MT2 2023 T/F (a) "Newton does not generate descent directions": False).
$\nabla^2f=\mathrm{diag}(1,-1)$, $\nabla f=(0,1)$: $u=-(0,-1)=(0,1)$ and $\nabla f^\top u=+1>0$. Uphill. Newton looks for a stationary point of the model, which can be a saddle or a maximum. That's why the convergence theorem assumes $\nabla^2f(x^*)\succ0$.
Show answer
$\nabla f=(4,2)$, $\nabla^2f=\mathrm{diag}(12,2)$. Step $=-(4/12,\,2/2)=(-\frac13,-1)$. $x^{(1)}=(\frac23,0)$. The $x_2$ part (a quadratic) is solved in one step. The $x_1$ part shrinks by a factor $\frac23$ per step: $x^4$ has a degenerate minimum ($f''(0)=0$), so convergence there is only linear (explained in B4).
B. How fast, and when it fails
B1. Three speeds of convergence
| Name | Meaning | Example |
|---|---|---|
| Linear | $r_{k+1}\le q\,r_k$, fixed $q<1$: a fixed number of extra digits per step | GD (M1) |
| Superlinear | $r_{k+1}/r_k\to0$ | quasi-Newton (BFGS) near the solution (section C) |
| Quadratic | $r_{k+1}\le C\,r_k^2$: digits roughly double each step ($10^{-1}\to10^{-2}\to10^{-4}\to10^{-8}$ when $C=1$) | Newton near a good minimum |
B2. The 1-D theorem (2020 final P1 Q2, 10 marks)
Setting: $f'(a)f'(b)<0$, and on $(a,b)$: $|f''|\ge\beta$, $|f'''|\le\alpha$.
- Exactly one critical point. $f''$ is continuous and never 0, so it has one sign: $f'$ is strictly monotone. $f'$ changes sign between $a$ and $b$, so it has exactly one zero $r$ (intermediate value theorem).
- Error recursion. Taylor-expand $f'$ around $x^{(k)}$ and evaluate at $r$: $0=f'(r)=f'(x^{(k)})+f''(x^{(k)})(r-x^{(k)})+\frac12f'''(\xi)(r-x^{(k)})^2$. Divide by $f''(x^{(k)})$ and use the Newton update: $$x^{(k+1)}-r=\frac{f'''(\xi)}{2f''(x^{(k)})}(x^{(k)}-r)^2\quad\Rightarrow\quad e_{k+1}\le\frac{\alpha}{2\beta}\,e_k^2 .$$ So $C=\dfrac{\alpha}{2\beta}$ (that's option C in the paper).
- Basin. If $Ce_k<1$ then $e_{k+1}\le(Ce_k)e_k<e_k$, and the errors shrink and keep shrinking. So any $t$ with $Ct<1$ works, i.e. $t<\frac{2\beta}{\alpha}$, provided $(r-t,r+t)$ lies inside $(a,b)$. The iterates then stay in $(r-t,r+t)$ because the errors keep shrinking, so the bounds on $f''$ and $f'''$ keep applying. For example $t=\frac{\beta}{\alpha}$ gives $e_{k+1}\le\frac12e_k$ at least.
B3. The $d$-dimensional theorem (as in class and MT2 2026 Q6)
Assume the Hessian is $M$-Lipschitz ($\|\nabla^2f(x)-\nabla^2f(y)\|\le M\|x-y\|$, written $f\in C^2_M$) and $\nabla^2f(x^*)\succeq\ell I$ with $\ell>0$ at the local minimiser $x^*$. Then
$$r_{k+1}\le\frac{M\,r_k^2}{2(\ell-Mr_k)}\qquad\text{whenever }r_k<\frac{\ell}{M},$$and if $r_0<\bar r=\frac{2\ell}{3M}$ the iterates stay inside, with $r_{k+1}\le\frac{3M}{2\ell}r_k^2$: quadratic convergence. A $C^2$ function with Lipschitz Hessian is enough; no $C^3$ is needed (MT2 2021 T/F (b): False).
$\ell=6M$. (a) When is $r_{k+1}<r_k$? (b) Does $r_{k+1}\le\frac14r_k^2$ hold?
- (a) The bound gives $r_{k+1}<r_k$ when $\frac{Mr_k}{2(\ell-Mr_k)}<1\iff Mr_k<2\ell-2Mr_k\iff r_k<\frac{2\ell}{3M}=4$ (and $r_k<4<\frac\ell M=6$, so the bound applies). So $r_0<4$ is enough, and then every later $r_k<4$ too.
- (b) With $r_k<4$: $\ell-Mr_k>6M-4M=2M$, so $r_{k+1}\le\frac{Mr_k^2}{2\cdot2M}=\frac14r_k^2$. Yes.
B4. Three more ways Newton goes wrong (A4's indefinite Hessian is the fourth)
- Start too far: divergence. $f(x)=\sqrt{1+x^2}$ (minimum at 0). Here $f'=\frac{x}{\sqrt{1+x^2}}$, $f''=(1+x^2)^{-3/2}$, and the Newton step simplifies to $x^{(k+1)}=-\big(x^{(k)}\big)^3$. From $0.5$: $-0.125,\ 0.00195,\ -7\times10^{-9}$ (super fast). From $1.1$: $-1.331,\ 2.358,\dots$ (blows up). From exactly 1 it bounces between $1$ and $-1$. Basin: $|x^{(0)}|<1$. (MT2 2025 T/F (a): the speed-up is seen only near the minimum, True.)
- No minimum at all, and Newton still converges somewhere. 2021 Q4: $g(x)=(1-x_1)^3+x_2^2$ has no minimum ($(1-x_1)^3\to-\infty$). Newton converges to $(1,0)$, which is only a stationary point (an inflection in $x_1$). Newton finds stationary points, not minima.
- Degenerate minimum: only linear. $f=x^4$: $f''(0)=0$, so the theorem's $\ell>0$ fails. Newton gives $x^{(k+1)}=\frac23x^{(k)}$: linear with factor $\frac23$.
$g(x)=(1-x_1)^3+x_2^2$, $x^{(0)}=(\alpha,\beta)$. After some iterations, $x^{(3)}=(2,0)$. Find $\alpha,\beta$.
- $\nabla g=\big(-3(1-x_1)^2,\ 2x_2\big)$, $\nabla^2g=\mathrm{diag}\big(6(1-x_1),\ 2\big)$. The Hessian is diagonal, so each coordinate moves on its own.
- $x_2$: $x_2-\frac{2x_2}{2}=0$. After one step $x_2=0$ forever, so $\beta$ can be anything.
- $x_1$: with $y=1-x_1$, the step is $x_1-\frac{-3y^2}{6y}=x_1+\frac y2$, so the new $y$ is $y-\frac y2=\frac y2$: $y$ halves every step.
- $x_1^{(3)}=2$ means $y_3=-1$, so $y_0=-8$, i.e. $\alpha=9$. (The paper's wording also says "after 5 iterations". If $x^{(5)}=(2,0)$ was meant, then $y_0=-32$ and $\alpha=33$. Write which reading you use.)
- Note: $y$ only halves, which is linear, not quadratic. The limit $(1,0)$ has a singular Hessian, so the theorem does not apply.
C. Quasi-Newton methods
C1. The idea
Replace the exact inverse Hessian by an approximation $G^{(k)}$ that is cheap to update:
$$x^{(k+1)}=x^{(k)}-\alpha_kG^{(k)}\nabla f(x^{(k)}),\qquad G^{(k)}\succ0,$$with a line search for $\alpha_k$. Start with $G^{(0)}=I$ (first step = steepest descent). Each update costs about $d^2$ (vs $d^3$ for a Newton solve), and only gradients are needed (MT2 2025 T/F (j): lower cost per iteration, True).
C2. The quasi-Newton (secant) condition
For a quadratic, the gradient change is exactly $\gamma_k=Q\delta_k$, i.e. $Q^{-1}\gamma_k=\delta_k$. So we ask the new approximation to the inverse Hessian to reproduce the last step:
C3. Rank-one update (SR1)
Try $G^{(k+1)}=G+a\,vv^\top$ (drop the index $k$). The condition says $G\gamma+a\,v(v^\top\gamma)=\delta$, so $v$ must be parallel to $\delta-G\gamma$. Taking $v=\delta-G\gamma$ and $a=\frac{1}{v^\top\gamma}$:
$$G^{(k+1)}=G+\frac{(\delta-G\gamma)(\delta-G\gamma)^\top}{(\delta-G\gamma)^\top\gamma}.$$- It is $G$ plus a rank-one matrix, not itself rank one (MT2 2021 T/F (d) "rank one QN yields rank one matrices": False).
- Weak points: the denominator can be $0$, and $G^{(k+1)}$ can lose positive definiteness when $(\delta-G\gamma)^\top\gamma<0$.
- On (CQ) with $d$ independent steps (and nonzero denominators) it recovers $G^{(d)}=Q^{-1}$ (MT2 2025 T/F (h): True).
C4. Rank-two updates: DFP and BFGS
The pattern in his exams: $G^{(k+1)}=G+BAB^\top$ with $B=[\delta,\;G\gamma]$ (two columns; natural because the secant condition involves exactly $\delta$ and $G\gamma$) and a symmetric $2\times2$ matrix $A=\begin{pmatrix}a&b\\b&c\end{pmatrix}$. Find $a,b,c$ from the secant condition.
- $B^\top\gamma=\begin{pmatrix}\delta^\top\gamma\\ \gamma^\top G\gamma\end{pmatrix}$, so $BAB^\top\gamma=\delta\,(a\,\delta^\top\gamma+b\,\gamma^\top G\gamma)+G\gamma\,(b\,\delta^\top\gamma+c\,\gamma^\top G\gamma)$.
- Written out, $BAB^\top=a\,\delta\delta^\top+b\,\big(\delta(G\gamma)^\top+G\gamma\,\delta^\top\big)+c\,G\gamma(G\gamma)^\top$: so $a$ multiplies $\delta\delta^\top$, $c$ multiplies $G\gamma\gamma^\top G$, and $b$ mixes them.
- $G^{(k+1)}\gamma=\delta$ means (when $\delta$ and $G\gamma$ are not parallel, so coefficients can be matched): coefficient of $\delta$ is $1$, and the coefficient of $G\gamma$ (including the $G\gamma$ from $G\gamma$ itself) is $0$: $$a\,\delta^\top\gamma+b\,\gamma^\top G\gamma=1,\qquad1+b\,\delta^\top\gamma+c\,\gamma^\top G\gamma=0.$$
- With $b=0$: $a=\frac1{\delta^\top\gamma}$, $c=-\frac1{\gamma^\top G\gamma}$. That is DFP: $$G^{(k+1)}_{\rm DFP}=G+\frac{\delta\delta^\top}{\delta^\top\gamma}-\frac{G\gamma\gamma^\top G}{\gamma^\top G\gamma}.$$
BFGS (also rank two, usually preferred in practice): $G^{(k+1)}=V^\top GV+\rho\,\delta\delta^\top$ with $\rho=\frac1{\delta^\top\gamma}$, $V=I-\rho\,\gamma\delta^\top$. DFP and BFGS are the two ends of the Broyden family.
C5. When the update stays positive definite
If $G\succ0$ and $\delta^\top\gamma>0$, then the DFP (and BFGS) update is again $\succ0$. Then $-G\nabla f$ is a descent direction.
$\delta^\top\gamma>0$ holds (a) for a strictly convex quadratic ($\delta^\top\gamma=\delta^\top Q\delta$); (b) with exact line search: $\nabla f(x^{(k+1)})^\top\delta=0$ and $\nabla f(x^{(k)})^\top\delta<0$, so $\delta^\top\gamma=-\nabla f(x^{(k)})^\top\delta>0$; (c) with a Wolfe line search: its curvature condition $\nabla f(x^{(k+1)})^\top\delta\ge c_2\nabla f(x^{(k)})^\top\delta$ with $c_2<1$ gives $\delta^\top\gamma\ge(c_2-1)\nabla f(x^{(k)})^\top\delta>0$.
Why DFP stays PD (MT2 2023 Q3(c), 4 marks)
Since $G\succ0$ we can write $G=LL^\top$ (Cholesky factorisation; $L$ invertible). For any $z\ne0$, set $u=L^\top z$, $v=L^\top\gamma$ ($v\ne0$ since $\gamma\ne0$). Then $z^\top G^{(k+1)}z=\|u\|^2-\frac{(u^\top v)^2}{\|v\|^2}+\frac{(z^\top\delta)^2}{\delta^\top\gamma}$. The first two terms together are $\ge0$ by Cauchy–Schwarz ($(u^\top v)^2\le\|u\|^2\|v\|^2$), and the last is $\ge0$ because $\delta^\top\gamma>0$. They can't both be zero: the first is zero only if $u\parallel v$, i.e. $z=t\gamma$ for some $t\ne0$, and then the last is $\frac{t^2(\gamma^\top\delta)^2}{\delta^\top\gamma}=t^2\delta^\top\gamma>0$.
C6. On a quadratic with exact line search
- The steps $\delta_0,\delta_1,\dots$ are $Q$-conjugate, so (M2) the method ends in at most $d$ steps.
- Hereditary property: each new $G$ still satisfies all earlier secant conditions; after $d$ steps $G^{(d)}=Q^{-1}$.
- With $G^{(0)}=I$, the Broyden-family iterates are exactly the CG iterates, with directions parallel to CG's (MT2 2021 T/F (e): True). Any Broyden method with exact line search recovers the minimum of (CQ) (MT2 2025 T/F (i) "not guaranteed": False). The Broyden family = updates of the form $(1-\phi)\,$DFP$\,+\,\phi\,$BFGS. Hereditary = later updates keep all earlier secant conditions true.
C7. DFP by hand
- $\nabla f(x^{(0)})=(2,2)$. Direction $s_0=-(2,2)$. Exact step: minimise $f(x+\alpha s)$ over $\alpha$; its derivative $g^\top s+\alpha\,s^\top Qs$ is $0$ at $\alpha=\frac{-g^\top s}{s^\top Qs}$, which for $s=-g$ is $\frac{g^\top g}{g^\top Qg}=\frac{8}{12}=\frac23$. $x^{(1)}=(\frac23,-\frac13)$.
- $\delta_0=(-\frac43,-\frac43)$, $\gamma_0=Q\delta_0=(-\frac43,-\frac83)$. $\delta_0^\top\gamma_0=\frac{16}9+\frac{32}9=\frac{16}3>0$, $\gamma_0^\top G\gamma_0=\frac{16}9+\frac{64}9=\frac{80}9$.
- DFP: $G^{(1)}=I+\frac{\delta_0\delta_0^\top}{16/3}-\frac{\gamma_0\gamma_0^\top}{80/9}=I+\frac13\begin{pmatrix}1&1\\1&1\end{pmatrix}-\frac15\begin{pmatrix}1&2\\2&4\end{pmatrix}=\frac1{15}\begin{pmatrix}17&-1\\-1&8\end{pmatrix}$.
- Check the secant condition: $G^{(1)}\gamma_0=\frac1{15}\big(17(-\frac43)+\frac83,\ \frac43+8(-\frac83)\big)=(-\frac43,-\frac43)=\delta_0$ ✓.
- $\nabla f(x^{(1)})=(\frac23,-\frac23)$. Direction $s_1=-G^{(1)}\nabla f=(-\frac45,\frac25)$. $\alpha_1=\frac{-\nabla f^\top s_1}{s_1^\top Qs_1}=\frac{4/5}{24/25}=\frac56$. $x^{(2)}=(\frac23,-\frac13)+\frac56(-\frac45,\frac25)=(0,0)=x^*$. Done in 2 steps.
- Bonus checks: $\delta_1=(-\frac23,\frac13)$ is $Q$-conjugate to $\delta_0$ ($\delta_0^\top Q\delta_1=\frac89-\frac89=0$). One more DFP update gives $G^{(2)}=\mathrm{diag}(1,\frac12)=Q^{-1}$. And CG from the same start visits exactly the same points.
Show answer
Equations: $10a+2b=1$ and $1+10b+2c=0$. $a=0$: $b=\frac12$, $c=-3$. $b=0$: $a=\frac1{10}$, $c=-\frac12$ (this is DFP). Prefer $b=0$: DFP keeps $G$ positive definite when $\delta^\top\gamma>0$; the $a=0$ update has no such guarantee (it can become indefinite).
D. GD vs CG vs Newton vs quasi-Newton
| Gradient descent | CG | Newton | Quasi-Newton (DFP/BFGS) | |
|---|---|---|---|---|
| Needs | $\nabla f$ | $\nabla f$ | $\nabla f$, $\nabla^2f$ | $\nabla f$ |
| Work per step | $\sim d$ | $\sim d$ (+ $Qu$) | $\sim d^3$ (solve) | $\sim d^2$ |
| Steps on (CQ) | many (depends on κ) | $\le$ # distinct eigenvalues | 1 | $\le d$ (exact LS) |
| Local speed | linear | (finite on quadratics) | quadratic | superlinear |
| Main risk | slow when κ large | loses conjugacy off quadratics | far start; non-PD Hessian | SR1 can lose PD |
- "Newton converges in half as many iterations as steepest descent on a convex quadratic": False (it's 1 vs many; MT2 2021 (c)).
- "Restarting CG every iteration recovers Newton": False (it gives steepest descent; MT2 2021 (a)).
- "One Newton iterate costs the same as one GD iterate": False (MT2 2023 (b)).
- "Rank-two QN always converges faster than rank-one": False (MT2 2026 (j)). But "rank-2 QN converges faster than GD on (CQ)": True (2025 final (j): $\le d$ steps vs linear).
E. The exam recipe
- State: $x^{(k+1)}=x^{(k)}-[\nabla^2f(x^{(k)})]^{-1}\nabla f(x^{(k)})$ (step length 1).
- One step by hand: compute $\nabla f$ and $\nabla^2f$ at the point, solve $\nabla^2f\,\delta=-\nabla f$. If the Hessian is diagonal, do each coordinate on its own.
- Quadratic? Then one step, $x^{(1)}=Q^{-1}h$, from anywhere.
- Convergence / basin: write $r_{k+1}\le\frac{Mr_k^2}{2(\ell-Mr_k)}$ (or the 1-D $e_{k+1}\le\frac{\alpha}{2\beta}e_k^2$), then solve "ratio $<1$" for the radius.
- Run backwards: find how one step maps each coordinate (e.g. "halves"), then invert.
- Write the condition $G^{(k+1)}\gamma_k=\delta_k$.
- Multiply the update by $\gamma_k$; collect the coefficients of $\delta_k$ and of $G\gamma_k$; set them to $1$ and $0$.
- Solve for the unknowns using the given numbers $\delta^\top\gamma$ and $\gamma^\top G\gamma$.
- Positive definite? DFP/BFGS: yes if $G\succ0$ and $\delta^\top\gamma>0$ (say why that holds: exact LS, Wolfe, or a convex quadratic).
How he asks it (from the papers)
The Newton and quasi-Newton lectures (29 Sep, 1 Oct) were not recorded; this comes from his papers and solutions.
- Finals: a 10-mark Newton question in 2020 (1-D theory: number of critical points, the constant $C$, the basin) and 2021 (state + run Newton backwards). Quasi-Newton in finals only as T/F so far.
- T/F every year: 5 Newton/QN items in each of MT2 2021, 2023, 2025, 2026 and 1–2 in the 2024/2025 finals. The same ideas recur: one step on quadratics, descent only with a PD Hessian, local quadratic convergence, cost per iteration, QN recovers $Q^{-1}$, rank-one vs rank-two.
- "Find $a,b,c$ so the update satisfies the QN condition, then which is PD": MT2 2023 Q3 and MT2 2024 Q3. Very likely to reappear in some form.
Practice (try on paper first, then open the answer)
A T/F block from past papers first (quick marks), then descriptive past questions, then new ones. Letters inside a past question follow that paper.
The iterates of a Newton method are obtained by minimizing a quadratic function.
- (a) True
- (b) False
Show answer
True (the quadratic model; strictly, its stationary point, which is its minimiser when the Hessian is PD).
Applying Newton's method to a strongly convex quadratic function is slower than the CG method.
- (a) True
- (b) False
Show answer
False. Newton: 1 step. CG: up to the number of distinct eigenvalues.
Newton's method shows quadratic convergence when initialized near a local minimum.
- (a) True
- (b) False
Show answer
True (with $\nabla^2f(x^*)\succ0$ and a Lipschitz Hessian; B3). A degenerate minimum like $x^4$ gives only linear convergence.
The rank-one quasi-Newton method yields a descent direction at every iterate.
- (a) True
- (b) False
Show answer
His key: True. Careful: that holds when $G^{(k)}$ stays positive definite. The SR1 update itself can lose positive definiteness if $(\delta-G\gamma)^\top\gamma<0$. If asked to justify, say "true as long as $G^{(k)}\succ0$".
The rank-two quasi-Newton method always yields faster convergence than the rank-one approach.
- (a) True
- (b) False
Show answer
False. "Always" is the problem: on a quadratic with exact line search both finish in at most $d$ steps, so neither is faster there.
Newton's method applies to thrice differentiable functions.
- (a) True
- (b) False
Show answer
True. It needs $C^2$; thrice differentiable functions are (in particular) twice differentiable. (MT2 2023 asked the negation, "not applicable to $C^3$": False.)
In the rank-one quasi-Newton update it can be shown that the algorithm recovers the inverse of the Hessian for (CQ) functions.
- (a) True
- (b) False
Show answer
True. With $d$ linearly independent steps, $G^{(d)}=Q^{-1}$.
A Broyden-family quasi-Newton method is not guaranteed to recover the minimum of (CQ).
- (a) True
- (b) False
Show answer
False. With exact line search (the setting meant here) it ends in at most $d$ steps (C6).
The computational effort of one Newton iterate is the same as one iteration of gradient descent.
- (a) True
- (b) False
Show answer
False. Newton needs the Hessian and a linear solve ($\sim d^3$).
The rank-one quasi-Newton method is faster than Newton's method for convex quadratic programs.
- (a) True
- (b) False
Show answer
His key: True. This only makes sense as "cheaper per iteration" (no Hessian, no $d^3$ solve). In iteration count Newton wins (1 step). If asked to justify, say which you mean.
The rank-one quasi-Newton method yields rank-one matrices.
- (a) True
- (b) False
Show answer
False. $G^{(k+1)}=G^{(k)}+$ (rank one): the change is rank one.
The rank-two quasi-Newton method yields conjugate gradient directions for convex quadratic programs.
- (a) True
- (b) False
Show answer
True (with $G^{(0)}=I$ and exact line search, the directions are parallel to CG's; C6, and C7 shows it).
The rank-2 quasi-Newton method converges faster than gradient descent for (CQ) functions.
- (a) True
- (b) False
Show answer
True. At most $d$ steps (exact LS) vs a linear rate.
$f:(a,b)\to\mathbb R$ thrice differentiable, $f'(a)f'(b)<0$, and for all $x\in(a,b)$: $|f''(x)|\ge\beta$, $|f^{(3)}(x)|\le\alpha$. (a) Number of critical points in $(a,b)$ (1, 2, 3 or 4)? Justify. (b) For Newton iterates, $e_{k+1}\le Ce_k^2$ with $e_k=|x^{(k)}-r|$. Choose $C$ from $\frac\beta\alpha,\ \frac\alpha\beta,\ \frac\alpha{2\beta},\ \frac\beta{2\alpha}$ and justify. (c) Find $t>0$ so that any $x^{(0)}\in(r-t,r+t)$ converges.
Show answer
Worked in B2: (a) exactly 1 ($f''$ has one sign, so $f'$ is strictly monotone, and it changes sign). (b) $C=\frac\alpha{2\beta}$ via the Taylor remainder. (c) any $t<\frac{2\beta}\alpha$ (inside $(a,b)$), e.g. $t=\frac\beta\alpha$.
(a) State one iteration of Newton's method for a $C^2$ function. (b) Newton on $g(x)=(1-x_1)^3+x_2^2$ from $x^{(0)}=(\alpha,\beta)$ gives $x^{(3)}=(2,0)$. Find $\alpha,\beta$.
Show answer
Worked in B4: $\alpha=9$, $\beta$ arbitrary ($1-x_1$ halves each step; $x_2$ is 0 after one step).
$g\in C^2_M$, $r_k=\|x^{(k)}-x^*\|$ for Newton, $H(x^*)\succeq\ell I$ with $\ell=6M$. (a) Condition on $r_0$ for $r_{k+1}<r_k$. (b) Does $r_{k+1}\le\frac14r_k^2$ hold?
Show answer
Worked in B3: (a) $r_0<4$; (b) yes, since $\ell-Mr_k>2M$.
$G^{(k+1)}=G^{(k)}+BAB^\top$, $B=[\delta_k\ \ G^{(k)}\gamma_k]$, $A=\begin{pmatrix}a&b\\b&c\end{pmatrix}$, $\delta_k^\top\gamma_k=10$, $\gamma_k^\top G^{(k)}\gamma_k=2$. (a, b) With $a=0$, find $b,c$ for the QN condition and justify. (c) With $b=0$, find $a,c$. (d) Which is preferable?
Show answer
Worked in C4 and Check C: $10a+2b=1$, $1+10b+2c=0$. $a=0$: $b=\frac12$, $c=-3$. $b=0$: $a=\frac1{10}$, $c=-\frac12$ (DFP). Prefer $b=0$: it keeps $G\succ0$ when $\delta^\top\gamma>0$ (here $10>0$).
$G^{(k+1)}=G^{(k)}+ADA^\top$, $A=[\delta_k,\ G^{(k)}\gamma_k]$, $D=\mathrm{diag}\big(\frac{a}{\delta_k^\top\gamma_k},\frac{b}{\gamma_k^\top G^{(k)}\gamma_k}\big)$, $\delta_k^\top\gamma_k>0$. (a) Which $a,b$ give the QN condition? (b) Is $D$ then PD? (c) Is $G^{(k+1)}$ PD (if $G^{(k)}$ is)?
Show answer
(a) $ADA^\top\gamma=a\delta+b\,G\gamma$, so $G\gamma+a\delta+bG\gamma=\delta$: $a=1$, $b=-1$ (DFP). (b) No: $D$ has a negative entry, so it is indefinite. (c) Yes, by the Cauchy–Schwarz argument in C5. A PD $G^{(k+1)}$ does not need a PD $D$.
(Q4(b)) $f(w)=\frac1n\|r-O^\top w\|^2$. One Newton iteration from $w^{(0)}=0$; state assumptions. (Q5) For a quadratic: derive the rank-two update; state one iteration with exact line search; are the updates always PD? With inexact line search?
Show answer
- $\nabla f=\frac2nO(O^\top w-r)$, $\nabla^2f=\frac2nOO^\top$. From $0$: $w^{(1)}=(OO^\top)^{-1}Or=w^*$ (one step: $f$ is quadratic). Assume $OO^\top$ is invertible (PD). (The printed solution drops an $O$ in the final formula.)
- Rank two: C4 (DFP). One iteration: $x^{(k+1)}=x^{(k)}-\alpha_kG_kg_k$ with $\alpha_k=\frac{g_k^\top G_kg_k}{g_k^\top G_kQG_kg_k}$ (exact line search along $-G_kg_k$).
- PD: yes with exact line search, since $\delta^\top\gamma>0$ (C5(b)); with inexact search, yes if the Wolfe conditions hold (C5(c)).
Newton on $f(x)=x^4$ from $x^{(0)}=1$. Iterates? Rate? Why doesn't the quadratic-convergence theorem apply?
Show answer
$x-\frac{4x^3}{12x^2}=\frac23x$: $1,\frac23,\frac49,\dots$ Linear with factor $\frac23$. The theorem needs $\nabla^2f(x^*)\succeq\ell I$ with $\ell>0$, but $f''(0)=0$.
A QN update $G^{(k+1)}=G+p\,\delta\delta^\top+q\,G\gamma\gamma^\top G$ with $\delta^\top\gamma=4$, $\gamma^\top G\gamma=5$. Find $p,q$ for the QN condition. Name the update. Is it PD if $G\succ0$?
Show answer
$G^{(k+1)}\gamma=G\gamma+4p\,\delta+5q\,G\gamma=\delta$: $p=\frac14$, $q=-\frac15$. DFP. PD: yes, since $\delta^\top\gamma=4>0$.
If $\nabla^2f(x^{(k)})$ is invertible, the Newton direction is always a descent direction.
- (a) True
- (b) False
Show answer
False. Invertible is not enough; it must be positive definite. With $\mathrm{diag}(1,-1)$ and $\nabla f=(0,1)$ the step goes uphill (A4).
With exact line search, $\delta_k^\top\gamma_k>0$ whenever the search direction is a descent direction.
- (a) True
- (b) False
Show answer
True. $\nabla f(x^{(k+1)})^\top\delta_k=0$ and $\nabla f(x^{(k)})^\top\delta_k<0$ (C5(b)).
Newton's method converges to a local minimum from any starting point if $f$ is strictly convex.
- (a) True
- (b) False
Show answer
False. $\sqrt{1+x^2}$ is strictly convex, but from $|x^{(0)}|>1$ pure Newton diverges ($x\mapsto-x^3$).
Self-test (no looking)
State Newton's method and why it solves (CQ) in one step.
Show answer
$x^{(k+1)}=x^{(k)}-[\nabla^2f]^{-1}\nabla f$; on (CQ), $x^{(0)}-Q^{-1}(Qx^{(0)}-h)=Q^{-1}h$.
Write the 1-D Newton error bound and the basin radius from it.
Show answer
$e_{k+1}\le\frac{\alpha}{2\beta}e_k^2$ ($|f''|\ge\beta$, $|f'''|\le\alpha$); converges if $e_0<\frac{2\beta}{\alpha}$.
The quasi-Newton condition, the DFP formula, and when DFP stays PD.
Show answer
$G^{(k+1)}\gamma_k=\delta_k$. $G+\frac{\delta\delta^\top}{\delta^\top\gamma}-\frac{G\gamma\gamma^\top G}{\gamma^\top G\gamma}$. PD if $G\succ0$ and $\delta^\top\gamma>0$.
Four ways Newton fails, with an example each.
Show answer
Far start: $\sqrt{1+x^2}$ from $|x|>1$. Indefinite Hessian: uphill step, $\mathrm{diag}(1,-1)$. No minimum: converges to a non-minimum stationary point, $(1-x)^3$. Degenerate minimum: $x^4$, linear only.
Summary card
- Newton: $x^{(k+1)}=x^{(k)}-[\nabla^2f(x^{(k)})]^{-1}\nabla f(x^{(k)})$ (solve $\nabla^2f\,\delta=-\nabla f$), step length 1, minimises the quadratic model. Needs $C^2$.
- (CQ): one step from anywhere, independent of the eigenvalues.
- Descent if $\nabla^2f\succ0$ (sufficient; invertible is not enough); an indefinite Hessian can go uphill or to a saddle.
- 1-D: $|f''|\ge\beta$, $|f'''|\le\alpha$ ⇒ $e_{k+1}\le\frac\alpha{2\beta}e_k^2$; basin $e_0<\frac{2\beta}\alpha$; one critical point if $f'(a)f'(b)<0$.
- $d$-D: $C^2_M$, $\nabla^2f(x^*)\succeq\ell I$: $r_{k+1}\le\frac{Mr_k^2}{2(\ell-Mr_k)}$; the bound gives $r_{k+1}<r_k$ when $r_k<\frac{2\ell}{3M}$.
- Failures: indefinite Hessian (uphill), far start ($\sqrt{1+x^2}$, $x\mapsto-x^3$), no minimum ($(1-x)^3$: halving to a non-minimum), degenerate min ($x^4$: factor $\frac23$).
- QN: $x^{(k+1)}=x^{(k)}-\alpha_kG^{(k)}\nabla f$; condition $G^{(k+1)}\gamma_k=\delta_k$; $\delta_k=x^{(k+1)}-x^{(k)}$, $\gamma_k=\nabla f(x^{(k+1)})-\nabla f(x^{(k)})$.
- SR1: $G+\frac{vv^\top}{v^\top\gamma}$, $v=\delta-G\gamma$ (can lose PD). DFP: $G+\frac{\delta\delta^\top}{\delta^\top\gamma}-\frac{G\gamma\gamma^\top G}{\gamma^\top G\gamma}$. BFGS: $V^\top GV+\rho\delta\delta^\top$.
- Coefficients: multiply by $\gamma$, coefficient of $\delta$ = 1, coefficient of $G\gamma$ = 0.
- PD kept (DFP/BFGS) if $G\succ0$, $\delta^\top\gamma>0$ (true for convex quadratics, exact LS, Wolfe).
- Quadratic + exact LS: conjugate steps, $\le d$ steps, $G^{(d)}=Q^{-1}$, same iterates as CG when $G^{(0)}=I$.
- Cost per step: GD/CG $\sim d$, QN $\sim d^2$, Newton $\sim d^3$.