Discrete Mathematics and Graphs · BE5B01DMG · Topic 2 of 12
Quantifiers and proof methods
Domains and quantifier order matter. Choose a proof structure that matches the statement.
Key ideas
Specify the domain
Over the real numbers, every x has a larger y: choose y=x+1. There is no single real y larger than every real x.
Negate carefully
Flip each quantifier and negate the final predicate. The negation of “f is nondecreasing” exhibits a pair violating the inequality.
Direct, contrapositive, contradiction
To prove A⇒B, deduce B from A, prove ¬B⇒¬A, or assume A and ¬B and derive a contradiction. The converse B⇒A needs a separate proof.
Induction
Prove the initial case; assume P(n) for an arbitrary n in the stated range; derive P(n+1). For the sum of odd integers, add 2n+1 to n².
In one line: A quantified claim requires the correct domain; an induction requires both steps.
Formulas
- Specify the domain
- Negate carefully
- Direct, contrapositive, contradiction
- Induction
Practice with worked solutions
Question 1
Negate: for every real x there is a real y with y>x.
- ∀x∃y: y≤x
- ∃x∀y: y≤x (correct)
- ∃y∀x: y>x
- ∀x∀y: y≤x
Worked solution
Negation flips ∀ to ∃ and ∃ to ∀ and replaces > by ≤ without changing the variable order.
Question 2
If n² is even, which parity must n have? Enter 0 for even, 1 for odd.
Worked solution
Answer: 0
An odd n has odd square; use the contrapositive.
Question 3
Compute 1+3+5+⋯+19.
Worked solution
Answer: 100
There are ten odd terms and their sum is 10².
More Discrete Mathematics and Graphs practice in Ucenly
Sources
Written by Ucenly. Based on the BE5B01DMG course materials:
- 1 Logic, p. 13, 14, 16, 17
- 1 Logic - tutorial 2026, p. 11