13 Definition
Highlights of this Chapter: we briefly explore the evolution of the modern conception of a function, and give foundational definitions for reference.
While sequences may be the main tool of real analysis, functions are its main object of study. The term function was first introduced to mathematics by Leibniz during his development of the Calculus in the 1670s (he also introduced the idea of parameters and constants familiar in calculus courses to this day). In the first centuries of its mathematical life, the term function usually denoted what we would think of today as a formula or algebraic expression. For example, Euler’s definition of function from his 1748 book Introductio in analysin infinitorum embodies the sentiment:
A function of a variable quantity is an analytic expression composed in any way whatsoever of the variable quantity and numbers or constant quantities.
As a first step to adding functions to our theory of real analysis, we would somehow like to make this definition rigorous. But upon closer inspection, this concept, of “something expressible by a (single) analytic expression” is actually logically incoherent! For example, say that we decide, after looking at the definition of
But we also agree that
It seems we have found a perfectly good “single algebraic expression” for the absolute value after all! This even happens for functions with infinitely many pieces (which surely would have been horrible back then)
This can be written as a composition involving just one piecewise function
Which can, by the earlier trick, be reduced to a function with no “pieces” at all:
So the idea of “different pieces” or different rules, seemingly so clear to us, is not a good mathematical notion at all! We are forced by logic to include such things, whether we aimed to or not. This became clear rather quickly, as even Euler had altered a bit his notion of functions by 1755:
When certain quantities depend on others in such a way that they undergo a change when the latter change, then the first are called functions of the second. This name has an extremely broad character; it encompasses all the ways in which one quantity can be determined in terms of others.
The modern approach is to be much more open minded about functions, and define a function as any rule whatsoever which uniquely specifies an output given an input. This seems to have first been clearly articulated by Lobachevsky (of hyperbolic geometry fame) in 1834, and independently by Dirichlet in 1837
The general concept of a function requires that a function of x be defined as a number given for each x and varying gradually with x. The value of the function can be given either by an analytic expression, or by a condition that provides a means of examining all numbers and choosing one of them; or finally the dependence may exist but remain unknown. (Lobachevsky)
If now a unique finite
corresponding to each , and moreover in such a way that when ranges continuously over the interval from $ to , also varies continuously, then is called a continuous function of x for this interval. It is not at all necessary here that be given in terms of by one and the same law throughout the entire interval, and it is not necessary that it be regarded as a dependence expressed using mathematical operations. (Dirichlet)
13.1 Definition and Examples
Through this definitions added generality comes simplicity: we are not trying to poliece what sort of rules can be used to define a function, and so the notion can be efficiently captured in the language of sets and logic.
Definition 13.1 A function from a set
The definition of a function comes with three parts, so its good to have precise names for all of these.
Definition 13.2 If
If the codomain of a function
Now, because the definition itself is conspicuously quiet on what a function looks like, it’s good to start ourselves off (as usual) with a collection of examples and non-examples. First, an example
Example 13.1 (
This example comes with a formula, much like Euler had hoped for: it tells us exactly what to do with our input to get the output - multiply it by itself! This example immediately generalizes to a whole host of functions-defined-by-formulas, by using the field operations of
Example 13.2 (Polynomial Functions) A polynomial function is an assignment
The idea of a function defined by a formula can be extended even farther by allowing the field operation of division; though this time we must be careful about the inputs.
Example 13.3 (Rational Functions) A rational function is a an assignment
We already saw that piecewise formulas count in our modern definition, but perhaps didn’t fully think through the implications: they can be very, very piecewise
Example 13.4 (The Characteristic Function of
Here’s another monstrous piecewise function we will encounter again soon:
Example 13.5 (Thomae’s Function) This is the function
We’ve stressed that functions don’t need to be given by explicit formulas, so we should give an example of that: here’s a function that is defined at each point as a different limit (using the completeness axiom)
Example 13.6 The exponential function may be defined for each
A function can also be defined by an existence proof telling us that a certain relationship determines a function, without giving us any hint on how to compute its value:
Example 13.7 (
We can easily see that such a number is unique: if
Alright - that’s plenty of examples to get ourselves in the right mindset. Let’s give a non-example, to remind us that while there need not be formulas, the modern notion of function is not ‘anything goes’!
Example 13.8 The assignment taking an integer to one of its prime factors does not define a function. This would take the integer
13.2 Composition and Inverses
Likely familiar from previous math classes, but it is good to get rigorous definitions down on paper when we are starting anew.
Definition 13.3 (Composition) If
Every set has a particularly simple function defined on it known as the identity function:
Definition 13.4 (Inverse Functions) If
Example 13.9 The function
The squaring function
13.3 Increasing, Decreasing & Convexity
Finally we end our introductory march through definitions with several that make sense for functions on ordered fields, but not necessarily for general functions.
Definition 13.5 (Increasing Functions) A function
Definition 13.6 (Decreasing Functions) A function
Definition 13.7 (Monotone) A function is monotone if it is either increasing or decreasing.
Definition 13.8 (Convexity) Let
Exercise 13.1 Prove that if
Hint: the equation of secant line is
Proposition 13.1 If
Proof.
The same is true for
13.4 Functions of a Real Variable
Our main concern in this class will be real valued functions of a real variable, meaning the input and output are both real numbers.
However the theory of real analysis allows one easy generalization of this: we can consider functions of more complicated outputs so long as we can understand what convergence means in the range.
For example: the complex numbers
Even more generally, we could look at vector valued functions or even matrix valued functions of a real variable, if we define convergence component-wise.
So, functions of a more complicated range can be easily incorporated into our theory. Its only when the domain gets more complicated that analysis needs a real extension: to complex analysis, or multivariate calculus. We will not discuss these topics in this course.