Skip to main content
info

TMUA Specification

  • The Logic of Arguments
  • Arg1 Understand and be able to use mathematical logic in simple situations:
  • The terms true and false;
  • The terms and, or (meaning inclusive or), not;
  • Statements of the form:
  • if A then B
  • A if B
  • A only if B
  • A if and only if B
  • The converse of a statement;
  • The contrapositive of a statement;
  • The relationship between the truth of a statement and its converse
  • and its contrapositive.
  • Note: candidates will not be expected to recognise or use symbolic notation for any
  • of these terms, nor will they be expected to complete formal truth tables.
  • Arg2 Understand and use the terms necessary and sufficient.
  • Arg3 Understand and use the terms for all, for some (meaning for at least one),
  • and there exists.
  • Arg4 Be able to negate statements that use any of the above terms.
  • Mathematical Proof
  • Prf1 Follow a proof of the following types, and in simple cases know how to
  • construct such a proof:
  • Direct deductive proof ('Since A, therefore B, therefore C, …,
  • therefore Z, which is what we wanted to prove.');
  • Proof by cases (for example, by considering even and odd cases
  • separately);
  • Proof by contradiction;
  • Disproof by counterexample.
  • Prf2 Deduce implications from given statements.
  • Prf3 Make conjectures based on small cases, and then justify these conjectures.
  • Prf4 Rearrange a sequence of statements into the correct order to give a proof for
  • a statement.
  • Prf5 Problems requiring a sophisticated chain of reasoning to solve.
  • Identifying Errors in Proofs
  • Err1 Identifying errors in purported proofs.
  • Err2 Be aware of common mathematical errors in purported proofs; for example,
  • claiming 'if ab=acab = ac, then b=cb = c' or assuming 'if sinA=sinB\sin A = \sin B, then A=BA = B'
  • neither of which are valid deductions.

The Logic Of Arguments

Arg1: Simple Logic

  • In mathematics, statements must be true or false.
  • A statement is a sentence which is definitely true or definitely false. A statement can never be both true and false.
  • Examples:
    • "If x=3x = 3, then x2=9x^2 = 9." This is certainly true, so it is a statement.
    • "If x=3x = 3, then x2=4x^2 = 4." This is certainly false, so it is a statement.
    • "The sum of two odd numbers is an even number." This is certainly true, so it is a statement.

Truth values

A truth value is whether the statement is true or false. For instance:

  • Truth value of the statement "2 is an even number" is "true"
  • Truth value of the statement "2 is an odd number" is "false".

Logically equivalent

Two statements being logically equivalent means that they have the same truth values in the same circumstances. For example:

  • Today is Tuesday; True
  • Today is the day after Monday; Also True.

Making new statements

  • 21 is divisible by 3 and 21 is divisible by 6 [A and B]
  • 21 is divisible by 3 or 21 is divisible by 6 [A or B]
  • 21 is not divisible by 6 [not B]
  • if 21 is divisible by 3 then 21 is divisible by 6 [if A then B]
  • 21 is divisible by 3 if 21 is divisible by 6 [A if B]
  • 21 is divisible by 3 only if 21 is divisible by 6 [A only if B]
  • 21 is divisible by 3 if and only if 21 is divisible by 6 [A if and only if B]

The term "not"

Negates a statement. Only applies to what occurs immediately after unless there are brackets. Therefore, we can say not A or B is the same as (not A) or B.

If, only if, if and only if

I cry if I am sad

  • Sad    Cry\mathrm{Sad}\implies\mathrm{Cry}
  • Means that if I am sad, then I cry.
  • It doesn't say that there aren't other situations in which I might also cry.
  • I can cry under other conditions. Being sad is NOT the only condition.
  • Leads to the 'if... then...' statement: If I am sad, then I am crying.

I cry only if I am sad

  • Cry    Sad\mathrm{Cry}\implies\mathrm{Sad}
  • If I am crying, then I am sad. This is because only under this condition (being sad) I can cry.
  • This does not mean that I cry every time I am sad. I can be sad and not cry, but if I am crying, then I HAVE to be sad.
  • Being sad is the only thing that can cause me to cry.
  • Leads to the 'if... then...' statement: If I am crying, then I am sad.

I cry if and only if I am sad

  • Sad    Cry\mathrm{Sad}\iff\mathrm{Cry}
  • Combination of the other two statements, both must be true.
  • I cry if I am sad: 'If I am sad then I cry'
  • I cry only if I am sad: 'If I am crying then I am sad'
  • The only time I ever cry is if I am sad, and I will 100% cry if I am sad.

The church bells ring if it is Sunday

  • Sunday    Ring\mathrm{Sunday}\implies\mathrm{Ring}
  • If it is Sunday, then the bells ring
  • On Sunday, at some point the bells ring
  • Doesn't say anything else about the other days
  • Example: A church that rings the bells at midday every day

The church bells ring only if it is Sunday

  • Ring    Sunday\mathrm{Ring}\implies\mathrm{Sunday}
  • If the bells ring, then it is Sunday
  • The bells will not ring on any other day
  • They might not ring on Sunday/on every Sunday
  • Example: A church that rings only once a year on remembrance Sunday

The church bells ring if and only if it is Sunday

  • Both 'if... then...' statements are true
  • On Sunday you will hear the bells ring, and you will not hear the bells ring on any other day.

A number is prime if it is an integer

  • Integer    Prime\mathrm{Integer}\implies\mathrm{Prime} : False, lots of integers are not prime.
  • If a number is an integer, then it is prime.
  • It can also possible be a decimal and prime, doesn't have to be an integer

A number is prime only if it is an integer

  • Prime    Integer\mathrm{Prime}\implies\mathrm{Integer} : True, all primes are integers.
  • If a number is prime, then it is an integer.

A number is prime if and only if it is an integer

  • Integer    Prime\mathrm{Integer}\iff\mathrm{Prime} : False, all primes are integers, but not all integers are primes
  • Both statements must be true.

A shape is a rectangle if it is a square

  • Square    Rectangle\mathrm{Square}\implies\mathrm{Rectangle} : True, all squares are rectangles
  • If a shape is a square, then it is a rectangle

A shape is a rectangle only if it is a square

  • Rectangle    Square\mathrm{Rectangle}\implies\mathrm{Square} : False, not all rectangles are squares
  • If a shape is a rectangle, then it is a square.

A shape is a rectangle if and only if it is a square

  • Square    Rectangle\mathrm{Square}\iff\mathrm{Rectangle} : False, because one of the two statements above are false.

A if B

  • Same as: If B, then A
  • Therefore B is sufficient for A
  • B    AB\implies A

A only if B

  • Same as: If A then B
  • Therefore B is necessary for A
  • A    BA\implies B

A if and only if B

  • Same as: If A then B and If B then A
  • B is necessary and sufficient for A
  • A    BA\iff B

Negation of Statements

Statement: That man is tall Negation: That man is not tall Wrong: That man is short

Rule 1: Just add not Rule 2: Don't say the opposite

Statement: All the students are short Negation: At least one student is not short

Rule 3: Don't claim too much

Statement: None of the teachers are interesting Equivalent to: All of the teachers are not interesting Negation: Some of the teachers are interesting At least one teacher is interesting

Statement: All A are B Negation: Some A are not B At least one A is not B

Statement: No A are B Negation: Some A are B At least one A is B

Statement: Some of the topics are hard Negation: All of the topics are not hard None of the topics are hard

Statement: All numbers are prime Negation: Some numbers are not prime

Statement: Some shapes have 4 sides Negation: No shapes have 4 sides

Statement: No integers are factors of 20 Negation: Some integers are factors of 20

Statement: Every day next week, Fred will do at least one maths problem All days, Fred don math Negation: Some day next week, Fred will do no maths problems. Some days, Fred not do math

Converse

Basically opposite of a statement. Swap A and B.

StatementConverse
if A then Bif B then A
A only if BB only if A
A if BB if A
A iff BB iff A

Contrapositive

Basically the equivalent of a statement. Swap A and B, then negate both of them

StatementContrapositive
if A then Bif not B then not A
A only if Bnot B only if not A
A if Bnot B if not A
A iff Bnot B iff not A

Truth Tables

Basic connectives

A truth table lists all possible truth values of a compound statement in terms of its component statements. For a statement depending on nn propositions, the table has 2n2^n rows.

Negation (NOT): ¬P\neg P is true exactly when PP is false.

PP¬P\neg P
TF
FT

Conjunction (AND): PQP \land Q is true only when both PP and QQ are true.

PPQQPQP \land Q
TTT
TFF
FTF
FFF

Disjunction (OR, inclusive): PQP \lor Q is false only when both PP and QQ are false.

PPQQPQP \lor Q
TTT
TFT
FTT
FFF

The implication PQP \Rightarrow Q

The truth table for implication is often the least intuitive:

PPQQPQP \Rightarrow Q
TTT
TFF
FTT
FFT

An implication is false only when the hypothesis is true and the conclusion is false. This captures the logical reading: if you promise "if PP then QQ", you have only broken your promise when PP happens and QQ does not.

The last two rows often feel surprising. Consider the statement "If it is raining, then I carry an umbrella." If it is not raining (rows 3 and 4), the statement places no restriction on my behaviour -- it remains true regardless of whether I carry an umbrella.

Contrapositive has the same truth table

The contrapositive of PQP \Rightarrow Q is ¬Q¬P\neg Q \Rightarrow \neg P. Constructing the truth table:

PPQQ¬P\neg P¬Q\neg Q¬Q¬P\neg Q \Rightarrow \neg P
TTFFT
TFFTF
FTTFT
FFTTT

The column for ¬Q¬P\neg Q \Rightarrow \neg P is identical to the column for PQP \Rightarrow Q (T, F, T, T). This is why a statement and its contrapositive are logically equivalent: proving one proves the other.

The converse does NOT have the same truth table

The converse of PQP \Rightarrow Q is QPQ \Rightarrow P:

PPQQPQP \Rightarrow QQPQ \Rightarrow P
TTTT
TFFT
FTTF
FFTT

The truth values differ in rows 2 and 3. This is why the converse of a true statement need not be true. For instance, "If a number is prime then it is odd" (P=primeP = \mathrm{prime}, Q=oddQ = \mathrm{odd}) is false (witness 22), but its converse "If a number is odd then it is prime" is also false (witness 99). In contrast, "If a number is a square then it is a rectangle" is true, but its converse "If a number is a rectangle then it is a square" is false.

Quantifiers

Universal and existential quantifiers

Many mathematical statements involve quantifiers, which specify the scope over which a statement applies.

  • The universal quantifier "for all" (symbol \forall) asserts that a property holds for every element in a set.

    • Example: "For all integers nn, n+0=nn + 0 = n."
    • In symbols: n{Z},  n+0=n\forall n \in \mathbb{'\{'}Z{'\}'},\; n + 0 = n.
  • The existential quantifier "there exists" (symbol \exists) asserts that a property holds for at least one element in a set.

    • Example: "There exists an integer nn such that n2=4n^2 = 4."
    • In symbols: n{Z},  n2=4\exists n \in \mathbb{'\{'}Z{'\}'},\; n^2 = 4.

A useful mnemonic: \forall is an upside-down A (for "All"); \exists is a backwards E (for "Exists").

Negating quantified statements

Negation flips the quantifier and negates the predicate:

  • ¬(x,  P(x))x,  ¬P(x)\neg(\forall x,\; P(x)) \equiv \exists x,\; \neg P(x)

    "Not (for all xx, P(x)P(x) holds)" means "there exists some xx for which P(x)P(x) does not hold."

  • ¬(x,  P(x))x,  ¬P(x)\neg(\exists x,\; P(x)) \equiv \forall x,\; \neg P(x)

    "Not (there exists an xx such that P(x)P(x) holds)" means "for every xx, P(x)P(x) does not hold."

This matches the informal rules from the Negation section:

OriginalNegation
All A are BSome A are not B
No A are B (i.e. all A are not B)Some A are B
Some A are BNo A are B

Worked examples

Example 1. Negate: "For all real numbers xx, x20x^2 \ge 0."

Negation: "There exists a real number xx such that x2<0x^2 \lt 0."

(As it happens, the original statement is true and its negation is false.)

Example 2. Negate: "There exists an integer nn such that n2+1=0n^2 + 1 = 0."

Negation: "For all integers nn, n2+10n^2 + 1 \neq 0."

Example 3. Negate: "For every integer nn, if nn is even then n2n^2 is even."

Negation: "There exists an integer nn such that nn is even and n2n^2 is not even."

Notice that negating an implication PQP \Rightarrow Q produces ¬Q\neg Q alongside PP: the negation is "PP and not QQ", not "P¬QP \Rightarrow \neg Q". This is because PQP \Rightarrow Q is logically equivalent to ¬PQ\neg P \lor Q, and negating gives P¬QP \land \neg Q.

Example 4. Negate: "For all real numbers xx there exists a real number yy such that x+y=0x + y = 0."

Negation: "There exists a real number xx such that for all real numbers yy, x+y0x + y \neq 0."

When negating a chain of quantifiers, the order reverses. The rightmost quantifier flips first, then the next, and so on -- just like removing nested negations.

Necessary and Sufficient Conditions: Formal Definitions

Arg2: Necessary and Sufficient

The informal airport and twin examples give the right intuition. Here is the formal framework.

Definitions

  • AA is sufficient for BB means ABA \Rightarrow B.
    Establishing AA is enough to guarantee BB; no further conditions are needed.

  • AA is necessary for BB means BAB \Rightarrow A.
    Whenever BB holds, AA must hold; BB cannot be true without AA.

  • AA is necessary and sufficient for BB means ABA \Leftrightarrow B.
    AA and BB are logically equivalent; they stand or fall together.

Table of examples

Condition AACondition BBRelationshipWhy
nn is evenn2n^2 is evenAA sufficient for BBIf n=2kn = 2k then n2=4k2=2(2k2)n^2 = 4k^2 = 2(2k^2)
n2n^2 is evennn is evenAA necessary for BBIf nn were odd, n2n^2 would be odd (contrapositive)
x<10x \lt 10x<20x \lt 20AA sufficient for BBEvery number below 10 is below 20
x<20x \lt 20x<10x \lt 10AA necessary for BBNot every number below 20 is below 10
nn is primenn is a positive integerAA sufficient for BBAll primes are positive integers
nn is a positive integernn is primeneither4 is positive but not prime; 2 is prime
nn is divisible by 6nn is divisible by 2AA sufficient for BB6n2n6 \mid n \Rightarrow 2 \mid n
nn is divisible by 2nn is divisible by 6AA necessary for BB6n2n6 \mid n \Rightarrow 2 \mid n
x=yx = yx2=y2x^2 = y^2AA sufficient for BBSquaring preserves equality
x2=y2x^2 = y^2x=yx = yneither(1)2=12(-1)^2 = 1^2 but 11-1 \neq 1

Connecting to if/only if

The relationship between "if", "only if", and necessary/sufficient is:

  • "AA if BB" means BB is sufficient for AA (i.e. BAB \Rightarrow A).
  • "AA only if BB" means BB is necessary for AA (i.e. ABA \Rightarrow B).
  • "AA if and only if BB" means BB is necessary and sufficient for AA (i.e. ABA \Leftrightarrow B).

A useful rephrasing

When asked "Is AA necessary/sufficient for BB?", you can reframe the question:

  • Is AA sufficient for BB? \longleftrightarrow Is ABA \Rightarrow B a true statement?
  • Is AA necessary for BB? \longleftrightarrow Is BAB \Rightarrow A a true statement?

Answering these reduces to constructing a proof or finding a counterexample.

Proof Techniques

Prf1: Types of Proof

Direct proof

Structure. To prove PQP \Rightarrow Q directly, assume PP is true and deduce QQ through a chain of valid deductions.

PS1S2QP \Rightarrow S_1 \Rightarrow S_2 \Rightarrow \cdots \Rightarrow Q

Worked example. Prove that the sum of two even integers is even.

Proof. Let aa and bb be even integers. By definition of evenness, there exist integers kk and mm such that a=2ka = 2k and b=2mb = 2m. Then

a+b=2k+2m=2(k+m)a + b = 2k + 2m = 2(k + m)

Since k+mk + m is an integer (the integers are closed under addition), a+ba + b is divisible by 2, and therefore a+ba + b is even. \square

Remark. The key move was substituting the definition of evenness (a=2ka = 2k), performing algebra, and then reversing the definition. This pattern -- unpack a definition, manipulate, repack -- is the backbone of most direct proofs.

Proof by contradiction

Structure. To prove a statement PP, assume ¬P\neg P is true and deduce a contradiction (something that is always false, such as 0=10 = 1 or q2=2q^2 = 2 where qq is rational). Since the assumption ¬P\neg P led to an impossibility, ¬P\neg P must be false, so PP is true.

¬PcontradictionP\neg P \Rightarrow \cdots \Rightarrow \mathrm{contradiction} \quad \therefore P

Worked example 1. Prove that 2\sqrt{2} is irrational.

Proof. Suppose, for contradiction, that 2\sqrt{2} is rational. Then 2=ab\sqrt{2} = \frac{a}{b} for some coprime integers aa and bb (i.e. gcd(a,b)=1\gcd(a, b) = 1), with b0b \neq 0. Squaring both sides:

2=a2b2a2=2b22 = \frac{a^2}{b^2} \quad \Rightarrow \quad a^2 = 2b^2

This means a2a^2 is even. Since the square of an odd number is odd, aa must be even. Write a=2ka = 2k for some integer kk. Substituting:

(2k)2=2b24k2=2b2b2=2k2(2k)^2 = 2b^2 \quad \Rightarrow \quad 4k^2 = 2b^2 \quad \Rightarrow \quad b^2 = 2k^2

So b2b^2 is even, and therefore bb is even. But now both aa and bb are even, contradicting gcd(a,b)=1\gcd(a, b) = 1. Hence 2\sqrt{2} is irrational. \square

Worked example 2. Prove that there are infinitely many primes.

Proof. Suppose, for contradiction, that there are only finitely many primes. List them as p1,p2,,pnp_1, p_2, \ldots, p_n. Consider the number

N=p1p2pn+1N = p_1 p_2 \cdots p_n + 1

When NN is divided by any pip_i, the remainder is 1 (since each pip_i divides the product p1p2pnp_1 p_2 \cdots p_n but not the added 1). Therefore no pip_i divides NN. Since every integer greater than 1 has a prime factor, NN must have a prime factor not in our list -- a contradiction. Hence there are infinitely many primes. \square

Proof by contrapositive

Structure. To prove PQP \Rightarrow Q, instead prove the logically equivalent contrapositive ¬Q¬P\neg Q \Rightarrow \neg P.

¬Q¬P\neg Q \Rightarrow \cdots \Rightarrow \neg P

This is useful when the negation of the conclusion gives you more to work with than the hypothesis does.

Worked example. Prove that if n2n^2 is even, then nn is even.

Rather than working from "n2n^2 is even" to "nn is even" directly, we prove the contrapositive: if nn is not even (i.e. nn is odd), then n2n^2 is not even (i.e. n2n^2 is odd).

Proof. Let nn be an odd integer. Then n=2k+1n = 2k + 1 for some integer kk. Computing:

n2=(2k+1)2=4k2+4k+1=2(2k2+2k)+1n^2 = (2k + 1)^2 = 4k^2 + 4k + 1 = 2(2k^2 + 2k) + 1

Since 2k2+2k2k^2 + 2k is an integer, n2n^2 is of the form 2m+12m + 1, which means n2n^2 is odd. We have shown: if nn is odd then n2n^2 is odd. By contrapositive, if n2n^2 is even then nn is even. \square

Proof by cases

Structure. Split the domain into exhaustive, mutually exclusive cases and prove the result holds in each one.

Case1:C1QCase2:C2Q\mathrm{Case 1: } C_1 \Rightarrow Q \qquad \mathrm{Case 2: } C_2 \Rightarrow Q \qquad \cdots

Since the cases cover all possibilities, QQ holds unconditionally.

Worked example. Prove that xy=xy|xy| = |x|\,|y| for all real numbers xx and yy.

Proof. We consider four cases based on the signs of xx and yy. In each case aa and bb denote non-negative reals.

Casexxyyxyxy$xy$$x,y$
1aabbababababab=aba \cdot b = ab
2aab-bab-abababab=aba \cdot b = ab
3a-abbab-abababab=aba \cdot b = ab
4a-ab-bababababab=aba \cdot b = ab

In all four cases xy=xy|xy| = |x|\,|y|. \square

Disproof by counterexample

Structure. To disprove a universal claim x,  P(x)\forall x,\; P(x), it suffices to produce a single x0x_0 for which P(x0)P(x_0) is false. This is the negation of a universal statement: x,  ¬P(x)\exists x,\; \neg P(x).

Worked example 1. Disprove: "All prime numbers are odd."

Counterexample: 22 is prime and 22 is even.

Worked example 2. Disprove: "For all real numbers xx, x2>xx^2 \gt x."

Counterexample: x=0.5x = 0.5 gives x2=0.25<0.5=xx^2 = 0.25 \lt 0.5 = x.

Worked example 3. Disprove: "If aa and bb are positive integers, then a2+b22ab+1a^2 + b^2 \ge 2ab + 1."

Counterexample: a=1a = 1, b=1b = 1 gives 1+1=21 + 1 = 2 but 2(1)(1)+1=32(1)(1) + 1 = 3, and 2<32 \lt 3.

Common errors in proofs (Err1, Err2)

Several tempting deductions are invalid. The TMUA specification specifically highlights two:

Error 1: "If ab=acab = ac, then b=cb = c."

This implicitly assumes a0a \neq 0. Counterexample: a=0a = 0, b=3b = 3, c=7c = 7. Then 03=07=00 \cdot 3 = 0 \cdot 7 = 0, but 373 \neq 7. The correct deduction is: if ab=acab = ac and a0a \neq 0, then b=cb = c.

Error 2: "If sinA=sinB\sin A = \sin B, then A=BA = B."

Counterexample: sin30=sin150=0.5\sin 30^{\circ} = \sin 150^{\circ} = 0.5, but 3015030^{\circ} \neq 150^\circ. The correct statement is: if sinA=sinB\sin A = \sin B and A,B[90,90]A, B \in [-90^{\circ}, 90^{\circ}], then A=BA = B. In general, sinA=sinB\sin A = \sin B implies A=B+360kA = B + 360^{\circ}k or A=180B+360kA = 180^{\circ} - B + 360^{\circ}k for some integer kk.

Other common errors:

  • Affirming the consequent: From PQP \Rightarrow Q and QQ, deducing PP. This is the fallacy of treating the converse as equivalent to the original. Example: "All primes greater than 2 are odd. 9 is odd. Therefore 9 is prime." -- Invalid.

  • Denying the antecedent: From PQP \Rightarrow Q and ¬P\neg P, deducing ¬Q\neg Q. Example: "If it is a square, then it is a rectangle. This shape is not a square. Therefore it is not a rectangle." -- Invalid (it could be a non-square rectangle).

  • Dividing by a variable without checking it is non-zero. This is the root cause of Error 1 above.

  • Assuming what you are trying to prove (circular reasoning / begging the question). Every step in a proof must follow from definitions, axioms, or previously established results -- not from the statement being proved.

Common Pitfalls

Pitfall 1: Confusing necessary and sufficient

"AA is necessary for BB" means BAB \Rightarrow A, not ABA \Rightarrow B. Students frequently swap these. Remember: a necessary condition is one you cannot do without; a sufficient condition is one that is enough on its own.

A reliable test: ask yourself "Is condition AA enough to guarantee BB?" If yes, AA is sufficient. Ask "Must AA hold whenever BB holds?" If yes, AA is necessary.

Pitfall 2: Negating an implication incorrectly

The negation of "PQP \Rightarrow Q" is not "P¬QP \Rightarrow \neg Q". It is "PP and ¬Q\neg Q". Intuitively: to show that "if PP then QQ" is false, you must exhibit a case where PP is true but QQ is false.

Pitfall 3: Forgetting that "or" is inclusive

In mathematics, "or" means at least one holds, possibly both. "A or B" is false only when both are false. This differs from everyday English, where "or" is sometimes exclusive (e.g. "tea or coffee").

Pitfall 4: Treating the converse as equivalent

A statement and its converse have different truth values in general (see the truth table section). Proving PQP \Rightarrow Q does not prove QPQ \Rightarrow P. If you need both directions, you must prove them separately.

Pitfall 5: Misapplying proof by contradiction

Proof by contradiction is not the same as proof by contrapositive. In a proof by contradiction, you assume the negation of the entire statement and derive any contradiction. In a proof by contrapositive, you assume ¬Q\neg Q and derive ¬P\neg P. The contrapositive method is often cleaner because it targets a specific conclusion rather than hunting for any contradiction.

Pitfall 6: Incomplete case analysis

When using proof by cases, the cases must be exhaustive (cover all possibilities) and mutually exclusive (no overlap). For example, splitting integers into "even" and "odd" is exhaustive and mutually exclusive. Splitting real numbers into "x>0x \gt 0" and "x<0x \lt 0" is not exhaustive -- you must include "x=0x = 0".

Problem Set

Problem 1

State the converse and contrapositive of: "If nn is a multiple of 6, then nn is even." Determine whether each is true.

Solution

Original: nn is a multiple of 6 \Rightarrow nn is even. (True: n=6k=2(3k)n = 6k = 2(3k).)

Converse: If nn is even, then nn is a multiple of 6. (False: n=4n = 4 is even but not a multiple of 6.)

Contrapositive: If nn is not even (i.e. nn is odd), then nn is not a multiple of 6. (True: contrapositive of a true statement is always true. Also directly: no odd number is divisible by 6.)

Problem 2

Prove by contradiction that 3\sqrt{3} is irrational.

Solution

Assume 3=ab\sqrt{3} = \frac{a}{b} where a,ba, b are coprime integers and b0b \neq 0. Then:

3=a2b2a2=3b23 = \frac{a^2}{b^2} \quad \Rightarrow \quad a^2 = 3b^2

So a2a^2 is a multiple of 3, which means aa is a multiple of 3 (if 3 divides a2a^2, then 3 must divide aa). Write a=3ka = 3k. Substituting:

9k2=3b2b2=3k29k^2 = 3b^2 \quad \Rightarrow \quad b^2 = 3k^2

So b2b^2 is a multiple of 3, meaning bb is a multiple of 3. But then both aa and bb are multiples of 3, contradicting gcd(a,b)=1\gcd(a, b) = 1. Hence 3\sqrt{3} is irrational. \square

Problem 3

Negate: "For all integers nn, if nn is prime then nn is odd or n=2n = 2."

Solution

Step 1: Negate the universal quantifier. "There exists an integer nn such that it is not the case that (if nn is prime then nn is odd or n=2n = 2)."

Step 2: Negate the implication. "PQP \Rightarrow Q" negates to "PP and ¬Q\neg Q". So: "nn is prime and ¬(nisoddorn=2)\neg(n \mathrm{ is odd or } n = 2)."

Step 3: Apply De Morgan's law. ¬(AB)=(¬A)(¬B)\neg(A \lor B) = (\neg A) \land (\neg B). So: "nn is even and n2n \neq 2."

Full negation: "There exists an integer nn such that nn is prime and nn is even and n2n \neq 2."

Since no such integer exists (the only even prime is 2), the negation is false, confirming the original statement is true.

Problem 4

Let f(x)=x25x+6f(x) = x^2 - 5x + 6. A student claims: "For all real xx, f(x)0f(x) \ge 0." Disprove by counterexample.

Solution

Factorise: f(x)=(x2)(x3)f(x) = (x - 2)(x - 3). Testing x=2.5x = 2.5:

f(2.5)=(2.52)(2.53)=(0.5)(0.5)=0.25<0f(2.5) = (2.5 - 2)(2.5 - 3) = (0.5)(-0.5) = -0.25 \lt 0

So f(2.5)<0f(2.5) \lt 0, providing a counterexample. The claim is false. (In fact, f(x)0f(x) \ge 0 only when x2x \le 2 or x3x \ge 3.)

Problem 5

Prove by cases: for all integers nn, n2+nn^2 + n is even.

Solution

Case 1: nn is even. Then n=2kn = 2k for some integer kk.

n2+n=4k2+2k=2(2k2+k)n^2 + n = 4k^2 + 2k = 2(2k^2 + k)

Since 2k2+k2k^2 + k is an integer, n2+nn^2 + n is even.

Case 2: nn is odd. Then n=2k+1n = 2k + 1 for some integer kk.

n2+n=(2k+1)2+(2k+1)=4k2+4k+1+2k+1=4k2+6k+2=2(2k2+3k+1)n^2 + n = (2k+1)^2 + (2k+1) = 4k^2 + 4k + 1 + 2k + 1 = 4k^2 + 6k + 2 = 2(2k^2 + 3k + 1)

Since 2k2+3k+12k^2 + 3k + 1 is an integer, n2+nn^2 + n is even.

In both cases n2+nn^2 + n is even. \square

Problem 6

A student writes the following "proof". Identify the error.

"Claim: If x2=y2x^2 = y^2, then x=yx = y.

Proof: x2=y2x^2 = y^2. Taking square roots, x=yx = y. QED."

Solution

The error is in the step "taking square roots gives x=yx = y". This is invalid because x2=x\sqrt{x^2} = |x|, not xx. From x2=y2x^2 = y^2 we get x=y|x| = |y|, which means x=yx = y or x=yx = -y.

Counterexample: x=3x = 3, y=3y = -3. Then x2=9=y2x^2 = 9 = y^2, but 333 \neq -3.

The correct statement is: "If x2=y2x^2 = y^2, then x=yx = y or x=yx = -y."

Problem 7

Prove by contrapositive: if 3n+23n + 2 is odd, then nn is odd.

Solution

The contrapositive is: if nn is not odd (i.e. nn is even), then 3n+23n + 2 is not odd (i.e. 3n+23n + 2 is even).

Proof. Let nn be even, so n=2kn = 2k for some integer kk. Then:

3n+2=3(2k)+2=6k+2=2(3k+1)3n + 2 = 3(2k) + 2 = 6k + 2 = 2(3k + 1)

Since 3k+13k + 1 is an integer, 3n+23n + 2 is even. By contrapositive, if 3n+23n + 2 is odd then nn is odd. \square

Problem 8

Prove by contradiction: there is no largest integer.

Solution

Assume, for contradiction, that there is a largest integer. Call it NN. Then for every integer nn, nNn \le N. But N+1N + 1 is an integer and N+1>NN + 1 \gt N, contradicting the assumption that NN is the largest integer. Hence there is no largest integer. \square

Problem 9

Determine whether each condition is necessary, sufficient, both, or neither for "nn is divisible by 15":

(a) nn is divisible by 3.

(b) nn is divisible by 3 and by 5.

(c) nn is divisible by 30.

(d) nn ends in the digit 5.

Solution

(a) Necessary but not sufficient. If 15n15 \mid n then 3n3 \mid n (so necessary). But 363 \mid 6 while 15615 \nmid 6 (so not sufficient).

(b) Necessary and sufficient. 3n3 \mid n and 5n5 \mid n together mean nn is a common multiple of 3 and 5. Since gcd(3,5)=1\gcd(3, 5) = 1, the least common multiple is 1515, so 15n15 \mid n.

(c) Sufficient but not necessary. If 30n30 \mid n then 15n15 \mid n (since 30=2×1530 = 2 \times 15). But 151515 \mid 15 while 301530 \nmid 15.

(d) Neither. Not sufficient: 2525 ends in 5 but 152515 \nmid 25. Not necessary: 3030 is divisible by 15 but does not end in 5.

Problem 10

Let PP and QQ be statements. In terms of PP and QQ, express: "It is not the case that both PP and QQ are true." Show that this is logically equivalent to "At least one of PP, QQ is false."

Solution

"It is not the case that both PP and QQ are true" is ¬(PQ)\neg(P \land Q).

By De Morgan's law: ¬(PQ)(¬P)(¬Q)\neg(P \land Q) \equiv (\neg P) \lor (\neg Q).

"At least one of PP, QQ is false" means either PP is false or QQ is false (or both), which is precisely ¬P¬Q\neg P \lor \neg Q.

Therefore the two statements are logically equivalent. This can also be verified by truth table:

PPQQPQP \land Q¬(PQ)\neg(P \land Q)¬P\neg P¬Q\neg Q¬P¬Q\neg P \lor \neg Q
TTTFFFF
TFFTFTT
FTFTTFT
FFFTTTT

The fourth and seventh columns are identical, confirming equivalence.