20 Elementary Functions
Highlights of this Chapter: we introduce the idea of defining functions by a Functional Equation specifying how a function should behave instead of specifying how to compute it. Following this approach, we give rigorous definitions for exponentials logarithms and trigonometric functions, and investigate some of their consequences. With these definitions in hand, we are able to define the field of Elementary Functions, familiar from calculus and the sciences.
At the heart of real analysis is the study of functions. But which functions should we study? Polynomials are a natural class built from the field operations, and power series are a natural thing to look at given polynomials and the concept of a limit. But there are many, many other functions out there, and we should wonder which among them are worthy of our attention. Looking to history as a guide, we see millennia of use of trigonometric functions, and centuries of use of exponentials and logarithms. Indeed these functions are not only important to the origins of analysis but also to its modern development. In this chapter we will not focus on how to compute such functions, but rather on the more pressing question of how to even define them: if all we have available to us are the axioms of a complete ordered field how do we rigorously capture aspects of circles in the plane (trigonometry) or continuous growth (exponentials)? The key is the idea of a functional equation: something that will let us define a function by how it behaves, instead of by directly specifying a formula to compute it.
20.1 Warm Up: What is Linearity?
We know how to express linear functions already using the field axioms, as maps
The most important property of a linear function is that it distributes over addition (think of how we use linear maps, say, in Linear Algebra). So, in the 1800
Definition 20.1 (Cauchy’s Functional Equation for Linearity) A function
Note it follows for any finite sum
Theorem 20.1 (Characterizing Linear Functions) If
Exercise 20.1 Prove Theorem 20.1, following the outline below.
Let
- Prove that
for all . - Extend this to negative integers.
- Show that
for *Hint: use that - From the above, deduce that for rational
, that . - Now use continuity! If
, then on …
20.2 Exponentials
Exponential functions occur all across the math and sciences, representing any kind of growth that compounds multiplicatively as time progresses linearly. THat is, the core feature of exponentials underlying their ubiquity is the law of exponents
Definition 20.2 (The Law of Exponents) A function
This just rigorously spells out what we want exponential functions to be. We still have to prove they exist! But before doing that, we pause to gain some comfort with the functional equation definition, and derive a few basic properties that exponentials must have.
Proposition 20.1 If
Proof. Let
Proposition 20.2 Prove that if
Proof. The number
Exercise 20.2 If
20.2.1 Existence
Here we show that exponential functions exist, and fully characterize them. We’ve already done plenty of work understanding rational and irrational powers, so we can make perfect sense of the expression
To do so we make use of all our previous work with exponents: namely the following facts (the first two are from our inital investigation into numbers and operations, the second two from when we studied Monotone Convergence)
- If
then is defined as . - If
are rational numbers , so powers satisfy the law of exponents on rational inputs. - If
is a monotone increasing sequence of rational numbers converges. - If
is a sequence of positive rationals with then .
From these we can prove an important lemma that helps us make a rigorous definition of the function
Lemma 20.1 (Irrational Powers) If
Proof. Let
Defining
Applying the limit law for differences we see
Because the limiting value of
Definition 20.3 (Raising to the Power of
Theorem 20.2 (Existence: Powers Are Exponentials) Exponential functions exist.
Precisely, any positive
We prove these two claims separately. To simplify things, we work with the case
Proposition 20.3 The function
Proof (Laws of Exponents). Let
Let’s continue with the case where both
But since
Stringing these equalities together yields the law of exponents for
We can use the same argument when only one of the numbers is rational: if
Exercise 20.3 Prove the exponential function
Hint: we know its monotone on rational inputs, so the interesting cases are again when at least one is irrational (and, the argument for both irrational can be generalized to include the other case). Write down monotone increasing sequences, truncate the sequences until you can insure
We will additionally need (for a later argument) that the exponential is strictly increasing: that is, if
Lemma 20.2 If
Proof. This is equivalant to showing
First note this is clearly true for rational
Thus, by the inequality for limits, we see
We are now ready to prove continuity. The sequence criterion looks suspiciously similar to our definition of
Proof (Continuity). Let
Negating the definition of convergence, there must be some bad
Phew! That’s a lot of subsequences. Its annoying to carry them all around in print, and so we will just rename things: let’s call this sequence
By the density of rationals we can find an
We can also think about the
But this is a contradiction! As the terms
We’ve done it! We’ve rigorously confirmed all the calculations we’ve done from pre-calculus onwards, involving the law of exponents: this really does hold for the continuous function
Corollary 20.1 The exponential function
Proof. Let
By trichotomy, we know either
Exercise 20.4 Prove range of the exponential function
Hint: can you find some
Exercise 20.5 (Convexity of exponentials) Prove that exponential functions are convex (Definition 5.8): their secant lines lie above their graphs.
20.3 Logarithms
We’ve completely put the theory of exponential functions on a rigorous footing, so its time to do the same for logarithms. We define logarithms similarly to what we did for exponentials, by a functional equation telling us what they are for.
Definition 20.4 (The Law of Logarithms) A function
Exercise 20.6 Let
One might be initially concerned: we don’t have a nice candidate function on the rationals that we know satisfies this, and we just need to extend: so how are we going to prove the existence of such functions? Happily this case actually turns out to be much less technical than it looks - because we can put all the hard work we did above to good use!
Theorem 20.3 (Logarithms Exist, and are Inverses to Exponentials) Let
Proof. Let
With
Definition 20.5 The base of a logarithm
20.4 Trigonometric Functions
Like for the exponential and logarithm functions, to propose a rigorous definition of the trigonometric functions, we require them to satisfy the trigonometric identities. To make a specific choice, we take the angle difference identities
Definition 20.6 (Angle Identities) A pair of two functions
Definition 20.7 (Other Trigonometric Functions) Given a trigonometric pair
It may seem strange at first: is this really enough to fully nail down trigonometry? It turns out it is: if
Lemma 20.3 (Values at Zero) If
Proof. Setting
Evaluating the second functional equation also at
From this we can see that
Finally, since
An important corollary showed up during the proof here, when we observed that
Exercise 20.7 (Pythagorean Identity) If
Continuing this way, we can prove many other trigonometric identities: for instance, the double angle identity (which will be useful to us later)
Exercise 20.8 (Evenness and Oddness) If
Exercise 20.9 (Angle Sums) If
Exercise 20.10 (Double Angles) If
Another useful identity we’ll need is the ‘Half Angle Identites’:
Lemma 20.4 If
Proof. Using the angle sum identity we see
Re-arranging yields the claimed identity.
Exercise 20.11 If
Just like for exponentials and logs we don’t expect this to pick out a unique pair of functions, but rather there many be many solutions to the angle identities (corresponding to different units we could measure angles with)
Exercise 20.12 Prove that if
To prove the existence of trigonometric functions, we’ll follow a similar path to exponentials: we’ll propose a pair of functions, and confirm they are continuous and nonconstant, and satisfy the trig identities. This is one of the options of the final project, for those interested!