Let \(D = \{ 3, 5, 7, 8, 10, 11, 13, 15, 16 \}\)
Let \(T = \{ 3, 10, 11, 16 \}\)
Let \(R = \{ 3, 6, 10, 11, 16 \}\)
Let \(W = \{ 3, 8, 10 \}\)
Select all of the true statements.
Functions are special relations. While a relation is just two sets of items and some pairings between the two sets, functions satisfy one rule.
A function is a package of three sets
\(\blacktriangleright \) such that each domain item is included in one and only one pair.
Mathematicians have a funny way of saying yes or no about a relation possibly being a function. If a supposed function satisfies our one and only rule, then it is said to be a well-defined function. Otherwise, it is not well-defined (meaning, it is not a function).
A relation is a function and is said to be well-defined, if it satisfies the one and only rule for a function.
The SSN function has a domain consisting of all U.S. citizens and a codomain consisting of all 9-digit numbers. SSN pairs a U.S. citizen in the domain with the 9-digit number in the codomain that was issued to them as their social security number.
\(\blacktriangleright \) This function is not well-defined, because there are U.S. citizens without a social security number, like many new-born babies. SSN is not a function.
The ReverseSSN function has a domain consisting of all 9-digit numbers and a codomain consisting of all U.S. citizens. ReverseSSN pairs a number in the domain with the person in the codomain who was issued the number as their social security number.
\(\blacktriangleright \) This function is not well-defined, because there are 9-digit numbers that have not been issued as social security numbers. ReverseSSN is not a function.
The RationalAdd function has a domain consisting of all rational numbers and a codomain consisting of all integers. RationalAdd pairs a rational number in the domain with an integer in the codomain according to the following procedure:
Since a chosen domain number is a rational number, it can be represented as \(\tfrac {A}{B}\), where \(A\) and \(B\) are integers. This domain rational number is paired with \(A+B\) in the codomain.
\(\blacktriangleright \) This function is not well-defined.
For instance, there is a rational number that can be represented as \(\tfrac {2}{3}\) and thus it would be paired with \(2 + 3 = 5\). However, this same rational number can also be represented as \(\tfrac {4}{6}\) and thus would be paired with \(4 + 6 = 10\). This violates the one and only rule we have for functions.
This particular rational number from the domain is paired with both \(5\) and \(10\). That isn’t allowed for a function. Each domain item must be paired with exactly one codomain number. RationalAdd is not well-defined and not a function.
The SuperBowlWinner function has a domain consisting of the NFL Superbowls played and a codomain consisting of all of the NFL teams that have existed. SuperBowlWinner pairs a Superbowl in the domain with the NFL team in the codomain that won that Superbowl.
\(\blacktriangleright \) This function is well-defined. Each Superbowl has exactly one winner.
Whew! We finally found a well-defined function. That one little rule actually narrows the pool of relations quite a bit. By focusing our investigation on only functions, this rule will help us study relationships between all kinds of measurements (our main goal).
Now that we are only investigating functions, rather than all relations, we discover some opportunities to help our communication. For instance, it turns out that when you select a domain item in a function, you have automatically selected a codomain item.
Our Rule: Each domain item is paired with EXACTLY one codomain item. Not 0. Not 2. Not 3. EXACTLY 1!
Thus, when you pick a domain item, you have automatically selected its partner in the codomain. We could certainly hunt down this partner inside the codomain. But, we can also just talk about
“the domain member’s partner in the codomain .”
We have notation for this thought.
Let \(functionName\) be the name of a function.
Let \(d\) represent a domain item of \(functionName\).
Then, “\(functionName(d)\)” represents \(d\)’s partner in the codomain.
Language:
\(functionName(d)\) is pronounced as “functionName OF \(d\)”.
\((d, functionName(d))\) is a pair in \(functionName\).
\(functionName(d)\) is called “the VALUE of functionName AT \(d\)”.
\(functionName(d)\) is called “the IMAGE of \(d\) under functionName”.
SuperBowlWinner(Superbowl 13) represents the winning team from Superbowl 13, which is the Pittsburgh Steelers. The following equality is communicating this with an equation.
The pair (Superbowl 13, SuperBowlWinner(Superbowl 13)) is the pair (Superbowl 13, Pittsburgh Steelers).
Note: The one and only rule for functions doesn’t refer to the codomain.
Not every NFL team has won a Superbowl. As of 2025, the Cleveland Browns had not won a Superbowl. So, there are codomain items that are not partnered with a domain item. This is not true of the domain. Every domain item is paired with a codomain item. That is our one and only function rule. Every domain item appears in exactly one pair. But not every codomain item must appear in a pair. This is significant and deserves some language.
The range of a function is the collection of items in the codomain which are paired with some item in the domain. The range is the collection of function values.
The range and codomain are different sets. The range and codomain could be equal
sets or the range could be a proper subset of the codomain.
For example, \(\pi \in \mathbb {R}\), \(\tfrac {2}{3} \in \mathbb {Q}\), \(-3 \in \mathbb {Z}\), \(5 \in \mathbb {N}\).
For Example, \(\mathbb {N} \subseteq \mathbb {Z} \subseteq \mathbb {Q} \subseteq \mathbb {R}\)
For Example, \(\mathbb {N} \subset \mathbb {Z} \subset \mathbb {Q} \subset \mathbb {R}\)
Let \(D = \{ 3, 5, 7, 8, 10, 11, 13, 15, 16 \}\)
Let \(T = \{ 3, 10, 11, 16 \}\)
Let \(R = \{ 3, 6, 10, 11, 16 \}\)
Let \(W = \{ 3, 8, 10 \}\)
Let \(D = \{ 3, 5, 7, 8, 10, 11, 13, 15, 16 \}\)
Let \(T = \{ 3, 10, 11, 16 \}\)
Let \(R = \{ 3, 6, 10, 11, 16 \}\)
Let \(W = \{ 3, 8, 10 \}\)
Select all of the true statements.
Let’s name the following function Starring.
domain = { Casablanca, House of Wax, The Godfather, Lawrence of Arabia, Toy Story, The Fly }
codomain = { Marlon Brando, Vincent Price, Humphrey Bogart, Peter O’Toole, Harrison Ford, Al Pacino }
pairs = { (The Godfather, Marlon Brando), (House of Wax, Vincent Price), (Casablanca, Humphrey Bogart), (Lawrence of Arabia, Peter O’Toole), (The Fly, Vincent Price) }
Let’s name the following function StarringAgain.
domain = { Casablanca, House of Wax, The Godfather, Lawrence of Arabia, The Fly }
codomain = { Marlon Brando, Vincent Price, Humphrey Bogart, Peter O’Toole, Harrison Ford, Al Pacino }
pairs = { (The Godfather, Marlon Brando), (House of Wax, Vincent Price), (Casablanca, Humphrey Bogart), (Lawrence of Arabia, Peter O’Toole), (The Fly, Vincent Price) }
We can extend our idea of value and image from single items to sets and also think of a function in reverse.
Let \(f\) be a function with domain \(D\), range \(R\), and codomain \(C\).
Let \(S\) be a subset of the domain \(D\), \(S \subseteq D\) .
Let \(T\) be a subset of the codomain \(C\), \(T \subseteq C\) .
The image of \(S\) under \(f\) is the collection of function values of all members of \(S\).
The preimage of \(T\) under \(f\) is the collection of domain members whose function values are inside \(T\).
The preimage is also known as the inverse image.
\(f^{-1}(T)\) is the symbol for the reverse of \(f\).
\(f^{-1}(T)\) pairs subsets of the codomain with subsets of the domain. It is just reading the function \(f\) backwards or in reverse.
Define the function \(H\) by these sets:
Mathematics is full of concepts and skills which have a feeling that you are applying something.
Take multiplication, for example. We can think of multiplication by \(3\) as “doing” something. This thought automatically comes with the reverse thought. We might think of reversing multiplication by \(3\) as multiplying by \(\frac {1}{3}\) and we have alternative exponential notation available, \(3^{-1} = \frac {1}{3}\).
With the addition operation, we think of the opposite of \(4\) as \(-4 = -1 \cdot 4\).
Mathematics has many ideas that involve reverse, opposite, backwards, undo, inverse, back up, turn around, etc. In one way or another, \(-1\) seems to be included in the notation for this reverse action.
Functions have a feeling of beginning with a domain number and pairing it with a range number. And, naturally, we have the reverse idea.
Our symbol for the reverse of the function \(f\), is \(f^{-1}\). It begins with range items and pairs them with their domain partners. This reversing of function pairs is certainly a relation, because, well, everything is a relation. Whether or not this reverse action results in a function is a topic for later in the course.
The \(-1\) superscript has different meanings depending on the context.
Sometimes \(f^{-1}(x)\) and \(f^{-1}(x)\) do not mean the same thing.
Context is everything!
We will also encounter shorthand notation for all kinds of mathematics.
Mathematics is a language that people use to communicate. We need to keep this in mind.
Lastly, we should establish when two functions are equal.
Two functions are equal provided they satisfy all three of the following:
Equality uses the range instead of the codomain, because we are mostly focused on the pairs. However, there are situations where the codomain is important and returns to the story. We’ll point these situations out when we encounter them.
ooooo-=-=-=-ooOoo-=-=-=-ooooo
more examples can be found by following this link
More Examples of Functions