Home
Random
Recent changes
Special pages
Community portal
Preferences
About Qbase
Disclaimers
Qbase
Search
User menu
Talk
Contributions
Create account
Log in
Editing
De Morgan’s Laws
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= [[De Morgan]]'s Laws - Definition, Explanation, and Examples = '''De Morgan''''s laws are fundamental rules in set theory that describe the relationship between union, intersection, and complements of sets. They help simplify complex set expressions, especially involving complements. == Statements of De Morgan's Laws == Let <math>A</math> and <math>B</math> be two sets and <math>U</math> be the universal set. 1. The complement of the union of two sets is equal to the intersection of their complements: <math> (A \cup B)' = A' \cap B' </math> 2. The complement of the intersection of two sets is equal to the union of their complements: <math> (A \cap B)' = A' \cup B' </math> Here, <math>A'</math> denotes the complement of <math>A</math> with respect to <math>U</math>. == Explanation == - The first law means that everything not in either <math>A</math> or <math>B</math> is exactly the elements not in <math>A</math> and not in <math>B</math>. - The second law means that everything not in both <math>A</math> and <math>B</math> is everything not in <math>A</math> or not in <math>B</math>. == Examples == === Example 1 === Let <math>U = \{1,2,3,4,5,6\}</math> <math>A = \{1,2,3\}</math> <math>B = \{3,4,5\}</math> Calculate <math>(A \cup B)'</math> and <math>A' \cap B'</math>: - <math>A \cup B = \{1,2,3,4,5\}</math> - <math>(A \cup B)' = U - (A \cup B) = \{6\}</math> Find complements: - <math>A' = U - A = \{4,5,6\}</math> - <math>B' = U - B = \{1,2,6\}</math> Calculate intersection of complements: - <math>A' \cap B' = \{4,5,6\} \cap \{1,2,6\} = \{6\}</math> Thus, <math>(A \cup B)' = A' \cap B' = \{6\}</math> === Example 2 === Using the same sets, Calculate <math>(A \cap B)'</math> and <math>A' \cup B'</math>: - <math>A \cap B = \{3\}</math> - <math>(A \cap B)' = U - \{3\} = \{1,2,4,5,6\}</math> Calculate union of complements: - <math>A' \cup B' = \{4,5,6\} \cup \{1,2,6\} = \{1,2,4,5,6\}</math> Therefore, <math>(A \cap B)' = A' \cup B' = \{1,2,4,5,6\}</math> == Summary == * [[De Morgan]]'s laws provide a way to distribute complements over unions and intersections. * These laws are very useful in simplifying set expressions and solving problems in mathematics, logic, and computer science. [[Category:Set Theory]] [[Category:Set Operations]] [[Category:Mathematics]]
Summary:
Please note that all contributions to Qbase may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
My wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)