136
§ 7.2 Equivalence Relations

7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

§ 7.2 Equivalence Relations

Page 2: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be reflexive if xRx for all x ∈ A.

ExampleWhich of the following relations are reflexive, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b)}6 R6 = {(a, a), (a, b), (b, b)}

Page 3: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be reflexive if xRx for all x ∈ A.

ExampleWhich of the following relations are reflexive, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}

2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b)}6 R6 = {(a, a), (a, b), (b, b)}

Page 4: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be reflexive if xRx for all x ∈ A.

ExampleWhich of the following relations are reflexive, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}

3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b)}6 R6 = {(a, a), (a, b), (b, b)}

Page 5: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be reflexive if xRx for all x ∈ A.

ExampleWhich of the following relations are reflexive, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}

4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b)}6 R6 = {(a, a), (a, b), (b, b)}

Page 6: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be reflexive if xRx for all x ∈ A.

ExampleWhich of the following relations are reflexive, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}

5 R5 = {(a, a), (a, b)}6 R6 = {(a, a), (a, b), (b, b)}

Page 7: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be reflexive if xRx for all x ∈ A.

ExampleWhich of the following relations are reflexive, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b)}

6 R6 = {(a, a), (a, b), (b, b)}

Page 8: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be reflexive if xRx for all x ∈ A.

ExampleWhich of the following relations are reflexive, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b)}6 R6 = {(a, a), (a, b), (b, b)}

Page 9: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be symmetric if xRy whenever yRx.

ExampleWhich of the following relations are symmetric, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b), (b, a)}6 R6 = {(a, a), (a, b), (b, b)}

Page 10: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be symmetric if xRy whenever yRx.

ExampleWhich of the following relations are symmetric, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}

2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b), (b, a)}6 R6 = {(a, a), (a, b), (b, b)}

Page 11: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be symmetric if xRy whenever yRx.

ExampleWhich of the following relations are symmetric, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}

3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b), (b, a)}6 R6 = {(a, a), (a, b), (b, b)}

Page 12: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be symmetric if xRy whenever yRx.

ExampleWhich of the following relations are symmetric, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}

4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b), (b, a)}6 R6 = {(a, a), (a, b), (b, b)}

Page 13: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be symmetric if xRy whenever yRx.

ExampleWhich of the following relations are symmetric, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}

5 R5 = {(a, a), (a, b), (b, a)}6 R6 = {(a, a), (a, b), (b, b)}

Page 14: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be symmetric if xRy whenever yRx.

ExampleWhich of the following relations are symmetric, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b), (b, a)}

6 R6 = {(a, a), (a, b), (b, b)}

Page 15: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be symmetric if xRy whenever yRx.

ExampleWhich of the following relations are symmetric, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b), (b, a)}6 R6 = {(a, a), (a, b), (b, b)}

Page 16: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be antisymmetric if xRy whenevery 6 Rx.

ExampleWhich of the following relations are antisymmetric, where each isdefined on the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a), (a, c)}2 R2 = {(a, b), (b, b), (b, c), (a, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b), (b, a)}6 R6 = {(a, a), (a, b), (b, b)}

Page 17: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be antisymmetric if xRy whenevery 6 Rx.

ExampleWhich of the following relations are antisymmetric, where each isdefined on the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a), (a, c)}

2 R2 = {(a, b), (b, b), (b, c), (a, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b), (b, a)}6 R6 = {(a, a), (a, b), (b, b)}

Page 18: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be antisymmetric if xRy whenevery 6 Rx.

ExampleWhich of the following relations are antisymmetric, where each isdefined on the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a), (a, c)}2 R2 = {(a, b), (b, b), (b, c), (a, c)}

3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b), (b, a)}6 R6 = {(a, a), (a, b), (b, b)}

Page 19: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be antisymmetric if xRy whenevery 6 Rx.

ExampleWhich of the following relations are antisymmetric, where each isdefined on the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a), (a, c)}2 R2 = {(a, b), (b, b), (b, c), (a, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}

4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b), (b, a)}6 R6 = {(a, a), (a, b), (b, b)}

Page 20: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be antisymmetric if xRy whenevery 6 Rx.

ExampleWhich of the following relations are antisymmetric, where each isdefined on the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a), (a, c)}2 R2 = {(a, b), (b, b), (b, c), (a, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}

5 R5 = {(a, a), (a, b), (b, a)}6 R6 = {(a, a), (a, b), (b, b)}

Page 21: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be antisymmetric if xRy whenevery 6 Rx.

ExampleWhich of the following relations are antisymmetric, where each isdefined on the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a), (a, c)}2 R2 = {(a, b), (b, b), (b, c), (a, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b), (b, a)}

6 R6 = {(a, a), (a, b), (b, b)}

Page 22: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be antisymmetric if xRy whenevery 6 Rx.

ExampleWhich of the following relations are antisymmetric, where each isdefined on the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a), (a, c)}2 R2 = {(a, b), (b, b), (b, c), (a, c)}3 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}4 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}5 R5 = {(a, a), (a, b), (b, a)}6 R6 = {(a, a), (a, b), (b, b)}

Page 23: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be transitive if whenever xRy and yRz,xRz.

ExampleWhich of the following relations are transitive, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}Not transitive because (a, b), (b, a) ∈ R1 but (a, a) 6∈ R1.

2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}Not reflexive because (a, b), (b, c) ∈ R2 but (a, c) 6∈ R2.

Page 24: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be transitive if whenever xRy and yRz,xRz.

ExampleWhich of the following relations are transitive, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}

Not transitive because (a, b), (b, a) ∈ R1 but (a, a) 6∈ R1.2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}

Not reflexive because (a, b), (b, c) ∈ R2 but (a, c) 6∈ R2.

Page 25: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be transitive if whenever xRy and yRz,xRz.

ExampleWhich of the following relations are transitive, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}Not transitive because (a, b), (b, a) ∈ R1 but (a, a) 6∈ R1.

2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}Not reflexive because (a, b), (b, c) ∈ R2 but (a, c) 6∈ R2.

Page 26: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be transitive if whenever xRy and yRz,xRz.

ExampleWhich of the following relations are transitive, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}Not transitive because (a, b), (b, a) ∈ R1 but (a, a) 6∈ R1.

2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}

Not reflexive because (a, b), (b, c) ∈ R2 but (a, c) 6∈ R2.

Page 27: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

DefinitionA relation R : A→ A is said to be transitive if whenever xRy and yRz,xRz.

ExampleWhich of the following relations are transitive, where each is definedon the set S = {a, b, c}?

1 R1 = {(a, b), (b, a), (c, a)}Not transitive because (a, b), (b, a) ∈ R1 but (a, a) 6∈ R1.

2 R2 = {(a, b), (b, b), (b, c), (c, b), (c, c)}Not reflexive because (a, b), (b, c) ∈ R2 but (a, c) 6∈ R2.

Page 28: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

Example1 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}

This is transitive.2 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}

This is transitive.3 R5 = {(a, a), (a, b)}

This is transitive.4 R6 = {(a, b), (a, c)}

This is transitive.

Page 29: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

Example1 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}

This is transitive.

2 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}This is transitive.

3 R5 = {(a, a), (a, b)}This is transitive.

4 R6 = {(a, b), (a, c)}This is transitive.

Page 30: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

Example1 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}

This is transitive.2 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}

This is transitive.3 R5 = {(a, a), (a, b)}

This is transitive.4 R6 = {(a, b), (a, c)}

This is transitive.

Page 31: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

Example1 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}

This is transitive.2 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}

This is transitive.

3 R5 = {(a, a), (a, b)}This is transitive.

4 R6 = {(a, b), (a, c)}This is transitive.

Page 32: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

Example1 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}

This is transitive.2 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}

This is transitive.3 R5 = {(a, a), (a, b)}

This is transitive.4 R6 = {(a, b), (a, c)}

This is transitive.

Page 33: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

Example1 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}

This is transitive.2 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}

This is transitive.3 R5 = {(a, a), (a, b)}

This is transitive.

4 R6 = {(a, b), (a, c)}This is transitive.

Page 34: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

Example1 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}

This is transitive.2 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}

This is transitive.3 R5 = {(a, a), (a, b)}

This is transitive.4 R6 = {(a, b), (a, c)}

This is transitive.

Page 35: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

Example1 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}

This is transitive.2 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}

This is transitive.3 R5 = {(a, a), (a, b)}

This is transitive.4 R6 = {(a, b), (a, c)}

This is transitive.

Page 36: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Properties of Relations

Example1 R3 = {(a, a), (a, c), (b, b), (c, a), (c, c)}

This is transitive.2 R4 = {(a, a), (a, b), (b, b), (b, c), (a, c)}

This is transitive.3 R5 = {(a, a), (a, b)}

This is transitive.4 R6 = {(a, b), (a, c)}

This is transitive.

Page 37: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Back To Common Examples

Some Common ExamplesLet Ri : Z→ Z. Determine if each of the following is reflexive,symmetric, antisymmetric, or transitive. Note: a relation could bemore than one of these ...

R1 = {(a, b) | a ≥ b}

R2 = {(a, b) | a < b}R3 = {(a, b) | (a = b) ∨ (a 6= b)}R4 = {(a, b) | a = b + 1}R5 = {(a, b) | a + b ≤ 3}

Page 38: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Back To Common Examples

Some Common ExamplesLet Ri : Z→ Z. Determine if each of the following is reflexive,symmetric, antisymmetric, or transitive. Note: a relation could bemore than one of these ...

R1 = {(a, b) | a ≥ b}R2 = {(a, b) | a < b}

R3 = {(a, b) | (a = b) ∨ (a 6= b)}R4 = {(a, b) | a = b + 1}R5 = {(a, b) | a + b ≤ 3}

Page 39: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Back To Common Examples

Some Common ExamplesLet Ri : Z→ Z. Determine if each of the following is reflexive,symmetric, antisymmetric, or transitive. Note: a relation could bemore than one of these ...

R1 = {(a, b) | a ≥ b}R2 = {(a, b) | a < b}R3 = {(a, b) | (a = b) ∨ (a 6= b)}

R4 = {(a, b) | a = b + 1}R5 = {(a, b) | a + b ≤ 3}

Page 40: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Back To Common Examples

Some Common ExamplesLet Ri : Z→ Z. Determine if each of the following is reflexive,symmetric, antisymmetric, or transitive. Note: a relation could bemore than one of these ...

R1 = {(a, b) | a ≥ b}R2 = {(a, b) | a < b}R3 = {(a, b) | (a = b) ∨ (a 6= b)}R4 = {(a, b) | a = b + 1}

R5 = {(a, b) | a + b ≤ 3}

Page 41: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Back To Common Examples

Some Common ExamplesLet Ri : Z→ Z. Determine if each of the following is reflexive,symmetric, antisymmetric, or transitive. Note: a relation could bemore than one of these ...

R1 = {(a, b) | a ≥ b}R2 = {(a, b) | a < b}R3 = {(a, b) | (a = b) ∨ (a 6= b)}R4 = {(a, b) | a = b + 1}R5 = {(a, b) | a + b ≤ 3}

Page 42: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Equivalence Relations

DefinitionA relation is called an equivalence relation if it is symmetric, reflexiveand transitive.

From our last example, which are equivalence relations?

Common Equivalence Relations

R1 = {(a, b) | a ≥ b}R2 = {(a, b) | a < b}R3 = {(a, b) | (a = b) ∨ (a 6= b)}R4 = {(a, b) | a = b + 1}R5 = {(a, b) | a + b ≤ 3}

Page 43: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Equivalence Relations

DefinitionA relation is called an equivalence relation if it is symmetric, reflexiveand transitive.

From our last example, which are equivalence relations?

Common Equivalence Relations

R1 = {(a, b) | a ≥ b}

R2 = {(a, b) | a < b}R3 = {(a, b) | (a = b) ∨ (a 6= b)}R4 = {(a, b) | a = b + 1}R5 = {(a, b) | a + b ≤ 3}

Page 44: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Equivalence Relations

DefinitionA relation is called an equivalence relation if it is symmetric, reflexiveand transitive.

From our last example, which are equivalence relations?

Common Equivalence Relations

R1 = {(a, b) | a ≥ b}R2 = {(a, b) | a < b}

R3 = {(a, b) | (a = b) ∨ (a 6= b)}R4 = {(a, b) | a = b + 1}R5 = {(a, b) | a + b ≤ 3}

Page 45: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Equivalence Relations

DefinitionA relation is called an equivalence relation if it is symmetric, reflexiveand transitive.

From our last example, which are equivalence relations?

Common Equivalence Relations

R1 = {(a, b) | a ≥ b}R2 = {(a, b) | a < b}R3 = {(a, b) | (a = b) ∨ (a 6= b)}

R4 = {(a, b) | a = b + 1}R5 = {(a, b) | a + b ≤ 3}

Page 46: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Equivalence Relations

DefinitionA relation is called an equivalence relation if it is symmetric, reflexiveand transitive.

From our last example, which are equivalence relations?

Common Equivalence Relations

R1 = {(a, b) | a ≥ b}R2 = {(a, b) | a < b}R3 = {(a, b) | (a = b) ∨ (a 6= b)}R4 = {(a, b) | a = b + 1}

R5 = {(a, b) | a + b ≤ 3}

Page 47: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Equivalence Relations

DefinitionA relation is called an equivalence relation if it is symmetric, reflexiveand transitive.

From our last example, which are equivalence relations?

Common Equivalence Relations

R1 = {(a, b) | a ≥ b}R2 = {(a, b) | a < b}R3 = {(a, b) | (a = b) ∨ (a 6= b)}R4 = {(a, b) | a = b + 1}R5 = {(a, b) | a + b ≤ 3}

Page 48: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

ExampleA relation R is defined on Z by xRy if x + 3y is even. Prove R is anequivalence relation.

Proof.First, we show R is reflexive. Let a ∈ Z. Then a + 3a = 4a = 2(2a)is even since 2a ∈ Z. Therefore, R is reflexive.

Page 49: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

ExampleA relation R is defined on Z by xRy if x + 3y is even. Prove R is anequivalence relation.

Proof.First, we show R is reflexive.

Let a ∈ Z. Then a + 3a = 4a = 2(2a)is even since 2a ∈ Z. Therefore, R is reflexive.

Page 50: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

ExampleA relation R is defined on Z by xRy if x + 3y is even. Prove R is anequivalence relation.

Proof.First, we show R is reflexive. Let a ∈ Z. Then a + 3a = 4a = 2(2a)is even since 2a ∈ Z. Therefore, R is reflexive.

Page 51: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

ExampleA relation R is defined on Z by xRy if x + 3y is even. Prove R is anequivalence relation.

Proof.First, we show R is reflexive. Let a ∈ Z. Then a + 3a = 4a = 2(2a)is even since 2a ∈ Z. Therefore, R is reflexive.

Page 52: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is symmetric.

Assume aRb. Then a + 3b is even. So,there exists k ∈ Z such that a + 3b = 2k, or that a = 2k − 3b.Consider

b + 3a = b + 3(2k − 3b)

= b + 6k − 9b

= 6k − 8b

= 2(3k − 4b)

Since 3k − 4b ∈ Z, b + 3a is even. Therefore, bRa and so R issymmetric.

Page 53: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is symmetric. Assume aRb. Then a + 3b is even.

So,there exists k ∈ Z such that a + 3b = 2k, or that a = 2k − 3b.Consider

b + 3a = b + 3(2k − 3b)

= b + 6k − 9b

= 6k − 8b

= 2(3k − 4b)

Since 3k − 4b ∈ Z, b + 3a is even. Therefore, bRa and so R issymmetric.

Page 54: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is symmetric. Assume aRb. Then a + 3b is even. So,there exists k ∈ Z such that a + 3b = 2k, or that a = 2k − 3b.

Consider

b + 3a = b + 3(2k − 3b)

= b + 6k − 9b

= 6k − 8b

= 2(3k − 4b)

Since 3k − 4b ∈ Z, b + 3a is even. Therefore, bRa and so R issymmetric.

Page 55: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is symmetric. Assume aRb. Then a + 3b is even. So,there exists k ∈ Z such that a + 3b = 2k, or that a = 2k − 3b.Consider

b + 3a = b + 3(2k − 3b)

= b + 6k − 9b

= 6k − 8b

= 2(3k − 4b)

Since 3k − 4b ∈ Z, b + 3a is even. Therefore, bRa and so R issymmetric.

Page 56: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is symmetric. Assume aRb. Then a + 3b is even. So,there exists k ∈ Z such that a + 3b = 2k, or that a = 2k − 3b.Consider

b + 3a = b + 3(2k − 3b)

= b + 6k − 9b

= 6k − 8b

= 2(3k − 4b)

Since 3k − 4b ∈ Z, b + 3a is even. Therefore, bRa and so R issymmetric.

Page 57: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is symmetric. Assume aRb. Then a + 3b is even. So,there exists k ∈ Z such that a + 3b = 2k, or that a = 2k − 3b.Consider

b + 3a = b + 3(2k − 3b)

= b + 6k − 9b

= 6k − 8b

= 2(3k − 4b)

Since 3k − 4b ∈ Z, b + 3a is even. Therefore, bRa and so R issymmetric.

Page 58: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is symmetric. Assume aRb. Then a + 3b is even. So,there exists k ∈ Z such that a + 3b = 2k, or that a = 2k − 3b.Consider

b + 3a = b + 3(2k − 3b)

= b + 6k − 9b

= 6k − 8b

= 2(3k − 4b)

Since 3k − 4b ∈ Z, b + 3a is even. Therefore, bRa and so R issymmetric.

Page 59: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is symmetric. Assume aRb. Then a + 3b is even. So,there exists k ∈ Z such that a + 3b = 2k, or that a = 2k − 3b.Consider

b + 3a = b + 3(2k − 3b)

= b + 6k − 9b

= 6k − 8b

= 2(3k − 4b)

Since 3k − 4b ∈ Z, b + 3a is even.

Therefore, bRa and so R issymmetric.

Page 60: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is symmetric. Assume aRb. Then a + 3b is even. So,there exists k ∈ Z such that a + 3b = 2k, or that a = 2k − 3b.Consider

b + 3a = b + 3(2k − 3b)

= b + 6k − 9b

= 6k − 8b

= 2(3k − 4b)

Since 3k − 4b ∈ Z, b + 3a is even. Therefore, bRa and so R issymmetric.

Page 61: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is transitive.

Assume aRb and bRc. Hence, a + 3band b + 3c are even. So, there exists integers n and m such thata + 3b = 2n and b + 3c = 2m. That is, a = 2n− 3b and3c = 2m− b. Consider

a + 3c = 2n− 3b + 2m− b

= 2n + 2m− 4b

= 2(n + m− 2b)

Since n + m− 2b ∈ Z, it follows that a + 3c is even, and so aRc.Therefore, R is transitive.

Since R is reflexive, symmetric and transitive, R is an equivalencerelation.

Page 62: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is transitive. Assume aRb and bRc.

Hence, a + 3band b + 3c are even. So, there exists integers n and m such thata + 3b = 2n and b + 3c = 2m. That is, a = 2n− 3b and3c = 2m− b. Consider

a + 3c = 2n− 3b + 2m− b

= 2n + 2m− 4b

= 2(n + m− 2b)

Since n + m− 2b ∈ Z, it follows that a + 3c is even, and so aRc.Therefore, R is transitive.

Since R is reflexive, symmetric and transitive, R is an equivalencerelation.

Page 63: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is transitive. Assume aRb and bRc. Hence, a + 3band b + 3c are even.

So, there exists integers n and m such thata + 3b = 2n and b + 3c = 2m. That is, a = 2n− 3b and3c = 2m− b. Consider

a + 3c = 2n− 3b + 2m− b

= 2n + 2m− 4b

= 2(n + m− 2b)

Since n + m− 2b ∈ Z, it follows that a + 3c is even, and so aRc.Therefore, R is transitive.

Since R is reflexive, symmetric and transitive, R is an equivalencerelation.

Page 64: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is transitive. Assume aRb and bRc. Hence, a + 3band b + 3c are even. So, there exists integers n and m such thata + 3b = 2n and b + 3c = 2m. That is, a = 2n− 3b and3c = 2m− b.

Consider

a + 3c = 2n− 3b + 2m− b

= 2n + 2m− 4b

= 2(n + m− 2b)

Since n + m− 2b ∈ Z, it follows that a + 3c is even, and so aRc.Therefore, R is transitive.

Since R is reflexive, symmetric and transitive, R is an equivalencerelation.

Page 65: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is transitive. Assume aRb and bRc. Hence, a + 3band b + 3c are even. So, there exists integers n and m such thata + 3b = 2n and b + 3c = 2m. That is, a = 2n− 3b and3c = 2m− b. Consider

a + 3c = 2n− 3b + 2m− b

= 2n + 2m− 4b

= 2(n + m− 2b)

Since n + m− 2b ∈ Z, it follows that a + 3c is even, and so aRc.Therefore, R is transitive.

Since R is reflexive, symmetric and transitive, R is an equivalencerelation.

Page 66: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is transitive. Assume aRb and bRc. Hence, a + 3band b + 3c are even. So, there exists integers n and m such thata + 3b = 2n and b + 3c = 2m. That is, a = 2n− 3b and3c = 2m− b. Consider

a + 3c = 2n− 3b + 2m− b

= 2n + 2m− 4b

= 2(n + m− 2b)

Since n + m− 2b ∈ Z, it follows that a + 3c is even, and so aRc.Therefore, R is transitive.

Since R is reflexive, symmetric and transitive, R is an equivalencerelation.

Page 67: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is transitive. Assume aRb and bRc. Hence, a + 3band b + 3c are even. So, there exists integers n and m such thata + 3b = 2n and b + 3c = 2m. That is, a = 2n− 3b and3c = 2m− b. Consider

a + 3c = 2n− 3b + 2m− b

= 2n + 2m− 4b

= 2(n + m− 2b)

Since n + m− 2b ∈ Z, it follows that a + 3c is even, and so aRc.Therefore, R is transitive.

Since R is reflexive, symmetric and transitive, R is an equivalencerelation.

Page 68: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is transitive. Assume aRb and bRc. Hence, a + 3band b + 3c are even. So, there exists integers n and m such thata + 3b = 2n and b + 3c = 2m. That is, a = 2n− 3b and3c = 2m− b. Consider

a + 3c = 2n− 3b + 2m− b

= 2n + 2m− 4b

= 2(n + m− 2b)

Since n + m− 2b ∈ Z, it follows that a + 3c is even, and so aRc.Therefore, R is transitive.

Since R is reflexive, symmetric and transitive, R is an equivalencerelation.

Page 69: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

An Equivalence Relation Proof

Proof.We now show R is transitive. Assume aRb and bRc. Hence, a + 3band b + 3c are even. So, there exists integers n and m such thata + 3b = 2n and b + 3c = 2m. That is, a = 2n− 3b and3c = 2m− b. Consider

a + 3c = 2n− 3b + 2m− b

= 2n + 2m− 4b

= 2(n + m− 2b)

Since n + m− 2b ∈ Z, it follows that a + 3c is even, and so aRc.Therefore, R is transitive.

Since R is reflexive, symmetric and transitive, R is an equivalencerelation.

Page 70: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Another Example

Example

Let H = {4k | k ∈ Z}.A relation R is defined on Z by aRb ifa− b ∈ H. Show that R is an equivalence relation.

Proof.Reflexive: Let a ∈ Z. Since a− a = 0 = 4 · 0, it follows that aRa.Symmetric: Assume aRb, where a, b ∈ Z. Then, a− b = 4k for somek ∈ Z. Then, b− a = 4(−k), and since −k ∈ Z, it follows thatb− a ∈ H. Therefore, bRa.

Page 71: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Another Example

Example

Let H = {4k | k ∈ Z}.A relation R is defined on Z by aRb ifa− b ∈ H. Show that R is an equivalence relation.

Proof.Reflexive:

Let a ∈ Z. Since a− a = 0 = 4 · 0, it follows that aRa.Symmetric: Assume aRb, where a, b ∈ Z. Then, a− b = 4k for somek ∈ Z. Then, b− a = 4(−k), and since −k ∈ Z, it follows thatb− a ∈ H. Therefore, bRa.

Page 72: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Another Example

Example

Let H = {4k | k ∈ Z}.A relation R is defined on Z by aRb ifa− b ∈ H. Show that R is an equivalence relation.

Proof.Reflexive: Let a ∈ Z. Since a− a = 0 = 4 · 0, it follows that aRa.

Symmetric: Assume aRb, where a, b ∈ Z. Then, a− b = 4k for somek ∈ Z. Then, b− a = 4(−k), and since −k ∈ Z, it follows thatb− a ∈ H. Therefore, bRa.

Page 73: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Another Example

Example

Let H = {4k | k ∈ Z}.A relation R is defined on Z by aRb ifa− b ∈ H. Show that R is an equivalence relation.

Proof.Reflexive: Let a ∈ Z. Since a− a = 0 = 4 · 0, it follows that aRa.Symmetric:

Assume aRb, where a, b ∈ Z. Then, a− b = 4k for somek ∈ Z. Then, b− a = 4(−k), and since −k ∈ Z, it follows thatb− a ∈ H. Therefore, bRa.

Page 74: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Another Example

Example

Let H = {4k | k ∈ Z}.A relation R is defined on Z by aRb ifa− b ∈ H. Show that R is an equivalence relation.

Proof.Reflexive: Let a ∈ Z. Since a− a = 0 = 4 · 0, it follows that aRa.Symmetric: Assume aRb, where a, b ∈ Z.

Then, a− b = 4k for somek ∈ Z. Then, b− a = 4(−k), and since −k ∈ Z, it follows thatb− a ∈ H. Therefore, bRa.

Page 75: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Another Example

Example

Let H = {4k | k ∈ Z}.A relation R is defined on Z by aRb ifa− b ∈ H. Show that R is an equivalence relation.

Proof.Reflexive: Let a ∈ Z. Since a− a = 0 = 4 · 0, it follows that aRa.Symmetric: Assume aRb, where a, b ∈ Z. Then, a− b = 4k for somek ∈ Z.

Then, b− a = 4(−k), and since −k ∈ Z, it follows thatb− a ∈ H. Therefore, bRa.

Page 76: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Another Example

Example

Let H = {4k | k ∈ Z}.A relation R is defined on Z by aRb ifa− b ∈ H. Show that R is an equivalence relation.

Proof.Reflexive: Let a ∈ Z. Since a− a = 0 = 4 · 0, it follows that aRa.Symmetric: Assume aRb, where a, b ∈ Z. Then, a− b = 4k for somek ∈ Z. Then, b− a = 4(−k), and since −k ∈ Z, it follows thatb− a ∈ H. Therefore, bRa.

Page 77: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Another Example

Proof.Transitive:

Assume aRb and bRc for a, b, c ∈ Z. Then a− b ∈ H andb− c ∈ H. Then, there exists integers k and l such that a− b = 4kand b− c = 4l. Therefore,

a− c = (a− b) + (b− c)

= 4k + 4l

= 4(k + l)

Since k + l ∈ Z, it follows that a− c ∈ H and so aRc.

Page 78: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Another Example

Proof.Transitive: Assume aRb and bRc for a, b, c ∈ Z.

Then a− b ∈ H andb− c ∈ H. Then, there exists integers k and l such that a− b = 4kand b− c = 4l. Therefore,

a− c = (a− b) + (b− c)

= 4k + 4l

= 4(k + l)

Since k + l ∈ Z, it follows that a− c ∈ H and so aRc.

Page 79: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Another Example

Proof.Transitive: Assume aRb and bRc for a, b, c ∈ Z. Then a− b ∈ H andb− c ∈ H.

Then, there exists integers k and l such that a− b = 4kand b− c = 4l. Therefore,

a− c = (a− b) + (b− c)

= 4k + 4l

= 4(k + l)

Since k + l ∈ Z, it follows that a− c ∈ H and so aRc.

Page 80: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Another Example

Proof.Transitive: Assume aRb and bRc for a, b, c ∈ Z. Then a− b ∈ H andb− c ∈ H. Then, there exists integers k and l such that a− b = 4kand b− c = 4l.

Therefore,

a− c = (a− b) + (b− c)

= 4k + 4l

= 4(k + l)

Since k + l ∈ Z, it follows that a− c ∈ H and so aRc.

Page 81: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Another Example

Proof.Transitive: Assume aRb and bRc for a, b, c ∈ Z. Then a− b ∈ H andb− c ∈ H. Then, there exists integers k and l such that a− b = 4kand b− c = 4l. Therefore,

a− c = (a− b) + (b− c)

= 4k + 4l

= 4(k + l)

Since k + l ∈ Z, it follows that a− c ∈ H and so aRc.

Page 82: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Another Example

Proof.Transitive: Assume aRb and bRc for a, b, c ∈ Z. Then a− b ∈ H andb− c ∈ H. Then, there exists integers k and l such that a− b = 4kand b− c = 4l. Therefore,

a− c = (a− b) + (b− c)

= 4k + 4l

= 4(k + l)

Since k + l ∈ Z, it follows that a− c ∈ H and so aRc.

Page 83: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Another Example

Proof.Transitive: Assume aRb and bRc for a, b, c ∈ Z. Then a− b ∈ H andb− c ∈ H. Then, there exists integers k and l such that a− b = 4kand b− c = 4l. Therefore,

a− c = (a− b) + (b− c)

= 4k + 4l

= 4(k + l)

Since k + l ∈ Z, it follows that a− c ∈ H and so aRc.

Page 84: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Another Example

Proof.Transitive: Assume aRb and bRc for a, b, c ∈ Z. Then a− b ∈ H andb− c ∈ H. Then, there exists integers k and l such that a− b = 4kand b− c = 4l. Therefore,

a− c = (a− b) + (b− c)

= 4k + 4l

= 4(k + l)

Since k + l ∈ Z, it follows that a− c ∈ H and so aRc.

Page 85: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

And Another Example

Example

Determine if R is an equivalence relation if (x, y) ∈ R if 3 dividesx + 2y.

Proof.Reflexive: Let x ∈ Z. Then, x + 2x = 3x and 3 | 3x. So, xRx.Symmetric: Suppose x, y ∈ Z such that xRy. Then, x + 2y = 3k forsome integer k. That is, x = 3k − 2y. Consider

y + 2x = y + 2(3k − 2y)

= 6k − 3y

= 3(2k − y)

Since 2k − y ∈ Z, 3 | (y + 2x) and so yRx.

Page 86: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

And Another Example

Example

Determine if R is an equivalence relation if (x, y) ∈ R if 3 dividesx + 2y.

Proof.Reflexive:

Let x ∈ Z. Then, x + 2x = 3x and 3 | 3x. So, xRx.Symmetric: Suppose x, y ∈ Z such that xRy. Then, x + 2y = 3k forsome integer k. That is, x = 3k − 2y. Consider

y + 2x = y + 2(3k − 2y)

= 6k − 3y

= 3(2k − y)

Since 2k − y ∈ Z, 3 | (y + 2x) and so yRx.

Page 87: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

And Another Example

Example

Determine if R is an equivalence relation if (x, y) ∈ R if 3 dividesx + 2y.

Proof.Reflexive: Let x ∈ Z. Then, x + 2x = 3x and 3 | 3x. So, xRx.

Symmetric: Suppose x, y ∈ Z such that xRy. Then, x + 2y = 3k forsome integer k. That is, x = 3k − 2y. Consider

y + 2x = y + 2(3k − 2y)

= 6k − 3y

= 3(2k − y)

Since 2k − y ∈ Z, 3 | (y + 2x) and so yRx.

Page 88: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

And Another Example

Example

Determine if R is an equivalence relation if (x, y) ∈ R if 3 dividesx + 2y.

Proof.Reflexive: Let x ∈ Z. Then, x + 2x = 3x and 3 | 3x. So, xRx.Symmetric: Suppose x, y ∈ Z such that xRy. Then, x + 2y = 3k forsome integer k.

That is, x = 3k − 2y. Consider

y + 2x = y + 2(3k − 2y)

= 6k − 3y

= 3(2k − y)

Since 2k − y ∈ Z, 3 | (y + 2x) and so yRx.

Page 89: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

And Another Example

Example

Determine if R is an equivalence relation if (x, y) ∈ R if 3 dividesx + 2y.

Proof.Reflexive: Let x ∈ Z. Then, x + 2x = 3x and 3 | 3x. So, xRx.Symmetric: Suppose x, y ∈ Z such that xRy. Then, x + 2y = 3k forsome integer k. That is, x = 3k − 2y.

Consider

y + 2x = y + 2(3k − 2y)

= 6k − 3y

= 3(2k − y)

Since 2k − y ∈ Z, 3 | (y + 2x) and so yRx.

Page 90: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

And Another Example

Example

Determine if R is an equivalence relation if (x, y) ∈ R if 3 dividesx + 2y.

Proof.Reflexive: Let x ∈ Z. Then, x + 2x = 3x and 3 | 3x. So, xRx.Symmetric: Suppose x, y ∈ Z such that xRy. Then, x + 2y = 3k forsome integer k. That is, x = 3k − 2y. Consider

y + 2x = y + 2(3k − 2y)

= 6k − 3y

= 3(2k − y)

Since 2k − y ∈ Z, 3 | (y + 2x) and so yRx.

Page 91: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

And Another Example

Example

Determine if R is an equivalence relation if (x, y) ∈ R if 3 dividesx + 2y.

Proof.Reflexive: Let x ∈ Z. Then, x + 2x = 3x and 3 | 3x. So, xRx.Symmetric: Suppose x, y ∈ Z such that xRy. Then, x + 2y = 3k forsome integer k. That is, x = 3k − 2y. Consider

y + 2x = y + 2(3k − 2y)

= 6k − 3y

= 3(2k − y)

Since 2k − y ∈ Z, 3 | (y + 2x) and so yRx.

Page 92: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

And Another Example

Example

Determine if R is an equivalence relation if (x, y) ∈ R if 3 dividesx + 2y.

Proof.Reflexive: Let x ∈ Z. Then, x + 2x = 3x and 3 | 3x. So, xRx.Symmetric: Suppose x, y ∈ Z such that xRy. Then, x + 2y = 3k forsome integer k. That is, x = 3k − 2y. Consider

y + 2x = y + 2(3k − 2y)

= 6k − 3y

= 3(2k − y)

Since 2k − y ∈ Z, 3 | (y + 2x) and so yRx.

Page 93: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

And Another Example

Example

Determine if R is an equivalence relation if (x, y) ∈ R if 3 dividesx + 2y.

Proof.Reflexive: Let x ∈ Z. Then, x + 2x = 3x and 3 | 3x. So, xRx.Symmetric: Suppose x, y ∈ Z such that xRy. Then, x + 2y = 3k forsome integer k. That is, x = 3k − 2y. Consider

y + 2x = y + 2(3k − 2y)

= 6k − 3y

= 3(2k − y)

Since 2k − y ∈ Z, 3 | (y + 2x) and so yRx.

Page 94: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

And Another Example

Proof.Transitive:

Suppose for x, y, z ∈ Z, we have that xRy and yRz. Then,for some k, l ∈ Z, x + 2y = 3k and y + 2z = 3l. That is, x = 3k − 2yand 2z = 3l− y. Consider

x + 2z = (3k − 2y) + (3l− y)

= 3k + 3l− 3y

= 3(k + l− y)

Since k + l− y ∈ Z, 3 | (x + 2z) and so xRz.

Page 95: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

And Another Example

Proof.Transitive: Suppose for x, y, z ∈ Z, we have that xRy and yRz.

Then,for some k, l ∈ Z, x + 2y = 3k and y + 2z = 3l. That is, x = 3k − 2yand 2z = 3l− y. Consider

x + 2z = (3k − 2y) + (3l− y)

= 3k + 3l− 3y

= 3(k + l− y)

Since k + l− y ∈ Z, 3 | (x + 2z) and so xRz.

Page 96: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

And Another Example

Proof.Transitive: Suppose for x, y, z ∈ Z, we have that xRy and yRz. Then,for some k, l ∈ Z, x + 2y = 3k and y + 2z = 3l.

That is, x = 3k − 2yand 2z = 3l− y. Consider

x + 2z = (3k − 2y) + (3l− y)

= 3k + 3l− 3y

= 3(k + l− y)

Since k + l− y ∈ Z, 3 | (x + 2z) and so xRz.

Page 97: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

And Another Example

Proof.Transitive: Suppose for x, y, z ∈ Z, we have that xRy and yRz. Then,for some k, l ∈ Z, x + 2y = 3k and y + 2z = 3l. That is, x = 3k − 2yand 2z = 3l− y.

Consider

x + 2z = (3k − 2y) + (3l− y)

= 3k + 3l− 3y

= 3(k + l− y)

Since k + l− y ∈ Z, 3 | (x + 2z) and so xRz.

Page 98: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

And Another Example

Proof.Transitive: Suppose for x, y, z ∈ Z, we have that xRy and yRz. Then,for some k, l ∈ Z, x + 2y = 3k and y + 2z = 3l. That is, x = 3k − 2yand 2z = 3l− y. Consider

x + 2z = (3k − 2y) + (3l− y)

= 3k + 3l− 3y

= 3(k + l− y)

Since k + l− y ∈ Z, 3 | (x + 2z) and so xRz.

Page 99: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

And Another Example

Proof.Transitive: Suppose for x, y, z ∈ Z, we have that xRy and yRz. Then,for some k, l ∈ Z, x + 2y = 3k and y + 2z = 3l. That is, x = 3k − 2yand 2z = 3l− y. Consider

x + 2z = (3k − 2y) + (3l− y)

= 3k + 3l− 3y

= 3(k + l− y)

Since k + l− y ∈ Z, 3 | (x + 2z) and so xRz.

Page 100: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

And Another Example

Proof.Transitive: Suppose for x, y, z ∈ Z, we have that xRy and yRz. Then,for some k, l ∈ Z, x + 2y = 3k and y + 2z = 3l. That is, x = 3k − 2yand 2z = 3l− y. Consider

x + 2z = (3k − 2y) + (3l− y)

= 3k + 3l− 3y

= 3(k + l− y)

Since k + l− y ∈ Z, 3 | (x + 2z) and so xRz.

Page 101: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

And Another Example

Proof.Transitive: Suppose for x, y, z ∈ Z, we have that xRy and yRz. Then,for some k, l ∈ Z, x + 2y = 3k and y + 2z = 3l. That is, x = 3k − 2yand 2z = 3l− y. Consider

x + 2z = (3k − 2y) + (3l− y)

= 3k + 3l− 3y

= 3(k + l− y)

Since k + l− y ∈ Z, 3 | (x + 2z) and so xRz.

Page 102: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Congruences and Equivalence Relations

Theorem

Let m ∈ Z+.

(a) For every x ∈ Z, x ≡ x (mod m).

(b) For all x, y ∈ Z, if x ≡ y (mod m) then y ≡ x (mod m).

(c) For all x, y, z ∈ Z, if x ≡ y (mod m) and y ≡ z (mod m), thenx ≡ z (mod m).

Page 103: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Congruences and Equivalence Relations

Theorem

Let m ∈ Z+.

(a) For every x ∈ Z, x ≡ x (mod m).

(b) For all x, y ∈ Z, if x ≡ y (mod m) then y ≡ x (mod m).

(c) For all x, y, z ∈ Z, if x ≡ y (mod m) and y ≡ z (mod m), thenx ≡ z (mod m).

Page 104: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Congruences and Equivalence Relations

Theorem

Let m ∈ Z+.

(a) For every x ∈ Z, x ≡ x (mod m).

(b) For all x, y ∈ Z, if x ≡ y (mod m) then y ≡ x (mod m).

(c) For all x, y, z ∈ Z, if x ≡ y (mod m) and y ≡ z (mod m), thenx ≡ z (mod m).

Page 105: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

The Proof

Proof.Proof of (a): x ∈ Z, Then m | 0,

Since x− x = 0, we have thatm | (x− x). That is, x ≡ x (mod m).

Proof of (b): Let x, y ∈ Z. Assume that x ≡ y (mod m). By definition,m | (x− y). Then, ∃k ∈ Z such that mk = x− y. But, m(−k) = y− x,so m | (y− x). That is, y ≡ x (mod m).

Page 106: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

The Proof

Proof.Proof of (a): x ∈ Z, Then m | 0,Since x− x = 0, we have thatm | (x− x).

That is, x ≡ x (mod m).

Proof of (b): Let x, y ∈ Z. Assume that x ≡ y (mod m). By definition,m | (x− y). Then, ∃k ∈ Z such that mk = x− y. But, m(−k) = y− x,so m | (y− x). That is, y ≡ x (mod m).

Page 107: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

The Proof

Proof.Proof of (a): x ∈ Z, Then m | 0,Since x− x = 0, we have thatm | (x− x). That is, x ≡ x (mod m).

Proof of (b): Let x, y ∈ Z. Assume that x ≡ y (mod m). By definition,m | (x− y). Then, ∃k ∈ Z such that mk = x− y. But, m(−k) = y− x,so m | (y− x). That is, y ≡ x (mod m).

Page 108: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

The Proof

Proof.Proof of (a): x ∈ Z, Then m | 0,Since x− x = 0, we have thatm | (x− x). That is, x ≡ x (mod m).

Proof of (b): Let x, y ∈ Z. Assume that x ≡ y (mod m).

By definition,m | (x− y). Then, ∃k ∈ Z such that mk = x− y. But, m(−k) = y− x,so m | (y− x). That is, y ≡ x (mod m).

Page 109: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

The Proof

Proof.Proof of (a): x ∈ Z, Then m | 0,Since x− x = 0, we have thatm | (x− x). That is, x ≡ x (mod m).

Proof of (b): Let x, y ∈ Z. Assume that x ≡ y (mod m). By definition,m | (x− y). Then, ∃k ∈ Z such that mk = x− y.

But, m(−k) = y− x,so m | (y− x). That is, y ≡ x (mod m).

Page 110: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

The Proof

Proof.Proof of (a): x ∈ Z, Then m | 0,Since x− x = 0, we have thatm | (x− x). That is, x ≡ x (mod m).

Proof of (b): Let x, y ∈ Z. Assume that x ≡ y (mod m). By definition,m | (x− y). Then, ∃k ∈ Z such that mk = x− y. But, m(−k) = y− x,so m | (y− x).

That is, y ≡ x (mod m).

Page 111: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

The Proof

Proof.Proof of (a): x ∈ Z, Then m | 0,Since x− x = 0, we have thatm | (x− x). That is, x ≡ x (mod m).

Proof of (b): Let x, y ∈ Z. Assume that x ≡ y (mod m). By definition,m | (x− y). Then, ∃k ∈ Z such that mk = x− y. But, m(−k) = y− x,so m | (y− x). That is, y ≡ x (mod m).

Page 112: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

The Proof

Proof.Proof of (c): Let x, y, z ∈ Z. Assume that x ≡ y (mod m) andy ≡ z (mod m).

Since x ≡ y (mod m), ∃k ∈ Z such that mk = x− y.Since y ≡ z (mod m), ∃l ∈ Z such that ml = y− z.

Now,

x− z = (x− y) + (y− z)

= mk + ml

= m(k + l)

Since k + l ∈ Z, x− z = m(k + l) implies that m | (x− z). That is,x ≡ z (mod m).

Page 113: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

The Proof

Proof.Proof of (c): Let x, y, z ∈ Z. Assume that x ≡ y (mod m) andy ≡ z (mod m). Since x ≡ y (mod m), ∃k ∈ Z such that mk = x− y.

Since y ≡ z (mod m), ∃l ∈ Z such that ml = y− z.

Now,

x− z = (x− y) + (y− z)

= mk + ml

= m(k + l)

Since k + l ∈ Z, x− z = m(k + l) implies that m | (x− z). That is,x ≡ z (mod m).

Page 114: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

The Proof

Proof.Proof of (c): Let x, y, z ∈ Z. Assume that x ≡ y (mod m) andy ≡ z (mod m). Since x ≡ y (mod m), ∃k ∈ Z such that mk = x− y.Since y ≡ z (mod m), ∃l ∈ Z such that ml = y− z.

Now,

x− z = (x− y) + (y− z)

= mk + ml

= m(k + l)

Since k + l ∈ Z, x− z = m(k + l) implies that m | (x− z). That is,x ≡ z (mod m).

Page 115: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

The Proof

Proof.Proof of (c): Let x, y, z ∈ Z. Assume that x ≡ y (mod m) andy ≡ z (mod m). Since x ≡ y (mod m), ∃k ∈ Z such that mk = x− y.Since y ≡ z (mod m), ∃l ∈ Z such that ml = y− z.

Now,

x− z = (x− y) + (y− z)

= mk + ml

= m(k + l)

Since k + l ∈ Z, x− z = m(k + l) implies that m | (x− z). That is,x ≡ z (mod m).

Page 116: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

The Proof

Proof.Proof of (c): Let x, y, z ∈ Z. Assume that x ≡ y (mod m) andy ≡ z (mod m). Since x ≡ y (mod m), ∃k ∈ Z such that mk = x− y.Since y ≡ z (mod m), ∃l ∈ Z such that ml = y− z.

Now,

x− z = (x− y) + (y− z)

= mk + ml

= m(k + l)

Since k + l ∈ Z, x− z = m(k + l) implies that m | (x− z). That is,x ≡ z (mod m).

Page 117: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

The Proof

Proof.Proof of (c): Let x, y, z ∈ Z. Assume that x ≡ y (mod m) andy ≡ z (mod m). Since x ≡ y (mod m), ∃k ∈ Z such that mk = x− y.Since y ≡ z (mod m), ∃l ∈ Z such that ml = y− z.

Now,

x− z = (x− y) + (y− z)

= mk + ml

= m(k + l)

Since k + l ∈ Z, x− z = m(k + l) implies that m | (x− z). That is,x ≡ z (mod m).

Page 118: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

The Proof

Proof.Proof of (c): Let x, y, z ∈ Z. Assume that x ≡ y (mod m) andy ≡ z (mod m). Since x ≡ y (mod m), ∃k ∈ Z such that mk = x− y.Since y ≡ z (mod m), ∃l ∈ Z such that ml = y− z.

Now,

x− z = (x− y) + (y− z)

= mk + ml

= m(k + l)

Since k + l ∈ Z, x− z = m(k + l) implies that m | (x− z). That is,x ≡ z (mod m).

Page 119: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Example

Let R be the relation defined on Z by aRb if 2a + b ≡ 0 (mod 3).Prove R is an equivalence relation.

Proof.Let x ∈ Z. Since 3 | (3x), it follows that 3x ≡ 0 (mod 3). So,2x + x ≡ 0 (mod 3). Thus, R is reflexive.

Page 120: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Example

Let R be the relation defined on Z by aRb if 2a + b ≡ 0 (mod 3).Prove R is an equivalence relation.

Proof.Let x ∈ Z. Since 3 | (3x), it follows that 3x ≡ 0 (mod 3).

So,2x + x ≡ 0 (mod 3). Thus, R is reflexive.

Page 121: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Example

Let R be the relation defined on Z by aRb if 2a + b ≡ 0 (mod 3).Prove R is an equivalence relation.

Proof.Let x ∈ Z. Since 3 | (3x), it follows that 3x ≡ 0 (mod 3). So,2x + x ≡ 0 (mod 3). Thus, R is reflexive.

Page 122: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Proof.Next, we show R is symmetric. Assume xRy, where x, y ∈ Z.

Thus,2x + y ≡ 0 (mod 3) and so 3 | (2x + y), Therefore, 2x + y = 3r forsome r ∈ Z. Hence, y = 3r − 2x.So,

2y + x = 2(3r − 2x) + x

= 6r − 3x

= 3(2r + x)

Since 2r − x ∈ Z, 3 | (2y + x). So, 2y + x ≡ 0 (mod 3). Therefore,yRx and R is symmetric.

Page 123: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Proof.Next, we show R is symmetric. Assume xRy, where x, y ∈ Z. Thus,2x + y ≡ 0 (mod 3) and so 3 | (2x + y),

Therefore, 2x + y = 3r forsome r ∈ Z. Hence, y = 3r − 2x.So,

2y + x = 2(3r − 2x) + x

= 6r − 3x

= 3(2r + x)

Since 2r − x ∈ Z, 3 | (2y + x). So, 2y + x ≡ 0 (mod 3). Therefore,yRx and R is symmetric.

Page 124: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Proof.Next, we show R is symmetric. Assume xRy, where x, y ∈ Z. Thus,2x + y ≡ 0 (mod 3) and so 3 | (2x + y), Therefore, 2x + y = 3r forsome r ∈ Z.

Hence, y = 3r − 2x.So,

2y + x = 2(3r − 2x) + x

= 6r − 3x

= 3(2r + x)

Since 2r − x ∈ Z, 3 | (2y + x). So, 2y + x ≡ 0 (mod 3). Therefore,yRx and R is symmetric.

Page 125: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Proof.Next, we show R is symmetric. Assume xRy, where x, y ∈ Z. Thus,2x + y ≡ 0 (mod 3) and so 3 | (2x + y), Therefore, 2x + y = 3r forsome r ∈ Z. Hence, y = 3r − 2x.So,

2y + x = 2(3r − 2x) + x

= 6r − 3x

= 3(2r + x)

Since 2r − x ∈ Z, 3 | (2y + x). So, 2y + x ≡ 0 (mod 3). Therefore,yRx and R is symmetric.

Page 126: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Proof.Next, we show R is symmetric. Assume xRy, where x, y ∈ Z. Thus,2x + y ≡ 0 (mod 3) and so 3 | (2x + y), Therefore, 2x + y = 3r forsome r ∈ Z. Hence, y = 3r − 2x.So,

2y + x = 2(3r − 2x) + x

= 6r − 3x

= 3(2r + x)

Since 2r − x ∈ Z, 3 | (2y + x). So, 2y + x ≡ 0 (mod 3). Therefore,yRx and R is symmetric.

Page 127: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Proof.Next, we show R is symmetric. Assume xRy, where x, y ∈ Z. Thus,2x + y ≡ 0 (mod 3) and so 3 | (2x + y), Therefore, 2x + y = 3r forsome r ∈ Z. Hence, y = 3r − 2x.So,

2y + x = 2(3r − 2x) + x

= 6r − 3x

= 3(2r + x)

Since 2r − x ∈ Z, 3 | (2y + x). So, 2y + x ≡ 0 (mod 3). Therefore,yRx and R is symmetric.

Page 128: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Proof.Next, we show R is symmetric. Assume xRy, where x, y ∈ Z. Thus,2x + y ≡ 0 (mod 3) and so 3 | (2x + y), Therefore, 2x + y = 3r forsome r ∈ Z. Hence, y = 3r − 2x.So,

2y + x = 2(3r − 2x) + x

= 6r − 3x

= 3(2r + x)

Since 2r − x ∈ Z, 3 | (2y + x). So, 2y + x ≡ 0 (mod 3).

Therefore,yRx and R is symmetric.

Page 129: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Proof.Next, we show R is symmetric. Assume xRy, where x, y ∈ Z. Thus,2x + y ≡ 0 (mod 3) and so 3 | (2x + y), Therefore, 2x + y = 3r forsome r ∈ Z. Hence, y = 3r − 2x.So,

2y + x = 2(3r − 2x) + x

= 6r − 3x

= 3(2r + x)

Since 2r − x ∈ Z, 3 | (2y + x). So, 2y + x ≡ 0 (mod 3). Therefore,yRx and R is symmetric.

Page 130: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Proof.Finally, we show R is transitive. Assume that xRy and yRz, wherex, y, z ∈ Z.

Then 2x + y ≡ 0 (mod 3) and 2y + z ≡ 0 (mod 3). Thus,3 | (2x + y) and 3 | (2y + z). From this, it follows that 2x + y = 3rand 2y + z = 3s for some integers r and s. Adding these twoequations, we obtain

2x + 3y + z = 3r + 3s

so2x + z = 3r + 3s− 3y = 3(r + s− y)

Since r + s− y ∈ Z, 3 | (2x + z); so, 2x + z ≡ 0 (mod 3). Hence, xRzand so R is transitive.

Page 131: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Proof.Finally, we show R is transitive. Assume that xRy and yRz, wherex, y, z ∈ Z. Then 2x + y ≡ 0 (mod 3) and 2y + z ≡ 0 (mod 3).

Thus,3 | (2x + y) and 3 | (2y + z). From this, it follows that 2x + y = 3rand 2y + z = 3s for some integers r and s. Adding these twoequations, we obtain

2x + 3y + z = 3r + 3s

so2x + z = 3r + 3s− 3y = 3(r + s− y)

Since r + s− y ∈ Z, 3 | (2x + z); so, 2x + z ≡ 0 (mod 3). Hence, xRzand so R is transitive.

Page 132: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Proof.Finally, we show R is transitive. Assume that xRy and yRz, wherex, y, z ∈ Z. Then 2x + y ≡ 0 (mod 3) and 2y + z ≡ 0 (mod 3). Thus,3 | (2x + y) and 3 | (2y + z).

From this, it follows that 2x + y = 3rand 2y + z = 3s for some integers r and s. Adding these twoequations, we obtain

2x + 3y + z = 3r + 3s

so2x + z = 3r + 3s− 3y = 3(r + s− y)

Since r + s− y ∈ Z, 3 | (2x + z); so, 2x + z ≡ 0 (mod 3). Hence, xRzand so R is transitive.

Page 133: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Proof.Finally, we show R is transitive. Assume that xRy and yRz, wherex, y, z ∈ Z. Then 2x + y ≡ 0 (mod 3) and 2y + z ≡ 0 (mod 3). Thus,3 | (2x + y) and 3 | (2y + z). From this, it follows that 2x + y = 3rand 2y + z = 3s for some integers r and s.

Adding these twoequations, we obtain

2x + 3y + z = 3r + 3s

so2x + z = 3r + 3s− 3y = 3(r + s− y)

Since r + s− y ∈ Z, 3 | (2x + z); so, 2x + z ≡ 0 (mod 3). Hence, xRzand so R is transitive.

Page 134: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Proof.Finally, we show R is transitive. Assume that xRy and yRz, wherex, y, z ∈ Z. Then 2x + y ≡ 0 (mod 3) and 2y + z ≡ 0 (mod 3). Thus,3 | (2x + y) and 3 | (2y + z). From this, it follows that 2x + y = 3rand 2y + z = 3s for some integers r and s. Adding these twoequations, we obtain

2x + 3y + z = 3r + 3s

so2x + z = 3r + 3s− 3y = 3(r + s− y)

Since r + s− y ∈ Z, 3 | (2x + z); so, 2x + z ≡ 0 (mod 3). Hence, xRzand so R is transitive.

Page 135: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Proof.Finally, we show R is transitive. Assume that xRy and yRz, wherex, y, z ∈ Z. Then 2x + y ≡ 0 (mod 3) and 2y + z ≡ 0 (mod 3). Thus,3 | (2x + y) and 3 | (2y + z). From this, it follows that 2x + y = 3rand 2y + z = 3s for some integers r and s. Adding these twoequations, we obtain

2x + 3y + z = 3r + 3s

so2x + z = 3r + 3s− 3y = 3(r + s− y)

Since r + s− y ∈ Z, 3 | (2x + z); so, 2x + z ≡ 0 (mod 3). Hence, xRzand so R is transitive.

Page 136: 7.2 Equivalence Relationsbtravers.weebly.com/uploads/6/7/2/9/6729909/... · Properties of Relations Definition A relation R : A !A is said to be reflexive if xRx for all x 2A. Example

Example

Proof.Finally, we show R is transitive. Assume that xRy and yRz, wherex, y, z ∈ Z. Then 2x + y ≡ 0 (mod 3) and 2y + z ≡ 0 (mod 3). Thus,3 | (2x + y) and 3 | (2y + z). From this, it follows that 2x + y = 3rand 2y + z = 3s for some integers r and s. Adding these twoequations, we obtain

2x + 3y + z = 3r + 3s

so2x + z = 3r + 3s− 3y = 3(r + s− y)

Since r + s− y ∈ Z, 3 | (2x + z); so, 2x + z ≡ 0 (mod 3). Hence, xRzand so R is transitive.