← Logic for the TMUA

Basics of Implication and Deduction

Learning goals: Basic intuitive understanding of PP implies QQ, as well as various associated terms such as 'deduction' and 'implication'.

What is an implication of a statement P?

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 the implication QQ is true as well.

Example 1

Suppose we know: nn is a multiple of 10; This is our statement PP, what implications (or conclusions) can we draw? Well, even though we don't know exactly what number nn is, but 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 PP.

Example 2

Suppose we know: James is in a boat floating on the Thames river 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 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 relation 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 to the other side of the arrow. Here are some examples:

  • nn is a multiple of 10 \Rightarrow nn is even
  • x>2x>0x >2 \Rightarrow x > 0
  • It rained \Rightarrow roads get wet
  • n2n^2 is odd \Leftarrow nn is odd
  • Right-angled triangle \Leftarrow a2+b2=c2a^2 + b^2 = c^2

An implication is a deduction

At this level, we may consider the words implication and deduction having the same meaning, as well as the associated verbs of imply and deduce meaning the same thing. For example, we may say:

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

All of the above statements are different ways of saying the same thing, namely: x>1x>2x>1 \Rightarrow x>2. 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 / deductions to form basis of our argument, or proof. An example of such structure in words:

We know AA to be true, therefore BB is true, and now because BB is true, CC is true, and now DD is true.

In symbols: ABCDA \Rightarrow B \Rightarrow C \Rightarrow D

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

Question:

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

Proof: We start by stating an obvious fact which everyone agrees which 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,

and so it is proven.

Caution 1: PQP \Rightarrow Q tell 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, take x=2x=-2, (2)2>1(-2)^2>1 but 2-2 is not greater than 1.
  • 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, because given (x1)x=2(x1)(x-1)x = 2(x-1), xx is 1 or 2, in particular, to say x=2x=2 which means xx must be 2, is false.

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

This one is a little subtle, but PQP \Rightarrow Q just tell us whenever PP is true, QQ must be true. This does not say anything about the truthiness or PP or QQ, it is a hypethetical:

  • x>1(P)x>2(Q)x>1\,\,(P) \Rightarrow x>2\,\,(Q), this is true. However, depending on the actual value of xx, PP maybe false, while QQ maybe true, for example x=1.5x=1.5. Or say x=0x=0 and now they are both false. The only combination we cannot have is when PP is true and QQ is false, but more on this in later sections.
  • Horses has big wings like the legendary Pegasus \Rightarrow one can ride a horse into the sky. We wink and say this is true: if one day,
PQP \Rightarrow Q

and read it as "PP implies QQ", or equally "if PP, then QQ". Here PP is the condition — the thing we are given, or assuming — and QQ is what follows from it.

The arrow points one way, and that direction is the whole point of this section. We start at PP and travel to QQ. Throughout, we are asking a single question:

Given that PP holds, what can I conclude?

For the most part, at least where TMUA is concerned, the word implication and deduction mean the same thing, as well as the associated verbs of imply and deduce also mean the same thing. For example, we may say

"Implied" and "deduced" are the same word

Mathematicians describe that single arrow PQP \Rightarrow Q using several different phrasings. Every one of the following says exactly the same thing:

  • PP implies QQ
  • QQ is implied by PP
  • QQ can be deduced from PP
  • from PP we deduce QQ

The verbs "imply" and "deduce" run in opposite grammatical directions — PP implies QQ, but QQ is deduced from PP — yet they describe one and the same arrow. Don't let the two words trick you into thinking there are two ideas. There is one idea: PP gives you QQ.

Everyday examples

Implication is not a mathematical invention; you reason this way all the time.

Let PP be "it is raining" and QQ be "the ground outside is wet". Then

it is raining    the ground outside is wet.\text{it is raining} \;\Rightarrow\; \text{the ground outside is wet}.

Given the rain (the condition PP), you can deduce the wet ground (the conclusion QQ).

Another: let PP be "today is a public holiday" and QQ be "the bank is closed". From the condition that it's a public holiday, you deduce that the bank is closed: PQP \Rightarrow Q.

In each case you are doing the one thing this section is about — starting from a condition and reading off what must follow.

Mathematical examples

The mathematics has exactly the same shape.

n is a multiple of 4    n is evenn \text{ is a multiple of } 4 \;\Rightarrow\; n \text{ is even}

If you are told nn is a multiple of 44, you may deduce that nn is even.

x=3    x2=9x = 3 \;\Rightarrow\; x^2 = 9

Given x=3x = 3, you deduce x2=9x^2 = 9.

x>5    x>2x > 5 \;\Rightarrow\; x > 2

If xx is greater than 55, then certainly xx is greater than 22.

Notice these are the same forward-deductions as the rain and the bank — a condition on the left, a conclusion read off on the right.

Deductions can be chained

Because an implication hands you a new true statement, you can feed that statement straight into another implication. If PQP \Rightarrow Q and QRQ \Rightarrow R, then

PQR,soPR.P \Rightarrow Q \Rightarrow R, \qquad \text{so} \qquad P \Rightarrow R.

For example, from x=3x = 3 we deduce x2=9x^2 = 9, and from x2=9x^2 = 9 we deduce x29=0x^2 - 9 = 0:

x=3    x2=9    x29=0.x = 3 \;\Rightarrow\; x^2 = 9 \;\Rightarrow\; x^2 - 9 = 0.

Chaining deductions like this is the engine of almost every proof you will ever write.

One thing PQP \Rightarrow Q does not say

An implication is a promise about a link, not a claim that PP is currently true. The statement "if it is raining, the ground is wet" is perfectly true on a dry, sunny day — it only tells you what would follow if it rained. Keep two things firmly apart:

  • the implication PQP \Rightarrow Q being true (the link holds), and
  • the condition PP being true (it is, in fact, raining).

In this section we are only studying the link.

Common mistakes

1. Running the arrow backwards. From PQP \Rightarrow Q you may not conclude QPQ \Rightarrow P. Wet ground doesn't mean rain — a burst pipe would do it. In maths, from x2=9x^2 = 9 you cannot deduce x=3x = 3, because xx might be 3-3. Reversing an implication is a genuine topic of its own — it's the whole of Section 2.

2. Assuming the condition is true. PQP \Rightarrow Q does not assert that PP holds. It only tells you what to conclude if it does.

Summary

  • PQP \Rightarrow Q means "if PP, then QQ": from the condition PP, the conclusion QQ follows.
  • "PP implies QQ" and "QQ is deduced from PP" are the same statement in different words.
  • The arrow has a direction — we only ever travel PQP \to Q here.
  • Implications chain: PQP \Rightarrow Q and QRQ \Rightarrow R give PRP \Rightarrow R.

Next: Section 2 — P ⇒ Q Equivalents → the many equivalent ways to phrase an implication.