# Symmetric difference of relationships

1. Dec 17, 2012

### nicnicman

1. The problem statement, all variables and given/known data
2. Let R1 = {(1,1),(1,2),(2,3),(3.4), (2,4) } and
R2 = {(1,1),(2,2),(2,3),(3,3),(3,4) } be relations from {1,2,3} to {1,2,3,4}

R1⨁ R2

2. Relevant equations

3. The attempt at a solution

R1⨁ R2 = {(1,2), (2,2), (2, 4), (3,3)}

Is this correct?

2. Dec 17, 2012

### micromass

If you defined

$$R_1\oplus R_2 = (R_1\cup R_2)\setminus (R_1 \cap R_2)$$

3. Dec 17, 2012

### nicnicman

Actually, I defined it as (R1 - R2) ∪ (R2 - R1). How's that?

4. Dec 17, 2012

### micromass

That's the same thing as what I wrote. Maybe you want to prove it as an exercise. But in any case, your solution is fine!

5. Dec 17, 2012

### nicnicman

Yeah, that would probably help me understand it better. Thanks.