Symmetric difference of relationships

In summary, the relation R1⨁ R2 is the set of all ordered pairs that are in either R1 or R2, but not both. In this case, R1⨁ R2 = {(1,2), (2,2), (2, 4), (3,3)}. This can also be defined as (R1 - R2) ∪ (R2 - R1).
  • #1
nicnicman
136
0

Homework Statement


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


Homework Equations





The Attempt at a Solution



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

Is this correct?
 
Physics news on Phys.org
  • #2
If you defined

[tex]R_1\oplus R_2 = (R_1\cup R_2)\setminus (R_1 \cap R_2)[/tex]

then your answer is correct.
 
  • #3
Actually, I defined it as (R1 - R2) ∪ (R2 - R1). How's that?
 
  • #4
nicnicman said:
Actually, I defined it as (R1 - R2) ∪ (R2 - R1). How's that?

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
Yeah, that would probably help me understand it better. Thanks.
 

Related to Symmetric difference of relationships

1. What is the symmetric difference of relationships?

The symmetric difference of relationships is a mathematical concept that is used to describe the difference between two sets of relationships. It is also known as the symmetric difference of sets or the symmetric difference of two sets.

2. How is the symmetric difference of relationships calculated?

The symmetric difference of relationships is calculated by taking the union of two sets and then subtracting the intersection of the two sets. This results in a set that contains all the elements that are present in only one of the two sets.

3. What is the purpose of using the symmetric difference of relationships?

The symmetric difference of relationships is often used in data analysis and statistics to compare two sets of data. It helps to identify the unique elements in each set and understand the differences between the two sets.

4. Can the symmetric difference of relationships be applied to non-numerical data?

Yes, the symmetric difference of relationships can be applied to any type of data, including non-numerical data. It is a mathematical concept that can be used to compare any type of set or relationship.

5. Are there any real-world applications of the symmetric difference of relationships?

Yes, the symmetric difference of relationships is used in a variety of fields, including computer science, genetics, and linguistics. It can help identify patterns and differences in large data sets and is also used in machine learning algorithms.

Similar threads

  • Calculus and Beyond Homework Help
Replies
17
Views
10K
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
980
  • Calculus and Beyond Homework Help
Replies
3
Views
994
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
20
Views
4K
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
Back
Top