Valued Functions

These notes provide an overview of functions in R.{\reals.}

  1. Preliminaries
    1. Function Types
    2. Function Composition
    3. Inverse Functions
    4. Curves
    5. Branching Functions
    6. Equality
    7. Classical Inequalities
  2. Intervals
  3. Properties of Valued Functions
    1. Monotonicity
    2. Symmetry

Preliminaries

We begin with a brief review of functions. We've seen functions in the context of set theory, but we now focus specifically on functions in the context of real analysis.

valued function. A valued function is a mapping f:XY{f: X \mapsto Y} where XR{X \subseteq \reals} and YR,{Y \subseteq \reals,} such that, for every xD,{x \in D,} there exists a unique f(x)Y.{f(x) \in Y.} We call X{X} the domain of f,{f,} that R{\reals} is the codomain of f,{f,} and that Y{Y} is the range of f.{f.} By convention, we may denote a function in the form f(x)=E,{f(x) = \E,} where E{\E} is a predicate called a procedure. We say that f(x){f(x)} is the outcome of f,{f,} that arguments are passed to a parameter of f{f} denoted x,{x,} and that the function f{f} bears the name "f.{f.}"

The definition above has been tailored to the notes in this volume. A more general treatment of functions is found in the set theory notes on functions. Functions are abstractions that assign (i.e., map) every element of one set to a unique element of another set. They do not have to assign numbers to numbers. We can assign apples to oranges, sets to sets, or functions to functions. Granting passports to applicants is a function, because no single passport can be granted to multiple applicants. Assigning the set of all humans to the statuses "dead" or "alive" is a function, because no human can be both dead and alive. This general construct was proposed by the German mathematician Peter Lejeune Dirichlet (1805-1859), in lieu of the old definition where functions were simply formulas. Unfortunately, many elementary schools are still stuck in the 18th century (not necessarily through a fault of their own) and continue to present functions as formulas.

Some authors make a distinction between "natural domains" and "domains." For example, the function f(x)=1/x{f(x)=1/x} — couched in such authors' terms — has a domain of R{\reals} and a natural domain of R{0}.{\reals \smallsetminus \set{0}.} The distinction starts a quick path to cognitive goose chasing. We just said that functions map all the elements of their domain to a unique element of its codomain, so what's this business of some elements not getting mapped? Fortunately, the fix is simple: dom(f)=R{0}.{\dom{f}=\reals \smallsetminus \set{0}.} The notation {0}{\smallsetminus \set{0}} merely specifies the domain, which is whatever we say it is, footgun or otherwise. If not every element in the domain has a unique outcome, then we don't have a function. End of story.

identity function. We call the function f:XX,{f: X \to X,} or, equivalently, f(x)=x,{f(x)=x,} the identity function. Given XR,{X\subseteq\reals,} we denote the identity function on X{X} with the notation IdX.{\tx{Id}_X.}

equality of functions. We say that two functions f{f} and g{g} are equal and write f=g{f = g} if, and only if dom(f)=dom(g){\dom{f}=\dom{g}} and ran(f)=ran(g).{\ran{f}=\ran{g}.}

algebra of functions. Given the real functions f:XY{f:X\mapsto{Y}} and g:AB{g:A\mapsto{B}} with XA,{X \cap A \neq \nil,} the following operations are defined for all xX{x \in X} and for all aA.{a \in A.}

f+g=f(x)+g(a).f=f(x).fg=f(x)g(a).fg=f(x)g(a).fg=f(x)g(a)  a[g(a)0]. \eqs{ f + g &= f(x) + g(a). \\ -f &= -f(x). \\ f - g &= f(x) - g(a). \\ fg &= f(x) \by g(a). \\ \dfrac{f}{g} &= \dfrac{f(x)}{g(a)} ~\nc~ \forall a[g(a) \neq 0]. }

Function Types

Below is a quick overview of the different function types. The function types can also be viewed from a procedural perspective. Suppose f:AB{f:A \mapsto B} where bB.{b \in B.} Saying that f{f} is injective is akin to: "There is at most one way to reach the result b.{b.}" When we say that f{f} is surjective: "There is at least one way to reach the result b.{b.} And bijective: "There is exactly one way to reach the result b.{b.}

f:xXyY{f: x \in \X \mapsto y \in \Y}notationleeway
injectivey{y} mapped to at most oncef:XY{f: \X \inj \Y}some y{y} are not mapped to
surjectivey{y} mapped to at least oncef:XY{f: \X \surj \Y}some y{y} are mapped to more than once (but not by the same x{x})
bijectivey{y} mapped to exactly oncef:XY{f: \X \bij \Y}none; unique x{x} to unqiue y{y}

Function Composition

function composition. Let f{f} and g{g} be functions. The composition of f{f} and g,{g,} denoted fg,{f \wc g,} is defined as (fg)(x)=f(g(x)),{(f \wc g)(x) = f(g(x)),} where dom(fg)={xdom(g):g(x)dom(f)}.{\dom{f \wc g} = \set{x \in \dom{g} : g(x) \in \dom{f}}.}

The idea behind function composition: We take the outcome of some function (say, g{g}), and pass it as an argument to another function (f(g(x)){f(g(x))}).

Inverse Functions

inverse function. Given a function f:XY,{f: X \inj Y,} we call the relation f1:YX{f^{-1}: Y \inj X} the inverse of f.{f.}

Informally: Given a function f:XY,{f:X \mapsto Y,} we call the function f1:YX{f^{-1}: Y \mapsto X} the inverse of f.{f.} In other words, if f(x)=y{f(x)=y} then f1(y)=x.{f^{-1}(y)=x.} We must be careful with the notion of an inverse function, because the inverse of a function f{f} is not necessarily a function. Suppose A={1,2,3},{A=\set{1,2,3},} B={a,b,c,d},{B=\set{a,b,c,d},} and f={(1,a),(2,b),(3,c)}.{f = \set{(1,a), (2,b), (3,c)}.} Given that f{f} is an injective function, we have f1={(a,1),(b,2),(c,3)}.{f^{-1}=\set{(a,1),(b,2),(c,3)}.} But f1{f^{-1}} is not a function, since the element d{d} doesn't have a unique outcome. Accordingly, we refrain from the characterization of inverses as "undoing" a function, because that's not really what's happening here (and in this author's experience, it leads to a tempting thought that the inverse is a function). As such, we treat a function's inverse as an entirely different construct. It might be a function or not a function at all.

Curves

curves. Given a function f,{f,} we call the set Γf={(x,y)R2:y=f(x)}{\Gamma_f = \set{(x,y)\in \reals^2:y=f(x)}} the curve of f{f} on the plane R2.{\reals^2.}

Branching Functions

Some functions are conditional, and in that they apply different procedures depending on the arguments passed. We call such functions branching functions (or piecewise functions). The most common example is the absolute value function:

x={xif x0xif x<0 \abs{x} = \case{ x &\if x \ge 0 \\ -x &\if x \lt 0 }

Equality

The absolute value function allows us to define the notion of equality for the reals.

definition. Let a,bR.{a, b \in \reals.} We say that a{a} is equal to b{b} and write a=b{a = b} if, and only if, for every real number ε>0,{\varepsilon \gt 0,} it follows that ab<ε.{\abs{a - b} \lt \varepsilon.}

Classical Inequalities

triangle inequality. (a,b)R2:a+ba+b.{\forall(a,b) \in \reals^2:\abs{a+b} \le \abs{a} + \abs{b}.}

corollary. x1,,xnR:(x1++xn)(x1++xn).{\forall x_1, \ldots, x_n \in \reals:(x_1 + \ldots + x_n) \le (\abs{x_1} + \ldots + \abs{x_n}).}

corollary. (a,b)R2 : abab.{\forall(a,b) \in \reals^2~:~\abs{a-b} \ge \abs{\abs{a}-\abs{b}}.}

Intervals

interval

definition. An interval is a set IR{I \subset \reals} such that, for all x,y,zI,{x,y,z \in I,} if x<y<z{x \lt y \lt z} and x,zI,{x,z \in I,} then yI.{y \in I.} Given a,bR,{a,b \in \reals,} we define the following: The interval {xR:a<x<b}{\set{x \in \reals:a \lt x \lt b}} is called a closed interval. The interval xR:axb{x\in\reals: a \le x \le b} is called an open interval. The interval {xR:a<xb}{\set{x\in\reals: a \lt x \le b}} is called a right-open interval. The interval {xR:ax<b}{\set{x\in\reals:a \le x \lt b}} is called a left-open interval.

We will always denote intervals with sets. We will not use notations like (a,b),{(a,b),} [a,b){[a,b)} or ]a,b[,{]a,b[,} since the sets aren't all that difficult to write and they're clearer.

Properties of Valued Functions

Monotonicity

definition. Given IR,{I \subset \reals,} and RR,{R \subseteq \reals,} and f:IR,{f: I \mapsto R,} the following properties are defined:

  1. f{f} is increasing if, and only if, for all a,bI,{a,b \in I,} if a<b,{a \lt b,} then f(a)f(b).{f(a) \le f(b).}
  2. f{f} is decreasing if, and only if, for all a,bI,{a,b \in I,} if a<b,{a \lt b,} then f(a)f(b).{f(a) \ge f(b).}
  3. f{f} is strictly increasing if, and only if, for all a,bI,{a,b \in I,} if a<b,{a \lt b,} then f(a)<f(b).{f(a) \lt f(b).}
  4. f{f} is strictly decreasing if, and only if, for all a,bI,{a,b \in I,} if a<b,{a \lt b,} then f(a)>f(b).{f(a) \gt f(b).}
  5. f{f} is monotonic if f{f} is increasing or decreasing.
  6. f{f} is strictly monotonic if f{f} is strictly increasing or strictly decreasing.

Symmetry

definition. Given a funtion f{f} and a number xdom(f)R,{x \in \dom{f} \subseteq \reals,} we define the following:

  1. f{f} is an even function iff for all xdom(f),{x \in \dom{f},} f(x)=f(x).{f(-x) = f(x).}
  2. f{f} is an odd function iff for all xdom(f),{x \in \dom{f},} f(x)=f(x).{f(-x)=-f(x).}

The descriptors "even" and "odd" come from the powers of some (x).{(-x).} Given xn{x^n} where n,kN,{n,k \in \nat,} if n=2k{n=2k} (an even number) then (x)n=x.{(-x)^{n}=x.} If n=2k+1,{n=2k+1,} then (x)n=x.{(-x)^n=-x.} Even functions have the special property of being symmetric about the y{y}-axis, since all their tuples are either (x,y){(-x,y)} or (x,y).{(x,y).} Odd functions have the property of being symmetric about the origin: (x,y){(-x,-y)} or (x,y).{(x,y).}