Let f be convex and L-smooth, with minimiser x∗. How do you prove that gradient descent with step size 1/L satisfies f(xT)−f(x∗)≤L∥x0−x∗∥22T?

Linear algebra and optimisation, Convergence analysis
Level L5 Expert. Length Long. Nature Mat Mathematical.

What's being asked

Whether you can combine the descent lemma with convexity and finish with a telescoping sum, the standard pattern for first-order convergence proofs.

Key idea

L-smooth means the gradient cannot change too fast: ∥∇f(a)−∇f(b)∥≤L∥a−b∥. Combine the descent lemma f(xt+1)≤f(xt)−12L∥∇f(xt)∥2 with the convexity bound f(xt)≤f∗+∇f(xt)⊤(xt−x∗). Rewrite the result as a difference of squared distances to x∗, and add up over the steps so that most terms cancel (telescope).

Steps

  1. Descent lemma. L-smoothness implies that f lies below a parabola: f(b)≤f(a)+∇f(a)⊤(b−a)+L2∥b−a∥2. Put gt=∇f(xt), a=xt and b=xt+1=xt−1Lgt: f(xt+1)≤f(xt)−1Lgt⊤gt+12L∥gt∥2=f(xt)−12L∥gt∥2. So f(xt) never increases.
  2. Convexity. A convex function lies above its tangent, so f∗≥f(xt)+gt⊤(x∗−xt), i.e. f(xt)≤f∗+gt⊤(xt−x∗). Substitute into the descent lemma: f(xt+1)−f∗≤gt⊤(xt−x∗)−12L∥gt∥2.
  3. Complete the square, so the right side becomes a change in distance to x∗: gt⊤(xt−x∗)−12L∥gt∥2=L2(∥xt−x∗∥2−∥xt−x∗−1Lgt∥2)=L2(∥xt−x∗∥2−∥xt+1−x∗∥2). Check it by expanding the middle expression.
  4. Sum over t=0,…,T−1. On the right, each distance appears once with + and once with −, so only the first and last remain: ∑t=1T(f(xt)−f∗)≤L2(∥x0−x∗∥2−∥xT−x∗∥2)≤L2∥x0−x∗∥2.
  5. Finish. Since f(xt) never increases, each term on the left is at least f(xT)−f∗, so the left side is at least T(f(xT)−f∗). Divide by T: f(xT)−f∗≤L∥x0−x∗∥22T.
  6. Add remarks. This is an O(1/T) rate: to get within ε of the optimum you need O(1/ε) steps. If f is also μ-strongly convex, the rate becomes (1−μ/L)T, which is much faster. Nesterov's accelerated method gets O(1/T2), the best possible for methods that use only gradients.

Common mistakes

How long your answer should be

One page; 8–10 minutes.

Last checked on 4 December 2026.

Read this

Previous in Linear algebra and optimisation: Minimise f(x)=12x⊤Ax−b⊤x with A=(4113), b=(1,2)⊤ and x0=0 using the conjugate gradient method. How do you show that it reaches the exact minimiser in two steps, and why does this happen?
Next in Linear algebra and optimisation: How do you prove that for a real symmetric matrix A∈Rn×n with eigenvalues λ1≥⋯≥λn, the Rayleigh quotient R(x)=x⊤Axx⊤x satisfies λn≤R(x)≤λ1, and how does the Courant–Fischer min–max theorem characterise the k-th eigenvalue λk?