3.1 Real-Valued Functions: Mapping from Numbers to Numbers
Now we move from sequences of numbers to functions. Specifically, we’ll focus on real-valued functions, which take real numbers as input and produce real numbers as output. If is a set of real numbers, a real-valued function on is a mapping:
Think of a function as a machine: you put in a number from the domain , and it spits out another number in the real numbers.
The set of all real-valued functions on a domain , denoted , is itself a rich mathematical structure. We can do familiar algebraic operations with functions:
- Addition: If and are functions in , their sum is a new function in defined by:
- Scalar Multiplication: If and is a scalar, then is a function in defined by:
- Multiplication: The product of two functions in is a function in defined by:
These operations make into a vector space over , and also something called an algebra.
Within , we have special functions called constant functions. These functions always output the same value, no matter what input you give them. Two important constant functions are the zero function (0) and the one function (1):
- Zero Function (0): for all
- One Function (1): for all
These act as identities for addition and multiplication in .
We can also define an order relation on . We say if for every in the domain , . A function is non-negative if , meaning for all .
Monotone Functions: Functions that Don’t Change Direction
If the domain is a subset of the real numbers, we can talk about monotone functions, just like we talked about monotone sequences.
Definition 3.1.2: Monotone Functions on
Let where .
- Monotonically Increasing (Non-decreasing): If for all , .
- Strictly Monotonically Increasing: If for all , .
- Monotonically Decreasing (Non-increasing): If for all , .
- Strictly Monotonically Decreasing: If for all , .
- Monotone: If is either monotonically increasing or monotonically decreasing.
- Strictly Monotone: If is either strictly monotonically increasing or strictly monotonically decreasing.
Monotone functions are well-behaved. They either always go “uphill” or always go “downhill” as you move from left to right in their domain.
Example: Consider where is a natural number.
- If is odd (like ), is strictly monotonically increasing on .
- If is even (like ), is not monotone on . It’s decreasing for and increasing for . However, it is monotonically increasing on .
In the next sections, we’ll explore a crucial property of functions: continuity, which is essential for calculus and analysis.
3.2 Continuity: No Sudden Breaks
Intuitively, a function is continuous if you can draw its graph without lifting your pen from the paper. There are no sudden jumps, breaks, or holes in the graph. If you make a small change in the input , the output also changes only by a small amount.
Let’s make this intuitive idea precise with a formal definition. We’ll define continuity at a point first.
Definition 3.2.1: Continuity at a Point
Let and . A function is continuous at if for every , there exists a such that for all , if , then .
This definition mirrors the - definition of a limit. In fact, continuity at means that the limit of as approaches exists and is equal to the function value at .
Geometrically, this means that if you take a small interval around (of width ), the function values for in this interval will all lie within a small interval around (of width ).
Definition 3.2.2: Continuity on a Domain
A function is continuous on (or simply continuous) if it is continuous at every point .
Examples of Continuous and Discontinuous Functions
Let’s look at some examples to understand continuity better.
Example 1: Polynomials and Absolute Value are Continuous
Example 3.2.3 (1): Polynomials are Continuous
For any natural number , the function defined by is continuous on .
Example 3.2.3 (2): Absolute Value Function is Continuous
The function defined by is continuous on .
These functions have “smooth” graphs without any breaks.
Example 2: The Floor Function - Discontinuous Jumps
Example 3.2.3 (3): Floor Function is Discontinuous at Integers
The floor function (which gives the greatest integer less than or equal to ) is discontinuous at every integer . It is continuous at every point .
The floor function has jumps at integer values. As approaches an integer from the right, is constant, but as you approach from the left, it jumps down by 1.
Example 3: A Function Continuous Only at One Point - Wild Behavior
Example 3.2.3 (4): A Function Continuous Only at
Consider the function defined as: This function is continuous only at . Everywhere else, it’s discontinuous. This shows that continuity can be a very delicate property.
Sequential Continuity: Linking Continuity and Sequences
There’s a useful way to characterize continuity using sequences. It connects the concept of continuous functions back to the sequences we studied in the previous chapter.
Theorem 3.2.4: Sequential Characterization of Continuity
Let , , and . The function is continuous at if and only if for every sequence in that converges to (i.e., ), the sequence converges to (i.e., ).
This theorem says: a function is continuous at a point if and only if it preserves limits of sequences approaching that point.
Proof of Sequential Characterization of Continuity (Sketch)
() If is continuous at , then it preserves sequential limits: Assume is continuous at and is a sequence in converging to . Let . By continuity of , there exists such that if , then . Since , there exists such that for all , . Combining these, for , . Thus .
() If preserves sequential limits, then is continuous at (Proof by Contradiction): Assume is not continuous at . Then there exists some such that for every , there is an with but . For each , choose , and find a point with but . The sequence converges to , but does not converge to (because it’s always at least away from ), contradicting our assumption that preserves sequential limits.
This sequential characterization is often easier to use when proving properties of continuous functions. For example, it makes it easy to show that sums, products, and quotients of continuous functions are also continuous.
3.3 Algebraic Combinations of Continuous Functions: Building More Complex Continuity
Just like with limits of sequences, continuity is preserved under basic algebraic operations. This allows us to build up more complex continuous functions from simpler ones.
Corollary 3.2.5: Algebraic Continuity Laws
Let , , , and let and be functions continuous at . Then:
- Sum: The function is continuous at .
- Scalar Multiple: The function is continuous at .
- Product: The function is continuous at .
- Quotient: If , then the function is continuous at , where .
We can prove these laws elegantly using the sequential characterization of continuity (Theorem 3.2.4) and the Limit Laws for sequences (Theorem 2.1.8).
Proof of Algebraic Continuity Laws (using Sequential Continuity)
We will use Theorem 3.2.4: is continuous at iff for every sequence , .
1. Sum : Let be a sequence in with . Since and are continuous at , we know and . By the Sum Law for sequences (Theorem 2.1.8 (1)), . Since and , we have shown that for any sequence , . By Theorem 3.2.4, is continuous at .
2. Scalar Multiple : Similar proof using the Scalar Multiplication Law for sequences (Theorem 2.1.8 (2)).
3. Product : Similar proof using the Product Law for sequences (Theorem 2.1.8 (2)).
4. Quotient : Assume . Since is continuous at , and , we can show that there’s a neighborhood around where . We restrict our domain to . Let be a sequence in with . Since and is continuous, . By the Quotient Law for sequences (Theorem 2.1.8 (3)), . Since and , we have shown that for any sequence in , . By Theorem 3.2.4, is continuous at .
Continuity of Polynomials and Rational Functions
Using these algebraic continuity laws, we can deduce the continuity of important classes of functions.
Corollary 3.2.7: Polynomials are Continuous
Polynomial functions of the form are continuous on .
Corollary 3.2.8: Rational Functions are Continuous (where defined)
Rational functions , where and are polynomials and , are continuous on their domain, which is (all real numbers except the roots of ).
Explanation:
- Polynomials: Start with the basic continuous function (you can prove this directly from the - definition or sequential continuity). Constant functions are also continuous. Using the Product Law repeatedly, is continuous, is continuous, and so on. Using the Scalar Multiplication Law, is continuous. Finally, using the Sum Law, the sum of continuous terms (a polynomial) is continuous.
- Rational Functions: Rational functions are quotients of polynomials. Since polynomials are continuous, and quotients of continuous functions are continuous where the denominator is non-zero (Quotient Law), rational functions are continuous everywhere except where the denominator polynomial is zero (i.e., at their poles).
These results give us a large family of continuous functions to work with, forming the building blocks for more advanced analysis. In the next sections, we’ll explore deeper properties of continuous functions, like the Intermediate Value Theorem and the Extreme Value Theorem.
3.4 The Intermediate Value Theorem (IVT): No Skipping Values
The Intermediate Value Theorem (IVT) is one of the most important consequences of continuity. It captures the intuitive idea that a continuous function cannot “skip” values. If a continuous function takes on two values, it must also take on all values in between.
Theorem 3.3.1: Intermediate Value Theorem (IVT)
Let be an interval, and let be a continuous function. If and is any number between and (i.e., or ), then there exists at least one number between and (i.e., or ) such that .
Imagine walking along a continuous path in the mountains. If you start at an elevation of and end at an elevation of , you must pass through every elevation between and at some point along your path.
Proof of Intermediate Value Theorem (Using Supremum - for increasing case )
Assume without loss of generality (O.E.d.A.) that and . Define the set .
Let (supremum exists because is non-empty () and bounded above (by )). We want to show .
Proof by contradiction:
- Assume : Since is continuous at , for values slightly larger than , will still be close to and thus less than . This means we can find a point with , so . But , contradiction.
- Assume : Since is continuous at , for values slightly smaller than , will still be close to and thus greater than . This means for some interval to the left of , all in that interval have , so no points in that interval are in . This contradicts the fact that is the least upper bound (we could find a smaller upper bound).
Since both and lead to contradictions, we must have .
Application: Finding Roots of Polynomials
The IVT is very useful for proving the existence of roots (zeros) of equations.
Corollary 3.3.2: Existence of Roots for Odd-Degree Polynomials
Let be a polynomial with and odd degree . Then has at least one real root (i.e., there exists such that ).
Proof of Root Existence for Odd-Degree Polynomials
For large positive , the term dominates, and if and is odd, as . If and is odd, as . Similarly, as , if is odd, changes sign, so will go to if and to if .
In either case, we can find a large positive value and a large negative value such that and have opposite signs (one positive, one negative). Since polynomials are continuous (Corollary 3.2.7), by the IVT, there must be some point in the interval where .
3.5 The Min-Max Theorem (Extreme Value Theorem): Boundedness and Extremes
The Min-Max Theorem, also known as the Extreme Value Theorem (EVT), guarantees that a continuous function on a closed and bounded interval (a compact interval) attains both a maximum and a minimum value.
Theorem 3.4.5: Min-Max Theorem (Extreme Value Theorem)
Let be a continuous function on a compact interval . Then there exist points such that for all , . In other words, attains a minimum value and a maximum value on .
This theorem is incredibly important for optimization problems. It guarantees that if you are looking for the maximum or minimum value of a continuous function on a closed interval, such values actually exist.
Proof of Min-Max Theorem (Existence of Maximum - Using Supremum)
We will prove the existence of a maximum value . The existence of a minimum value is similar.
Boundedness: First, we need to show that is bounded on . (Proof omitted here, but it involves assuming is unbounded and constructing a sequence that violates sequential continuity).
Existence of Supremum: Since is bounded above on , the supremum of its values exists: .
Finding a sequence approaching the supremum: By definition of supremum, for each , there exists a point such that .
Using Bolzano-Weierstrass: The sequence is in the bounded interval . By the Bolzano-Weierstrass Theorem, there exists a convergent subsequence converging to some point . Let .
Using Continuity: Since is continuous at and , by sequential continuity, .
Showing : From step 3, we know . Taking the limit as , we get . Thus, .
Therefore, the maximum value is actually attained by the function at some point .
Importance of Conditions:
It’s crucial to note that both continuity and compactness of the interval (closed and bounded) are necessary for the Min-Max Theorem to hold. If either condition is removed, the theorem may fail.
- Discontinuity: A discontinuous function on a closed interval may not attain a maximum or minimum (e.g., a function with a jump discontinuity).
- Non-compact Interval: A continuous function on a non-closed interval (like ) or an unbounded interval (like ) may also not attain a maximum or minimum (e.g., on has no maximum).
These fundamental theorems – IVT and EVT – are cornerstones of analysis. They guarantee essential properties of continuous functions and provide powerful tools for solving problems in calculus, optimization, and many other areas of mathematics.
3.6 The Real Exponential Function: A Function That Grows Faster Than Anything
We’ve already encountered the exponential function in the context of series and complex numbers. Now let’s focus on the real exponential function, , for real inputs . We can define it using the power series:
This series converges absolutely for all real numbers .
Theorem 3.6.1: Properties of the Real Exponential Function
The exponential function , defined by , is strictly monotonically increasing, continuous, and bijective (one-to-one and onto) onto the positive real numbers .
Let’s explore some key properties of the exponential function.
Always Positive and Greater Than 1 for Positive Inputs:
Corollary 3.6.2: Positivity of Exponential Function
For all , .
For all , .
This follows directly from the power series definition, as all terms are positive for , and the first term is 1. For negative , we use the property (derived from Cauchy product of series).
Strictly Increasing:
Corollary 3.6.3: Monotonicity of Exponential Function
For all , .
If you increase the input, the output of the exponential function always increases. It’s always climbing uphill.
A Useful Inequality:
Corollary 3.6.4: Inequality for Exponential Function
For all , .
This simple inequality is surprisingly useful in proofs and estimations.
Proof of
We use the limit definition . By Bernoulli’s Inequality (Lemma 2.2.7), for and (which holds for sufficiently large ), we have . Taking the limit as , we get .
Continuity of the Exponential Function:
Proof of Continuity of Exponential Function (Theorem 3.6.1)
We prove continuity at first, then extend to all .
Step 1: Continuity at : For , using and , we get for . This implies and for . Given , choose . Then for , . Thus is continuous at .
Step 2: Continuity at arbitrary : Write . For , choose . Then for , . Thus is continuous at any .
3.7 The Natural Logarithm: The Inverse of Exponential
Since the exponential function is a bijective, strictly monotonically increasing, and continuous function from to , it has an inverse function, called the natural logarithm, denoted by or .
Corollary 3.6.5: Properties of the Natural Logarithm
The natural logarithm is a strictly monotonically increasing, continuous, bijective function. It satisfies the property:
The logarithm “undoes” exponentiation, and vice versa. If , then .
Proof of Properties of Natural Logarithm
Follows from Theorem 3.6.1 and Theorem 3.5.3 (Inverse Function Theorem). The property is derived by using the property and the fact that exp and ln are inverse functions.
3.8 Trigonometric Functions: Circles and Periodicity
We now introduce the trigonometric functions: sine () and cosine (). We define them using power series, just like the exponential function:
These series converge absolutely for all complex numbers , and therefore for all real numbers .
Theorem 3.8.1: Continuity of Sine and Cosine
The functions and are continuous on .
Relationship to Complex Exponential:
A crucial link between trigonometric and exponential functions is given by Euler’s formula:
Theorem 3.8.2 (1): Euler's Formula
For all :
This formula beautifully connects complex exponentials to sines and cosines. It allows us to derive many trigonometric identities from properties of the exponential function.
Using Euler’s formula, we can express sine and cosine in terms of complex exponentials:
Theorem 3.8.2 (3): Sine and Cosine in Terms of Complex Exponentials
These power series definitions and the connection to the complex exponential provide a rigorous foundation for trigonometric functions, allowing us to explore their properties analytically. We can derive trigonometric identities, analyze their periodicity, and understand their behavior using the tools of calculus and analysis.
This concludes our journey through Chapter 3. We’ve explored continuous functions, their algebraic properties, and fundamental theorems like the IVT and EVT. We’ve also introduced the exponential, logarithm, and trigonometric functions, laying the groundwork for differentiation and integration in the chapters to come.
Next Chapter: Chapter 4 - Differentiable Functions, The Slope of a Curve, Rules for Differentiation, Mean Value Theorem and Beyond