The World of Real Numbers
Last updated
Last updated
This will begin with a description of real numbers, completeness, compactness, and some topology—ultimately leading to integration and differentiation.
These are the numbers you and I know: 0, 1, -1, 1.5, and even . Rational numbers are ones we can represent as an integer divided by another. It turns out many numbers are irrational including , , , and for any that's not a perfect square ( a number squared).
Idea: use divisibility to show no rational number squared is 2.
if , then is divisible by 2
So must be divisible by 2, implying is also divisible by 2, a contradiction!
More abstractly, the real numbers are uniquely determined by a handful of natural requirements on a set:
field (operations: +, x with identity, inverses, commutiativity, associativity, and distribution)
order: trichotomy (either >, < or =)
completeness (= least upper bound property)
every set with an upper bound has a least upper bound.
e.g., (0, 1) has 1 as an upper bound, but 1 is not in the set (0, 1)
A nice consequence of this is the triangle inequality: for any .
Idea: look at cases where x, y are positive (Spivak has a nice proof of this)
It turns out even in , a nice property about order called Cauchy Schwarz holds:
primary::Vector
dot product is an operation on two vectors defined as:
Finally, how many real numbers are there? Cantor showed there are actually uncountably many---you can never come up with a way to write a list of all real numbers even if you had all the time in the world.
Idea: suppose someone claimed to have a list of all reals (this list would have to be infinite). Then, we write down a number that's different from each one on the list in the nth decimal place
Nevertheless, the set of rationals is countable. Make a table:
This is a great TedEd video discussing infinity and the reals.
warning::Infinity + or -is not in the set of real numbers
Fundamental Theorem of Arithemetic: every integer can be factor into primes
A set of ordered pairs if called a relation.
A one-to-one (or injective) function sends inputs to distinct outputs
f(a) = f(b) implies a = b
A onto (or surjective) function hits all outputs with some input.
idea: draw a picture (venn diagram) to see it's true.
positive (||x|| > 0, for all x in the set); definite || x || = 0 if and only if x =0
Common examples are Euclidean distance (L2 norm), Taxi Cab (L1 norm), and sup-norm (returns the peak value across all dimesions of vector; sup is the least upper bound, which isn't always in the set of interest).
remember vectors spaces are sets with nice properties about addition and scalar multiplication
Norms in this context will later generalize to classes of functions with nice integration properties in measure theory.
primary::L2 and Lp normsIn the case of L2, p = 2 (this will show up again in measure theory).
symmetric: _d(a, b) = d(b, a) for a, b in M
definite: d(a, b) = 0 if and only if a = b
triangle: _d(a, c) ≤ d(a, b) + d(b, c)
Many of the topological properites we'll explore applies to general metric spaces: all you need is a set and a reasonable way to measure distance.
info::topological spaceis a set M and a collection of subsets, S, that contains the empty set & M, is closed under union, and finite intersections.
e.g., the open sets of a metric space always form a topological space!
With a notion of distance (often, we use L2 or Euclidean distance), we can define neighborhoods or open balls around a point:
B(x; r) is a ball of radius r around x = set of points which are within a distance r of x (strictly < here)
A set is open, if for any point, there is an open ball (of any radius) entirely contained in the set.
It turns out even open set is the union of open balls (potentially infinitely many). Why?
for each x in the Open set, there is a radius r such that B(x, r) ≤ Open set
the union of all these B(x, r) (for each x in the open set) covers the open set
but each B(x, r) is contained in the open set ==> U B(x,r) = Open set!
A set is closed, if the set's complement is open.
warning::closed and open
An accumulation (or limit point) of a set is one where every open ball centered at the limit point contains at least one other point in the set. Alternatively, we can think of a limit point as the limit of some sequence of points in the set.
This leads to another characterization of closed sets: sets that contain all their limit points.
U Open is Open
Intersection of Closed is Closed
For any x in U open, x is contained in some open set. So there is B(x, r) entirely contained in some open set, hence contained in the U open sets.
similar lidea to open sets
in pictures, I think of the union of a bunch of open intervals, which is going to be open. For closed, I think about the intersection of a bunch of closed intervals [0, 1], [1\/4, 3\/4], ... this will be closed, because worst case, it'll contain a single point. While, not rigorous, this helps me imagine what's going on.
A metric space is compact if every open cover has a finite subcover. An open cover is a union of open sets containing the metric space.
It turns out there's a relationship between compactness and sequences in a space. If every sequence in space has a convergent subsequence, we say the the space is sequentially compact. It turns out sequentially compact and compact are equivalent in any metric space!
warning:: In Topological Spacessequentially compact and compact are not equivalent
A compact metric space is always complete, meaning every Cauchy sequence converges.
idea: Given any Cauchy sequence, a_n, we can always find a convergent subequence (by sequential compactness). Since the sequence is Cauchy, the terms must be arbitrarily close to the convergent subsequence, hence converge.
This will be used to show two famous theorems: Bolzano-Weierstrass and Heine-Borel.
warning:: the set of realsis not compact
bounded means contained in a ball of finite radius
Why is this true? We'll chop our bounds in half and use the nested intervals theorem:
primary::Toola closed subset, C, of a compact, K, set is compact
Let U O be an open cover of C
U O U {K C} is open and covers K
there is a finite subcover of K, hence one for C
With this tool we can now show why Heine-Borel is true
idea:
=> Bounded: suppose not
there exists some unbounded sequence, an
every subsequence is also unbounded, contradicting Bolzano-Weierstrass
=> closed: idea show K already contains its boundary
choose x in K's closure
there is a sequence xn in K converging to x
xn is Cauchy, implying xn must converge to a point in K
hence x is in K
<= Compact: 1. K is inside some interval [-M, M], because it's bounded 2. Since K is closed and [-M, M] is compact, K is closed 1. by our Tool above!
[notes transcribed]
What have we accomplished? We showed x, y, and z...
TODO:
understand abstraction level between various spaces (metric, vector, function) and their corresponding distance measures.
why? The idea is to use angel between them.
a vector is a point in
it looks like where each is in
DeMorgan's Law:
We can define a more general way to measure distance between two points in (or any vector space), called a norm, denoted || * ||.
A norm is (for ):
||ax|| = a||x||, for any a in
triangle:
More generally we can talk about metric spaces, rather than just or a vector space with a norm. A metric space is any set M with a distinace metric, d: MxM -> [0, ∞) such that
formally,
are not mutually exclusive; a set can be both! (for example and )
In a compact space X, if closed, nonempty sets C1, C2, ... are nested: C1 C2 C3 ... then
Idea: suppose , then 1. Let for each n 2. Then U On is an open cover for X => there is a finite subcover 1. say 3. Yet, because C_n are nested, only a single O_i covers X 4. Then , a contradiction!
Every bounded sequence in has a convergent subsequence.
A set K in is compact <====> it's closed and bounded