Prerequisites & Notation

Before You Begin

This chapter builds on linear algebra (Chapter 1) and basic probability (Chapter 2). The following topics should feel comfortable before proceeding.

  • Inner products, norms, and projections in Rn\mathbb{R}^n(Review ch01)

    Self-check: Can you project a vector onto a subspace and compute the projection error?

  • Eigenvalue decomposition and positive (semi)definiteness(Review ch01)

    Self-check: Can you determine whether a symmetric matrix is positive definite by inspecting its eigenvalues or attempting a Cholesky factorization?

  • Matrix calculus: gradients and Hessians(Review ch01)

    Self-check: Can you compute x(xTAx)\nabla_{\mathbf{x}} (\mathbf{x}^T \mathbf{A} \mathbf{x}) for symmetric A\mathbf{A}?

  • Expectation, variance, and basic probabilistic inequalities(Review ch02)

    Self-check: Can you state Jensen's inequality and explain why E[logX]logE[X]\mathbb{E}[\log X] \leq \log \mathbb{E}[X]?

  • Multivariable calculus: partial derivatives, chain rule, Taylor expansion

    Self-check: Can you write the second-order Taylor expansion of f:RnRf : \mathbb{R}^n \to \mathbb{R} around a point x0\mathbf{x}_0?

Notation for This Chapter

Symbols introduced in this chapter. See also the NGlobal Notation Table master table in the front matter.

SymbolMeaningIntroduced
C\mathcal{C}A convex set in Rn\mathbb{R}^ns01
epi(f)\text{epi}(f)Epigraph of a function ffs01
f(x)\nabla f(\mathbf{x})Gradient of ff at x\mathbf{x}s01
2f(x)\nabla^2 f(\mathbf{x})Hessian matrix of ff at x\mathbf{x}s01
A0\mathbf{A} \succeq 0A\mathbf{A} is positive semidefinites01
L(x,λ,ν)\mathcal{L}(\mathbf{x}, \boldsymbol{\lambda}, \boldsymbol{\nu})Lagrangian functions02
g(λ,ν)g(\boldsymbol{\lambda}, \boldsymbol{\nu})Lagrangian dual functions02
pp^\starOptimal primal values02
dd^\starOptimal dual values02
μ\muWater level in water-fillings03
αk\alpha_kStep size (learning rate) at iteration kks04
proxαg(x)\text{prox}_{\alpha g}(\mathbf{x})Proximal operator of gg with parameter α\alphas04