Test of Mathematics - Logic and Proof
Test of Mathematics - Logic and Proof
Statements
Definition: A statement is a sentence which is definitely true or definitely false. A
statement can never be both true and false.
Logically Equivalent
This will mean that the two statements have the same truth values in the same
circumstances.
Eg:
Today is Tuesday
Today is the day after Monday
Not Statement
A: 21 is divisible by 3
not A: not [21 is divisible by 3]
The Term or
Statements with if
a) If A then B (B if A)
In logic, the statement if A then B means that if A is true, then B must also be
true.
Thus the only way that if A then B can be false is if A is true and B is false.
b) A only if B
c) A if and only if B
(Abbreviated to A iff B)
(A if B) and (A only if B)
And
Converse
or a statement p → q , the converse is q → p
Contrapositive
In each of these, A and B are both swapped and negated, whereas in the
converse, they were simply swapped. (There is also a third possibility, called the
inverse of a statement, where A and B are both negated, but not swapped. We
will not consider inverses further here.)
Eg:
For two triangles to be congruent it is sufficient that they have two equal sides
and the enclosed angle in common.
Or:
For two triangles to be similar it is necessary, but not sufficient, that they have
an angle in common.
A is sufficient for B means exactly the same as if A then B.
The best way to think about A is sufficient for B is to think of it as saying that
when we know A is true then we are guaranteed that B is true.
Example: 𝑥 is an odd natural number greater than 1 and not divisible by any
natural number other than 1 and itself is sufficient for 𝑥 to be prime.
Here is an example:
two triangles having the same three angles is a necessary and sufficient
condition for the two triangles to be similar.
So, to summarise:
if you are asked for a sufficient condition for B to be true then you need to look
for a condition that guarantees to make B true.
if you are asked for a necessary condition for B to be true then you need to look
for something that must be the case for B to be true but might not be enough by
itself to guarantee that B is true.
in place of “for all” we can write “for every” or “for each”.
in place of there exists we can write for some or for at least one
When you see the phrase for all 𝑥 … you can think of it as telling you that you
can pick ANY 𝑥 you want from the given set of 𝑥s and then the corresponding
statement will be true.
The phrase is telling you that every value of 𝑥 makes the statement true. And
when you see the phrase there exists an 𝑥 such that… you can think of it as
issuing a challenge: you are challenged to FIND an 𝑥 that makes the statement
Be aware that there exists does not mean that there are any values for which the
corresponding statement is false. For example, the statement
Direct deductive proofs
Proof by contradiction
We can now set out the general structure of proof by contradiction: • We are
asked to prove some statement A.
To prove: √2 is irrational
a
√2 =
b
2
a
2= 2
b
2b2=a2
Proof by contrapositive
Note: Remember that the contrapositive of if A then B is if not B then not A and
these statements are logically equivalent – i.e. both expressions say the same
thing. Because if not B then not A is the very same thing as if A then B
Disproof by counterexample: