De Morgan's Laws - Definition, Explanation, and Examples edit

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 edit

Let A and B be two sets and U be the universal set.

1. The complement of the union of two sets is equal to the intersection of their complements:

(AB)=AB

2. The complement of the intersection of two sets is equal to the union of their complements:

(AB)=AB

Here, A denotes the complement of A with respect to U.

Explanation edit

- The first law means that everything not in either A or B is exactly the elements not in A and not in B. - The second law means that everything not in both A and B is everything not in A or not in B.

Examples edit

Example 1 edit

Let

U={1,2,3,4,5,6} A={1,2,3} B={3,4,5}

Calculate (AB) and AB:

- AB={1,2,3,4,5} - (AB)=U(AB)={6}

Find complements:

- A=UA={4,5,6} - B=UB={1,2,6}

Calculate intersection of complements:

- AB={4,5,6}{1,2,6}={6}

Thus,

(AB)=AB={6}

Example 2 edit

Using the same sets,

Calculate (AB) and AB:

- AB={3} - (AB)=U{3}={1,2,4,5,6}

Calculate union of complements:

- AB={4,5,6}{1,2,6}={1,2,4,5,6}

Therefore,

(AB)=AB={1,2,4,5,6}

Summary edit

  • 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.