Generalizations in
We first generalize many of the concepts we learned about in MATH410 to higher dimensions.
Vector Spaces
is a vector space, with vectors and scalars (respectively) given as
Satisfying vector addition and scalar multiplication, and inner product commonly known as the dot product
Satisfying the following axioms of a (real) inner product space:
- , and if and only if .
Theorem: Inner Product in
In , where is the angle between the two vectors.
Proof
Using polar coordinates, we can convert our vectors into the polar space
Where is the angle of to the -axis, and is the angle of to the same axis.
We can find that
We say that is orthogonal to , , if .
Theorem: Properties of Orthogonality
If and only if .
Proof
Which is equal to if and only if .
Cauchy-Schwarz Inequality
Let . Then,
We prove this using the axioms of inner products only (see above), making generalizable for any inner product!
Proof
First, note that if either or ’s normals are 0, then this is trivially true.
Assume that both and . Now, take the expression , and note that this is (by an axiom) .
By a previous proof,
We seek to minimize this with respect to . Ignoring the constants, we minimize
Subbing this in, we have
Example: Cauchy-Schwarz (1)
Find the maximum value of
Let , . Then, by Cauchy-Schwarz,
We find our maximium is ! Now, we find our maximizer.
Cauchy-Schwarz is only equal when . So,
We have maximizer !
Example: Cauchy-Schwarz (2)
Find the maximum value of
Let , and . Then, by Cauchy Schwarz,
We have found a maximum value! Now, we find our maximizer.
For Cauchy-Schwarz to be equal, it must be true that . So,
Our maximizer is !
Corollary
Note that equality holds if and only if such that (or ).
Proof ( )
Proof ( )
Let . Then, if we repeat our original proof, we find that
Telling us that for our minimizer . So, by an axiom.
Theorem: Triangle Inequality
Proof
We find that
Giving us our triangle inequality due to the Cauchy-Schwarz Inequality.
Theorem: Reverse Triangle Inequality
Proof ( )
We also know that
Giving us
Sequences and Convergence
Consider a sequence in , denoted for all . In other words, each entry in the sequence is a point in .
Note that by convention we will denote as the projection of the element of (’s element).
If is a sequence in , and for some the following holds:
Then we call this the limit of the sequence, alternatively written as ( converges to ) in the norm.
This is similar in idea to convergence in 1-dimensional series!
But in , this is not the only notion of convergence that we have! We can also say that componentwise, if each as .
Theorem: Synonymous Notions of Convergence
in norm if and only if componentwise.
Proof
Proof ()
Assume that in norm. Then, for each ,
So by the squeeze theorem, .
Proof ()
Assume that . Then,
As each component converges to 0 by definition, and sums of sequences converging to 0 also converge to 0, we know that .
Note that this does not hold if we have infinite dimensions ( not fixed)! In particular, component-wise convergence does not imply convergence in norm.
Remark: Dissimilarity of Convergence in Infinite Dimensions
Say we have a sequence , where for any the element is 1, all other 0. So,
We can see that as , , the 0 vector! However, , so it does not converge in norm to 0.
Closed and Open Sets
Let , . We define the open ball of radius , centered at as
In other words, the set of all -dimensional points that are within some predetermined hypersphere of .
In , this is the open interval around a value !
We say that a set is open if , such that . In other words, for all vectors in , we can find an open ball around the vector such that all vectors in the ball are in .
Theorem: Open Balls and Open Sets
For , , the open ball is an open set.
Intuitively, this makes sense as for any vector inside the open ball, we can find a ball contained within our original ball. As our vectors get closer and closer to the ball’s edge, our containing ball will shrink!
Proof
We want to show that , such that .
We know that for , by definition. We define the distance from to the ball’s edge, . This will be the radius of our new ball around .
We now show that . Pick any . By definition,
Look at . We know that
Thus, !
We say that a set is closed if for any sequence in , , such that , , then . In other words, for any convergent sequence in , the vector it converges to is also in .
Furthermore, if , then we call the complement of , the set of all vectors not in .
Theorem: Open Sets and their Complements
is an open set if and only if its complement, , is closed.
Proof
Proof ()
Assume first that is open. To show that is closed, pick any sequence such that , .
We want to show that . Suppose , so . Then, because is open, there exists an such that
But no can be in this ball ! This violates an assumption, so cannot be in .
Proof ()
Conversely, assume is closed. To show that is open, choose any . By definition, such that .
By way of contradiction, assume that , our ball around is not a subset of . This means that contains some (), where depends on .
Let . For all , we can form a sequence of ’s which, by assumption, are all in .
However, as , ! This tells us that , violating our assumption that is closed.
Note that the statement “ is open if and only if it is not closed” is not true. There exist sets that are neither open or closed, and there exist sets that are both open and closed (ex. the empty set and )!
We continue by discussing intersections and unions of open and closed sets.
Intersections / Unions of Open Sets
Let be a (possibly infinite) family of open sets. Then, the union of these open sets is also open.
Let be a finite family of open sets. Then, the intersection of these sets is also open.
Note that the intersection clause only works for finite sets. We can find a counterexample for an infinite family by choosing open balls with radius , so that as , we are left with a point.
Proof: Intersections and Unions of Open Sets
Union of Open Sets
Pick . We know that such that . Since is open, we know that such that .
Intersection of Open Sets
Let . We know that by definition,
- Because , such that the ball
- Because , such that
Continue this argument for all . Now let . Then for all , meaning .
Intersections / Unions of Closed Sets
Let be a finite family of closed sets. Then their union is closed.
Let be a possibly infinite family of closed sets. Then, their intersection is closed.
Proof: Intersections and Unions of Closed Sets
Intersection Proof (1)
We know that by Demorgan’s Law, . We also know from an earlier theorem that each is open, and any union of open sets is open. So is open, and therefore is closed.
Intersection Proof (2)
Let us have a sequence , and assume . By definition of intersection, we know that for all ! So, by definition of a closed set, for all .
This means that .
Union Proof (1)
We know that by Demorgan’s Law, . Each set is, by an earlier theorem, open.
As etablished previously, the intersection of open sets yields an open set, so is open. By an earlier theorem, this means that is closed.
Union Proof (2)
Let us define a sequence in this union, , where .
Because we have infinitely many ’s, and a finitely many sets , at least one of these sets must contain infinitely many by the Pidgeonhole Principle. Let this set be .
So, there exists a subsequence contained in . As , it must be true that this subsequence converges to as well, and as is closed (by definition), . So, .
Using the concept of an open ball, we can formally define the interior, exterior, and boundary of a set. Let .
We define the interior of as
In other words, the set of all points that can be contained within a ball inside of .
We can also consider the interior of ’s complement. By definition, these two sets are mutually exclusive.
But what’s between them? We call this the boundary:
These 3 sets are mutually exclusive, and form all of !
- The interior of
- The interior of
- The boundary of
Continuity and Compactness
Continuity of Functions
Let be a set, and define the function .
We say is continuous at if where , it follows that . In other words, for any sequence in converging to , the sequence evaluated in the function should converge to !
Example: Continuity
Let such that
Is continuous at ? Yes! If such that , then for sufficiently large.
Let . Then, by definition of convergence, such that
But ! Thus, , meaning .
Theorem: Preservation of Continuity
Let such that . If are continuous at , then
, are also continuous at
If , then is continuous at .
Proof
Let , and assume .
Then, by assumption, , and , so
By properties of sequences of real numbers.
Similarly,
if all .
Theorem: Compositions of Functions
Suppose we have two sets , , and define functions
If is continuous at , and is continuous at , then the composition is continuous at .
Proof
Let . We know that by definition and , i.e. .
We can also prove continuity using what’s known as an - definition.
By -, , is continuous at if and only if , such that
Proof (Epsilon-Delta Continuity)
Proof ()
Assume - definition.
Let . Let . We want such that ,
Because , we know by defintion that such that ,
Then
Proof ()
Assume that the sequence definition of continuity holds. Assume by contradiction, that the - definition does not hold.
So, where , such that
Let , and form a sequence with these ‘s. This sequence ! However, by assumption, for all ,
So the sequence does not converge to , which is a contradiction!
We also find the following equivalence definitions for epsilon-delta. First, recall that if , then for , we define
And if , then
Or in other words, the set of all inputs to yielding possible outputs in .
Note that this does not require the function inverse to exist. We’re just defining the set of all inputs in yielding something in .
Using these definitions, we claim that the epsilon-delta deinition is also equivalent to saying , ,
-
In other words, all inputs of the function in a ball centered around must have an output which is within the set of all possible outputs of the function in the ball centered around .
Note that we intersect with to guarantee that we have an input for the function, as not all vectors in a ball around may be an input for the function.
-
In other words, all possible inputs within the ball of are contained within the set of inputs that yield the ball of around .
Theorem: Continuity and Open Sets
Let be open in , and let .
Then, is continuous at every point of if and only if the set of inputs is open for all open.
Proof
Proof
Let be continuous for all . We wish to show that the set of inputs is open .
Let . We want to show that is open. In other words, , such that .
Because , . By the openness on , we can find a such that
Because all values of are in , all values of the domain mapping to values also map to values in . Thus, taking the inverse maintains the subset property.
Because is continuous, we find that ,
We let , to find a such that
We now end by modifying our to guarantee that . Because , it is in the domain of (), and as is open, we can find a such that . Choose . Then, we find tha
Thus, is open.
Proof ()
Suppose that for all open, we have that is also open. We want to show that is continuous.
Let . Now let . We want to find a such that
Take the ball . Because open balls are always open, and , we know that is open by assumption.
Because this is open, and , by definition, we can find a such that
Let . We have found our !
We have a similar case with closed sets.
Theorem: Continuity and Closed Sets
Let .
Then, is continuous at every point of if and only if the set of inputs is closed for all closed.
Proof
Proof ()
Let be continuous. We want to show that is closed for all closed.
Choose some closed, and take its complement, which is open. Because is open and is continuous, by the previous theorem it must hold that is open.
Note that if , then it cannot be in , as and a single domain value cannot map to two values. Thus, ! As is open, it therefore must hold that is closed.
Proof ()
Suppose that for all closed, is closed. We wish to show that is continuous.
We show that if for any open, is open, then is continuous. Let open. Then, is closed, so by assumption, is closed. By a similar argument from before, , so is open.
Remark
Let . If is continuous, fixed, then the following sets are open.
Similarly, is closed because is open.
Consider the following examples.
Example: Continuity and Closure
Let continuous. Prove that
is closed.
Let , where . We wish to show that .
By definition of , we can express our sequence as
Because , by continuity on we know that
And by the uniqueness of limits, if , then . Thus,
Thus, is closed.
Let’s now consider the converse. Let . Assume is closed. Does it follow that is continuous?
Let , where . We want to show that .
Using this, we can form a sequence . Then, if , then . So, if there exists a such that , then where .
But do we know if converges? In fact, closure only says that if the sequence converges, then its result is in the set! However, we may be able to find a function that fails to satisfy this.
Let
Then, is not continuous at , yet the set is still closed!
Sequential Compactness
A set is bounded if such that
In other words, there exists an which is an upper bound for all vector lengths in the set.
We say set is sequentially compact if for all sequences , there exists a subsequence and such that
In other words, all sequences have a convergent subsequence that converge to something in .
We show that sequential compactness is synonymous with closure and boundedness (together).
Theorem: Sequential Compactness and Boundedness
If is sequentially compact, then is bounded.
Proof
We want such that
By way of contradiction, assume that is sequentially compact but not bounded.
Then, , such that
Now let , to get a sequence such that . For any subsequence in this sequence,
So cannot converge! This is a contradiction.
Theorem: Sequential Compactness and Closure
If is sequentially compact, then is closed.
Proof
Pick a sequence of points , and assume that this sequence . We want to show that .
By sequential compactness, there exists a subsequence such that . But , so ! As limits are unique, this implies , so !
Recall that if we have a sequence , and is bounded, then there exists a subsequence and such that
This is known as the Bolzano-Weirstrass Theorem. We can generalize this to .
Bolzano Weierstrass Theorem (Higher Dimensions)
If , and is bounded, then .
Proof by Induction
We know that if , this is true.
Assume true for . We wish to prove that this theorem holds for .
Let , bounded. Write
Where , , .
By assumption, . Now look at the corresponding sequence of , . By our base case, . Then,
Theorem: Closed + Bounded and Compactness
is sequentially compact if and only if is closed and bounded.
Proof
We already proved . We now prove the converse.
Let be closed and bounded. Choose any sequence . As is bounded, by the Bolzano-Weierstrass Theorem we know that there exists a subsequence , where .
But we also know that is closed! So, as , it must be true that . So,
We find that functions on sequentially compact sets have some guaranteed properties.
Theorem: Images of Sequentially Compact Domains
If is sequentially compact and is continuous, then the image, , is sequentially compact.
Proof
Let . We want to show that there is a subsequence that converges to something in .
By definition of the image, we know that such that
By sequential compactness on , there is a subsequence , and furthermore, as is continuous.
Note that both closure and boundedness (implying compactness) must hold for this to be true! They do not hold on their own.
Example: Failure of Image Closure and of Images
If is closed, is continuous, is closed?
No! As a counterexample, let , where . Then, is closed, but is not, as it asymptotes towards !
If is bounded, and is continuous, is bounded?
No! Let on . Then, which is unbounded.
Note the specific wording on the domain.
If is bounded and is continuous (domain is now ), now is bounded! We can find a sequentially compact domain containing , and find that on this domain is sequentially compact (and thus bounded!).
We also find that functions on sequentially compact sets obey the extreme value theorem.
Theorem: Extreme Value Theorem (Generalization)
Let be sequentially compact, continuous.
Then has a minimum and maximum value.
Proof
We know that from an earlier theorem, is bounded.
By definition, which is the infimum of over all . We want to show that such that .
By definition of infimum, we know that such that . Since is sequentially compact, we know there exists a convergent subsequence such that . Then, by continuity,
Interestingly enough, the converse of the above theorem can actually be used to prove sequential compactness.
Theorem: Sequential Compactness via Minimums and Maximums
Let be a set such that any function has a minimum and maximum value. Then, is sequentially compact.
Proof
We wish to show that is bounded and closed.
To show that is bounded, choose some function . By assumption, we know that such that ,
Let be our bound.
To show that is closed, let such that . We want to show that .
Let . Note that ’s infimum is 0. Thus, the minimum of is also 0! But the minimum can only be attained at , so .
We also say set is compact if for every family of open sets such that , then there exist finitely many sets such that
In other words, is compact if for any family of (possibly infinite) open sets covering , we can find a finite number of sets that cover .
If , we say that covers .
We similarly prove compactness with respect to closure and boundedness.
Theorem: Compactness vs. Closure and Boundedness
is compact if and only if is closed and bounded.
Proposition 1: compact implies bounded.
Let (this is always true, as this union is all of ). Then by definition, there must exist some “largest” ball that contains given by a finite value. So, there is a such that .
So, is bounded.
Proposition 2: compact implies closed.
Let be compact, and let be a sequence of points in , where . We wish to show that .
Assume by contradiction that .
Now, we must make a family of open sets whose union is guaranteed to cover (contain) , so we can apply our definition.
Let . Then, the union of all ’s is all of , with the exception of the point .
We are looking at the set of points outside of circles that are closing in on .
Therefore must be contained in this family of open sets. By definition, there must exist a finite amount of sets that contains . But since each of these sets contain each other, their union is the same as the largest set, meaning we can find a such that
This contradicts , , as there cannot be any in the ball !
We can choose an epsilon to show that convergence fails, as there is an open ball around that is NOT a part of.
Proposition 3: If the set is compact, and , is closed, then is compact.
Let be a family of open sets where . We wish to find a finite amount of sets in this family containing .
For any , if it is in , then it is in . Otherwise, if must be in . Because is closed, must be open. So,
Since is compact, there must exist a finite amount of sets from this family such that
As , then,
But this union could contain ! So, we show that cannot be in this union, to find a finite amount of sets from covering .
By definition, a point in cannot be in ! So, is contained in a finite number of the .
Proof ( )
Note that this proof heavily relies on the fact that is in finitely many dimensions.
Let be closed and bounded. Since is bounded, is contained in some closed cube in . Without loss of generality, assume .
It suffices to show that this cube is compact, after which we apply the previous theorem (because is closed) to get our result.
Let be open sets such that . Assume by contradiction that we cannot find a finite number of sets from containing .
Divide into subcubes of size . We show that these subcubes can be contained in finitely many sets, and therefore, so can .
By assumption, we must be able to find a closed subcube which cannot be covered by finitely many ‘s. Continue, dividing into subcubes of size . Then, among these subcubes, there must be one that cannot be covered by finitely many sets. Repeating this, we get
Where no can be covered by finitely many sets.
By a generalization of the nested interval theorem, there must exist a single unique point contained within all nested cubes- formally, .
We know that as , the point must exist in at least one of the ’s, say . By definition of an open set, there exists a ball around completely contained within .
So, we can find some , which is covered by finitely many sets. This is a contradiction!
Example
Let . Assume that is closed for every (sequentially) compact set in . Is continuous?
Not necessarily. The theorem above requires that all closed sets are closed in , but not all closed sets are sequentially compact.
Let be the function
Then, every sequentially compact set on ’s range maps to a closed set in ’s domain, but is not continuous at 0!
Uniform Continuity
The function , is uniformly continuous if for any two sequences , if
Then,
Note that uniform continuity implies continuity. Simply let be the sequence of whatever converges to so we get our continuity definition!
The converse is not true. See the example below.
Example: Continuity Doesn't Imply Uniform Continuity
Let , which is a continuous function.
Then, for , , we have that , but !
Theorem: Uniform Continuity and Sequential Compactness
If is sequentially compact, and is continuous, then is uniformly continuous.
Proof
Let be sequentially compact, and continuous. We wish to show that is uniformly continuous.
By way of contradiction, suppose that is not uniformly continuous. Then, there exists some such that , but
By definition of continuity, such that , ,
Choose this . Then, by sequential compactness of , we can find a subsequence such that for , all terms have a difference greater than .
But by sequential compactness on each , , we can find convergent subsequences
As is continuous, and converge, then . This means that our subsequence converges to 0, but this is a contradiction!
Note that there exist non-compact sets that also satisfy this property! Consider the following example.
Example
Let with the property that any continuous is uniformly continuous. Is it true that must be closed and bounded?
Must be Closed?
Let , where . If is bounded, then we need to show that .
By way of contradiction, suppose . Then, we can define function
Which is continuous on , as is by assumption not continuous on .
By assumption, must be uniformly continuous. So, , such that ,
Let . By assumption, we have a delta such that for , for all satisfying this condition.
Choose converging to such that
Then,
Fix , but let . Then, our assumptions should still hold as we are within , but ! This is a contradiction.
So, must be closed.
Must be Bounded?
Suppose .
Let continuous. Then, is automatically continuous, as in the integers, any convergent sequence must hover at the same epsilon value (due to the spacing between the integers)- it’ll be the same integer value (due to the spacing between integers).
Let . Let . If , then if , then , so , so .
However, is not bounded! So, does not have to be bounded.
Like continuity, we also have a definition for uniform continuity too!
Let . Then, the following are equivalent.
- If with , then .
- , such that if with , then .
The latter is the definition for uniform continuity.
Proof
Proof (1 to 2)
We prove this by contrapositive. Assume that (2) is not true. We wish to show that as a result, (1) cannot be true.
By the negation of (2), such that , , with .
Choose , and let to create sequences such that , where .
Thus, (1) is not true.
Proof (2 to 1)
Assume (2). Let with . We wish to show that .
Let . Then, such that (2) holds. Let such that . Then, by (2), , .
Convexity and Connectedness
We say the set is convex if , ,
In other words, for any two points in the set, all points along the line between these two points are also within the set.
In lower dimensions, this defines a convex shape!
We say is path connected if , if there exists a continuous function , with
In other words, for any two points in the set, we can define a function (a “path”) between these two points that remains completely within the shape! We call (gamma) the parameterized path.
In lower dimensions, this defines a completely connected shape!
Theorem: Path Connected Subsets of the Real Line
On the real line, is path connected if and only if is an interval.
Proof
Proof ()
If is an interval, let be points in this interval. Define function for . We can trivially show that , and furthermore, is continuous. We have our parameterized path.
Proof ()
Conversely, if is path connected, let . We wish to show that the interval , which implies that is an interval (as we chose arbitrarily).
We know that continuous with . Choose any . We wish to show that , which then shows that ( are trivially in ).
By the intermediate value theorem, such that ! Thus, as it is in the image of , which is defined to be .
Theorem: Path Connected Sets on Continuous Functions
If is path connected and is continuous, then the image is also path connected. In other words, continuity preserves path connectedness!
Proof
Let . We wish to find a parameterized path between and .
By definition of an image, we can find such that . By path connectedness of , we can find an interval with a parameterized function such that .
Then, as is also continuous, we can find a composition of the functions , which is continuous such that , and . We have found a parameterized path from to .
We say that the set has the Intermediate Value Property (IVP) if for any continuous function defined on the set, , the image is an interval.
It can be shown that if is path connected, it has the intermediate value property!
Set is not connected if open sets such that:
In other words, we can find two disjoint open sets that make up . If satisfythese conditions, then we say separate .
Thus, by this definition, a set is connected if we cannot find two disjoint open sets that make up .
Note that by this more intuitive definition, we can deduce that is connected, as we cannot form 2 disjoint open sets by partitioning the space- there must be one with a boundary.
Theorem: Connected Sets and IVP
is connected if and only if has the Intermediate Value Property.
Proof
We want to show that if is not connected if and only if A does not have the intermediate value property. In other words, continuous, with not an interval.
Proof ()
Assume that is not connected, and let open separate .
Define
Note the following:
- is defined because of property (3) of not connected
- The value is unique because of (2).
- because of (1), because there is at least one element of in , and one element of in .
To show is continuous at , we want to show that such that . Then, if and , then , so trivially.
So we found , continuous, where is not on an interval.
Proof ().
Assume does not have the intermediate value property. Let continuous, with not an interval.
Then, such that , , .
To construct separating , let
Then, .
- because we know that .
- , as there are no points that are in both and .
To finish, we will find open such that , .
Let . Then, . Since is continuous, such that , . Let .
Notice that , so .
We can also find that if is path connected, then is connected.
Remark: Connected Path Connected
Note that the converse is not true. If is connected, it may not be path connected.
For example, let , which oscillates as we get closer to the axis, but never touches! Thus, even if is connected, it is not path connected.
Thus, we end with the following graph of implications. Below, an arrow indicates that the source implies the destination.
graph LR
1[Path Connected];
2[Connected];
3[Intermediate Value Property];
1 -.-> 2 & 3;
2 -.-> 3;
3 -.-> 2;
We can use the idea of path connectedness to prove a remark earlier about sets that are both open and closed!
Corollary
IF is both open and closed, then , or
Proof
We know that is path connected, so is connected.
Let be both open and closed. Let . Because is open, is also open.
In this case, , and !
So, is impossible! So, it must be true that either , or .