UcenlyOpen in the app

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.

Open the interactive lesson

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

Practice with worked solutions

Question 1

Negate: for every real x there is a real y with y>x.

  1. ∀x∃y: y≤x
  2. ∃x∀y: y≤x (correct)
  3. ∃y∀x: y>x
  4. ∀x∀y: y≤x
Worked solution
  1. ¬(∀x∃y y>x)≡∃x∀y y≤x\neg(\forall x\exists y\ y>x)\equiv\exists x\forall y\ y\le x

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

  1. nodd⇒n=2k+1⇒n2=4k(k+1)+1isodd.n odd ⇒ n=2k+1 ⇒ n²=4k(k+1)+1 is odd.
  2. Thereforen2even⇒neven.Therefore n² even ⇒ n even.

An odd n has odd square; use the contrapositive.

Question 3

Compute 1+3+5+⋯+19.

Worked solution

Answer: 100

  1. Thefirstnoddintegerssumton2byinduction.The first n odd integers sum to n² by induction.
  2. Heren=10,sothesumis100.Here n=10, so the sum is 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: