reflexivity, symmetry, and transitivitypeople.hsc.edu/faculty-staff/robbk/math262/lectures/spring...

24
Reflexivity, Symmetry, and Transitivity Lecture 38 Section 8.2 Robb T. Koether Hampden-Sydney College Mon, Apr 1, 2013 Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 1 / 23

Upload: others

Post on 21-Jan-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

Reflexivity, Symmetry, and TransitivityLecture 38Section 8.2

Robb T. Koether

Hampden-Sydney College

Mon, Apr 1, 2013

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 1 / 23

Page 2: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

1 Three Properties

2 Closures

3 Assignment

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 2 / 23

Page 3: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

Outline

1 Three Properties

2 Closures

3 Assignment

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 3 / 23

Page 4: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

Three Properties

Definition (Reflexive, Symmetric, Transitive)Let R be a relation on a set A. Then

R is reflexive if, for all x ∈ A, (x , x) ∈ R.R is symmetric if, for all x , y ∈ A,

(x , y) ∈ R → (y , x) ∈ R.

R is transitive if, for all x , y , z ∈ A,

((x , y) ∈ R and (y , z) ∈ R)→ (x , z) ∈ R.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 4 / 23

Page 5: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

Three Properties

Reflexivity: Every element of the set A has the relation to itself.Symmetry: If any element x ∈ A has the relation to some elementy ∈ A, then y has the same relation to x .Transitivity: If any element x ∈ A has the relation to some elementy ∈ A and that element y has the same relation to some elementz ∈ A, then x has that relation to z.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 5 / 23

Page 6: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

Examples

Define a relation R on Z by (x , y) ∈ R if 5 | (x − y).Show that R is reflexive, symmetric, and transitive.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 6 / 23

Page 7: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

Examples

Which of the following relations are reflexive? symmetric?transitive?

a | b on Z.gcd(a, b) > 1 on Z.x × y < 0 on R.A ⊆ B on P(X ).p → q on a set of statements.p ∧ q ≡ p on a set of statements.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 7 / 23

Page 8: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

Outline

1 Three Properties

2 Closures

3 Assignment

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 8 / 23

Page 9: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

The Reflexive Closure

Definition (Reflexive closure)Let A be a set and let R be a relation on A. The reflexive closure of R,denoted Rr , is

R ∪ {(a, a) | a ∈ A}.

Rr is the smallest relation on A that contains R and is reflexive.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 9 / 23

Page 10: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

The Graph of the Reflexive Closure

b

a

d f

c

e

b

a

d f

c

e

Add loops to get the graph of the reflexive closure.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 10 / 23

Page 11: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

Examples

What is the reflexive closure of < on R?What is the reflexive closure of ⊂ on P(X )?What is the reflexive closure of ≡ modn on Z.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 11 / 23

Page 12: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

The Symmetric Closure

Definition (Symmetric closure)Let A be a set and let R be a relation on A. The symmetric closure ofR, denoted Rs, is

R ∪ {(b, a) | (a, b) ∈ R}.

Rs is the smallest relation on A that contains R and is symmetric.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 12 / 23

Page 13: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

The Graph of the Symmetric Closure

b

a

d f

c

e

b

a

d f

c

e

Make every arrow double-ended to get the graph of the symmetricclosure.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 13 / 23

Page 14: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

Examples

What is the symmetric closure of < on R?What is the symmetric closure of ⊂ on P(X )?What is the symmetric closure of ≡ modn on Z.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 14 / 23

Page 15: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

The Transitive Closure

Definition (Transitive closure)Let A be a set and let R be a relation on A. The transitive closure of R,denoted Rt , is the smallest subset of A× A that contains R and istransitive.

To find the transitive closure of a relation requires an algorithm.It is not enough to define

Rt = R ∪ {(a, c) | (a, b), (b, c) ∈ R}.

Why not?

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 15 / 23

Page 16: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

The Transitive Closure

Given a relation R on a set A, the following procedure will produceRt .

Let n = 1 and let R0 = ∅ and R1 = R.While Rn 6= Rn−1, do the following.

Let Rn+1 = Rn ∪ {(a, c) | (a, b), (b, c) ∈ Rn}.n← n + 1.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 16 / 23

Page 17: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

The Graph of the Transitive Closure

b

a

d f

c

e

b

a

d f

c

e

R1 R2

Connect all back-to-back arrows.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 17 / 23

Page 18: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

The Graph of the Transitive Closure

b

a

d f

c

e

b

a

d f

c

e

R2 R3

Connect all back-to-back arrows again.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 17 / 23

Page 19: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

Examples

What is the transitive closure of (a, b) ∈ R on Z defined byb = a + 1?What is the transitive closure of (A, B) ∈ R on P({1, 2, 3}) definedby A ∩ B 6= ∅?What is the transitive closure of (A, B) ∈ R on P(Z) defined by|A− B| <∞.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 18 / 23

Page 20: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

All Three Closures

b

a

d f

c

e

b

a

d f

c

e

We can do all three closures at the same time.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 19 / 23

Page 21: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

Example

Define R on Z by (a, b) ∈ R if a− b = 2.Find the reflexive, symmetric, and transitive closure of R.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 20 / 23

Page 22: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

Outline

1 Three Properties

2 Closures

3 Assignment

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 21 / 23

Page 23: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

Assignment

AssignmentRead Sections 8.2, pages 449 - 457.Exercises 2, 10, 14, 17, 19, 22, 23, 29, 35, 36, 52, 53, page 458.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 22 / 23

Page 24: Reflexivity, Symmetry, and Transitivitypeople.hsc.edu/faculty-staff/robbk/Math262/Lectures/Spring 2013/Lecture 38...Add loops to get the graph of the reflexive closure. Robb T. Koether

Collected Homework 10

Collected Homework 10Exercises 11, 17, page 426.Exercises 9, 12, 15, page 439.Exercises 11, 14, page 448.

Robb T. Koether (Hampden-Sydney College) Reflexivity, Symmetry, and Transitivity Mon, Apr 1, 2013 23 / 23