Logic for the TMUA

Basics of Implication and Deduction

What you will get from this section. To gain a basic intuitive understanding of PP implies QQ, as well as related terms such as deduction and implication.

What is an implication of a statement PP?

An implication QQ of a statement PP is a conclusion that must follow if or whenever PP is true. In other words, once we know that PP is true, we are forced to conclude that QQ is true as well.

Example 1

Suppose we know: nn is a multiple of 1010. This is our statement PP. What implications or conclusions can we draw?

Well, even though we do not know exactly what number nn is, based on PP, we can conclude:

  • nn is even.
  • nn is divisible by 55.
  • nn must end in 00.

These are three separate implications of our statement PP.

Example 2

Suppose we know: James is in a boat floating on the River Thames in London. This is our statement PP. What implications or conclusions can we draw?

  • James is not on land.
  • James is in England.
  • There is at least one boat floating on the River Thames.

For both examples, you can see that in each case, multiple implications or conclusions QQ were drawn, or deduced, from PP. It is also possible to draw even more conclusions. In each case, we can write the relationship between PP and QQ in short as:

PimpliesQ, or symbolically: PQ.P\,\,\text{implies}\,\,Q,\text{ or symbolically: } P \Rightarrow Q.

The double-lined arrow \Rightarrow is known as the implication arrow symbol. It means the statement the arrow is pointing to is an implication of the statement on the other side of the arrow. Here are some examples:

  • nn is a multiple of 1010 \Rightarrow nn is even.
  • x>2x>0x>2 \Rightarrow x>0.
  • It rained heavily here \Rightarrow the roads got wet.
  • n2n^2 is odd \Leftarrow nn is odd.
  • A triangle is right-angled \Leftarrow its side lengths satisfy a2+b2=c2a^2+b^2=c^2.

An implication is a deduction

At this level, we can treat the words implication and deduction as having the same meaning. Similarly, the verbs imply and deduce are closely related.

For example, we may say:

  • x>2x>2 implies x>1x>1.
  • x>1x>1 is an implication of x>2x>2.
  • x>1x>1 is a deduction from x>2x>2.
  • From x>2x>2, we deduce x>1x>1.

All of the above statements are different ways of saying the same thing, namely:

x>2x>1.x>2 \Rightarrow x>1.

So you should get used to all of these wordings.

Chained implications or deductions

In mathematical logical arguments, we often write a chain of implications or deductions to form the basis of an argument or proof. An example of this structure in words is:

We know AA is true, therefore BB is true. Then because BB is true, CC is true. Then because CC is true, DD is true.

In symbols:

ABCD.A \Rightarrow B \Rightarrow C \Rightarrow D.

Here is a mathematical example of a direct proof using chained implications.

Question:

Prove that x2+2x+4x^2+2x+4 is always positive.

Proof:

We start with an obvious fact that does not require proof:

(x+1)20.(x+1)^2 \geq 0.

Then:

x2+2x+10\Rightarrow x^2+2x+1 \geq 0 x2+2x+43\Rightarrow x^2+2x+4 \geq 3 x2+2x+4>0.\Rightarrow x^2+2x+4 > 0.

Therefore x2+2x+4x^2+2x+4 is always positive.

Caution 1: PQP \Rightarrow Q tells us nothing about QPQ \Rightarrow P

In general, just because PP implies QQ, it does not automatically mean that QQ implies PP. This is a common source of mistakes. For example:

  • x>1x2>1x>1 \Rightarrow x^2>1 is true, but x2>1x>1x^2>1 \Rightarrow x>1 is not true. For example, take x=2x=-2. Then (2)2>1(-2)^2>1, but 2-2 is not greater than 11.
  • x=2(x1)x=2(x1)x=2 \Rightarrow (x-1)x=2(x-1) is true, but (x1)x=2(x1)x=2(x-1)x=2(x-1) \Rightarrow x=2 is false. This is because (x1)x=2(x1)(x-1)x=2(x-1) gives x=1x=1 or x=2x=2. So saying x=2x=2 would mean xx must be 22, which is false.

Caution 2: PQP \Rightarrow Q tells us nothing about PP or QQ themselves

This one is a little subtle. The statement PQP \Rightarrow Q only tells us that whenever PP is true, QQ must also be true. It does not say anything about the truth value of PP or QQ by themselves. It is a hypothetical statement.

Here is a mathematical example. Suppose our PQP \Rightarrow Q is:

x>2x>1.x>2 \Rightarrow x>1.

This implication is true. However, depending on the actual value of xx, zero, one, or both of PP and QQ may be true.

For example, if x=3x=3, then both PP and QQ are true. If x=1.5x=1.5, then only QQ is true. If x=0x=0, then both PP and QQ are false. The only combination we cannot have is when PP is true and QQ is false, but more on this in later sections.

Now for a fun non-mathematical example. Suppose our PQP \Rightarrow Q is:

pigs have strong enough wingspigs can fly.\text{pigs have strong enough wings} \Rightarrow \text{pigs can fly}.

This is a hypothetical statement. We could accept it as reasonable: if one day genetically modified pigs grew large, strong wings, then they might really be able to fly. So this PQP \Rightarrow Q can be true as a hypothetical statement, even though neither PP, "pigs have strong enough wings", nor QQ, "pigs can fly", is currently true.

Summary

  • PQP \Rightarrow Q means PP implies QQ.
  • "PP implies QQ" and "QQ can be deduced from PP" are the same statement in different words.
  • PQP \Rightarrow Q itself does not tell us anything about the truth of PP or QQ. It is a hypothetical statement: if and when PP is true, then QQ is true.
  • Implications can be chained: PQP \Rightarrow Q and QRQ \Rightarrow R give PRP \Rightarrow R.

Worksheets

Put the ideas from this section into practice: reading and writing implications PQP \Rightarrow Q, deciding what can and cannot be deduced from a given statement, and chaining implications together. Each worksheet below comes as a PDF with fully worked solutions.