What is the Symmetric Difference of 2 Sets?

  Рет қаралды 14,125

Wrath of Math

Wrath of Math

Күн бұрын

Пікірлер: 24
@robincondite
@robincondite 6 жыл бұрын
Perfect and quick explanation! Thank you!
@WrathofMath
@WrathofMath 6 жыл бұрын
You're welcome, I am glad it helped! Let me know if there are ever any other lessons you'd like to see on the channel! Thanks for watching!
@AtlehangClarkHlapisi
@AtlehangClarkHlapisi 5 ай бұрын
simple and easy thanks!
@WrathofMath
@WrathofMath 5 ай бұрын
You're welcome! Thanks for watching!
@mathewabraham1294
@mathewabraham1294 7 жыл бұрын
It really helped me.. Thankyou
@WrathofMath
@WrathofMath 7 жыл бұрын
+Mathew Abraham Thanks for watching Matthew, glad it helped!
@siddhavinayakacharya5409
@siddhavinayakacharya5409 5 жыл бұрын
sir if 2 sets does not having any common element than what will be the difference? is it an empty or null set
@WrathofMath
@WrathofMath 5 жыл бұрын
Thanks for watching and for the question! Let A and B be two sets with no common elements, meaning their intersection is empty. Remember that the symmetric difference is the set of all elements that are in A, or in B, but not in both! So let's give the symmetric difference of A and B a name, let's call it D. Thus, D has all elements that are in A or in B, but not in both. So what elements does it have? Remember that A and B have no elements in common!
@azizhani33
@azizhani33 3 жыл бұрын
As per the explanation, 1) two sets with no common elements means their intersection is empty, and 2) the symmetric difference of two sets A and B is D = A ∆ B = (A union B) - (A intersect B). Therefore here D = (A union B) - Empty Set = A U B - {} = A U B.
@legacyZon
@legacyZon 6 жыл бұрын
What's the difference between "difference of sets" and "symmetric difference of two sets" ?
@WrathofMath
@WrathofMath 6 жыл бұрын
Great question and thanks for watching! The difference of sets, set difference as it is often called, refers to set subtraction. So if A = { 1, 2, 3 } and B = { 2, 4, 5 }, then A - B, the set B subtracted from A, is equal to { 1, 3 }. We just take anything in A out if it is also in B. So since 2 is in A and B, it is not in A - B. So A - B has all elements of A that are NOT in B. Note also that A - B is often written as A\B, and A - B does not necessarily equal B - A, just like with subtraction on real numbers. So that is set difference, or set subtraction, which is not the same as the symmetric difference of sets. If we took the symmetric difference of A and B, we would have { 1, 3, 4, 5 }. This is the set that has everything in A, as well as everything in B, except for the elements that are in both A and B. Since 2 is in A and B, it is not in the symmetric difference of A and B. The symmetric difference of A and B is defined as (A - B) U (B - A). Looking at that definition, or at venn diagrams of symmetric difference, both help clarify why it is called "symmetric" difference. Does that make sense?
@legacyZon
@legacyZon 6 жыл бұрын
@@WrathofMath So let's say we have to sets- A{1,2,3, 5} and B{1,2,3,4} Then difference of A-B = 5 and B-A = 4 And symmetric difference would be: 5 and 4? Right?!
@WrathofMath
@WrathofMath 6 жыл бұрын
Exactly! Just make sure you write A - B = { 5 } and B - A = { 4 } rather than A - B = 5 and B - A = 4, since they are sets, not numbers.
@legacyZon
@legacyZon 6 жыл бұрын
@@WrathofMath oh okay thanks! Also, what happens when there's no difference? How do we write it?
@WrathofMath
@WrathofMath 6 жыл бұрын
Great question! We wouldn't want to run into problems when we subtract 5 from 5, for example, so it is a good thing we have 0. Similarly, if A = { 1, 2, 3 }, we don't want to run into problems when we evaluate A - A. Good thing we have the empty set! For any set S, S - S = { }. That is just the set containing no elements. It is also written as ∅. Similarly, S Δ S, the symmetric difference of S and S, is also equal to the empty set. EDIT: Also, I didn't mean to imply that only equal sets have the empty set as their difference. For example, if A = { 1, 2, 3 } and B = { 1, 2, 3, 4, 5 }, then A - B = { }. If A is a subset of B, then A - B will always be the empty set. This is not how symmetric difference works, however. Think about when the symmetric difference of two sets would be equal to the empty set, keeping in mind that the symmetric difference of A and B, denoted A Δ B, is equal to (A - B) U (B - A), and I am sure you can figure it out!
@abdulrahmanawad2456
@abdulrahmanawad2456 3 жыл бұрын
can you please explain the same operations but in graph theory ?
@Chris-jose
@Chris-jose Жыл бұрын
Thanks ❤❤🎉
@WrathofMath
@WrathofMath Жыл бұрын
You're welcome 😊
@JoMan-e8j
@JoMan-e8j Жыл бұрын
is it the same even if its BΔA
@tjstarr2960
@tjstarr2960 2 ай бұрын
That is a great question! Usually, in everyday algebra, subtraction is not commutative, meaning you can't switch the order of the two operands (5-6 is NOT equal to 6-5) and get the same answer. But in this case, think of what BΔA means. It can be re-written as "(B ∪ A) - (B ∩ A)", as he stated in the video. Since the union and intersection operations are commutative, we know that (B ∪ A) = (A ∪ B) and also that (B ∩ A) = (A ∩ B), so we can say that (B ∪ A) - (B ∩ A) = (A ∪ B) - (A ∩ B). So, yes, the set difference is commutative, you can switch the order of the 2 sets and it doesn't matter, AΔB = BΔA
@santhosh6594
@santhosh6594 4 жыл бұрын
Good
@WrathofMath
@WrathofMath 4 жыл бұрын
Thank you! Let me know if you ever have any questions!
What are Equal Sets?
2:23
Wrath of Math
Рет қаралды 10 М.
Set Theory | All-in-One Video
29:24
Dr. Will Wood
Рет қаралды 1 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Difference of Two Sets
4:28
Math and Stats Help
Рет қаралды 76 М.
Shading Venn Diagram Regions
14:05
Nicole Hamilton
Рет қаралды 934 М.
Intersection of Sets, Union of Sets and Venn Diagrams
11:49
The Organic Chemistry Tutor
Рет қаралды 2,4 МЛН
What is Group Theory? - Group Theory Ep. 1
31:13
Nemean
Рет қаралды 1,1 МЛН
How to do a PROOF in SET THEORY - Discrete Mathematics
16:30
TrevTutor
Рет қаралды 262 М.
Why You Can't Bring Checkerboards to Math Exams
21:45
Wrath of Math
Рет қаралды 483 М.
What is the Complement of a Set?
6:55
MathsByAli
Рет қаралды 13 М.
Venn Diagrams: Shading Regions for Two Sets
7:54
Patrick J
Рет қаралды 1,3 МЛН
How to STUDY so FAST it feels like CHEATING
8:03
The Angry Explainer
Рет қаралды 2,6 МЛН
What is the Cartesian Product of Sets? | Set Theory
5:47
Wrath of Math
Рет қаралды 22 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН