Negation of statements: negating implications and De Morgan’s laws
The negation of a statement is a statement that claims the exact opposite. It is true precisely when the original statement is not true, and vice versa. We write the negation of a statement A as ¬A, or sometimes with a prime, A'. The most reliable way to form a negation is to put “It is not true that…” in front of the statement:
- A: Oliver has a dog.
- ¬A: It is not true that Oliver has a dog. In more natural English: Oliver does not have a dog.
This is where mistakes are made most often. The negation of “It is warm outside” is not “It is cold outside”. It may be neither warm nor cold outside, just mild. The correct negation is “It is not warm outside”. In the same way, the negation of “The number x is positive” is not “The number x is negative”, because there is still zero. The correct negation is “The number x is not positive”.
A double negation cancels out. “It is not true that Oliver does not have a dog” means that Oliver does have a dog:
A simple statement is easy to deal with. It gets interesting with statements built using the connectives “and”, “or”, “if… then” and “if and only if”.
Rules for negation
If you are only looking for the rules, here they are. In words:
- the negation of “A and B” is “not A or not B”,
- the negation of “A or B” is “not A and not B”,
- the negation of “if A, then B” is “A and not B”,
- the negation of “A if and only if B” is “A if and only if not B”.
The same in symbols: ∧ is “and”, ∨ is “or”, ⇒ is “if…, then” and ⇔ is “if and only if”. The sign ⇔ between two sides here means that the two statements are always either both true or both false.
The first two rules are called De Morgan’s laws. The last rule also has a second form, which we will see in the section on the biconditional. Let’s go through each rule and explain why it holds.
Negation of a conjunction
The conjunction “Amelia speaks English and she speaks German” claims that Amelia speaks both languages. When does this claim fall apart? It is enough for her not to speak one of the languages. So the negation is:
“Amelia does not speak English or she does not speak German.”
Between the two negated parts there is “or”, not “and”. The sentence “Amelia does not speak English and she does not speak German” would claim that she speaks neither language, which is a much stronger claim. If Amelia speaks English but not German, the original statement is false, but that sentence is false too. So it does not qualify as a negation.
Now a maths example: “The number 15 is even and divisible by five.” Negation: “The number 15 is odd or it is not divisible by five.” The original statement is false and the negation is true, because 15 is odd.
The truth table shows why. A conjunction is true only in the first row, so its negation is true in the other three. That is exactly where ¬A ∨ ¬B is true as well:
The columns ¬(A ∧ B) and ¬A ∨ ¬B are the same, so the two statements mean the same thing.
Negation of a disjunction
The disjunction “I will go by train or by bus” is true when I go by at least one of them. The logical “or” also allows both. It is false only when I go by neither. So the negation is:
“I will not go by train and I will not go by bus.”
More naturally, in English this would be: “I will go neither by train nor by bus.” The construction “neither… nor” is in effect a negated disjunction.
Let’s try it with numbers: “The number x is less than 2 or greater than 5.” Negation: “The number x is not less than 2 and is not greater than 5”, that is, x ≥ 2 and at the same time x ≤ 5. The number x lies in the interval [2, 5]. Notice that the negation of x<2 is x ≥ 2, not x>2. The number 2 itself belongs to the negation.
The table looks like the one for a conjunction, only mirrored. A disjunction is false only in the last row, where both A and B are false, and that is exactly where ¬A ∧ ¬B is true.
Negation of an implication
This is the trickiest and most common task. Let’s take an implication:
Harry says: “If it is raining, I will take an umbrella.”
What would Harry have to do for us to accuse him of lying? When does his promise not hold? Let’s go through all four possibilities:
- It is raining and Harry took an umbrella. He kept his promise.
- It is raining and Harry did not take an umbrella. He broke his promise.
- It is not raining and Harry took an umbrella. That does not matter, he promised nothing about dry days.
- It is not raining and Harry did not take an umbrella. That is fine too.
An implication fails in only one way: when it is raining and Harry did not take an umbrella. So the negation of the implication is:
“It is raining and I will not take an umbrella.”
The negation of an implication is therefore not an implication, but a conjunction. It would be a mistake to write:
- “If it is not raining, I will not take an umbrella.” This is a completely different implication, and it can easily be true at the same time as the original. Harry may carry an umbrella only when it rains, and then both sentences hold together. A negation, however, must never be true at the same time as the original statement.
- “If it is raining, I will not take an umbrella.” This sentence is also an implication, and on a dry day it is true, just like the original. So it is not a negation either.
The truth table confirms this. An implication is false only in the second row, and that is where A ∧ ¬B is true as well:
For a change, an example with whole numbers: “If the number n is divisible by six, then it is divisible by four.” Negation: “The number n is divisible by six and is not divisible by four.” For n = 18 the negation holds, so the original implication fails for the number 18.
Negation of a biconditional
The biconditional “We will go on a trip if and only if the sun shines” says that both things happen together, or neither does. It fails when only one of them happens: either the sun shines and we do not go on the trip, or the sun does not shine and we go. Negation:
“The sun will shine and we will not go on the trip, or the sun will not shine and we will go on the trip.”
There is also a shorter way to write it. It is enough to negate one side and keep the connective:
“We will go on a trip if and only if the sun does not shine.” Both forms are correct.
You can check this in the table of all the connectives: the biconditional is true in the first and last rows, and its negation in the second and third.
Statements with “every” and “there exists”
We often need to negate sentences that talk about many things at once. The rule is simple: “every” changes to “there exists” (or “at least one”) and vice versa, and the rest of the sentence is negated.
- “Every pupil in the class has a mobile phone.” Negation: “At least one pupil in the class does not have a mobile phone.” The negation “No pupil has a mobile phone” would be wrong, because a single pupil without a phone is enough.
- “There is a prime number that is even.” Negation: “Every prime number is odd.” The original statement is true, the prime in question being 2.
- “None of the cars in the car park is red.” (The sentence claims of every car that it is not red.) Negation: “At least one car in the car park is red.”
Counts work in a similar way. The negation of “at least three” is “at most two”, and the negation of “at most two” is “at least three”. The negation of “I have exactly two siblings” is “I have at most one sibling, or at least three”.
This is also related to implication. The sentence “If a number is divisible by six, then it is divisible by four” is usually meant to be about all numbers. Its negation is “There is a number that is divisible by six and is not divisible by four.” Such a negation is used in proof by contradiction.
Example 1
Negate ¬A ∨ B.
By De Morgan’s law, “or” turns into “and” and we negate both parts:
The double negation cancels out:
Incidentally, ¬A ∨ B means the same as A ⇒ B, so we got the same negation as for an implication.
Example 2
Negate the statement “If I get a 9, I will buy an ice cream and go to the cinema.”
This is an implication J ⇒ (Z ∧ K), where J is “I get a 9”, Z is “I buy an ice cream” and K is “I go to the cinema”. The negation of an implication is “the first part and the negation of the second part”:
We break up the negation of the conjunction using De Morgan’s law:
In words: “I get a 9, but I do not buy an ice cream or I do not go to the cinema.” The logical “or” also allows both, so this includes a day when I get a 9 and have neither an ice cream nor a trip to the cinema.
Example 3
Negate the statement “Every day I get up at seven or I have breakfast.”
First we change “every” to “there exists”, then we negate the disjunction:
“There is a day on which I do not get up at seven and I do not have breakfast.” More naturally: “Sometimes I neither get up at seven nor have breakfast.”
Example 4
Negate (A ∨ B) ⇒ C.
Negation of the implication:
The left part stays unchanged, because the first part of an implication does not change under negation. You will find more examples on the truth of formulae in the propositional logic examples.
Chapters: Propositional logic, Negation of statements, Truth values of formulae, Propositional logic examples