Skip to content

Chapter 3: Convex Functions ​

Convex functions are the fundamental objects of study in convex optimization. This chapter develops the definition of convex functions, their properties, various characterizations (first-order, second-order, and gradient monotonicity), as well as operations that preserve convexity and related geometric concepts.


3.1 Operations That Preserve Convexity of Sets ​

Before studying convex functions per se, it is useful to review how convexity of sets can be established through operations that preserve it. Given a set C⊆Rn, there are three practical approaches to verifying convexity:

  1. Apply the definition directly:

    x1,x2∈C,0≤θ≤1⟹θx1+(1−θ)x2∈C
  2. Show that C is obtained from simple convex sets (hyperplanes, halfspaces, norm balls, etc.) by operations that preserve convexity:

    • Intersection
    • Affine function
    • Perspective function
    • Linear-fractional function
  3. Show that C is a sublevel set of a convex function (discussed later).

3.1.1 Intersection ​

Property (Intersection of Convex Sets). The intersection of any number (including infinite) of convex sets is convex: if each Ci is convex, then ⋂i∈ICi is convex.

Examples:

  • Affine space: An affine space defined by linear equalities can be expressed as an intersection of hyperplanes:

    {x:Ax=b}=⋂i=1m{x:ai⊤x=bi}

    Each equality constraint is the intersection of two halfspaces {x:ai⊤x≤bi} and {x:ai⊤x≥bi}.

  • ℓ∞-ball:

    B∞={x:∥x∥∞≤1}=⋂i=1n{x:−1≤xi≤1}

    Each constraint is a halfspace, so the intersection is convex.

  • PSD cone: The cone of positive semidefinite matrices

    S+n={X⪰0}=⋂v∈Rn{X:v⊤Xv≥0}

    is the intersection of infinitely many halfspaces.

3.1.2 Affine Mapping ​

Property (Affine Image). If C is convex and A∈Rm×n, b∈Rm, then the image under an affine map

{y=Ax+b:x∈C}

is convex.

Example (Scaling and Translation): Scaling and translating a convex set preserves convexity:

C={x:∥x∥2≤1}⟹AC+b={y:y=Ax+b,∥x∥2≤1}

Interpretation: Linear transformations do not "bend" the set.

3.1.3 Inverse Affine Mapping ​

Property (Affine Preimage). If S⊂Rn is convex and f:Rm→Rn is affine, the preimage is also convex:

f−1(S)={x∈Rm:f(x)∈S}

Application: Linear Matrix Inequality (LMI). Consider

F(x)=F0+∑i=1nxiFi⪰0

The set of positive semidefinite matrices S+m={X∈Sm:X⪰0} is convex. The mapping x↦F(x) is affine. Therefore, the solution set

{x:F(x)⪰0}=F−1(S+m)

is convex by the affine preimage property.


3.2 Fundamental Concepts in Set Topology ​

We briefly review essential topological concepts that are foundational in convex analysis.

  • A point x∈Rn is an n-tuple (x1,…,xn).
  • A set S⊆Rn is a collection of points.
  • The open ball (neighborhood) centered at x with radius ϵ:Bϵ(x)={y∈Rn:∥y−x∥<ϵ}

3.2.1 Open and Closed Sets ​

Open Set. Every point has a neighborhood contained in the set:

∀x∈S,∃ϵ>0:Bϵ(x)⊂S

Example: (0,1).

Closed Set. Contains all its limit points; its complement is open. Example: [0,1].

3.2.2 Interior and Relative Interior ​

Interior. int(S)={x∈S:∃ϵ>0,Bϵ(x)⊂S} Points with a neighborhood contained in S. Example: int([0,1])=(0,1).

Relative Interior (relint). If S lies in an affine subspace A, then x∈S is a relative interior point if

Bϵ(x)∩A⊆S

for some ϵ>0. The set of all such points is relint(S).

Example: The line segment [0,1] in R2 has empty interior, but its relative interior is (0,1) within the line it spans.

3.2.3 Limit Points and Closure ​

Limit Point. Every neighborhood contains other points from the set:

∀ϵ>0:Bϵ(x)∩(S∖{x})≠∅

Points arbitrarily close to x are in S.

Closure. cl(S) is S together with all its limit points; it is the smallest closed set containing S.

cl((0,1))=[0,1]

3.2.4 Boundary ​

Boundary. ∂S=cl(S)∖int(S)

Every neighborhood contains points from both S and its complement.

Example: S=(0,1]

  • cl(S)=[0,1], int(S)=(0,1), ∂S={0,1}

Key Relationships:

  • cl(S)=int(S)∪∂S
  • int(S)∩∂S=∅
  • int(S)⊆S⊆cl(S)

3.3 Definition of Convex Functions ​

Definition (Convex Function). A function f:C→R defined on a convex set C⊆Rn is called convex if

(3.1)f(θx+(1−θ)y)≤θf(x)+(1−θ)f(y)

for all x,y∈C and all θ∈[0,1].

Definition (Strictly Convex). f is strictly convex if the inequality is strict whenever x≠y and θ∈(0,1):

(3.2)f(θx+(1−θ)y)<θf(x)+(1−θ)f(y)

Definition (Concave Function). f is concave if −f is convex, i.e.,

(3.3)f(θx+(1−θ)y)≥θf(x)+(1−θ)f(y)

Geometric meaning: For a convex function f, the graph lies below the chord connecting any two points. For a concave function, the graph lies above the chord.

Note: Linear (affine) functions are both convex and concave, but neither strictly convex nor strictly concave.


3.4 Common Examples of Convex Functions ​

Univariate examples:

  • f(x)=ax+b (affine)
  • f(x)=x2, f(x)=eax, f(x)=|x|p for p≥1
  • f(x)=−log⁡x on (0,∞)

Multivariate examples:

  • f(x)=a⊤x+b (affine)
  • f(x)=x⊤Px with P⪰0 (quadratic)
  • f(x)=∥x∥ (any norm)
  • f(x)=max{x1,…,xn}
  • f(x)=log⁡(∑iexi) (log-sum-exp)

3.5 Convexity via Restriction to Lines ​

Theorem (Restriction to Lines). A function f:C→R with domf=C⊆Rn is convex if and only if for every z,v∈Rn with {z+tv:t∈R}∩C≠∅, the one-dimensional function

ϕ(t)=f(z+tv)

is convex on its domain {t:z+tv∈C}.

Intuition: This theorem reduces multivariate convexity to one-dimensional verification.

Examples:

  • f(x,y)=x2+y2⟶g(t)=(z1+tv1)2+(z2+tv2)2 (quadratic in t)
  • f(X)=−log⁡detX with domf=S++n

Proposition. Let C⊂Rn be convex and f:C→R. Then f is convex if and only if for every line L={x+tv:t∈R} meeting C, the restriction ϕ(t)=f(x+tv) is convex on {t:x+tv∈C}.

Proof.

(⇒) If f is convex, then for any t1,t2 with x+t1v,x+t2v∈C and λ∈[0,1],

f(λ(x+t1v)+(1−λ)(x+t2v))≤λf(x+t1v)+(1−λ)f(x+t2v),

which is the same as

ϕ(λt1+(1−λ)t2)≤λϕ(t1)+(1−λ)ϕ(t2),

so ϕ is convex.

(⇐) Conversely, let x,y∈C and θ∈[0,1]. Define ϕ(t)=f(y+t(x−y)). Then

f(θx+(1−θ)y)=ϕ(θ)≤θϕ(1)+(1−θ)ϕ(0)=θf(x)+(1−θ)f(y),

so f is convex. ◻


3.6 Epigraph and Sublevel Sets ​

3.6.1 Epigraph ​

Definition (Epigraph). For a function f:Rn→R, the epigraph of f is the set

epif={(x,t)∈Rn+1:f(x)≤t}

Geometric meaning: The epigraph is the region on or above the graph of f.

Key Property. f is convex ⟺ epif is a convex set.

Proposition. Let f:Rn→R∪{+∞} and epif={(x,t)∈Rn+1:f(x)≤t}. Then f is convex on its domain if and only if epif is a convex set.

Proof.

(⇒) Assume f is convex. Take (x1,t1),(x2,t2)∈epif so f(xi)≤ti. For any θ∈[0,1], set x¯=θx1+(1−θ)x2 and t¯=θt1+(1−θ)t2. By convexity of f,

f(x¯)≤θf(x1)+(1−θ)f(x2)≤θt1+(1−θ)t2=t¯,

hence (x¯,t¯)∈epif. Thus epif is convex.

(⇐) Conversely, assume epif is convex. For any x1,x2∈domf and θ∈[0,1], the points (xi,f(xi))∈epif, so their convex combination (x¯,t¯) with x¯=θx1+(1−θ)x2 and t¯=θf(x1)+(1−θ)f(x2) lies in epif. Therefore f(x¯)≤t¯, i.e.

f(θx1+(1−θ)x2)≤θf(x1)+(1−θ)f(x2),

so f is convex. ◻

3.6.2 Sublevel Sets ​

Definition (Sublevel Set). For f:Rn→R and α∈R, the α-sublevel set is

Sα={x∈dom(f):f(x)≤α}

the set of points where f takes values ≤α.

Key Property. If f is convex, then all sublevel sets Sα are convex.

Warning: The converse is not true. For example, f(x)=x3 has convex sublevel sets but is not convex.

Examples:

  • f(x)=x2: Sα=[−α,α] (convex intervals)
  • f(x)=x3: Sα=(−∞,α3] (convex intervals, but f is not convex)

3.7 Jensen's Inequality ​

Theorem (Jensen's Inequality — Discrete Form). If f is convex and θi≥0 with ∑i=1kθi=1, then

(3.4)f(∑i=1kθixi)≤∑i=1kθif(xi)

Integral Form. For convex f and a probability measure p:

f(∫xp(x)dx)≤∫f(x)p(x)dx

Expectation Form. For convex f and a random variable X:

f(E[X])≤E[f(X)]

3.8 First-Order Condition for Convexity ​

3.8.1 Gradient and Differentiability ​

Precondition: f is differentiable if the gradient

∇f(x)=(∂f(x)∂x1,∂f(x)∂x2,…,∂f(x)∂xn)⊤

exists at each x∈domf.

Theorem (First-Order Condition). A differentiable function f:Rn→R is convex if and only if for all x,y∈domf:

(3.5)f(y)≥f(x)+∇f(x)⊤(y−x)

Implication: If ∇f(x∗)=0, then x∗ is a global minimum.

Example: f(x)=x2, ∇f(x)=2x:

f(y)=y2≥x2+2x(y−x)

3.8.2 Proof of Equivalence ​

Direction 1: Basic convexity ⇒ first-order condition.

Assume f:Rn→R is convex and differentiable. For any x,y and θ∈(0,1]:

f(x+θ(y−x))≤(1−θ)f(x)+θf(y).

Subtract f(x) and divide by θ>0:

f(x+θ(y−x))−f(x)θ≤f(y)−f(x).

Take θ→0. Differentiability implies:

limθ→0f(x+θ(y−x))−f(x)θ=∇f(x)⊤(y−x).

Hence:

f(y)≥f(x)+∇f(x)⊤(y−x).

Direction 2: First-order condition ⇒ basic convexity.

Assume for all x,y:

f(y)≥f(x)+∇f(x)⊤(y−x).

Let z=θx+(1−θ)y with θ∈[0,1]. Apply the condition twice:

f(x)≥f(z)+∇f(z)⊤(x−z),f(y)≥f(z)+∇f(z)⊤(y−z).

Multiply the two inequalities by θ and 1−θ respectively and add:

θf(x)+(1−θ)f(y)≥f(z)+∇f(z)⊤(θx+(1−θ)y−z).

Since z=θx+(1−θ)y, we have:

f(θx+(1−θ)y)≤θf(x)+(1−θ)f(y).

3.9 Gradient Monotonicity ​

Definition (Monotone Gradient). A differentiable function f:Rn→R has a monotone gradient if for all x,y∈domf:

(3.6)⟨∇f(x)−∇f(y),x−y⟩≥0

Connection to Convexity:

  • If f is convex, its gradient is monotone.
  • Conversely, if ∇f is monotone, f is convex.

Example: f(x)=x⊤Qx with Q⪰0:

∇f(x)=2Qx,⟨∇f(x)−∇f(y),x−y⟩=2(x−y)⊤Q(x−y)≥0

3.9.1 Proof of Equivalence between First-Order Condition and Gradient Monotonicity ​

Direction 1: First-order condition ⇒ Gradient Monotonicity.

Assume f:D→R is differentiable and satisfies the first-order condition:

f(y)≥f(x)+∇f(x)⊤(y−x),∀x,y∈D.

Write this inequality twice, swapping x and y:

f(y)≥f(x)+∇f(x)⊤(y−x),f(x)≥f(y)+∇f(y)⊤(x−y).

Adding the two inequalities yields:

0≥∇f(x)⊤(y−x)+∇f(y)⊤(x−y),

which simplifies to

⟨∇f(x)−∇f(y),x−y⟩≥0.

Direction 2: Gradient Monotonicity ⇒ First-order condition.

Assume f is differentiable and satisfies gradient monotonicity:

(∇f(y)−∇f(x))⊤(y−x)≥0.

For any x,y∈D, by the Fundamental Theorem of Calculus along the line segment:

f(y)−f(x)=∫01ddtf(x+t(y−x))dt=∫01∇f(x+t(y−x))⊤(y−x)dt.

Subtract the tangent at x:

f(y)−f(x)−∇f(x)⊤(y−x)=∫01(∇f(x+t(y−x))−∇f(x))⊤(y−x)dt≥0.

This gives the first-order condition:

f(y)≥f(x)+∇f(x)⊤(y−x).

3.10 Second-Order Condition for Convexity ​

Precondition: f is twice-differentiable if domf is open and the Hessian

∇2f(x)ij=∂2f(x)∂xi∂xj,i,j=1,…,n,

exists at each x∈domf.

Theorem (Second-Order Condition). A twice-differentiable function f:Rn→R is convex if and only if its Hessian is positive semidefinite for all x∈domf:

(3.7)∇2f(x)⪰0

Example: f(x)=x⊤Qx with Q⪰0:

∇f(x)=2Qx,∇2f(x)=2Q⪰0

3.10.1 Proof of Equivalence between Gradient Monotonicity and Second-Order Condition ​

Direction 1: Gradient Monotonicity ⇒ Hessian PSD.

Assume (∇f(y)−∇f(x))⊤(y−x)≥0 for all x,y∈D. Consider an infinitesimal perturbation along direction d: y=x+ϵd, ϵ>0. Gradient monotonicity implies:

(∇f(x+ϵd)−∇f(x))⊤(ϵd)≥0⟹(∇f(x+ϵd)−∇f(x))⊤dϵ≥0.

Take the limit as ϵ→0:

d⊤∇2f(x)d≥0∀d∈Rn.

Direction 2: Hessian PSD ⇒ Gradient Monotonicity.

Assume f:D→R is twice differentiable and ∇2f(x)⪰0 for all x∈D. For any x,y∈D, consider the line segment x+t(y−x), t∈[0,1]:

∇f(y)−∇f(x)=∫01ddt∇f(x+t(y−x))dt=∫01∇2f(x+t(y−x))(y−x)dt.

Take inner product with y−x:

(∇f(y)−∇f(x))⊤(y−x)=∫01(y−x)⊤∇2f(x+t(y−x))(y−x)dt≥0.

3.11 Chain of Equivalences ​

For twice-differentiable functions, the following four statements are equivalent characterizations of convexity:

   Convexity
f(θx + (1−θ)y) ≤ θf(x) + (1−θ)f(y)
        ⇕
 First-order Condition                  Gradient Monotonicity
f(y) ≥ f(x) + ∇f(x)ᵀ(y−x)    ⇔    ⟨∇f(x)−∇f(y), x−y⟩ ≥ 0
        ⇕
 Second-order Condition
    ∇²f(x) ⪰ 0

In summary:

  1. Convexity (Definition): f(θx+(1−θ)y)≤θf(x)+(1−θ)f(y)
  2. First-order Condition: f(y)≥f(x)+∇f(x)⊤(y−x)
  3. Gradient Monotonicity: ⟨∇f(x)−∇f(y),x−y⟩≥0
  4. Second-order Condition: ∇2f(x)⪰0

Each provides a different practical tool for verifying or exploiting convexity in analysis and algorithm design.


3.12 Smooth and Strongly Convex Functions ​

Beyond mere convexity, many optimization algorithms rely on stronger structural assumptions—smoothness and strong convexity—to obtain quantitative convergence guarantees. This section develops L-smoothness (Lipschitz gradient) and m-strong convexity, their equivalent characterizations, and the convergence rates of gradient descent under these conditions.

3.12.1 L-Smooth Functions ​

Definition (L-smooth function). A differentiable function f:Rn→R is called L-smooth (or has an L-Lipschitz continuous gradient) for some L>0 if for all x,y∈Rn,

(3.8)∥∇f(x)−∇f(y)∥≤L∥x−y∥.

Smoothness bounds how fast the gradient can change. Unlike convexity, it does not guarantee that stationary points are global minima; it only guarantees a quadratic upper bound on the function.


Chain of Equivalences. For a twice-differentiable function f, the following four statements are equivalent characterizations of L-smoothness:

(I)∥∇f(x)−∇f(y)∥≤L∥x−y∥(Lipschitz gradient)(II)g(x)=L2∥x∥2−f(x) is convex(III)f(y)≤f(x)+⟨∇f(x),y−x⟩+L2∥y−x∥2(Descent Lemma)(IV)∇2f(x)⪯LI(Hessian bound)

We now prove the full cycle of equivalences.


Proof: (I) ⇒ (III) (Lipschitz gradient ⇒ Descent Lemma).

Using the Fundamental Theorem of Calculus along the line segment x+t(y−x):

f(y)−f(x)=∫01⟨∇f(x+t(y−x)),y−x⟩dt.

Subtract the linear approximation at x:

f(y)−f(x)−⟨∇f(x),y−x⟩=∫01⟨∇f(x+t(y−x))−∇f(x),y−x⟩dt≤∫01∥∇f(x+t(y−x))−∇f(x)∥⋅∥y−x∥dt≤∫01L⋅t∥y−x∥⋅∥y−x∥dt=L∥y−x∥2∫01tdt=L2∥y−x∥2.

Thus f(y)≤f(x)+⟨∇f(x),y−x⟩+L2∥y−x∥2. ◻


Proof: (III) ⇒ (II) (Descent Lemma ⇒ g convex).

Define g(x)=L2∥x∥2−f(x). To show g is convex, we verify the first-order condition. For any x,y:

g(y)−g(x)−⟨∇g(x),y−x⟩=[L2∥y∥2−f(y)]−[L2∥x∥2−f(x)]−⟨Lx−∇f(x),y−x⟩=L2∥y∥2−L2∥x∥2−L⟨x,y−x⟩−[f(y)−f(x)−⟨∇f(x),y−x⟩]=L2∥y−x∥2−[f(y)−f(x)−⟨∇f(x),y−x⟩]≥L2∥y−x∥2−L2∥y−x∥2=0,

where the inequality uses condition (III). Hence g(y)≥g(x)+⟨∇g(x),y−x⟩, so g is convex. ◻


Proof: (II) ⇒ (IV) (Convexity of g ⇒ Hessian bound).

If g(x)=L2∥x∥2−f(x) is convex and twice differentiable, then ∇2g(x)⪰0 for all x. Computing the Hessian:

∇2g(x)=LI−∇2f(x).

Thus LI−∇2f(x)⪰0, i.e., ∇2f(x)⪯LI. ◻


Proof: (IV) ⇒ (I) (Hessian bound ⇒ Lipschitz gradient).

Assume ∇2f(x)⪯LI for all x. For any x,y, use the integral representation:

∥∇f(y)−∇f(x)∥=‖∫01∇2f(x+t(y−x))(y−x)dt‖.

Since for any vector v, ∥∇2f(z)v∥≤∥∇2f(z)∥op⋅∥v∥ and ∇2f(z)⪯LI implies ∥∇2f(z)∥op≤L, we have:

∥∇f(y)−∇f(x)∥≤∫01∥∇2f(x+t(y−x))∥op⋅∥y−x∥dt≤L∥y−x∥.

Thus condition (I) holds. ◻

This completes the chain of equivalences for L-smoothness.


3.12.2 Gradient Descent Convergence under Smoothness ​

Gradient descent updates:

(3.9)xt+1=xt−η∇f(xt).

Under L-smoothness alone, we can guarantee that the gradient norm converges to zero.

Lemma (Descent Lemma for gradient descent). If f is L-smooth and we take η=1L, then for each iteration:

(3.10)f(xt+1)−f(xt)≤−12L∥∇f(xt)∥2.

Proof. Applying the Descent Lemma (condition III) with y=xt+1=xt−1L∇f(xt):

f(xt+1)≤f(xt)+⟨∇f(xt),xt+1−xt⟩+L2∥xt+1−xt∥2=f(xt)−1L∥∇f(xt)∥2+L2⋅1L2∥∇f(xt)∥2=f(xt)−12L∥∇f(xt)∥2.

Rearranging gives the claimed bound. ◻


Theorem (Convergence to stationary point). Let f be L-smooth and f∗=infxf(x)>−∞. After T iterations of gradient descent with η=1L:

(3.11)min0≤t≤T−1∥∇f(xt)∥2≤2L(f(x0)−f∗)T.

Consequently, mint<T∥∇f(xt)∥→0 at a rate O(1/T).

Proof. Summing the Descent Lemma over t=0,1,…,T−1:

∑t=0T−1(f(xt)−f(xt+1))≥12L∑t=0T−1∥∇f(xt)∥2.

The left-hand side telescopes:

f(x0)−f(xT)≥12L∑t=0T−1∥∇f(xt)∥2≥T2Lmin0≤t≤T−1∥∇f(xt)∥2.

Since f(xT)≥f∗,

T2Lmint<T∥∇f(xt)∥2≤f(x0)−f∗,

which rearranges to the stated bound. ◻

This shows gradient descent converges to a stationary point (where ∇f≈0) at a rate O(1/T).


3.12.3 Smooth + Convex Convergence ​

If f is not only L-smooth but also convex, we obtain convergence to a global minimum (not just a stationary point).

Theorem (Convergence under smoothness + convexity). Let f be L-smooth and convex, and let x∗ be a global minimizer of f. After T iterations of gradient descent with η=1L:

(3.12)f(xT)−f(x∗)≤L2T∥x0−x∗∥2.

Proof. Write η=1L. For each iteration:

∥xt+1−x∗∥2=∥xt−η∇f(xt)−x∗∥2=∥xt−x∗∥2−2η⟨∇f(xt),xt−x∗⟩+η2∥∇f(xt)∥2.

By convexity (first-order condition), f(xt)−f(x∗)≤⟨∇f(xt),xt−x∗⟩. Hence:

−2η⟨∇f(xt),xt−x∗⟩≤−2η(f(xt)−f(x∗)).

Using the Descent Lemma (3.10), η2∥∇f(xt)∥2=1L2∥∇f(xt)∥2≤2L(f(xt)−f(xt+1)). Substituting:

∥xt+1−x∗∥2≤∥xt−x∗∥2−2L(f(xt)−f(x∗))+2L(f(xt)−f(xt+1))=∥xt−x∗∥2−2L(f(xt+1)−f(x∗)).

Let Δt=f(xt)−f(x∗). Then ∥xt+1−x∗∥2≤∥xt−x∗∥2−2LΔt+1, which implies:

Δt+1≤L2(∥xt−x∗∥2−∥xt+1−x∗∥2).

Summing this inequality from t=0 to T−1 telescopes:

∑t=1TΔt≤L2(∥x0−x∗∥2−∥xT−x∗∥2)≤L2∥x0−x∗∥2.

Since Δt is non-increasing (the Descent Lemma guarantees f(xt+1)≤f(xt)), we have T⋅ΔT≤∑t=0T−1Δt≤L2∥x0−x∗∥2. Therefore:

f(xT)−f(x∗)≤L2T∥x0−x∗∥2.◻

This is the O(1/T) rate for smooth convex optimization.


3.12.4 m-Strongly Convex Functions ​

Definition (m-strongly convex function). A differentiable function f:Rn→R is called m-strongly convex for some m>0 if for all x,y∈Rn,

(3.13)f(y)≥f(x)+⟨∇f(x),y−x⟩+m2∥y−x∥2.

Strong convexity is a strengthened form of convexity that guarantees the function grows at least quadratically away from any point, ensuring a unique global minimum.

Remark. m is often denoted μ in many texts. We keep m for consistency with the lecture notation.


Chain of Equivalences. For a twice-differentiable function f, the following four statements are equivalent:

(I)f(y)≥f(x)+⟨∇f(x),y−x⟩+m2∥y−x∥2(Strong FOC)(II)h(x)=f(x)−m2∥x∥2 is convex(III)⟨∇f(x)−∇f(y),x−y⟩≥m∥x−y∥2(Strong Gradient Monotonicity)(IV)∇2f(x)⪰mI(Hessian bound)

Proof: (I) ⇒ (II) (Strong FOC ⇒ h convex).

Define h(x)=f(x)−m2∥x∥2. For any x,y,

h(y)−h(x)−⟨∇h(x),y−x⟩=[f(y)−m2∥y∥2]−[f(x)−m2∥x∥2]−⟨∇f(x)−mx,y−x⟩=f(y)−f(x)−⟨∇f(x),y−x⟩−m2(∥y∥2−∥x∥2−2⟨x,y−x⟩)=f(y)−f(x)−⟨∇f(x),y−x⟩−m2∥y−x∥2≥0,

where the last line uses condition (I). Hence h(y)≥h(x)+⟨∇h(x),y−x⟩, so h is convex by the first-order condition. ◻


Proof: (II) ⇒ (IV) (Convexity of h ⇒ Hessian bound).

If h(x)=f(x)−m2∥x∥2 is convex and twice differentiable, then ∇2h(x)⪰0 for all x. Computing the Hessian:

∇2h(x)=∇2f(x)−mI.

Thus ∇2f(x)−mI⪰0, i.e., ∇2f(x)⪰mI. ◻


Proof: (IV) ⇒ (III) (Hessian bound ⇒ Strong Gradient Monotonicity).

Assume ∇2f(x)⪰mI for all x. For any x,y, use the integral representation:

⟨∇f(y)−∇f(x),y−x⟩=⟨∫01∇2f(x+t(y−x))(y−x)dt,y−x⟩=∫01(y−x)⊤∇2f(x+t(y−x))(y−x)dt≥∫01m∥y−x∥2dt=m∥y−x∥2.

This establishes condition (III). ◻


Proof: (III) ⇒ (I) (Strong Gradient Monotonicity ⇒ Strong FOC).

Assume ⟨∇f(x)−∇f(y),x−y⟩≥m∥x−y∥2. Using the Fundamental Theorem of Calculus:

f(y)−f(x)−⟨∇f(x),y−x⟩=∫01⟨∇f(x+t(y−x))−∇f(x),y−x⟩dt.

Let s=∥y−x∥. Apply the strong monotonicity condition along the segment; for zt=x+t(y−x), evaluate with x and zt:

⟨∇f(zt)−∇f(x),zt−x⟩≥m∥zt−x∥2=mt2s2.

Note that zt−x=t(y−x), so:

t⋅⟨∇f(zt)−∇f(x),y−x⟩≥mt2s2⟹⟨∇f(zt)−∇f(x),y−x⟩≥mts2.

Integrating over t∈[0,1]:

∫01⟨∇f(x+t(y−x))−∇f(x),y−x⟩dt≥∫01mts2dt=m2s2=m2∥y−x∥2.

Thus f(y)≥f(x)+⟨∇f(x),y−x⟩+m2∥y−x∥2. ◻

This completes the chain of equivalences for m-strong convexity.


3.12.5 Linear Convergence under Smooth + Strong Convexity ​

When a function is both L-smooth and m-strongly convex, gradient descent achieves linear (exponential) convergence to the unique global minimizer.

Theorem (Linear convergence). Let f be L-smooth and m-strongly convex. Let x∗ be the unique global minimizer. Gradient descent with step size η=1L satisfies:

(3.14)f(xT)−f(x∗)≤(1−mL)T(f(x0)−f(x∗)).

Proof. From the Descent Lemma with η=1L:

f(xt+1)≤f(xt)−12L∥∇f(xt)∥2.

By m-strong convexity, we have a lower bound relating the gradient norm to the optimality gap. For any x,

f(x∗)≥f(x)+⟨∇f(x),x∗−x⟩+m2∥x∗−x∥2.

Minimizing the right-hand side over y (a quadratic in y) gives:

f(x∗)≥f(x)−12m∥∇f(x)∥2,

since miny{f(x)+⟨∇f(x),y−x⟩+m2∥y−x∥2}=f(x)−12m∥∇f(x)∥2.

Rearranging yields the Polyak–Łojasiewicz (PL) inequality:

(3.15)∥∇f(x)∥2≥2m(f(x)−f(x∗)).

Plug this into the Descent Lemma:

f(xt+1)−f(x∗)≤f(xt)−f(x∗)−12L⋅2m(f(xt)−f(x∗))=(1−mL)(f(xt)−f(x∗)).

Unrolling this inequality over T iterations gives:

f(xT)−f(x∗)≤(1−mL)T(f(x0)−f(x∗)).◻

Definition (Condition number). The ratio

κ=Lm≥1

is called the condition number of f. It measures how "elongated" the sublevel sets of f are.

Since 0<m≤L, we have κ≥1. The convergence rate can be rewritten as:

f(xT)−f(x∗)≤(1−1κ)T(f(x0)−f(x∗)).

Using the inequality 1−x≤e−x, we obtain the more intuitive bound:

f(xT)−f(x∗)≤exp(−Tκ)(f(x0)−f(x∗)).

To achieve f(xT)−f(x∗)≤ε, it suffices to take

T≥κlog⁡f(x0)−f(x∗)ε,

which is linear in the condition number κ. When the function is well-conditioned (small κ), gradient descent converges rapidly. For ill-conditioned problems (large κ), convergence can be slow.


Summary. The interplay between smoothness and strong convexity is fundamental to first-order optimization:

PropertyGuaranteeRate
L-smooth onlymint<T|∇f(xt)|2≤O(1/T)Sublinear to stationary point
L-smooth + convexf(xT)−f(x∗)≤O(1/T)Sublinear to global minimum
L-smooth + m-strongly convexf(xT)−f(x∗)≤(1−m/L)TΔ0Linear (exponential)

Strong convexity is what transforms the sublinear rate of gradient descent into a linear (geometric) rate, with the condition number κ=L/m governing the constant.