Concept stop · What is it?

Elements and Sets

In the Chinese book: 元素与集合

A set is given by a property; deciding membership often means rephrasing it.

📖 Chapter 1 of 《集合》M10 Choosing Good Notation line

Hands first, words secondDon't reveal yet. Go through 1–12 one by one, and mark a number ∈ if it is a difference of two integer squares.

Loading figure…

Try this

  1. Without revealing the answers, decide about each of . Which ones can you write as at a glance?
  2. Tap “Reveal”, then “Rows by residue mod ”. One whole row contains no element of at all. Which row?
  3. Tap a number that is not in and read why it is not.
  4. Now tap a number that is in . Is the machine's way of writing it the only one? For example, as which other difference of two squares can you write ?

The set means: the elements of are exactly the objects with property (the comprehension principle). Deciding whether means deciding whether has property . If the property is stated clearly, the set is well defined. But “stated clearly” is not the same as “easy to decide”: that empty row above has to be proved, not just seen.

Predict first

. Does belong to ?

Choose an answer first; then you can see the result.

Why

What we have to prove is that two sets are equal: . The description on the left is hard to check; the one on the right can be checked at a glance.

Which numbers are a difference of two squares?

Step 1 / 5
Loading figure…
  1. Every odd number is in

    An odd number is the difference of two consecutive squares. The rows for remainder and remainder lie entirely in .

Change the property: sums of squares

Swap “difference” for “sum”: . Sort the numbers by their remainder mod again.

Loading figure…
Which row is empty? Are all the other rows full?

The row for remainder is empty, for the same reason as before: the sum of two squares can only be mod . But this time the converse is false: and leave remainder , yet neither is a sum of two squares. “Not leaving remainder mod ” is only a necessary condition for belonging to ; it cannot serve as another description of .

Three properties of elements

The elements of a set have three properties, and each one can bite you when solving problems:

  • Definiteness: for any given object, it is either in the set or not, one or the other. “Very large numbers” do not form a set.
  • Distinctness: each element is counted only once. is just , a two-element set.
  • Unorderedness: .

The number of elements of is written . Because of distinctness, a set like often has far fewer elements than there are “combinations”. The exercises below are about counting how many are left once repeats are removed.

Practice

Exercise 1Basic

How many of can be written as the difference of two integer squares?

Exercise 2Basic

Let and . Find .

Exercise 3Advanced

Given that and that this set has three elements, find .

Exercise 4Challenge

How many of can be written as with both positive integers?

Mistake Museum · Exhibits from this stop

Before you leave, look at the traps other people fell into here.See every exhibit in the museum →

Exhibit

Solving for the parameter and forgetting to check distinctness

The wrong step: , so or , giving or .
What went wrong? Think first, then open

Diagnosis When , both elements and equal , and the set reads . The elements of a set must be distinct, so this is not a two-element set at all.

The right step: After solving, substitute each candidate back. makes the two elements equal, so reject it; gives the set , which works. So .

“When a set contains a parameter, always substitute back and check that the elements are distinct”

Exhibit

Treating ∅ and {∅} as the same thing

The wrong step: , because both sides are “empty”.
What went wrong? Think first, then open

Diagnosis has no elements at all; has one element, which happens to be the empty set. Think of an empty box versus a box containing one empty box.

The right step: and , but : one has elements, the other has .

“Count the elements first, then ask whether the sets are equal”