Skip to content
The Lumenary

Each worksheet prints cleanly on A4 or Letter. Answer keys are on a separate page.

The Lumenary · Grades 6–8

Set-builder notation, quantifiers and infinite sets

Name: ______________________

Date: ______________________

You will learn to

  • Read and write sets in set-builder notation, such as {n∈N:n is even}\{n \in \N : n \text{ is even}\}
  • Translate between everyday sentences and statements using ∀\forall and ∃\exists, and negate them correctly
  • Explain why the order of mixed quantifiers matters, and why a statement about every element of the empty set is true
  • Prove that N\N and the even numbers are infinite, and explain why “infinity” is not a very large natural number
  1. 1.

    List the elements of {n∈N:n2<30}\{n \in \N : n^2 < 30\}. (Remember that N={0,1,2,… }\N = \{0, 1, 2, \dots\}.)

  2. 2.

    Which sentence is the denial (negation) of “Every train from Mombasa arrived on time today”?

    • A.No train from Mombasa arrived on time today.
    • B.At least one train from Mombasa did not arrive on time today.
    • C.Every train from Mombasa arrived late today.
    • D.At least one train from Mombasa arrived on time today.
  3. 3.

    Is the statement “Every element of the empty set is greater than 100100” true or false?

    • A.True
    • B.False, because no element is greater than 100100
    • C.Neither: the statement is meaningless
  4. 4.

    Which of these statements are true? Choose all that apply.

    • A.∀x∈Z ∃y∈Z, y<x\forall x \in \Z\ \exists y \in \Z,\ y < x
    • B.∃y∈Z ∀x∈Z, y<x\exists y \in \Z\ \forall x \in \Z,\ y < x
    • C.∃y∈N ∀x∈N, y≤x\exists y \in \N\ \forall x \in \N,\ y \le x
    • D.∀x∈N ∃y∈N, y<x\forall x \in \N\ \exists y \in \N,\ y < x
  5. 5.

    Let SS be the set of students in a class, and let M(t,s)M(t, s) mean “tt has met ss”. Which statement says “There is a student whom every student in the class has met”?

    • A.∃s∈S ∀t∈S, M(t,s)\exists s \in S\ \forall t \in S,\ M(t, s)
    • B.∀t∈S ∃s∈S, M(t,s)\forall t \in S\ \exists s \in S,\ M(t, s)
    • C.∃s∈S ∃t∈S, M(t,s)\exists s \in S\ \exists t \in S,\ M(t, s)
    • D.∀s∈S ∀t∈S, M(t,s)\forall s \in S\ \forall t \in S,\ M(t, s)
  6. 6.

    Which sentence is the denial of “Every country has a city with more than a million people”?

    • A.Some country has no city with more than a million people.
    • B.Every country has a city with at most a million people.
    • C.No country has a city with more than a million people.
    • D.Some country has a city with at most a million people.
  7. 7.

    How many elements does the set {x∈Z:−3≤2x+1≤7}\{x \in \Z : -3 \le 2x + 1 \le 7\} have?

  8. 8.

    Lena wants to prove that the even numbers are infinite. She is given a non-empty finite list of even natural numbers whose largest entry is MM. Which number is certainly an even number missing from the list, whatever the list is?

    • A.M+1M + 1
    • B.M+2M + 2
    • C.2M2M
    • D.M/2M / 2
  9. 9.

    Which Lean statement says that there is no largest natural number?

    • A.∀ x : Nat, ∃ y, y > x
    • B.∃ y : Nat, ∀ x, y > x
    • C.∀ x y : Nat, y > x
    • D.∃ x y : Nat, y > x
  10. 10.

    Pierre de Fermat believed (around 1640) that every number 22k+12^{2^k} + 1 is prime. Write first_counterexample(prop, limit), which returns the first k in range(limit) for which prop(k) is False, or None if there is none. Then use it with the is_prime function provided to test Fermat's claim for k=0,1,…,5k = 0, 1, \dots, 5.

    Computational — Practice

Code: Apache-2.0 · Content: CC BY-SA 4.0