Use De Morgan's Laws to Write the Negation of the Statement
For sets, De Morgan's Laws are simply observations about the relation between sets and their complements. An easy way to visualize these rules is through Venn Diagrams.
Observe the union of the complements of two sets. On a Venn Diagram, this union covers all space in the Venn Diagram except for the intersection of the two sets. Hence, De Morgan's Law for the complement of an intersection of two sets.
Complement of an Intersection of Two Sets
The complement of the intersection of sets and is equal to the union of and .
A recent survey asked high school students whether or not they planned to go to the upcoming basketball game or the upcoming football game.
-
200 total students were surveyed.
-
58 students stated that they would miss at least one of the games (this includes the students that plan to miss both games).
How many students plan to attend both games?
Observe the intersection of the complements of two sets. On a Venn Diagram, this intersection covers all space in the Venn Diagram except for the union of the two sets. Hence, De Morgan's Law for the complement of a union of two sets.
Complement of a Union of Two Sets
The complement of the union of sets and is equal to the intersection of and .
How many integers between 1 and 1000 (inclusive) are neither multiples of 2 nor multiples of 5?
De Morgan's Laws can be generalized to any number of sets.
Generalization of the Complement of an Intersection of Sets
Let be a set of sets. The complement of the intersection of these sets is:
The and symbols above are used to represent an intersection or union of many sets. For example, suppose there are four sets: , , , and . The union of these sets could be represented by . However, it could be represented more concisely with .
Generalization of the Complement of a Union of Sets
Let be a set of sets. The complement of the union of these sets is:
Because these generalizations require finding the unions and intersections of many sets, it is important to consider the principle of inclusion and exclusion when calculating the cardinality of sets with De Morgan's Laws.
Let a tough-to-test composite be a positive integer that is composite, but not divisible by 2, nor 3, nor 5.
Given that there are 168 prime numbers between 1 and 1000, how many tough-to-test composite numbers are there between 1 and 1000?
Notes: 1 is neither prime nor composite. There are some tough-to-test composite numbers that many would recognize as composite. For example, 49 and 77.
De Morgan's Laws follow a similar structure for logical propositions. The language of these concepts can seem intimidating, but the concepts themselves are fairly straightforward.
Negation of the Conjunction of Propositions
The negation of the conjunction of two propositions and is equivalent to the disjunction of the negations of those propositions.
This can be confirmed with a truth table of the propositions and :
What is an equivalent statement to "The lawn needs mowed and the car needs washed, but I will not do both."?
The two propositions are "I will mow the lawn" and "I will wash the car." Simply change the statement to an "or" statement and negate each of these propositions:
"Either I will not mow the lawn or I will not wash the car."
Note that this statement leaves open the possibility that one of the chores is completed, and it is also possible that neither chores are completed.
Negation of the Disjunction of Propositions
The negation of the disjunction of two propositions and is equivalent to the conjunction of the negations of those propositions.
This can be confirmed with a truth table of the propositions and :
What is an equivalent statement to, "It is not the case that the dog is brown or black."?
The two propositions are "The dog is brown" and "The dog is black." Simply change the statement to an "and" statement and negate each of these propositions:
"The dog is not brown and it is not black."
Alternatively, an equivalent statement can be constructed with "neither" and "nor":
"The dog is neither brown nor black."
De Morgan's Laws can be generalized to any number of propositions.
Generalization of the Negation of a Conjunction
Let be a set of propositions. The negation of the conjunction of these propositions is equivalent to the disjunction of their negations:
Generalization of the Negation of a Disjunction
Let be a set of propositions. The negation of the disjunction of these propositions is equivalent to the conjunction of their negations:
In computer engineering, a NAND logic gate is considered to be universal, meaning that any logic gate can be constructed solely from NAND gates. Having an understanding of De Morgan's Laws can help one understand how to make these constructions.
A NAND gate has two inputs, and . Each of these inputs can have a value of (for high) or (for low).
The output, , of a NAND gate is only if both inputs are . Otherwise, the output is .
Construction of a NOT gate
A NOT gate negates a signal. If the input is , then the output will be , and vice versa.
Consider how a NOT gate can be constructed from a NAND gate. If the same signal, , is routed to both inputs of a NAND gate, then the inputs will look like either the top or bottom row of the truth table for NAND above. Thus, the NAND gate will produce the negated signal.
Construction of an AND gate
An AND gate works just like a logical conjunction. If both input signals are , then the output signal is . Otherwise, the output signal is .
Consider how an AND gate can be constructed from NAND gates. Since a NAND gate produces the negation of an AND gate, it suffices to negate the signal again. This can be accomplished with the NOT construction above.
Construction of an OR gate
An OR gate works just like a logical disjunction. If both input signals are , then the output signal is . Otherwise, the output signal is .
Consider how an OR gate can be constructed from NAND gates. In particular, consider how De Morgan's Laws can be applied. By De Morgan's Laws, A NAND B is equivalent to A̅ OR B̅ (The overline represents the negation of a signal). Thus, an OR gate can be constructed by negating each input of a NAND gate.
Similarly, the NOT, AND, and OR gates can be constructed purely from NOR (negated OR) gates. NAND and NOR gates can also be used to construct the derived logic gates, XOR and XNOR. In fact, any truth table consisting of any number of inputs and outputs can be constructed solely from NAND gates or NOR gates.
Use De Morgan's Laws to Write the Negation of the Statement
Source: https://brilliant.org/wiki/de-morgans-laws/
0 Response to "Use De Morgan's Laws to Write the Negation of the Statement"
Post a Comment