• Practice
  • About 15 min
  • 5 practice questions

What a set is and the two ways of writing it

Decide whether a collection is a set, use the symbols ∈ and ∉, name the standard number sets N, W, I, Q and R, and write a set in listing (roster) form and in rule (set-builder) form.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Tell a well-defined collection (a set) from a vague one.
  • Use capital letters for sets, small letters for elements, and the symbols ∈ and ∉.
  • Write the same set in listing method and in rule method, and switch between them.

Mathematics keeps sorting things into groups: even numbers, factors of 24, points on a line, solutions of an equation. The idea of a set gives us one clear language for all these groups. Once you can write sets neatly, the rest of this chapter (Venn diagrams, union, intersection and counting problems) becomes easy, and the same language returns later in probability and functions.

When is a collection a set?

A collection is a set only if we can decide clearly, for any object, whether it belongs to the collection or not. 'The months that begin with the letter J' is a set: January, June and July belong, and nothing else does. 'The cleverest students in the school' is not a set, because 'cleverest' means different things to different people, so two people could list different members.

Set or not a set?

  • Sets (well defined)
    • Vowels of the English alphabet
    • Factors of 18
    • Districts of a state on a given map
    • Even numbers between 1 and 20
  • Not sets (vague)
    • Beautiful gardens of a city
    • Difficult sums in a book
    • Famous singers
    • Good players in a team
Words such as beautiful, difficult, famous and good depend on opinion, so they do not define a set.

Names, elements and the symbols ∈ and ∉

We usually name a set with a capital letter such as A, B or P and list its members, called elements, inside curly brackets. If 7 is an element of set A we write 7 ∈ A (read '7 belongs to A'). If 8 is not an element of A we write 8 ∉ A ('8 does not belong to A').

Standard number sets used in the Balbharati book
SymbolThe setSome elements
NNatural numbers1, 2, 3, 4, ...
WWhole numbers0, 1, 2, 3, ...
IIntegers..., −2, −1, 0, 1, 2, ...
QRational numbersnumbers p/q with p, q integers and q ≠ 0, such as 3/4 and −5
RReal numbersall rational and irrational numbers

Method 1: listing (roster) method

Write every element once, inside curly brackets, separated by commas. The order does not matter, and an element that repeats is written only once. For a set with very many elements that follow a clear pattern we may use three dots, as in N = {1, 2, 3, ...}.

Method 2: rule (set-builder) method

Instead of listing, we describe a general element x and the property it must have. The vertical bar (or a colon) is read 'such that'. For example, P = {x | x ∈ N, x < 6} is read 'P is the set of all x such that x is a natural number less than 6', so P = {1, 2, 3, 4, 5}. The set of rational numbers itself is written in this form: Q = {p/q | p, q ∈ I, q ≠ 0}.

Listing method: write each element once, in any order, inside { }. Rule method: { x | property of x }, where | is read 'such that'.

— Writing a set

Worked example 1: letters of a word

Write the set of letters of the word 'COMMITTEE' in listing form. Working: the letters are C, O, M, M, I, T, T, E, E. Each repeated letter is written once: {C, O, M, I, T, E}. The set has 6 elements even though the word has 9 letters.

Worked example 2: from rule to list

Write B = {y | y ∈ I, y² = 16} in listing form. Working: we need integers whose square is 16. Both 4 × 4 = 16 and (−4) × (−4) = 16, so B = {−4, 4}. Forgetting the negative value is a common slip.

Worked example 3: from list to rule

Write C = {7, 14, 21, 28, 35} in rule form. Working: each element is 7 times a natural number from 1 to 5, so C = {x | x is a multiple of 7, x ∈ N, x ≤ 35}. Another correct answer is C = {7n | n ∈ N, n ≤ 5}. Check that the rule lets in exactly these five numbers and nothing else.

Turning a rule into a list

  1. Read the rule Note the kind of number (N, W, I ...) and the condition.
  2. Find candidates Test values that could fit the condition.
  3. Keep only those that fit Discard values outside the stated number set.
  4. Write each once in { } Order does not matter.

Key takeaways: a set is a well-defined collection; use ∈ and ∉ for membership; N, W, I, Q and R are the standard number sets; listing method shows every element once, while rule method states the property that decides membership.

Check your understanding

  1. 1. Which of these collections is a set?

    1. Interesting stories in a library
    2. Vowels of the English alphabet
    3. Tall buildings in a city
    4. Tasty fruits of the season
    Show answer

    Answer: B. The vowels are exactly a, e, i, o, u, so membership is clear. 'Interesting', 'tall' and 'tasty' depend on opinion, so those collections are not well defined.

  2. 2. What is {x | x ∈ N, x is a factor of 12} in listing form?

    1. {2, 3, 4, 6}
    2. {12, 24, 36, ...}
    3. {1, 2, 3, 4, 6, 12}
    4. {1, 2, 3, 4, 5, 6}
    Show answer

    Answer: C. The factors of 12 are the natural numbers that divide 12 exactly: 1, 2, 3, 4, 6 and 12. 1 and 12 themselves are factors too. {12, 24, 36, ...} lists multiples, not factors, and 5 is not a factor of 12.

  3. 3. What is the set of letters of the word 'BANANA' in listing form?

    1. {B, A, N}
    2. {B, A, N, A, N, A}
    3. {A, N}
    4. {B, N}
    Show answer

    Answer: A. The word uses only the letters B, A and N. In a set each element is written once, so the set is {B, A, N}.

  4. 4. Which statement is true?

    1. 0 ∈ N
    2. 3/5 ∈ I
    3. −4 ∉ W
    4. 7 ∉ Q
    Show answer

    Answer: C. Whole numbers are 0, 1, 2, ..., so −4 is not a whole number and −4 ∉ W is true. 0 is not a natural number, 3/5 is not an integer, and 7 = 7/1 is rational, so the other three are false.

  5. 5. Which rule describes the set {5, 10, 15, 20} exactly?

    1. {x | x ∈ N, x is a multiple of 5}
    2. {x | x ∈ N, x is a multiple of 5 and x ≤ 20}
    3. {x | x ∈ N, x is a multiple of 5 and x < 20}
    4. {x | x ∈ N, x is a multiple of 10 and x ≤ 20}
    Show answer

    Answer: B. The multiples of 5 that are natural numbers up to and including 20 are 5, 10, 15, 20. Without an upper limit the set is infinite; with x < 20 the element 20 is lost; multiples of 10 give only {10, 20}.

Sign in to keep track of the lessons you finish.

Next lesson → Types of sets and equal sets

Privacy · Terms · Refunds · Delivery