Relations and Functions
Relations as subsets of a Cartesian product, and the reflexive, symmetric and transitive properties tested against relations defined on small finite sets.
A Complete Introduction to Abstract Algebra, Relations and Functions
14 exercises
Exercise 1
Let the set . Is the relation on
-
reflexive?
-
symmetric?
-
transitive?
Exercise 2
Is the less-than-or-equal-to relation, , an equivalence relation on ?
Exercise 3
Let the function be such that .
-
Use arrow notation to write a definition for .
-
State the domain, codomain, and range of .
-
What is the image of 2 under ?
-
Is a valid function?
Exercise 4
Is a well-defined function?
Exercise 5
Let the functions and . Write down the rule of the function if and .
Exercise 6
Define the function such that
By considering , prove that .
Problem 1
Let the set . Find a function that is bijective but is not equal to the function .
Problem 2
Let the set . Which of the following sets is/are relations on ? If the set is a relation on , is it an equivalence relation?
Problem 3
Let the functions
-
Which of the given function(s) are injective? If they are, prove it. If not, explain why.
-
Does the composite function exist? If so, give a definition of using arrow notation and state its image. Otherwise, explain why.
-
Does the composite function exist? If so, give a definition of using arrow notation and state its image. Otherwise, explain why.
Problem 4
Let be an equivalence relation on a set and let . Prove that
-
if then ;
-
if then ; and
-
if then .
Problem 5
Let be any set, and let , , and be functions. Suppose is injective. Prove or disprove the following statements.
-
If then .
-
If then .
Problem 6
The McCarthy 91 function is a recursive function created by computer scientist John McCarthy to test formal verification in computer science. It is defined as follows.
-
Show .
-
Show for all .
-
Deduce that for all .
-
Hence prove that for all .
Problem 7
Let the function be defined such that
Prove that
-
for all integers ;
-
for all positive integers ; and
-
for all integers .
Problem 8
Let be a non-empty finite set of cardinality and let be a injective function. Prove that is bijective.(Hint: consider strong induction on .)
Adapted from A Complete Introduction to Abstract Algebra © 2022–2026 Kan Onn Kit. Licensed under CC BY-SA 4.0. Source: A Complete Introduction to Abstract Algebra. Imported at revision a559e8b.