Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Economics

6 Appendix

Authors
Affiliations
New York University
National Graduate Institute for Policy Studies (GRIPS)

6.1Math Review

This section provides a brief review of basic analysis and linear algebra. The material contained here should be covered in intermediate mathematical economics courses or, if not, in math boot camp at the very start of a graduate program.

(For those who want a slower treatment of the analysis section, we recommend Bartle & Sherbert (2011), which is carefully constructed and beautifully written. High quality texts on linear algebra at the right level for this course include Jänich (1994), Meyer (2000), Aggarwal (2020) and Cohen (2021).)

6.1.1Sets and Functions

As a first step, let’s clarify elementary terminology and notation.

6.1.1.1Sets

A set is an arbitrary collection of objects. Individual objects are called elements of the set. We assume the reader is familiar with basic set operations such as intersections and unions. If AA is a finite set, then ∣A∣|A| is the number of elements in AA. Powers applied to sets indicate Cartesian products, so that

A2:=A×A:={(a,a′):a∈A,  a′∈A},    etc.A^2 := A \times A := \setntn{(a, a')}{a \in A,\; a' \in A}, \;\; \text{etc.}

Throughout, ℘(A)\wp(A) is the power set of AA, consisting of all subsets of AA. For example,

A={1,2}  ⟹  ℘(A)={∅,{1},{2},A}.A = \{1, 2\} \quad \implies \quad \wp(A) = \{ \emptyset, \{1\}, \{2\}, A \}.

Let N\NN be the natural numbers, Z\ZZ be the integers, Q\QQ be the rational numbers and R\RR be the reals (i.e., the union of the rational and irrational numbers). For x,yx, y in R\RR, we let

x∨y:=max⁡{x,y}andx∧y:=min⁡{x,y}.x \vee y := \max\{x, y\} \quad \text{and} \quad x \wedge y := \min\{x, y\}.

Absolute value is ∣x∣:=x∨(−x)|x| := x \vee (-x). For n∈Nn \in \NN we set [n]:={1,…,n}\natset{n} := \{1, \ldots, n\}.

We make use of the following elementary facts: For all a,b,c∈Ra, b, c \in \RR,

The first item is called the triangle inequality. Also, if a,b,c∈R+a, b, c \in \RR_+, then

(a+b)∧c⩽(a∧c)+(b∧c).(a + b) \wedge c \leq (a \wedge c) + (b \wedge c).

6.1.1.2Equivalence Classes

Let SS be any set. A relation ∼\sim on SS is a nonempty subset of S×SS \times S. It is customary to write x∼yx \sim y rather than (x,y)∈ ∼(x, y) \in \, \sim to indicate that (x,y)(x,y) is in ∼\sim. A relation ∼\sim on SS is called an equivalence relation if, for all x,y,z∈Sx, y, z \in S, we have

(reflexivity) x∼xx \sim x,

(symmetry) x∼yx \sim y implies y∼xy \sim x and

(transitivity) x∼yx \sim y and y∼zy \sim z implies x∼zx \sim z.

Any equivalence relation on SS induces a partition of SS into a collection of mutually disjoint subsets such that their union exhausts SS. These subsets are called equivalence classes. They can be constructed by taking, for each x∈Sx \in S, the set of all elements that are equivalent to xx.

6.1.1.3Functions

A function ff from set AA to set BB is a rule, written f ⁣:A→Bf \colon A \to B or a↦f(a)a \mapsto f(a), that associates each element aa of AA with one and only one element f(a)f(a) of BB. The set AA is called the domain of ff and BB is called the codomain. The range or image of ff is

range⁡(f):={b∈B:b=f(a) for some a∈A}.\range(f) := \setntn{b \in B}{b = f(a) \text{ for some } a \in A}.

A function f ⁣:A→Bf \colon A \to B is called

The left panel of Figure 6.1 shows a one-to-one function on (0,1)(0,1). This function is not onto, however. For example, there exists no x∈(0,1)x \in (0,1) with f(x)=1/4f(x)=1/4. The right panel of Figure 6.1 shows an onto function, with range⁡(f)=(0,1)\range(f) = (0,1). This function is not one-to-one, however. For example, f(1/4)=f(3/4)=3/4f(1/4)=f(3/4)=3/4.

Different types of functions on (0,1)

Figure 6.1:Different types of functions on (0,1)(0,1)

The left panel of Figure 6.2 gives an example of a function which is neither one-to-one nor onto. The right panel of Figure 6.2 gives an example of a bijection.

Some functions are bijections and some are not

Figure 6.2:Some functions are bijections and some are not

6.1.1.4Inverse Functions

One motivation for our interest in the basic properties of functions is that we wish to solve inverse problems. For an arbitrary nonempty set SS and a function f ⁣:S→Sf \colon S \to S, an abstraction of an inverse problem is solving y=f(x)y=f(x) for x∈Sx \in S.

Prior to stating the next result, we recall that an inverse function for f ⁣:S→Sf \colon S \to S is a function g ⁣:S→Sg \colon S \to S such that f∘g=g∘f=If \circ g = g \circ f = I, where II is the identity map on SS. The inverse function of ff is often written as f−1f^{-1}.

Here is a nice logical exercise that turns out to be useful when we solve linear inverse problems.

6.1.1.5Real-Valued Functions

If SS is any set and f ⁣:S→Rf \colon S \to \RR, we call ff a real-valued function. The set of all real-valued functions on SS is denoted RS\RR^S. When SS has nn elements, RS\RR^S is the same set as Rn\RR^n expressed in different notation. The next lemma clarifies.

The lemma just states that a function hh can be identified by the set of values that it takes on SS, which is an nn-tuple of real numbers. We use this identification routinely in what follows.

The indicator function of logical statement PP is denoted 1{P}\1\{P\} and takes value 1 (resp., 0) if PP is true (resp., false).

If A⊂SA \subset S, where SS is any set, then 1A(x):=1{x∈A}\1_A(x) := \1\{x \in A\} for all x∈Sx \in S.

A nonempty set SS is called countable if it is finite or can be placed in one-to-one correspondence with the natural numbers N\NN. In the second case we can enumerate SS by writing it as {x1,x2,…}\{x_1, x_2, \ldots \}. Any nonempty set SS that fails to be countable is called uncountable. For example, Z\ZZ and Q\QQ are countable, whereas R\RR and every nontrivial interval in R\RR are uncountable.

In general, if ff and gg are real-valued functions defined on some common set SS and α\alpha is a scalar, then f+gf + g, αf\alpha f, fgfg, etc., are functions on SS defined by

(f+g)(x)=f(x)+g(x),(αf)(x)=αf(x),etc.(f + g)(x) = f(x) + g(x), \quad (\alpha f)(x) = \alpha f(x), \quad \text{etc.}

for each x∈Sx \in S. Similarly, f∨gf \vee g and f∧gf \wedge g are functions on SS defined by

(f∨g)(x)=f(x)∨g(x)     and     (f∧g)(x)=f(x)∧g(x).(f \vee g)(x) = f(x) \vee g(x) \;\; \text{ and } \;\; (f \wedge g)(x) = f(x) \wedge g(x).

Figure 6.3 illustrates.

Functions f \vee g and f \wedge g when defined on a subset of \RR

Figure 6.3:Functions f∨gf \vee g and f∧gf \wedge g when defined on a subset of R\RR

If f ⁣:A→Bf \colon A \to B and g ⁣:B→Cg \colon B \to C, then g∘fg \circ f is called the composition of ff and gg. It is the function mapping a∈Aa \in A to g(f(a))∈Cg(f(a)) \in C.

6.1.1.6Fixed Points

Let SS be any set. A self-map on SS is a function GG from SS to itself. When working with self-maps in arbitrary sets it is common to write the image of xx under GG as GxGx rather than G(x)G(x). We often follow this convention.

Given a self-map GG on SS, a point x∈Sx \in S is called a fixed point of GG if Gx=xGx = x.

Figure 6.4 shows another example, for a self-map GG on S=[0,2]S = [0, 2]. Fixed points are numbers x∈[0,2]x \in [0, 2] where GG meets the 45 degree line. In this case there are three.

One of the most common techniques for solving systems of nonlinear equations in applied mathematics—and quantitative economics—is to convert them into fixed point problems and then apply fixed point theory. We will see many applications of this technique.

Graph and fixed points of G \colon x \mapsto 2.125/(1 + x^{-4})

Figure 6.4:Graph and fixed points of G ⁣:x↦2.125/(1+x−4)G \colon x \mapsto 2.125/(1 + x^{-4})

6.1.1.7Vectors

An nn-vector xx is a tuple of nn numbers x=(x1,…,xn)x = (x_1, \ldots, x_n) where xi∈Rx_i \in \RR for each i∈[n]i \in \natset{n}. In general, xx is neither a row vector nor a column vector—which coincides with the perspective of most scientific computing environments, where the basic vector structure is a flat array. When using matrix algebra, vectors are treated as column vectors unless otherwise stated.

The two most fundamental vector operations are vector addition and scalar multiplication. These operations act pointwise, so that, when α∈R\alpha \in \RR and x,y∈Rnx, y \in \RR^n,

x+y=(x1x2⋮xn)+(y1y2⋮yn):=(x1+y1x2+y2⋮xn+yn)andαx:=(αx1αx2⋮αxn).x + y = \left( \begin{array}{c} x_1 \\ x_2 \\ \vdots \\ x_n \end{array} \right) + \left( \begin{array}{c} y_1 \\ y_2 \\ \vdots \\ y_n \end{array} \right) := \left( \begin{array}{c} x_1 + y_1 \\ x_2 + y_2 \\ \vdots \\ x_n + y_n \end{array} \right) \quad \text{and} \quad \alpha x := \left( \begin{array}{c} \alpha x_1 \\ \alpha x_2 \\ \vdots \\ \alpha x_n \end{array} \right).

We let Rn\RR^n be the set of all nn-vectors and Mn×k\matset{n}{k} be all n×kn \times k matrices. If AA is a matrix then A⊤A^{\top} is its transpose.

The norm and inner product satisfy the triangle inequality and Cauchy–Schwarz inequality, which state that, respectively,

∥x+y∥⩽∥x∥+∥y∥and∣⟨x,y⟩∣⩽∥x∥∥y∥for all x,y∈Rn.\| x + y \| \leq \|x\| + \|y\| \quad \text{and} \quad |\inner{x, y}| \leq \|x \| \|y\| \quad \text{for all } x,y \in \RR^n.

6.1.1.8Complex Numbers

We recall some elementary facts about C\CC, the set of complex numbers.

Each element of C\CC can be understood as a point (a,b)∈R2(a, b) \in \RR^2. In fact C\CC is just R2\RR^2 endowed with a special form of multiplication. The point (a,b)(a, b) is more often written as a+iba+ib. We elaborate below.

The first and second projections of (a,b)(a, b) are written as Re⁡(a,b)=a\real (a, b) = a and Im⁡(a,b)=b\imag (a, b) = b and called the real and nonreal (or imaginary) part respectively. The symbol ii represents the point (0,1)∈C(0, 1) \in \CC. As is traditional, in the context of complex numbers, the complex number (a,0)∈C(a, 0) \in \CC is often written more simply as aa. With addition and scalar multiplication defined pointwise, this means that, as expected,

(a,b)=(a,0)+(0,b)=(a,0)+(0,1)b=a+ib.(a, b) = (a, 0) + (0, b) = (a, 0) + (0, 1) b = a + ib.

Let z=(a,b)z = (a, b). The modulus of zz is written ∣z∣|z| and defined as the Euclidean norm (a2+b2)1/2(a^2+b^2)^{1/2} of the tuple (a,b)(a,b). The two-dimensional Euclidean space is then endowed with a new operation called multiplication, which is defined by

(a,b)(c,d)=(ac−bd,ad+bc).(a, b) (c, d) = (ac - bd, ad+bc).

Note that, under this rule and our conventions, i2=(0,1)(0,1)=(−1,0)=−1i^2 = (0, 1)(0, 1) = (-1, 0) = -1.

As in the real case, the exponential ez\me^z is defined for z∈Cz \in \CC by ∑k⩾0zk/(k!)\sum_{k \geq 0} z^k/(k!). It can be shown that, under this extension, the exponential function continues to enjoy the additive property ez1+z2=ez1ez2\me^{z_1 + z_2} = \me^{z_1} \me^{z_2}. As a result, ea+ib=eaeib\me^{a + ib} = \me^a \me^{ib}.

Rather than providing its coordinates, another way to represent a vector z=(a,b)∈R2z = (a, b) \in \RR^2, and hence in C\CC, is by providing a pair (r,φ)(r, \phi) where r>0r > 0 is understood as the length of the vector and φ∈[0,2π)\phi \in [0, 2\pi) is the angle. This translates to Euclidean coordinates via

a+ib=(a,b)=(rcos⁡φ,rsin⁡φ)=r(cos⁡φ+isin⁡φ).a + ib = (a, b) = (r \cos \phi, r \sin \phi) = r(\cos \phi + i \sin \phi).
The complex number (a, b) = r \me^{i \phi}

Figure 6.5:The complex number (a,b)=reiφ(a, b) = r \me^{i \phi}

The representation (r,φ)(r, \phi) is called the polar form of the complex number. By Euler’s formula cos⁡(φ)+isin⁡(φ)=eiφ\cos(\phi) + i \sin(\phi) = \me^{i \phi}, we can also write

r(cos⁡φ+isin⁡φ)=reiφ.r(\cos \phi + i \sin \phi) = r \me^{i \phi}.

Figure 6.5 translates C∋(1,3)=1+i3\CC \ni (1, \sqrt{3}) = 1 + i \sqrt{3} into polar coordinates 2ei(π/3)2 \me^{i (\pi/3)}.

The advantage of these representations is clear when we multiply, since the rule

reiφ seiψ=rs ei(φ+ψ)r \me^{i \phi} \, s \me^{i \psi} = r s \, \me^{i (\phi + \psi) }

is easier to remember and apply than (6.6). Calculating the modulus is also easy, since, by the trigonometric formula cos⁡2φ+sin⁡2φ=1\cos^2 \phi + \sin^2 \phi = 1,

∣reiφ∣=∣r(cos⁡(φ)+isin⁡(φ))∣=r(cos⁡2φ+sin⁡2φ)1/2=r.| r \me^{i \phi}| = | r(\cos(\phi) + i \sin(\phi)) | = r \left(\cos^2 \phi + \sin^2 \phi \right)^{1/2} = r.

6.1.2Order

Order structure is of great importance in economics—typically more so than other fields such as physics or chemistry. Here we review the basics.

6.1.2.1Partial Orders

It was mentioned in the preface that order-theoretic methods form a core part of the text. In this section we introduce some key concepts.

Let PP be a nonempty set. A partial order on PP is a relation ⪯\preceq on P×PP \times P satisfying, for any p,q,rp, q, r in PP,

p⪯pp \preceq p,

p⪯qp \preceq q and q⪯pq \preceq p implies p=qp = q and

p⪯qp \preceq q and q⪯rq \preceq r implies p⪯rp \preceq r

(reflexivity)

(antisymmetry)

(transitivity)

When paired with a partial order ⪯\preceq, the set PP (or the pair (P,⪯)(P, \preceq)) is called a partially ordered set.

A subset BB of a partially ordered set (P,⪯)(P, \preceq) is called

6.1.2.2Pointwise Operations on Vectors

In this text, operations on real numbers such as ∣⋅∣|\cdot| and ∨\vee are applied to vectors pointwise. For example, for vectors a=(ai)a = (a_i) and b=(bi)b = (b_i) in Rd\RR^d, we set

∣a∣=(∣ai∣),a∧b=(ai∧bi)anda∨b=(ai∨bi)|a| = (|a_i|), \quad a \wedge b = (a_i \wedge b_i) \quad \text{and} \quad a \vee b = (a_i \vee b_i)

(The last two are special cases of (6.5).)

A small amount of thought will convince you that, with this convention plus the pointwise order over vectors, the order-theoretic inequalities and identities listed in Section 6.1.1.1 also hold for vectors in Rd\RR^d. (For example, ∣a+b∣⩽∣a∣+∣b∣|a + b| \leq |a| + |b| for any a,b,c∈Rda, b, c \in \RR^d.)

6.1.2.3Monotonicity

Given two partially ordered sets (P,⪯)(P, \preceq) and (Q,⊴)(Q, \trianglelefteq), a function GG from PP to QQ is called order-preserving if

p,q∈P and p⪯q  ⟹  Gp⊴Gq.p, q \in P \text{ and } p \preceq q \quad \implies \quad Gp \trianglelefteq Gq.

If P=Q=RP = Q = \RR and ⪯\preceq and ⊴\trianglelefteq are both equal to ⩽\leq, the standard order on R\RR, then the order-preserving property reduces to the usual notion of an increasing function (i.e., nondecreasing function), and we will use the terms “increasing” and “order-preserving” interchangeably in this setting.[2]

In addition, if S=gS = g maps A⊂RA \subset \RR into R\RR, then we will call gg

6.1.3Convergence

Let’s now recall the basics of convergence and continuity.

Given any set SS, an SS-valued sequence (xn):=(xn)n∈N(x_n) := (x_n)_{n \in \NN} is a function n↦xnn \mapsto x_n from N\NN to SS. If S=RS=\RR, we call (xn)(x_n) a real-valued sequence. A subsequence of (xn)n∈N(x_n)_{n \in \NN} is a sequence of the form (xσ(n))n∈N(x_{\sigma(n)})_{n \in \NN} where σ\sigma is a strictly increasing function from N\NN to itself. You can think of forming a subsequence from a sequence by deleting some of its elements—while still retaining infinitely many.

In computer science and statistics, it is common to classify sequences according to their asymptotic behavior. Often this is done via big O notation, where, for a real-valued sequence (xn)(x_n), we write (xn)=O(gn)(x_n) = O(g_n) if there exists a nonnegative sequence (gn)(g_n) and a constant M<∞M < \infty such that ∣xn∣⩽Mgn|x_n| \leq M g_n for all n∈Nn \in \NN.

6.1.3.1Metric Properties of the Real Line

The following definition is fundamental to what follows: a real-valued sequence (xn)(x_n) converges to x∈Rx \in \RR and write xn→xx_n \to x if

 for each ε>0, there is an N∈N such that ∣xn−x∣<ε whenever n⩾N. \text{ for each } \epsilon > 0 \text{, there is an } N \in \NN \text{ such that } |x_n - x| < \epsilon \text{ whenever } n \geq N \text{. }

Let’s state some elementary limit laws that are used without comment throughout. (You can review the proofs in sources such as Bartle & Sherbert (2011)).

A sequence (xn)(x_n) is called bounded if there is an M∈RM \in \RR such that ∣xn∣⩽M|x_n| \leq M for all n∈Nn \in \NN. It is called

The sequence is called monotone if it is either monotone increasing or decreasing. The next theorem, concerning monotone sequences, is a deep result about the structure of R\RR.

The intuitive meaning of the “if” part of Theorem 6.1.3 is that monotone bounded sequences always converge to some point in R\RR because R\RR contains no gaps. This statement is closely related to the “completeness” property of the real line, which is discussed in Bartle & Sherbert (2011) and many other texts on real analysis.

Next let’s consider series. Given a sequence (xn)(x_n) in R\RR, we set

∑n⩾1xn:=lim⁡N→∞∑n=1Nxn whenever the limit exists in R.\sum_{n \geq 1} x_n := \lim_{N \to \infty} \sum_{n=1}^N x_n \text{ whenever the limit exists in } \RR.

More generally, given arbitrary countable SS and g∈RSg \in \RR^S, we write ∑x∈Sg(x)=M\sum_{x \in S} g(x) = M if there exists an enumeration (xn)n∈N(x_n)_{n \in \NN} of SS such that ∑n⩾1∣g(xn)∣\sum_{n \geq 1} |g(x_n)| is finite and, in addition, ∑n⩾1g(xn)=M\sum_{n \geq 1} g(x_n) = M.[3]

6.1.3.2Metric Properties of Euclidean Space

Now we review the metric properties of Rd\RR^d, for some d∈Nd \in \NN, when distance between vectors x,y∈Rdx, y \in \RR^d is understood in terms of Euclidean norm deviation ∥x−y∥\| x - y \|. The notion of convergence for real-valued sequences extends naturally to this setting: sequence (xn)(x_n) in Rd\RR^d is said to converge to x∈Rdx \in \RR^d if

 for each ε>0, there is an N∈N such that ∥xn−x∥<ε whenever n⩾N. \text{ for each } \epsilon > 0 \text{, there is an } N \in \NN \text{ such that } \|x_n - x\| < \epsilon \text{ whenever } n \geq N \text{. }

In this case we write xn→xx_n \to x. Figure 6.6 shows a sequence converging to the origin in R3\RR^3, with colder colors being later in the sequence.

Convergence of a sequence to the origin in \RR^3

Figure 6.6:Convergence of a sequence to the origin in R3\RR^3

Given any point u∈Rdu \in \RR^d and ε>0\epsilon > 0, the ε\epsilon-ball around uu is the set

Bε(u):={v∈Rd:∥u−v∥<ε}.B_\epsilon(u) := \setntn{v \in \RR^d}{\| u - v \| < \epsilon} .

With this terminology, we can say that (xn)(x_n) converges to x∈Rdx \in \RR^d if the sequence (xn)(x_n) is eventually in any ε\epsilon-ball around xx.

A sequence (xn)⊂Rd(x_n) \subset \RR^d is called Cauchy if, for all ε>0\epsilon > 0, there exists an N∈NN \in \NN with ∣xn−xm∣<ε|x_n - x_m| < \epsilon whenever n,m⩾Nn, m \geq N.

It is a fundamental result of analysis, stemming from axiomatic properties of the reals, that the converse is also true:

6.1.3.3Topology

A point u∈A⊂Rdu \in A \subset \RR^d is called interior to AA if there exists an ε>0\epsilon > 0 such that Bε(u)⊂AB_\epsilon(u) \subset A.

A subset GG of Rd\RR^d is called open in Rd\RR^d if every u∈Gu \in G is interior to GG. A subset FF of Rd\RR^d is called closed if, given any sequence (xn)(x_n) satisfying xn∈Fx_n \in F for all n∈Nn \in \NN and xn→xx_n \to x for some x∈Rdx \in \RR^d, the point xx is in FF. In other words, FF contains the limit points of all convergent sequences that take values in FF.

A subset BB of Rd\RR^d is called bounded if there exists a finite MM such that ∥b∥⩽M\| b \| \leq M for all b∈Bb \in B. A subset KK of Rd\RR^d is called compact in Rd\RR^d if every sequence in KK has a subsequence converging to some point in KK. The Bolzano–Weierstrass theorem tells us that KK is compact if and only if KK is closed and bounded.

6.1.3.4Continuity in Vector Space

If A⊂RdA \subset \RR^d, then f ⁣:A→Rkf \colon A \to \RR^k is called continuous at x∈Ax \in A if, for each sequence (xn)⊂A(x_n) \subset A with xn→xx_n \to x, we have f(xn)→f(x)f(x_n) \to f(x) in Rk\RR^k. If ff is continuous at all x∈Ax \in A then we call ff continuous on AA.

More generally, every polynomial function is continuous on R\RR. The elementary functions sin⁡\sin, cos⁡\cos, exp⁡\exp and log⁡\log are all continuous on their domains.

The next lemma is helpful in locating fixed points.

6.1.4Linear Algebra

Next we review fundamental concepts and definitions from linear algebra.

6.1.4.1Subspaces and Independence

A subset EE of Rn\RR^n is called a linear subspace of Rn\RR^n if

x,y∈E and α,β∈R    ⟹    αx+βy∈E.x, y \in E \text{ and } \alpha, \beta \in \RR \; \implies \; \alpha x + \beta y \in E.

In other words, EE is closed under the operations of addition and scalar multiplication; that is, (i) α∈R\alpha \in \RR and x∈Ex \in E implies αx∈E\alpha x \in E and (ii) x,y∈Ex, y \in E implies x+y∈Ex+y \in E.

A linear combination of vectors v1,…,vkv_1,\ldots, v_k in Rn\RR^n is a vector of the form

α1v1+⋯+αkvk where (α1,…,αk)∈Rk.\alpha_1 v_1 + \cdots + \alpha_k v_k \text{ where } (\alpha_1,\ldots, \alpha_k) \in \RR^k.

The set of all linear combinations of elements of F⊂RnF \subset \RR^n is called the span of FF and written as span⁡F\Span F.

Figure 6.7 shows the linear subspace spanned by the three vectors

u=(341),v=(3−40.2),and w=(−3.53−0.4).u = \begin{pmatrix} 3 \\ 4 \\ 1 \end{pmatrix}, \quad v = \begin{pmatrix} 3 \\ -4 \\ 0.2 \end{pmatrix}, \quad \text{and } w = \begin{pmatrix} -3.5 \\ 3 \\ -0.4 \end{pmatrix} .

The subspace HH in which these vectors lie is, in fact, the set of all x∈R3x \in \RR^3 such that ⟨x,c⟩=0\inner{x, c} = 0, with c=(−0.2,−0.1,1)c=(-0.2, -0.1, 1). This plane is a two-dimensional object. While we make this terminology precise in Section 6.1.4.2, the key idea is that

The span of vectors u, v, w in \RR^3

Figure 6.7:The span of vectors u,v,wu, v, w in R3\RR^3

A finite set of vectors F:={v1,…,vk}⊂RnF := \{v_1, \ldots, v_k\} \subset \RR^n is called linearly independent if, for real scalars α1,…,αk\alpha_1, \ldots, \alpha_k,

α1v1+⋯+αkvk=0    ⟹    α1=⋯=αk=0.\alpha_1 v_1 + \cdots + \alpha_k v_k = 0 \; \implies \; \alpha_1 = \cdots = \alpha_k = 0.

If FF is not linearly independent it is called linearly dependent.

The span of the canonical basis vectors in Rn\RR^n is equal to all of Rn\RR^n. In particular, each x∈Rnx \in \RR^n can be expressed as

x=∑i=1nαiδiwhere αi:=⟨x,δi⟩.x = \sum_{i=1}^n \alpha_i \delta_i \quad \text{where } \alpha_i := \inner{x, \delta_i}.

On the other hand, we cannot omit an element of the basis {δ1,…,δn}\{\delta_1, \ldots, \delta_n\} and still span Rn\RR^n. The next theorem generalizes this idea.

See, for example, Jänich (1994). Theorem 6.1.7 captures the notion that linear independence of a set of vectors means linear diversity, which allows the span to be large.

6.1.4.2Basis Vectors and Dimension

Let VV be a linear subspace of Rn\RR^n. A set B⊂VB \subset V is called a basis for VV if BB is linearly independent and span⁡B=V\Span B = V.

The key idea behind a basis is this: If S={v1,…,vk}S = \{v_1, \ldots, v_k\} spans some linear subspace VV, then each element of VV can be written as a linear combination of elements of SS. If SS is, in addition, linearly independent (and hence a basis), then this representation is unique: for each u∈Vu \in V, there is exactly one (α1,…,αk)∈Rk(\alpha_1, \ldots, \alpha_k) \in \RR^k such that

u=α1v1+⋯+αkvk.u = \alpha_1 v_1 + \cdots + \alpha_k v_k.

Indeed, if u=β1v1+⋯+βkvku = \beta_1 v_1 + \cdots + \beta_k v_k is another representation, then, subtracting this equality from the last, we have

(α1−β1)v1+⋯+(αk−βk)vk=0.(\alpha_1 - \beta_1) v_1 + \cdots + (\alpha_k - \beta_k) v_k = 0.

Because SS is assumed to be linearly independent, this yields αi=βi\alpha_i = \beta_i for all i∈[k]i \in \natset{k}.

Not surprisingly, given their name, the canonical basis vectors E:={δ1,…,δn}E := \{\delta_1, \ldots, \delta_n\} serve as a basis for the whole space Rn\RR^n. The representation (6.11), with coefficients αi=⟨x,δi⟩\alpha_i = \inner{x, \delta_i}, is unique.

Theorem 6.1.8 is a relatively deep result. See, for example, Jänich (1994). The common number of bases in (ii) is called the dimension of VV and written as dim⁡V\dim V.

The “nonzero” qualification in Theorem 6.1.8 is included for the case V={0}V = \{0\}, which is a linear subspace that lacks any basis. It is sensible, and standard, to agree that the linear subspace {0}⊂Rn\{0\} \subset \RR^n has dimension zero.

Dimensionality is one measure of the “size” of a linear subspace. To illustrate, consider the system Ax=bAx = b where A∈Mn×kA \in \matset{n}{k}, x∈Rkx \in \RR^k and b∈Rnb \in \RR^n. Is there an xx that solves this system? This will be more likely if the column space of AA is large (see Example 6.1.13). A large span will be obtained when the columns are linearly “diverse.” In other words, our hope is that there exists a large subset of the columns of AA that is linearly independent, which in turn will be true when the span of AA is high-dimensional.

To quantify these ideas, we define the rank of AA as

rank⁡A:=dim⁡(range⁡A)= dimension of the column space of A.\rank A := \dim(\range A) = \text{ dimension of the column space of } A.

See, for example, Chapter 2 of Aggarwal (2020) or Chapter 5 of Jänich (1994). In view of Exercise 6.1.26, for A∈Mn×kA \in \matset{n}{k}, we have rank⁡A⩽k\rank A \leq k. If rank⁡A=k\rank A = k, then AA is said to have full column rank.

In general, a linear subspace VV contains within itself many other linear subspaces. (For example, a plane passing through the origin contains many lines that pass through the origin, each one of which is a linear subspace.) However, there is no proper subspace of VV (i.e., no linear subspace contained in and distinct from VV) with the same dimension as VV. The next theorem records this fact.

Part (ii) is related to Figure 6.7. The plane in that figure is 2-dimensional, as we confirm in Section 6.1.4.3 below. Any three vectors lying in the plane are linearly dependent.

6.1.4.3Linear Maps Are Matrices

We will see in the following chapters that many nonlinear dynamic models and estimation problems can be expressed in terms of linear operations in high-dimensional spaces. We now state the definition of linear maps and their connection to matrices.

A function u↦Auu \mapsto A u from Rk\RR^k to Rn\RR^n is called linear if

A(αu+βv)=αAu+βAv for all α,β∈R and all u,v in Rk.A(\alpha u + \beta v) = \alpha A u + \beta A v \quad \text{ for all } \alpha, \beta \in \RR \text{ and all } u, v \text{ in } \RR^k.

In this context, AA is sometimes called an operator rather than a function, but the meaning is the same.

One of the most striking and useful properties of linear operators is that the one-to-one property and the onto property are equivalent when the domain and codomain agree:

The proof can be found in Jänich (1994) or Stachurski (2016). Figure 6.8 illustrates in the one-dimensional case. The linear map f(x)=αxf(x) = \alpha x is onto if and only if it is one-to-one, which occurs if and only if α≠0\alpha \neq 0.

Equivalence of the onto and one-to-one properties

Figure 6.8:Equivalence of the onto and one-to-one properties

A matrix A∈Mn×kA \in \matset{n}{k} is a linear function from Rk\RR^k to Rn\RR^n when identified with the mapping that sends a (column) vector uu in Rk\RR^k into the vector AuAu in Rn\RR^n. In fact it is fundamental that, for every linear map A ⁣:Rk→RnA \colon \RR^k \to \RR^n, there exists a unique MA∈Mn×kM_A \in \matset{n}{k} such that

Au=MAufor allu∈RkA u = M_A u \quad \text{for all} \quad u \in \RR^k

(see, e.g., Kreyszig (1978), §2.9). Thus, the set of linear maps and the set of matrices are in one-to-one correspondence in the finite dimensional setting.

6.1.4.4Linear Hyperplanes

In Exercise 6.1.21, you confirmed that, for a given nonzero c∈Rnc \in \RR^n, the subset of Rn\RR^n defined by H:={x∈Rn:⟨c,x⟩=0}H := \setntn{x \in \RR^n}{\inner{c, x} = 0} is a linear subspace of Rn\RR^n. Any set HH of this form is called a linear hyperplane in Rn\RR^n. The vector cc is called the normal vector of the hyperplane.

In the discussion after Figure 6.7, we claimed that the linear hyperplane has shown there is a two-dimensional subset of R3\RR^3. The next example generalizes this idea.

6.1.4.5Nonsingular Linear Systems

A crucial task in applied modeling is solving linear systems such as Ax=bA x = b, where AA is a matrix and xx and bb are conformable column vectors. The system can be underdetermined, overdetermined or exactly determined (i.e., same number of equations as unknowns). In this section we consider the last case, where the theory is straightforward.

Let AA and BB be in Mn×n\matset{n}{n} and suppose that AB=BA=IA B = B A = I. Then BB is called the inverse of AA, written as A−1A^{-1}, while AA is said to be invertible or nonsingular.

The next theorem states that, for square matrices, the property of having either a left or a right inverse is equivalent to nonsingularity.

Consider the linear system Ax=bA x = b, where A∈Mn×nA \in \matset{n}{n} and b∈Rnb \in \RR^n. We seek a solution x∈Rnx \in \RR^n. The next theorem provides conditions under which such an xx is always uniquely identified.

The symbol det⁡A\det A represents the determinant of AA. For the definition, see, for example, Jänich (1994) or Cohen (2021). We note only that, for n×nn \times n matrices AA and BB,

Most of the equivalences in Theorem 6.1.14 can be established from the results presented above. The key idea is that, under these equivalent conditions, the columns of AA form a basis of Rn\RR^n, and hence any b∈Rnb \in \RR^n can be expressed uniquely as a linear combination of elements of these columns. In other words, there exists a unique x∈Rnx \in \RR^n with Ax=bAx=b. The remaining points are just equivalent ways of saying that the columns of AA form a basis of Rn\RR^n.

6.1.4.6Orthogonality

We recall that vectors u,vu,v in Rn\RR^n are called orthogonal and we write u⊥vu \perp v if ⟨u,v⟩=0\inner{u, v} = 0. For a linear subspace LL of Rn\RR^n, we call u∈Rnu \in \RR^n orthogonal to LL and write u⊥Lu \perp L whenever u⊥vu \perp v for all v∈Lv \in L.

A set of vectors O⊂RnO \subset \RR^n is called an orthogonal set if any two distinct elements of OO are orthogonal. For any orthogonal set OO, the Pythagorean law

∥∑u∈Ou∥2=∑u∈O∥u∥2\left\| \sum_{u \in O} u \right\|^2 = \sum_{u \in O} \| u \|^2

always holds.

An orthogonal set O⊂RnO \subset \RR^n is called an orthonormal set if ∥u∥=1\| u \| = 1 for all u∈Ou \in O. If LL is a linear subspace of Rn\RR^n, OO is orthonormal in LL and span⁡O=L\Span O = L, then OO is called an orthonormal basis of LL. For example, the canonical basis {e1,…,en}\{e_1, \ldots, e_n\} forms an orthonormal basis of Rn\RR^n.

A matrix MM is called an orthonormal matrix if M∈Mn×nM \in \matset{n}{n} for some n∈Nn \in \NN and, in addition, the columns of MM form an orthonormal set in Rn\RR^n. These kinds of matrices will be important to us when we analyze singular value decomposition. Notice that,

The second point tells us that MM is nonsingular. The next lemma summarizes important properties of orthonormal matrices.

The equivalence of (ii) and (iii) is quite striking. It tells us that a square matrix with orthonormal columns automatically has orthonormal rows.

6.1.5Convexity and Concavity

Convexity and concavity are structures of enormous significance in economics and finance, in terms of both computation and theory. In this section we note the key definitions and provide exercises that help build familiarity.

6.1.5.1Convexity and Polyhedra

Convexity plays a central role in optimization and fixed point theory. As usual, a subset CC of Rn\RR^n is called convex if

u,v∈C and λ∈[0,1]    ⟹    λu+(1−λ)v∈C.u, v \in C \text{ and } \lambda \in [0, 1] \; \implies \; \lambda u + (1-\lambda) v \in C.

In economic optimization problems, the convex sets within which we seek extrema are usually polyhedra. A polyhedron in Rn\RR^n is a set of the form

P={x∈Rn:Ax⩽b} for some A∈Mk×n and b∈Rk.P = \setntn{x \in \RR^n}{A x \leq b} \quad \text{ for some } A \in \matset{k}{n} \text{ and } b \in \RR^k.

Equivalently, PP is a polyhedron in Rn\RR^n if there exist scalars b1,…,bkb_1, \ldots, b_k and nn-dimensional vectors a1,…,aka_1, \ldots, a_k such that x∈Px \in P if and only if ai⊤x⩽bia_i^\top x \leq b_i for i=1,…,ki=1, \ldots, k.

Given b∈Rb \in \RR and nonzero c∈Rnc \in \RR^n,

Note our convention. In Section 6.1.4.4 we defined linear hyperplanes, which correspond to H0H_0 when b=0b=0. Thus linear hyperplanes are a special kind of hyperplane. You will be able to confirm that the hyperplane H0H_0 is a linear subspace of Rn\RR^n if and only if b=0b=0.

It is immediate from the definition that P⊂RnP \subset \RR^n is a polyhedron if and only if PP is the intersection of kk halfspaces in Rn\RR^n for some k∈Nk \in \NN. Figure 6.9 helps illustrate this idea.

A polyhedron P represented as intersecting halfspaces

Figure 6.9:A polyhedron PP represented as intersecting halfspaces

An extreme point of a polyhedron PP is a point p∈Pp \in P that cannot be realized as the convex combination of other points in PP. In other words, we cannot find two points x,y∈Px, y \in P that are distinct from pp and satisfy λx+(1−λ)y=p\lambda x + (1-\lambda) y = p for some λ∈[0,1]\lambda \in [0, 1]. The extreme points of PP in Figure 6.9 are represented as black dots.

A cone in Rn\RR^n is a set C⊂RnC \subset \RR^n such that x∈Cx \in C implies αx∈C\alpha x \in C for all α>0\alpha > 0.

6.1.5.2Convex and Concave Functions

A function gg from a convex subset CC of Rn\RR^n to Rk\RR^k is called convex if

g(λu+(1−λ)v)⩽λg(u)+(1−λ)g(v)whenever u,v∈C and 0⩽λ⩽1,g(\lambda u + (1-\lambda) v) \leq \lambda g(u) + (1-\lambda) g(v) \quad \text{whenever } u,v \in C \text{ and } 0\leq \lambda \leq 1,

and concave if −g-g is convex. Concavity of gg is obviously equivalent to

g(λu+(1−λ)v)⩾λg(u)+(1−λ)g(v)whenever u,v∈C and 0⩽λ⩽1.g(\lambda u + (1-\lambda) v) \geq \lambda g(u) + (1-\lambda) g(v) \quad \text{whenever } u,v \in C \text{ and } 0\leq \lambda \leq 1.

When k=1k=1, the function gg is called, respectively, strictly convex or strictly concave if, in addition, the inequalities become strict whenever u,vu,v are distinct and 0<λ<10 < \lambda < 1.

These properties of functions are closely related to convexity of sets. For example, the same function gg is convex if and only if its epigraph

epi⁡(g):={(x,g(x))∈Rn+1:x∈C}\epi(g) := \setntn{(x, g(x)) \in \RR^{n+1}}{x \in C}

is convex.

In the next exercise, if {yi}\{y_i\} is a finite collection of vectors in Rk\RR^k, then max⁡iyi\max_i y_i is the vector in Rk\RR^k obtained by taking the maximum pointwise. The minimum min⁡iyi\min_i y_i is defined in a similar way.

Important examples of concave and convex scalar-valued functions include certain kinds of quadratic forms. For the following you should recall that a symmetric n×nn \times n matrix AA is called

It’s important to remember (but easy to forget) that symmetry is part of the definition of these properties. You probably remember that

The second statement follows from the first, since the determinant of a matrix equals the product of its eigenvalues.

The quadratic form q(x)=x⊤Axq(x) = x^{\top} A x is

See, for example, Simon (1994).

6.1.6Optimization

In this section we review some key topics in optimization theory.

6.1.6.1Definitions and Existence

A number mm contained in a subset AA of R\RR is called the maximum of AA and we write m=max⁡Am = \max A if a⩽ma \leq m for every a∈Aa \in A. It is called the minimum of AA, written as m=min⁡Am=\min A, if m∈Am \in A and a⩾ma \geq m for every a∈Aa \in A.

Given an arbitrary set DD and a function f ⁣:D→Rf \colon D \to \RR, define

max⁡x∈Df(x):=max⁡{f(x):x∈D}andmin⁡x∈Df(x):=min⁡{f(x):x∈D}.\max_{x \in D} f(x) := \max \setntn{f(x)}{x \in D} \quad \text{and} \quad \min_{x \in D} f(x) := \min \setntn{f(x)}{x \in D}.

A point x∗∈Dx^* \in D is called

Equivalently, x∗∈Dx^* \in D is a maximizer of ff on DD if f(x∗)=max⁡x∈Df(x)f(x^*) = \max_{x \in D} f(x), and a minimizer if f(x∗)=min⁡x∈Df(x)f(x^*) = \min_{x \in D} f(x). We define

argmax⁡x∈Df(x):={x∗∈D:f(x∗)⩾f(x) for all x∈D}.\argmax_{x \in D} f(x) := \setntn{x^* \in D}{f(x^*) \geq f(x) \text{ for all } x \in D}.

The set argmin⁡x∈Df(x)\argmin_{x \in D} f(x) is defined analogously.

One important special case of part (ii) is that x∗∈Dx^* \in D is a maximizer of ff on DD if and only if x∗x^* is a minimizer of −f-f on DD. Hence, any maximization problem can be converted into a minimization problem and vice-versa.

6.1.6.2Convexity and Extrema

Section 6.1.6.1 discussed existence of optimizers. In this section we consider uniqueness. The key observation is that, for convex and concave functions, local optimizers are global optimizers.

If C⊂RnC \subset \RR^n and ff is a real-valued function on CC, then u∗∈Cu^* \in C is a local minimizer of ff on CC if there exists an open set GG in CC such that u∗∈Gu^* \in G and f(u∗)⩽f(u)f(u^*) \leq f(u) whenever u∈Gu \in G. A local maximizer is defined analogously.

The next exercise highlights one of the most important facts concerning computation of solutions to optimization problems in real-world applications. It is especially valuable in high-dimensional settings, where optimization problems can be very challenging.

Similarly, if ff is concave on CC, then any local maximizer is a global maximizer.

6.1.6.3Multivariate Quadratic Objectives

Section 1.4.2.3 treated a one-dimensional quadratic optimization problem. Next we treat nn-dimensional problems of the same type.

6.1.7Lagrangian Duality

If you have studied undergraduate economics, you will have used Lagrangian methods to solve constrained optimization problems. The objective of this section is to supply insight on when and why the method works, as well as to highlight the connection between an original constrained problem and a so-called “dual problem.” This connection yields deep insights in economics, finance, statistical learning, artificial intelligence and many other fields.

6.1.7.1Theory

Let EE be a subset of Rn\RR^n and let ff map EE to R\RR. We aim to solve

min⁡x∈Ef(x)   subject to   g(x)=0 and h(x)⩽0.\min_{x \in E} f(x) \; \text{ subject to } \; g(x) = 0 \text{ and } h(x) \leq 0.

Here gg maps EE to Rm\RR^m and hh maps EE to Rk\RR^k. For example, the zero symbol in the statement g(x)=0g(x) = 0 is a vector of zeros, and the meaning is that gi(x)=0g_i(x) = 0 in R\RR for ii in 1,…,m1, \ldots, m. The interpretation of the second constraint is analogous.

Any x∈Ex \in E that satisfies the constraints in (6.14) is called feasible. Let F(g,h)F(g, h) be the set of all feasible x∈Ex \in E. A feasible point that attains the minimum in (6.14) is called optimal for—or a solution to—the optimization problem.

Our first claim is that the constrained optimization problem (6.14) is equivalent to the unconstrained problem

P=min⁡x∈E max⁡θ∈ΘL(x,θ)P = \min_{x \in E} \, \max_{\theta \in \Theta} L(x, \theta)

where θ:=(λ,μ)\theta := (\lambda, \mu) and

L(x,θ)=L(x,λ,μ):=f(x)+∑i=1mλigi(x)+∑i=1kμihi(x).L(x, \theta) = L(x, \lambda, \mu) := f(x) + \sum_{i=1}^m \lambda_i g_i(x) + \sum_{i=1}^k \mu_i h_i(x) .

Here θ∈Θ\theta \in \Theta combines the vectors of Lagrange multipliers λ∈Rm\lambda \in \RR^m and μ∈R+k\mu \in \RR^k_+, where Θ:=Rm×R+k\Theta := \RR^m \times \RR^k_+. By equivalent to, we mean that

  1. f^(x):=max⁡θ∈ΘL(x,θ)\hat f(x) := \max_{\theta \in \Theta} L(x, \theta) satisfies f^=f\hat f = f on F(g,h)F(g, h),

  2. f^=+∞\hat f = +\infty on the complement of F(g,h)F(g, h) and

  3. together f^\hat f and ff satisfy

P:=min⁡x∈Ef^(x)=min⁡x∈F(g,h)f^(x)=min⁡x∈F(g,h)f(x).P := \min_{x \in E} \hat f(x) = \min_{x \in F(g, h)} \hat f(x) = \min_{x \in F(g, h)} f(x).

The first equality in (6.17) is by definition. The second two follow from (ii) and (i) respectively. Hence we need only verify (i)–(ii).

The function LL in problem (6.16) is usually called the Lagrangian. The PP in (6.15) stands for primal. So far we have shown that the original constrained problem and the primal problem are the same. The next step is to pair the primal problem with its dual problem, which is obtained by reversing the order of min and max in the primal:

D=max⁡θ∈Θ  min⁡x∈E  L(x,θ).D = \max_{\theta \in \Theta} \; \min_{x \in E} \; L(x, \theta).

The dual problem has two attractive features. One is that, when minimizing with respect to xx, we do not need to concern ourselves with the constraints on xx in the original formulation (6.14). The second is that, since L(x,θ)L(x, \theta) is linear in θ\theta, and since we are minimizing a family of these functions with respect to xx, the minimizer is a concave function. Concavity assists maximization, which is the next step in solving DD.

The result D⩽PD \leq P in Exercise 6.1.49 is called weak duality. If P=DP = D, then strong duality is said to hold. Unlike weak duality, strong duality requires conditions on the primitives.

Evidently strong duality holds if and only if it is valid to reverse the order of the min and max operators in the definition of the primal (or the dual). Results of this kind are called min-max theorems. Such theorems hold at “saddle points” of the function LL. The next section explains.

6.1.7.2Saddle Points and Duality

We seek necessary and sufficient conditions for strong duality, which will lead to a characterization of minimizers for the original constrained problem. To do so, we again take θ:=(λ,μ)\theta := (\lambda, \mu) and Θ:=Rm×R+k\Theta := \RR^m \times \RR^k_+, so that

P=min⁡x∈Emax⁡θ∈ΘL(x,θ)andD=max⁡θ∈Θmin⁡x∈EL(x,θ).P = \min_{x \in E} \max_{\theta \in \Theta} L(x, \theta) \quad \text{and} \quad D = \max_{\theta \in \Theta} \min_{x \in E} L(x, \theta).

A pair (x∗,θ∗)(x^*, \theta^*) in E×ΘE \times \Theta is called a saddle point of LL if

L(x∗,θ)⩽L(x∗,θ∗)⩽L(x,θ∗)for all(x,θ)∈E×Θ.L(x^*, \theta) \leq L(x^*, \theta^*) \leq L(x, \theta^*) \quad \text{for all} \quad (x, \theta) \in E \times \Theta.

A depiction of a saddle point of a given bivariate function (x,θ)↦L(x,θ)∈R(x, \theta) \mapsto L(x, \theta) \in \RR is given in Figure 6.10. The left hand side of the top panel is a 3D visualization, and the right hand side is a contour plot of the same function. The saddle point is at the center.

A saddle point (x^*, \theta^*) of the function L

Figure 6.10:A saddle point (x∗,θ∗)(x^*, \theta^*) of the function LL

When the extrema in (6.20) exist, we have the following result:

Theorem 6.1.17 tells us that to solve the constrained optimization problem and establish strong duality, we need only obtain a saddle point of the Lagrangian.

6.1.7.3Karush, Kuhn and Tucker

For well behaved problems, saddle points can be identified via well known first-order conditions, called the Karush–Kuhn–Tucker (KKT) conditions. To state them, we return to the original problem (6.14) and write θ\theta explicitly as (λ,μ)(\lambda, \mu), so that (x∗,λ∗,μ∗)∈E×Rm×R+k(x^*, \lambda^*, \mu^*) \in E \times \RR^m \times \RR^k_+ satisfies the saddle point condition if

L(x∗,λ,μ)⩽L(x∗,λ∗,μ∗)⩽L(x,λ∗,μ∗)for allx∈E,λ∈Rm and μ∈R+k.L(x^*, \lambda, \mu) \leq L(x^*, \lambda^*, \mu^*) \leq L(x, \lambda^*, \mu^*) \quad \text{for all} \quad x \in E, \lambda \in \RR^m \text{ and } \mu \in \RR^k_+.

The KKT conditions are met by (x∗,λ∗,μ∗)∈E×Rm×R+k(x^*, \lambda^*, \mu^*) \in E \times \RR^m \times \RR^k_+ if x∗∈F(g,h)x^* \in F(g,h),

∇f(x∗)+∑i=1mλi∗∇gi(x∗)+∑i=1kμi∗∇hi(x∗)=0and\nabla f(x^*) + \sum_{i=1}^m \lambda^*_i \nabla g_i(x^*) + \sum_{i=1}^k \mu^*_i \nabla h_i(x^*) = 0 \quad \text{and}
μi∗hi(x∗)=0for all i∈[k].\mu^*_i h_i(x^*) = 0 \quad \text{for all } i \in \natset{k}.

Here we are requiring that f,g,hf, g, h are all differentiable at x∗x^* and, for a given function q ⁣:E→Rq \colon E \to \RR, we use ∇\nabla to represent the vector of partial derivatives. Equation (6.22) requires that the derivative of the Lagrangian with respect to xx is zero at x∗x^*. The second condition is called the complementary slackness condition.

The KKT conditions are nothing more than saddle point conditions. Condition (6.22) is the first order condition for an interior minimizer of the Lagrangian with respect to xx, at the point (x∗,θ∗)(x^*, \theta^*), which tries to identify the local minimum visualized in the lower right panel of Figure 6.10. The complementary slackness condition is also needed because if μi∗hi(x∗)=0\mu^*_i h_i(x^*) = 0 fails at some ii, then μi∗hi(x∗)<0\mu^*_i h_i(x^*) < 0 must hold, in which case we could strictly increase the Lagrangian by shifting μi∗\mu^*_i to 00. This violates the saddle point property.

If enough regularity conditions hold, then the KKT conditions exactly identify extremal points. Here is one example, which is proved in Chapter 8 of Matousek & Gärtner (2007).

6.2Solutions to Selected Exercises

Footnotes
  1. The notation x⩽yx \leq y over vectors is standard, while x≪yx \ll y is less so. In some fields, n≪kn \ll k is used as an abbreviation for “nn is much smaller than kk.” Our usage lines up with most of the literature on partially ordered vector spaces. See, e.g., Zhang (2012).

  2. Other common terms for order-preserving in the literature include “monotone increasing,” “monotone” and “isotone.”

  3. This definition is not ambiguous because every possible enumeration leads to the same value when the absolute sum is finite (see, e.g., the rearrangement theorem in Bartle & Sherbert (2011), §9.1).

  4. Hint: Start with the case ∣S∣=2|S|=2. Argue that the case with nn elements follows from this case and the ordinary (weak) triangle inequality ∣∑x∈Sg(x)∣⩽∑x∈S∣g(x)∣| \sum_{x \in S} g(x) | \leq \sum_{x \in S} |g(x)|.

  5. By the law of the excluded middle, the empty set must be linearly independent too.

References
  1. Bartle, R. G., & Sherbert, D. R. (2011). Introduction to real analysis (4th ed.). Hoboken, NJ: Wiley.
  2. Jänich, K. (1994). Linear algebra. Undergraduate Texts in Mathematics. Springer-Verlag, New York, 7, 8.
  3. Meyer, C. D. (2000). Matrix analysis and applied linear algebra (Vol. 71). Siam.
  4. Aggarwal, C. C. (2020). Linear Algebra and Optimization for Machine Learning. Springer.
  5. Cohen, M. X. (2021). Linear Algebra: Theory, Intuition, Code. sincXpress.
  6. Stachurski, J. (2016). A Primer in Econometric Theory. MIT Press.
  7. Kreyszig, E. (1978). Introductory functional analysis with applications (Vol. 1). wiley New York.
  8. Simon, C. P. (1994). Mathematics for economists. Norton & Company, Inc.
  9. Matousek, J., & Gärtner, B. (2007). Understanding and using linear programming. Springer Science & Business Media.
  10. Zhang, Z. (2012). Variational, topological, and partial order methods with their applications (Vol. 29). Springer.