Is Starring well-defined?
one additional rule
Functions
Functions are special relations. While a relation is just two sets of items and some pairings between the two sets, functions satisfy one rule.
- Functions are those relations where each domain item is paired with exactly one codomain item, or
- Functions are those relations where each domain item occurs in exactly one pair.
A function is a package of three sets
- domain
- codomain
- pairings
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 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.
This function is not well-defined, because there are U.S. citizens without a social security number, like many new-born babies.
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.
This function is not well-defined, because there are 9-digit numbers that have not been issued as social security numbers.
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 , where and are integers. This domain rational number is paired with in the codomain.
This function is not well-defined.
For instance: There is a rational number that can be represented as and thus it would be paired with . However, this same rational number can also be represented as and thus would be paired with . This violates the only rule we have.
This particular rational number from the domain is paired with both and . 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.
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).
Function Notation
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.
is a pair in functionName.
is called “the VALUE of functionName AT d”.
is called “the IMAGE of d under functionName”.
Language:
is pronounced as “functionName OF d”.
SuperBowlWinner(Superbowl 13) represents the winning team from Superbowl 13, which is the Pittsburgh Steelers. The following equality is communicating this with an equation.
- SuperBowlWinner(Superbowl 13) = Pittsburgh Steelers
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 2023, 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 separate sets. The range and codomain could be equal
sets or the range could be a proper subset of the codomain.
- The Cleveland Browns are not in the range of SuperBowlWinner.
- The Pittsburgh Steelers are in the range of SuperBowlWinner.
- is the symbol for is a subset of.
- is the symbol for is a proper subset of.
- is the symbol for is a member of.
- is the symbol for the real numbers.
- is the symbol for the rational numbers.
- is the symbol for the integers.
- is the symbol for the natural numbers.
For example, , , , .
For Example,
For Example,
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 and also think of the reverse.
Let be a function with domain , range , and codomain .
Let be a subset of the domain , .
Let be a subset of the codomain , .
The image of under is the collection of function values at all members of .
The preimage of under is the collection of domain members whose function values are inside .
The preimage is also known as the inverse image.
Mathematics is full of concepts and skills which have a feeling that you are applying something.
For example, multiplication. We can think of multiplication by as “doing” something.
This thought automatically comes with the reverse thought. We might think of
reversing multiplication by as multiplying by and we have alternative exponential
notation available, .
With the addition operation, we think of the opposite of as .
Mathematics has many ideas that involve reverse, opposite, backwards, undo, inverse,
back up, turn around, etc. In one way or another, 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 , is . 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 superscript has different meanings depending on the context.
Sometimes and do not mean the same thing.
- might mean the reciprocal,
- might mean the inverse function (switch domain and codomain)
Lastly, we should establish when two functions are equal.
Two functions are equal provided they satisfy all three of the following:
- they have the same domain.
- they have the same range.
- they have the same pairs.
ooooo=-=-=-=-=-=-=-=-=-=-=-=-=ooOoo=-=-=-=-=-=-=-=-=-=-=-=-=ooooo
more examples can be found by following this link
More Examples of Functions