Lecture from: 19.02.2024 | Video: Video ETHZ
“Mathematics, you see, is not a spectator sport” George Pólya
Analysis: Introduction and Foundations
Analysis is the rigorous study of continuous quantities, changing processes, and approximations, along with assessing the quality of those approximations.
What is Analysis about?
- Continuous Problems: A primary focus is on problems involving continuous variables, such as those found in differential equations (e.g., modeling the motion of a pendulum or the flow of heat).
- Discrete vs. Continuous: Sometimes, discrete problems (like integer programming) are significantly harder than their continuous counterparts (like linear programming). Analysis provides tools to understand and bridge these differences.
- Approximations: In real-world applications, exact solutions are often unattainable. Analysis provides the framework for understanding and quantifying the errors introduced by approximations.
Why is Analysis relevant to Computer Science?
- Complexity Analysis: Big-O notation and related concepts used to analyze the efficiency of algorithms have their roots in analysis.
- Machine Learning: Core concepts in machine learning, such as gradient descent and backpropagation, are deeply rooted in the principles of calculus and analysis. Numerical methods, optimization, and error analysis are all crucial.
- Numerical Methods: Solving differential equations and other problems where continuous math is needed
Real Numbers, Euclidean Spaces, and Complex Numbers
This section lays the groundwork by defining the fundamental number systems used in analysis.
The Field of Real Numbers ()
We start with familiar number systems:
- Natural Numbers: (Includes 0 in this context).
- Limitations: We encounter equations with no solutions in , e.g., .
- Integers:
- Limitations: Still, equations like have no solutions.
- Rational Numbers:
- Limitations: Equations like the pythagorean theorm for the diagonal of an unit square, , cannot be solved.
- Real Numbers: extends to include solutions to equations like . Instead of constructing (as is done in advanced real analysis courses), we’ll introduce it axiomatically.
Axiomatic Definition of
The real numbers, , are defined as a set with two binary operations:
- Addition:
- Multiplication:
and a total order relation on , satisfying the following axioms:
Theorem 1.1.2: is a commutative, ordered field that is order-complete (ordnungsvollständig). is non-trivial ().
Axioms of Addition (A):
- (A1) Associativity:
- (A2) Neutral Element:
- (A3) Inverse Element: . This is denoted as .
- (A4) Commutativity:
Axioms of Multiplication (M):
- (M1) Associativity:
- (M2) Neutral Element:
- (M3) Inverse Element: . This is denoted as or .
- (M4) Commutativity:
Distributivity (D):
Order Axioms (O):
- (O1) Reflexivity:
- (O2) Transitivity:
- (O3) Antisymmetry:
- (O4) Totality:
Compatibility Axioms (K):
- (K1)
- (K2)
Order Completeness (V) (Vollständigkeitsaxiom):
This is the crucial axiom that distinguishes from .
-
Let and be non-empty sets such that:
- ,
Then there exists a such that .
Interpretation of Order Completeness: This axiom states that there are no “gaps” in the real number line. Every set bounded above has a least upper bound (supremum), and every set bounded below has a greatest lower bound (infimum).
Connections to Abstract Algebra/Discrete Math:
- (A1-A4): is an abelian group.
- (M1-M4): is an abelian group.
- (A1-A4, M1-M4, D): is a field.
- (O1-O4): defines a total order on .
- (A1-A4, M1-M4, D, O1-O4, K1-K2): is an ordered field (angeordneter Körper).
- (A1-A4, M1-M4, D, O1-O4, K1-K2, V): is a complete ordered field (ordnungsvollständiger angeordneter Körper). This final property is unique to the real numbers.
This axiomatic foundation allows us to rigorously derive all the familiar properties and theorems of real analysis.
Corollaries of the Real Number Axioms and their Proofs
Corollary
- Uniqueness of Inverses: Additive and multiplicative inverses are unique.
- Zero Property:
- Negative Multiplication: . In particular, .
- Non-negativity and Negatives:
- Squares are Non-negative: . In particular, .
- Adding Inequalities:
- Multiplying Inequalities:
- Reciprocal Inequality:
Proofs
-
Uniqueness of Inverses:
-
Additive Inverse: Suppose has two additive inverses, and . Then and . Therefore, . Thus, , and the additive inverse is unique.
-
Multiplicative Inverse: Suppose has two multiplicative inverses, and . Then and . Therefore, . Thus, , and the multiplicative inverse is unique.
-
-
Zero Property:
Let . Then (by A2). Using distributivity (D), we get . Adding the additive inverse of to both sides, we get . By associativity (A1) and the inverse property (A3), this simplifies to (by A2). Therefore, .
-
Negative Multiplication:
-
Part 1: We want to show that is the additive inverse of . Consider . By distributivity (D), this is (using A3 and the Zero Property). Since the additive inverse is unique (from part 1), we conclude that .
-
Part 2: Using Part 1 twice, we have (by commutativity M4).
-
In particular: When , Part 2 gives us , and thus .
-
-
Non-negativity and Negatives:
-
(): Suppose . Adding to both sides and using K1, we get . This simplifies to (by A3 and A2).
-
(): Suppose . Adding to both sides and using K1, we get . This simplifies to (by A3 and A2), or equivalently, .
-
-
Squares are Non-negative:
Let . We have two cases:
-
Case 1: : By K2, , so .
-
Case 2: : By O4, we must have that . This implies, from the previous property (4), that . Then, by K2, . From part 3, . Therefore, .
-
In particular: Because by axiom, and , we have that , and by totality (O4), since , we must actually have .
-
-
Adding Inequalities:
Given and . By K1, we can add to both sides of the first inequality to get . Similarly, we can add to both sides of the second inequality to get . By commutativity (A4), , so we have and . By transitivity (O2), .
-
Multiplying Inequalities:
Given and . Since and , by K2 and distributivity, we have (multiplying both sides by u). Since and (because ), by K2, we have (multiplying both sides by y). By transitivity (O2), .
-
Reciprocal Inequality:
-
(): Given . Since , its multiplicative inverse exists and . We first want to show that . Assume for the sake of contradiction that . Since , by K2, . But , a contradiction. Thus, . Similarly, . Now, multiply both sides of by (which is positive). By (a generalized form of) K2, we get , which simplifies to . Next, multiply both sides of by (which is positive). We get . Thus, .
-
(): Given . By a similar argument as above, and . Multiplying both sides of by gives . Multiplying both sides by gives . Thus, .
-
The Archimedean Principle
Statement: Let with , and let . Then there exists an such that .
Proof
Not that important IMO…
The idea is to use proof by contradiction, leveraging the order completeness (V) of the real numbers.
-
Assume the opposite: Suppose, for the sake of contradiction, that the Archimedean Principle is false. This means there exists some and some such that for all , we have .
-
Define a set: Consider the set . Our assumption implies that is bounded above by (i.e., every element of is less than or equal to ). Also, is non-empty since, for example, (as ).
-
Apply Order Completeness (V): Since is a non-empty subset of that is bounded above, by the order completeness axiom (V), has a least upper bound (supremum). Let . This means:
- is an upper bound for : for all .
- is the least upper bound: If , then is not an upper bound for (meaning there exists some such that ).
-
Derive a contradiction: Since , we have . Because is the least upper bound, cannot be an upper bound for . Therefore, there exists some such that .
-
Rearrange and find a larger element: Adding to both sides of the inequality , we get . Since and , we have . Let . Then , and we have .
-
Contradiction: We now have (because ), and . But this contradicts the fact that is an upper bound for (since should be greater than or equal to every element of ).
-
Conclusion: Our initial assumption that the Archimedean Principle is false must be incorrect. Therefore, the Archimedean Principle holds: for any and any , there exists an such that .
Intuition: The Archimedean Principle essentially states that no matter how small a positive number is, and no matter how large a number is, you can always add to itself enough times (a finite number of times, ) to exceed . This principle is a fundamental property of the real numbers and reflects the lack of “infinitely small” or “infinitely large” elements in (in the standard sense).
Theorem: Existence of Square Roots
Theorem 1.1.8:
For every , , the equation has a solution in .
Remark: For , there exists exactly one solution of with . This unique non-negative solution is denoted by .
Proof
For , the statement is trivially true since is a solution. Therefore, let’s assume .
We define two sets:
We will apply the order completeness axiom (V) to sets and . To do this, we need to verify the preconditions:
Preconditions
1. Non-emptiness
- : Since and , we have .
- : By the Archimedean Principle, there exists an with and . Therefore, by transitivity, and is positive by construction, which means that , so cannot be empty.
2. Condition for Completeness Axiom (V)
We need to show that .
Let and . Then .
Since and , consider . Since (as both are positive), we can divide by and maintain the inequality, implying that . This is true since K2 (compatibility axiom) states that and since the multiplicative inverse is unique, and is positive (and therefore ), if we assume then multiplying by we have by K2, which is a contradiction.
Thus , so .
Apply the Completeness Axiom (V)
Since and are non-empty and satisfy the condition that every element of is less than or equal to every element of , by the order completeness axiom (V), there exists a such that . The provided proof is mostly correct, but there’s a subtle issue in Case 2 that needs to be addressed for complete rigor. The reasoning for is not entirely sufficient and needs to be more explicit. Also, the use of '' in both cases is not ideal, as they represent different quantities.
Show :
We will prove by showing that both and lead to contradictions.
Case 1: Assume :
This implies . Define . By the Archimedean Principle, there exists an with and . Therefore, . Now consider :
So, . Since , this means . But , which contradicts the fact that is an upper bound for .
Case 2: Assume :
This implies . Define . By the Archimedean Principle, there exists an such that . Also, since (because ), the Archimedean principle also guarantees we can choose large enough so that , which implies , and therefore . We can satisfy both Archimedean conditions by choosing large enough.
Now consider :
So, . Since (as shown above), this means . But , which contradicts the fact that is a lower bound for (since for all ).
Since both and lead to contradictions, we must have . Therefore, a solution to exists in .
Continue here: 02 Real Numbers, Min, Max, Bounds, Supremum, Infimum, Cardinality, Euclidian Space