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

15 Appendix

National Graduate Institute for Policy Studies (GRIPS)

15.1Sets

In the text we often refer to the real numbers. This set is denoted by R\RR, and we understand it to contain “all the numbers.” R\RR can be visualized as the "continuous" real line:

The term “real” sounds odd but it means "not imaginary."

R\RR is an example of a set. A set is a collection of distinct objects viewed as a whole. In the case of R\RR, the objects are numbers. Other examples of sets are the set of all rectangles in the plane, or the set of all monkeys in Japan.

If AA is a set, then the statement x∈Ax \in A means that xx is contained in (alternatively, is an element of) AA. If BB is another set, then A⊂BA \subset B means that any element of AA is also an element of BB, and we say that AA is a subset of BB. The statement A=BA = B means that AA and BB contain the same elements (or, equivalently, A⊂BA \subset B and B⊂AB \subset A). For example, if I\mathbbm I is the irrational numbers,[1] then I⊂R\mathbbm I \subset \RR. Also, 0∈R0 \in \RR, π∈R\pi \in \RR, −3∈R-3 \in \RR, e∈Re \in \RR, and so on.

Sets A and B in S

Figure 15.1:Sets AA and BB in SS

Commonly used subsets of R\RR include the intervals. For arbitrary aa and bb in R\RR, the open interval (a,b)(a, b) is defined as

(a,b):={x∈R:a<x<b}(a, b) := \setntn{x \in \RR}{a < x < b}

while the closed interval [a,b][a, b] is defined as

[a,b]:={x∈R:a⩽x⩽b}[a, b] := \setntn{x \in \RR}{a \leq x \leq b}

We also use half open intervals such as [a,b):={x∈R:a⩽x<b}[a, b) := \setntn{x \in \RR}{a \leq x < b}, half lines such as (−∞,b)={x∈R:x<b}(-\infty, b) = \setntn{x \in \RR}{x < b}, and so on.

Let SS be a set and let AA and BB be two subsets of SS, as illustrated in figure 15.1.

The union of AA and BB is the set of elements of SS that are in AA or BB or both:

A∪B:={x∈S:x∈A or x∈B}A \cup B := \setntn{x \in S}{x \in A \text{ or } x \in B}

Here and elsewhere, “or” is used in the mathematical sense. It means “and/or”.

The intersection of AA and BB is the set of all elements of SS that are in both AA and BB:

A∩B:={x∈S:x∈A and x∈B}A \cap B := \setntn{x \in S}{x \in A \text{ and } x \in B}

The set A∖BA \setminus B is all points in AA that are not points in BB:

A∖B:={x∈S:x∈A and x∉B}A \setminus B := \setntn{x \in S}{x \in A \text{ and } x \notin B}

The complement of AA is the set of elements of SS that are not contained in AA:

Ac:=S∖A:={x∈S:x∉A}A^c := S \setminus A := \setntn{x \in S}{x \notin A}

Figure 15.2 illustrate these definitions.

Union, intersection, and complement

Figure 15.2:Union, intersection, and complement

For example, since R\RR consists of the irrationals I\mathbbm I and the rationals Q\QQ, we have

Q⊂R,  I⊂R,  Q∪I=R,  Qc=I,  etc.\QQ \subset \RR, \; \mathbbm I \subset \RR, \; \QQ \cup \mathbbm I = \RR, \; \QQ^c = \mathbbm I, \; \text{etc.}

Also

N:={1,2,3,…}⊂Q⊂R\NN := \{1, 2, 3,\ldots\} \subset \QQ \subset \RR

The empty set is the set containing no elements. It is denoted by ∅\emptyset. If the intersection of AA and BB equals ∅\emptyset, then AA and BB are said to be disjoint.

The next fact lists some well-known rules for set-theoretic operations.

If {Aα}α∈Λ\{A_{\alpha}\}_{\alpha \in \Lambda} is an infinite collection of subsets of SS, the union ∪α∈ΛAα\cup_{\alpha \in \Lambda} A_\alpha is defined as all x∈Sx \in S such that x∈Aαx \in A_\alpha for some α∈Λ\alpha \in \Lambda. The intersection ∩α∈ΛAα\cap_{\alpha \in \Lambda} A_\alpha is all x∈Sx \in S that lie in AαA_\alpha for all α∈Λ\alpha \in \Lambda.

15.1.1Cartesian Products

Collections with natural order are frequently written as tuples. These are finite sequences of terms, usually denoted using notation such as (a1,a2)(a_1, a_2) or (x1,x2,x3)(x_1, x_2, x_3). Collections of tuples arise naturally in Cartesian products. The Cartesian product of set A1,…,ANA_1, \ldots, A_N is the set

A1×⋯×AN:={(a1,…,aN):an∈An for n=1,…,N}A_1 \times \cdots \times A_N := \setntn{(a_1, \ldots, a_N)}{a_n \in A_n \text{ for } n =1, \ldots, N}

The vector space RN\RR^N is one example of a Cartesian product, defined as

RN=R×⋯×R(N times)\RR^N = \RR \times \cdots \times \RR \quad (N \text{ times})

Thus RN\RR^N is all tuples (x1,…,xN)(x_1, \ldots, x_N) with xn∈Rx_n \in \RR for each nn.

A useful class of subsets of RN\RR^N is those that are formed as Cartesian products of intervals. These are called rectangles. An example is

I=×n=1N (an,bn]:={(x1,…,xN)∈RN:an<xn⩽bn for n=1,…,N}I = \times_{n=1}^N \, (a_n, b_n] := \setntn{(x_1, \ldots, x_N) \in \RR^N}{a_n < x_n \leq b_n \text{ for } n=1,\ldots, N}

where a1,b1,…,aN,bNa_1, b_1, \ldots, a_N, b_N are given numbers. The rectangle (2,5]×(1,2](2, 5] \times (1, 2] is shown in figure 15.3.

Rectangle (2, 5] \times (1, 2] in \RR^2

Figure 15.3:Rectangle (2,5]×(1,2](2, 5] \times (1, 2] in R2\RR^2

15.2Functions

There are two fundamental primitives in mathematics: sets and functions.[2] A function ff from set AA to set BB is a rule that associates to each element of AA a unique element of BB. The symbols f ⁣:A→Bf \colon A \to B means that ff is a function from AA to BB. The set AA is called the domain of ff, while BB is called the codomain. Figure 15.4 illustrates.

A function from A to B

Figure 15.4:A function from AA to BB

If f ⁣:A→Bf \colon A \to B and g ⁣:B→Cg \colon B \to C then the function h ⁣:A→Ch \colon A \to C defined by h(a)=g(f(a))h(a) = g(f(a)) is called the composition of gg and ff, and written as g∘fg \circ f.

The composition g \circ f

Figure 15.5:The composition g∘fg \circ f

If aa and bb are points such that f(a)=bf(a) = b, then aa is called a preimage of bb. The set of preimages of bb can be empty, a singleton or contain multiple values. The set of points

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

is called the range of ff, and written as rng⁡f\range f. Thus bb is in the range of ff if it has at least one preimage. Figure 15.6 depicts the range of a given function f ⁣:A→Bf \colon A \to B.

Range of f \colon A \to B

Figure 15.6:Range of f ⁣:A→Bf \colon A \to B

A function f ⁣:A→Bf \colon A \to B is called one-to-one if distinct elements of AA are always mapped into distinct elements of BB. That is, if

a∈A,  a′∈A, and a≠a′  ⟹  f(a)≠f(a′)a \in A, \; a' \in A, \text{ and } a \neq a' \implies f(a) \neq f(a')

or, equivalently, if f(a)=f(a′)  ⟹  a=a′f(a) = f(a') \implies a = a'. Evidently f ⁣:A→Bf \colon A \to B is one-to-one if and only if each element of BB has at most one preimage under ff. If a function f ⁣:A→Bf \colon A \to B and ff is one-to-one, then the equation f(x)=bf(x) = b has at most one solution.

A function f ⁣:A→Bf \colon A \to B is called onto if rng⁡f=B\range f = B; this is if every b∈Bb \in B has at least one preimage. If f ⁣:A→Bf \colon A \to B and ff is onto, then the equation f(x)=bf(x) = b has at least one solution.

Finally, f ⁣:A→Bf \colon A \to B is called a bijection if it is both one-to-one and onto. Bijections are sometimes called one-to-one correspondences.

If ff is a bijection, then the equation f(x)=bf(x) = b always has exactly one solution. We can therefore define the inverse function to ff, denoted by f−1f^{-1}, as the map from B→AB \to A such that f−1(b)f^{-1}(b) is the unique aa with f(a)=bf(a) = b.

Part (iv) of fact 15.2.1 is illustrated in figure 15.7.

The inverse of g \circ f is f^{-1} \circ g^{-1}

Figure 15.7:The inverse of g∘fg \circ f is f−1∘g−1f^{-1} \circ g^{-1}

15.2.1Preimage of Sets

Given any function ff from AA to BB and any subset EE of BB, the symbol f−1(E)f^{-1}(E) denotes the set of points that are mapped into EE under ff. That is,

f−1(E):={x∈A:f(x)∈E}f^{-1}(E) := \setntn{x \in A}{f(x) \in E}

The set f−1(E)f^{-1}(E) is called the preimage of EE under ff.

Preimages of sets interact nicely with set-theoretic operations. For example, given any E,F⊂BE, F \subset B, we have

  1. f−1(E∪F)=f−1(E)∪f−1(F)f^{-1}(E \cup F) = f^{-1}(E) \cup f^{-1}(F),

  2. f−1(E∩F)=f−1(E)∩f−1(F)f^{-1}(E \cap F) = f^{-1}(E) \cap f^{-1}(F), and

  3. f−1(Ec)=[f−1(E)]cf^{-1}(E^c) = [f^{-1}(E)]^c.

The equalities in (i) and (ii) also extend to infinite intersections and unions.

15.3Cardinality and Measure

For finite sets we have a fairly clear idea of what "the same size" means. For infinite sets things get tricker. It is nonetheless valuable to distinguish infinite sets according to size. To this end, when a bijection exists between sets AA and BB, they are said to have the same cardinality, and we write ∣A∣=∣B∣|A| = |B|.

More generally, we have the following result:

This fact tells us that classifying sets by cardinality generalizes the notion of classifying sets by number of elements.

In other words, cardinality is transitive. This follows from the fact that compositions of bijections are bijections (fact 15.2.1).

A nonempty set AA is called finite if ∣A∣=∣{1,2,…,n}∣|A| = |\{1, 2, \ldots, n\}| for some n∈Nn \in \NN. Otherwise, AA is called infinite.

Sets that either are finite or have the same cardinality as N\NN are called countable.

In essence, sets formed by sequences are countable.

Uncountable sets are sets that are not countable. For example, R\RR is uncountable, as is any set that contains a nonempty open interval (a,b)(a, b). Put simply, you cannot write down a sequence that will exhaust the elements of these sets. The story is similar for RN\RR^N. (Such sets are said to have the power of the continuum.) For a beautiful proof that R\RR is uncountable, look up the diagonalization argument of Georg Cantor.

15.3.1Lebesgue Measure and Sets of Measure Zero

A set B⊂RB \subset \RR is said to have Lebesgue measure zero in R\RR if, given any ϵ>0\epsilon > 0, there exists a sequence of intervals In=(an,bn)I_n = (a_n, b_n) such that BB is contained in the union of these intervals and ∑n=1∞(bn−an)⩽ϵ\sum_{n=1}^{\infty} (b_n - a_n) \leq \epsilon. The definition extends to RN\RR^N by replacing intervals with rectangles (see page  for a definition of the latter).

For example, any countable set has measure zero. To see this in R\RR, let C:=∪n=1∞{xn}C := \cup_{n=1}^{\infty} \{x_n\} with xn∈Rx_n \in \RR. Fix ϵ>0\epsilon >0. To each xnx_n we assign an interval (an,bn)(a_n, b_n) containing xnx_n and satisfying bn−an<ϵ2−nb_n -a_n < \epsilon 2^{-n}. The union of intervals contains CC, and, in addition, the sum of their lengths is ϵ∑n=1∞2−n=ϵ\epsilon \sum_{n=1}^\infty 2^{-n} = \epsilon.

Uncountable sets can have measure zero too. For example, every linear subspace SS with dim⁡S<N\dim S < N has measure zero in RN\RR^N. A more classical example of an uncountable set with measure zero is the Cantor set. Details can be found in many texts on analysis.

The concept of measure zero sets forms part of a branch of mathematics called measure theory. We have used aspects of measure theory in this text—for example, in our discussion of σ\sigma-algebras in Section 4.1.1.2 and probabilities in Section 4.1.2. The basic problem of measure theory is how to provide a well-defined notion of "measure" or "size" to sets. This is easy if we just want to assign area to a circle (area =πr2= \pi r^2) or rectangle, or volume to a sphere. But what about an arbitrary subset of RN\RR^N? Is there a well-defined and widely accepted notion of size for such a set?

The answer to this question is affirmative. The so-called Lebesgue outer measure is a map, typically denoted λ∗\lambda^*, that gives a natural notion of size to any set. It works by approximating arbitrary sets by simpler sets, like rectangles, and agrees with standard notions of area or volume for common geometric objects. The only problem is that it isn’t always additive, in the sense that

λ∗(A∪B)=λ∗(A)+λ∗(B)\lambda^*(A \cup B) = \lambda^*(A) + \lambda^*(B)

can fail. To get around this problem, we exclude any sets that cause (15.1) to fail. That is, we define the Lebesgue measurable sets to be those set on which additivity holds. This causes no difficulty since the discarded sets never come up in day-to-day analysis. In fact we usually focus on a smaller class of well-behaved sets, called the Borel sets. These were introduced in Section 4.1.1.2.

15.4Real-Valued Functions

For any set AA, if f ⁣:A→Rf \colon A \to \RR then ff is called a real-valued function. If ff and gg are real-valued functions, then f+gf + g is defined by (f+g)(x)=f(x)+g(x)(f + g)(x) = f(x) + g(x), while αf\alpha f is defined by (αf)(x)=αf(x)(\alpha f)(x) = \alpha f(x). A maximizer of ff on AA is a point a∗∈Aa^* \in A such that f(a∗)⩾f(a)f(a^*) \geq f(a) for all a∈Aa \in A. The value f(a∗)f(a^*) is called the maximum of ff on AA. A minimizer of ff on AA is a point b∗∈Ab^* \in A such that f(b∗)⩽f(a)f(b^*) \leq f(a) for all a∈Aa \in A. The value f(b∗)f(b^*) is called the minimum of ff on AA.

Monotone increasing transformations of functions do not affect maximizers. To see this, let f ⁣:R→Rf \colon \RR \to \RR and let hh be monotone increasing, in the sense that if x⩽x′x \leq x', then h(x)⩽h(x′)h(x) \leq h(x'), and let gg be the function defined by g(a)=h(f(a))g(a) = h(f(a)). Any maximizer of ff on AA is also a maximizer of gg on AA. To see why, let a∈Aa \in A. Since a∗a^* is a maximizer of ff, it must be the case that f(a)⩽f(a∗)f(a) \leq f(a^*). Since hh is monotone increasing, this implies that h(f(a))⩽h(f(a∗))h(f(a)) \leq h(f(a^*)). Given that aa was chosen arbitrarily, we have now shown that g(a∗)⩾g(a)g(a^*) \geq g(a) for all a∈Aa \in A. In other words, a∗a^* is a maximizer of gg on AA.

Increasing transform h(x) = \exp(x/2) preserves the maximizer

Increasing transform h(x)=exp⁡(x/2)h(x) = \exp(x/2) preserves the maximizer

15.4.1Sup and Inf

Maximizers and minimizers don’t always exist. To illustrate, consider f ⁣:(0,1)→(0,1)f \colon (0, 1) \to (0, 1) defined by f(x)=xf(x) = x. The function ff has neither maximizer nor minimizer on (0,1)(0, 1). For example, no a∈(0,1)a \in (0,1) is a minimizer because b:=a/2b := a/2 is in (0,1)(0,1) and f(b)<f(a)f(b) < f(a).

To negotiate this kind of problem, we can use the notion of supremum instead. If AA is a set, then the supremum s:=sup⁡As := \sup A is the unique s∈Rs \in \RR such that (i) a⩽sa \leq s for every a∈Aa \in A and (ii) there exists a sequence {xn}⊂A\{x_n\} \subset A such that xn→sx_n \to s. For example, 11 is the supremum of both (0,1)(0,1) and [0,1][0,1]. The infimum i:=inf⁡Ai := \inf A is the unique i∈Ri \in \RR such that (i) a⩾ia \geq i for every a∈Aa \in A and (ii) there exists a sequence {xn}⊂A\{x_n\} \subset A such that xn→ix_n \to i. For example, 00 is the infimum of both (0,1)(0,1) and [0,1][0,1].

One can show that the supremum and infimum of any bounded set AA exist. The boundedness requirement can be dropped when the values −∞-\infty and ∞\infty are admitted as a possible infima and suprema.

Returning to our original example with f(x)=xf(x) = x, while max⁡x∈(0,1)f(x)\max_{x \in (0,1)} f(x) is not well-defined, sup⁡x∈(0,1)f(x):=sup⁡{f(x):x∈(0,1)}=sup⁡(0,1)=1\sup_{x \in (0,1)} f(x) := \sup \setntn{f(x)}{x \in (0,1)} = \sup (0, 1) = 1.

Footnotes
  1. The irrationals are those numbers such as π\pi and 2\sqrt 2 that cannot be expressed as fractions of whole numbers.

  2. Actually functions can be represented as a special type of set containing ordered pairs, and hence in pure mathematics cannot claim to be as foundational as sets. However, for our purposes, it will be fine to think of a function as a primitive in its own right.