Write . The log-sum-exp function is convex and composition with the affine functions preserves convexity, so is convex. Directly, its Hessian matrix will also be shown positive semidefinite in part d.
Let . Factoring out of the sum gives
At least one term in the sum is , while every term is at most . Therefore
and hence
Thus is a uniform smooth maximum of the affine pieces of .
Smooth maximum 2026-09-28
Composing the log-sum-exp function with finitely many affine functions gives a differentiable approximation to their pointwise maximum. Increasing the inverse-temperature parameter reduces the uniform approximation error while increasing the Lipschitz gradient constant.