Professional Documents
Culture Documents
Relations and Cartesian Products: Mathematics in The Modern World
Relations and Cartesian Products: Mathematics in The Modern World
CARTESIAN
PRODUCTS
Mathematics in the Modern World
Richard N. Aufmann
Examples:
N = {(1, 2), (2, 3), (3, 4), (4, 5), (5, 7), (6, 9)}
A = {(12, 43), (1, 22), (9, 10), (12, 12)}
T = {(1, 9), (2, 8), (3, 7), (4, 6), (5, 5)}
O = {(3, 4), (16, 13), (4, 11), (6, 8)}
Relation in Mapping Diagram
Example:
The numbers on the left side
are the domain (input) and the
numbers on the right side are
the range (output).
So if we will write it in ordered
pairs:
E = {(-2, -1), (-1, 0), (0, 1), (1, 2),
(2, 3), (3, 4)}
Relation in Table
Examples:
The numbers on the X column
are the domain (input) and the
numbers on the Y column are
the range (output).
So if we will write it in ordered
pairs:
E = {(1, 6), (-3, 2), (5, 0), (-1, -5),
(4, 2)}
Relation in Graph
Examples:
In a graph, points has x and y
coordinates.
So in this graph, the coordinates
are:
E = {(-2, 4), (-1, 1), (0, 0), (1, 1),
(2, 4)}
Wherein all values of x are the
domain and all values of y are
the range.
Relation and their Properties
Binary Relation
The most direct way to express a relationship between elements
of two sets is to use ordered pairs made up of two related
elements
Binary relation: Let A and B be sets. A binary relation from A to B
is a subset of A×B
A binary relation from A to B is a set R of ordered pairs where the
1st element comes from A and the 2nd element comes from B
Binary Relation
aRb denotes that (a,b)∊R
When (a,b) belongs to R, a is said to be related to b by R
Likewise, n-ary relations express relationships among n elements
Let A1, A2, …, An be sets. An n-ary relation of these sets is a subset
of A1×A2×…×An. The sets A1, A2, ..., An are called the domains of
the relation, and n is called its degree
Binary Relation
Example
Let A be the set of students and B be the set of courses
Let R be the relation that consists of those pairs (a, b) where a∊A and
b∊B
If Jason is enrolled only in CSE20, and John is enrolled in CSE20 and
CSE21
The pairs (Jason, CSE20), (John,CSE20), (John, CSE 21) belong to R
But (Jason, CSE21) does not belong to R
Binary Relation
Example
Let A be the set of all province, and let B be the set of the regions in the
Philippines. Define a relation R by specifying (a,b) belongs to R if province a
is in region b
For instance, (Laguna, Calabarzon), (Mindoro, Mimaropa), (Bataan, Central
Luzon), (Makati, NCR), (Camarines Norte, Bicol), (Cotabato, Soccsksargen),
and (Isabela, Cagayan Valley) are in R
Properties of
Relation
Reflexive Relations
A relation R is reflexive if (a, a) ∊ R, for every a ∊ A
Example:
A = {1, 2, 3, 4}
R = {(1, 1), (1, 2), (2, 1), (2, 2), (3, 1), (3, 3), (4, 4)}
Symmetric Relations
A relation R is symmetric if (a, b) ∊ R implies (b, a) ∊ R
Example:
B = {1, 2, 3}
R = {(1, 2), (1, 3), (2, 1), (3, 1)}
Anti-Symmetric Relations
A relation R on a set is antisymmetric if (a, b) ∊ A, if (a, b) ∊ R and
(b, a) ∊ R, then a = b
Example:
A = {1, 2, 3}
R = {(1, 1), (1, 2), (1, 3), (3, 3)}
Transitive Relations
A relation R on a set is transitive if whenever (a, b) ∊ R and (b, c) ∊
R, then(a, c) ∊ R, {a, b, c} ∊ A.
Example:
A = {1, 2}
R = {(1, 1), (1, 2), (2, 1), (2, 2)}
Equivalence Relation
A relation R is said to be equivalence if it is reflexive, transitive and
symmetric.
Example:
A = {1, 2, 3, 4}
R = {(1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3),
(4, 4)}
Partial Order of Relation
A relation R is said to be partial order if it is reflexive, transitive and
antisymmetric.
Example:
A = {1, 2, 3, 4}
R = {(1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3),
(4, 4)}
• Reflexive • Antisymmetric • Transitive
(a, a) ∊ R, for every a ∊ A (a, b) ∊ R and (b, a) ∊ R, then a = b (a, b) ∊ R and (b, c) ∊ R, then(a, c) ∊ R, {a, b, c} ∊ A.
Cartesian
Products
Cartesian Product
Philosopher
Mathematician
Scientist
Rene Descartes
(1596–1650)
Cartesian Product
If A and B are two non-empty sets, then their Cartesian product A ×
B is the set of all ordered pair of elements from A and B. An ordered
pair means that two elements are taken from each set.
A × B = {(x, y): x A, y B}
Cartesian Product
The Cartesian product of sets A and B, denoted A x
B, is
A x B = { ( a, b ) | a A b B }.
Cartesian Product
Example: S x C = {(small, pink), (small, lavender),
Let S = { small, medium, large } and (medium, pink), (medium, lavender),
C = { pink, lavender }. (large, pink), (large lavender),}
Enumerate the ordered pairs in S x C. C x S = {(pink, small), (pink, medium),
Enumerate the ordered pairs in C x S. (pink, large), (lavender, small), (lavender,
Enumerate the ordered pairs in x medium), (lavender, large)}
S. xS=
|SxC|=
|SxC|=6
Cartesian Product
Example: (a) A × B = {(7, 2), (7, 4), (7, 6),
If A = {7, 8} and B = {2, (8, 2), (8, 4), (8, 6)}
4, 6} (b) B x A = {(2, 7); (2, 8); (4, 7);
find: (a) A × B, and (4, 8), (6, 7), (6, 8)}
(b) B x A.
Cartesian Product
A x B x C = { ( a, b, c ) | a A b B c C }.
Cartesian Product
Example: A x B x C = {(q, r, 1), (q, r, y), (q, t, 1), (q,
Let A = {q, w, e}, B = { r, t} and t, y), (w, r, 1), (w, r, y), (w, t, 1), (w, t, y),
{(e, r, 1), (e, r, y), (e, t, 1), (e, t, y)}
C = {1, y}
B x C x A = {(r, 1, q), (r, 1, w), (r, 1, e), (r,
Find: A x B x C = {q, w, e} x { r, t} x {1, y} y, q), (r, y, w), (r, y, e), (t, 1, q), (t, 1, w),
(t, 1, e), (t, y, q), (t, y, w)}
: B x C x A = { r, t} x {1, y} x {q, w, e}
Cardinality of Cartesian Coordinates
The cardinality of a set is a measure of a set's size, meaning the number
of elements in the set.
Example: • A x B = {(a, 1), (a, 2), (a, 3), (b,
A = {a, b} and B = {1, 2, 3} 1), (b, 2), (b, 3)}