Functions and Continuity
Tags | MATH 115 |
---|
Proof tips
- Uniform continuity: to dissapprove, use a pair of sequences. To prove, show that doesn’t depend on , or show that it is bounded, or show standard continuity and use the continuity theory
- Closed and bounded: immediately think about some sort of sequence and use BW to make a subsequence
- somehow exploit that all as well
- Continuous: always use .
- feel free to use a sequence to define limiting behavior of functions; this is actually quite helpful at times
- You can show that something is not uniformly convergent if you can find a cauchy such that is not cauchy.
- Anchor technique: if you want to show two moving points like and you have some fact about limiting to an anchor point, use trianglie inequality to set up two point limits (to some anchor point) and relate this to the together.
- The tricky part is that sometimes you get weird behavior with functions. Just because converges doesn’t mean that converges. A good example is and . We need to show this
- it helps to consider as a completely different sequence
- Raising floor trick: if you want to show that a function eventually surpasses and you also know that appraoches , if you can find a relationship between to (like ) then as the “floor” rises, you can eventually show that . This is a common trick and if you have limit behavior, this is definitely one thing to look out for.
- Uniform continuity: show continuity and then show that doesn’t depend on .
Functions
Definition 🐧
A function is something that maps between elements of to elements of . These sets can be finite or infinite. One input maps to only one output (i.e. the vertical line test)
Cardinality 🐧
The cardinality
of a set is the number of elements in it, typically denoted with .
A countable infinity
is just defined as . There are an infinite number of uncountable infinities. Anything is countably infinite if you can make a bijection between and the set.
Injective, surjective, bijective 🐧
An injective
function has all , i.e. the horizontal line test. A good way of proving injectivity is to have and showing that .
A surjective
function has the following: for all , there exists some such that . There might be more than one, of course. A good proof trick is to pick a random and show that an exists.
A bijective
function is both injective and surjective. This means for all , there exists one and only one such that .
Finite results from injective, surjective, bijective 🚀
If are finite, then if is surjective, then .
proof (contradiction + function definition)
by contradiction. If , then by the pidgenhole principle, there exists some such that , which violates the funciton definition.
If are finite, then if is injective, then
proof (contradiction + function definition)
If , then by the pidgenhole principle, there must be some such that , which violates injectivity.
Key result: if are finite, if is bijective, then .
Weird results for infinity 🚀
For infinite sets, these rules don’t hold. For example, you can make a bijective mappings between and , but the number of elements is less is the second set. But, of course, we have a bit of a circular definition for cardinality in the infinite domain. Because we can make a bijective mapping between , we conclude that they have the same cardinality.
Function rules 🔨
- For any set and function , the set exists.
- For any set and the function , the set exists. This is a little unintuitive, because the pointwise inverse might not exist. But you read as “the set of all values such that ”, and this is valid
- invertible functions form a bijection
- If as set is open, then is also open, if it’s continuous. Vice versa. This is not true for forward fuctions. If is open, consider . This is a closed .
Limits of Functions
Delta Epsilon Definition 🐧
A limit of a function is defined to be if, for all , we have for all for some . Graphically, this looks like the following
It’s actually quite similar to the epsilon definition for a sequence. The only difference is that we must bound on both sides, and we must use an interval because there is no notion of natural number indexes.
As a key note, we need . If , then we are considering the function evalutaed at , and in limits, we care about the neighboring behavior, NOT the actual behavior at as sometimes it can be undefined, like for
Showing limits 🔨
Just like in sequences, you need to take an arbitrary and show that you can find a that satisfies the limit definition.
Example
Prove that . We start with , and we want to define some such that all satisfy .
We note that , so .
So, if we let , we have , which means that as desired.
Continuity
The definition 🐧
A function is continuous
at if and only if
We say that a function is continuous as a whole if for all , we have that the function is continuous at .
Alternative definition (with sequences)
You can also skip the definition of a limit of a function and use the definition of sequences directly, such that you make a sequence with , and then you apply the function on it. You need to show that all sequences with this property will satisfy this
Showing continuity 🔨
You can show it through the formal definition, i.e. find a such that mean that .
You can also use limit laws to compute and show that it becomes .
Showing discontinuity 🔨
You just need to compute the limit at and show that it doesn’t converge to for some .
Continuity theorems
If is continuous, then and are continuous, where is a finiite multiplier
Proof
: if for all , , consider . We can actually show that , so we are done.
: Consider . We know that , so we are done.
If is continuous, then is continuous at . ( the last one only if .
Proof
This is just limit theorems. We know that limits can be split through sums, products, and divisions.
If is continuous at and is continuous at , then is continuous
Proof
We have that , and we have that is continuous at , which means that . We know that , so we have as desired
Local and Global properties 🐧
A local property
of a function is something that only concerns some for some finite . Examples of local properties include
- the value of a function (duh)
- continuity at a point
- limit of a function
- derivative at a point
A global property
depends on the whole function, unbounded. Some examples include
- the max/min of a function
- the integral of a function
Implications of continuity
Boundedness of continuous functions 🚀
Claim: if is continuous on , then is bounded on . This must be bounded and closed; you can replace it with any bounded and closed if you want.
Counterexamples
Say you had and take the interval . This is not bounded!
Say that you had and take the interval . This is not bounded!
Proof (contradiction)
We approach this by contradiction. Suppose that is not bounded. Then, by definition, for any , there must exist some where . Now, consider making a sequence , where each has the property .
Now, as a key fact, this sequence need not converge. However, by the Boisano-Weirerstrauss theorem, because is a compact set, we have that there exists a subsequence where .
Now, because is continuous, we have . Now, the problem is that we were suppose to show that diverged to , but we showed that it is equal to . The function maps to the real domain, so this is a contradiction.
Because we have shown that is bounded, we have shown that exists. Now, we will show that we actually reach the infimum and supremums
Existence of maxima and minima 🚀
Claim: for any interval , there exists such that .
Counterexamples
If we have an open interval , consider . In this case, , but this is never reached.
If we have an unbounded interval , consider . In this case, , but this is never reached.
Proof (definition of inf, sup)
Let’s look at finding . Let . Now, given any , we know that there exists some such that . As such, there must exist some such that .
The sequence may not be convergent. Consider an extreme example where there are two minima of , and oscillates bewteen the two minima points. This is valid because the inequality is satisfied, and most certainly converges, but does not.
Even so, we know from the above (sandwich theorem) that . Now, because we are in a closed and bounded set, we know that we can construct a subsequence such that . Now, we envoke the continuity definitions, and we can say that . Now, here’s the tricky realization. We know that converges to , so all subsequences converges to .
The existence of a maximum is the same sort of proof.
Intermediate Value Theorem 🚀
Claim: let be the minimum and be the maximum that a function takes on in . For any , there must exist a such that , if is continuous.
Proof (contradiction; tricky!)
Like before, we want to find this . Let’s define a set . We claim that . We show this by contradiction. Let . Intuitively, we’re saying that we can find the first time the function becomes . There may be more , but we just need to show that one exists.
Suppose that . Therefore, because is continuous, we have that , which means formally that if . Let .
We know that , and we know that . Therefore, if we put this together, we have that for all . Therefore, these , and this contradicts the definition of an infimum, because
Here’s a good diagram that can help. When in doubt, always draw before you prove! The yellow scribble is the final contradiction, where we have the gap where we thought there was none.
Now, suppose that . Now, using the same trick, let . By definition, we know that , and in the span . Therefore, all , which means that none of , which contradicts the definition of an infimum.
Corollary: if is continuous on an interval , then is an interval or a single point.
Proof
We just need to show that given any point in a bound, it exists in .
By the IVT, we know that for any , and , it is true that .
Pick , and and some . If both inf and sup are in , then you are done. If either of them are not, then you can just select another such that , and you are done.
Uniform Continuity
The formal definition 🐧
A function is uniformly continuous
across if for any and any , there exists a such that when .
- we can always replace with convergent sequences as long as they converge to the same value. You can prove this by letting , and you know that with large enough , .
Why do we care about uniform continuity? And what makes it different from normal continuity? Well, for normal continuity, there are cases where this depends on as well as . Consider the example of . As this becomes larger, for any , we have that the becomes smaller. (we will formalize this intuition when we talk about derivatives)
As a result of our definition above, a function that is uniformly continuous has one per that works for all . (alternative definition)
- As a practical definition, you can also show that depends on but is finite in the bound.
Examples and counterexamples
The function is not uniformly continuous over the interval . We can create a sequence and such that every . We can show that for some , we have . However, we also know that . Therefore, . This is a contradiction.
The function is uniformly continuous over . You can set , and note that it doesn’t depend on .
The function is uniformly continuous on . You get , which yields , which is bounded in the interval.
Continuity Theorem 🚀 ⭐
Theorem: if is continuous in a closed and bounded , then it is uniformly continuous. This only works on closed and bounded (compact) sets.
Proof (contradiction)
Suppose that is continuous but not uniformly continuous. If this is the case, then there exists some such that but for some and all . .
Now, because is closed and bounded, the BW theorem tells us that we can construct a subsequence such that . Therefore, because is continuous, we have that . Now, it is clear that for the same sequence. Because if this were not true, then it can’t be that converges to .
Therefore, we have , which means that there exists some such that , and this is a contradiction from our original claim.
Cauchy equivalence 🚀
Theorem: if is uniformly continuous on , and is cauchy in , then is cauchy.
Proof (simple definitions)
For , we have . By cauchy definitions, for . Therefore, we have for , and this is exactly the cauchy definition.
The ultimate connection 🚀 ⭐
Theorem: a real-valued function on is uniformly continuous on if and only if it can be extended to a continuous function on .
We define an extension
as finding such that is continuous at .
Examples and counterexamples
We know that is not uniformly continuous on because we can’t extend at to anything finite. Here, we see where continuity and uniform continuity is slightly different. We know that is continuous on but it is not uniformly continuous.
We know that is uniformly continuous on because it’s possible to extend with , and this gives you a continuous function.
Proof (sequence technique + cauchy)
The backward direction can be taken from our previous result. If can be extended to a continuous function on , then we have shown that is uniformly continuous on , which means that it’s uniformly continuous on .
The forward direction, we want to propose some using our knowledge of uniform continuity and show that it is continuous.
We can create a sequence such that . Now, let’s define . Now, note that we can’t push in the limit because we haven’t shown that is continuous yet!
Because converges, it is cauchy. From our previous proof, we know that is cauchy. Therefore, we know that it converges. This is good, but the problem is that we don’t know if the limit is well-defined. It could be that the limit depends on your choice of .
So now, we select another . Similarly, we know that converges. We can create a larger sequence such that and . By construction, it is obvious that . We know that exists, and because and are subsequences of , we conclude that .
If we set to this value, we have shown that . A similar thing can be done for , which means that can be extended to be continuous on .
Real Roots Development 🧸
This is just a fun aside, but how do we define for ? We start from the natural numbers
- We define to be for times.
- We define to be the following. Suppose we have . Then, is a number such that .
- Now, we define to be the following: create a sequence such that . (this is almost like a dedekind cut). We define .
This last part suffers from the same non-determinism that our last section dealt with. It is possible to show that all such converges to the same value of , but we won’t get into that here.