David Lu
July 30, 2018
Recall that the answers are in the comments of the .md file. Replace the .html with .md to view it.
Some definitions first.
Functions are ordinarily denoted by symbols. Suppose that for each element of a set , the domain, we assign a unique element of a set , the codomain. The collection of these assignments is called a function from to . Let denote that function. We write:
We can also say that maps to .
Functions are often expressed by means of a mathematical formula. For example, consider the function which maps each real number to its square. We can denote this function by writing
In the first notation, is called a variable or argument and the letter denotes the function.
In the second, the barred arrow is read "goes to" or "maps to". (The LaTeX command is \mapsto).
In the last, is called the independent variable and is called the dependent variable since the value of depends on the value of .
Exercises:
Find the domain of each of the following real-valued functions of a real variable:
(a)
(b)
(c)
Every function defines a relation from to called the graph of
Graph of
Two functions and are equal if for every , , i.e. they have the same graph.
Exercise: Map the function
A function is injective (one-to-one) if each element of the codomain is mapped to by at most one element of the domain.
That is, for all ,
A function is surjective (onto) if each element of the codomain is mapped to by at least one element of the domain.
That is, for all , there exists an such that
A function is bijective (one-to-one and onto or one-to-one correspondence) if each element of the codomain is mapped to by exactly one element of the domain.
Exercises:
Consider functions and . Prove the following:
(a) if and are injective (one-to-one), then the composition function is injective (one-to-one)$.
(b) if and are surjective (onto) functions, then is an surjective (onto) function.
Determine if each function is injective (one-to-one):
(c) To each person on the earth, assign the number which corresponds to her or his age.
(d) To each country in the world, assign the latitude and longitude of its capital.
(e) To each book written by only one author, assign the author.
(f) To each country in the world which has a prime minister, assign its prime minister.
Problem 3.1. Show that if is bijective, an inverse of exists. (define such a show that it is a function, and show that it is an inverse of .)
Proof.
Let be bijective. We'll define a function = as follows. Let . since is surjective, there exists such that . Let . Since is injective, this is unique, so is a well-defined function.
Next, we show that is the inverse of . First, we show that .
First, let . Let . Then by definition . then .
Second, show that . Let and . By definition, . It follows that .