• Practice
  • About 15 min
  • 5 practice questions

Sets, elements and the three ways of writing a set

Decide whether a collection is a set, use the symbols ∈ and ∉, and write a set in descriptive form, set builder form and roster 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, curly brackets for elements and the symbols ∈ and ∉.
  • Write one set in descriptive, set builder and roster form, and change from one form to another.

We sort things into groups all the time: the books on a shelf, the players in a team, the even numbers. Mathematics needs a precise way of talking about such groups, and that is what set language gives us. The theory of sets was developed by the German mathematician Georg Cantor, and today almost every branch of mathematics is written in it. Everything in this chapter, from Venn diagrams to counting problems, rests on the ideas of this first lesson.

What makes a collection a set?

A set is a well-defined collection of objects. 'Well-defined' means that for any object you are given, you can decide without argument whether it belongs to the collection or not. The objects in a set are called its members or elements.

'The months of the year that have 30 days' is a set: April, June, September and November belong, and every other month clearly does not. 'The most talented singers in Chennai' is not a set, because 'most talented' is a matter of opinion and two people could list different singers.

Set or not a set?

  • Well defined: sets
    • Prime numbers less than 30
    • Colours of a rainbow
    • Districts of Tamil Nadu
    • Letters of the word CHENNAI
  • Not well defined: not sets
    • Kind people in a village
    • Tall students in a class
    • Delicious dishes
    • Easy chapters in a book
Words like kind, tall, delicious and easy depend on the person judging, so they do not fix the members.

Notation

  • A set is named by a capital letter: A, B, P, X and so on.
  • Its elements are written inside curly brackets { }, separated by commas.
  • If x is an element of A we write x ∈ A, read 'x belongs to A'.
  • If x is not an element of A we write x ∉ A, read 'x does not belong to A'.
  • Each element is listed only once, and the order of listing does not change the set.

For example, if A = {3, 6, 9, 12}, then 9 ∈ A and 12 ∈ A, but 4 ∉ A and 15 ∉ A.

Three ways of representing a set

One set, three forms
FormHow it is writtenExample: odd natural numbers less than 10
Descriptive formIn wordsThe set of odd natural numbers less than 10
Set builder (rule) formA rule that every element obeys: {x : rule}{x : x is an odd natural number, x < 10}
Roster (tabular) formEvery element listed in { }{1, 3, 5, 7, 9}

In set builder form the colon ':' or the bar '|' is read 'such that'. So {x : x ∈ N, x < 4} is read 'the set of all x such that x is a natural number less than 4', and its roster form is {1, 2, 3}. When a set has very many elements that follow a clear pattern, roster form uses three dots, called an ellipsis, as in {2, 4, 6, 8, ...}. The textbook uses N for natural numbers, W for whole numbers and Z for integers.

Descriptive form uses words, set builder form uses a rule {x : ...}, and roster form lists each element once inside { }.

— Three forms of a set

Worked example 1: letters of a word

Write the set of letters of the word COMMITTEE in roster form. Working: the letters in order are C, O, M, M, I, T, T, E, E. Writing each letter only once gives {C, O, M, I, T, E}. The word has 9 letters but the set has only 6 elements.

Worked example 2: from set builder to roster

Write B = {x : x ∈ Z, −2 ≤ x < 3} in roster form. Working: the integers from −2 up to (but not including) 3 are −2, −1, 0, 1, 2. So B = {−2, −1, 0, 1, 2}. Note that −2 is included because of '≤', and 3 is left out because of '<'.

Worked example 3: from roster to set builder

Write C = {1, 8, 27, 64, 125} in set builder form. Working: 1 = 1³, 8 = 2³, 27 = 3³, 64 = 4³ and 125 = 5³. So C = {x : x = n³, n ∈ N, n ≤ 5}. Check: n = 1, 2, 3, 4, 5 give exactly these five cubes and nothing more.

Changing set builder form into roster form

  1. Read the rule Note the kind of number (N, W, Z) and the condition.
  2. Try values Test each candidate against the condition.
  3. Keep those that fit Check the end points carefully: < or ≤?
  4. List each once in { } Order does not matter.

Key takeaways: a set is a well-defined collection; ∈ means 'belongs to' and ∉ means 'does not belong to'; a set can be written in descriptive, set builder or roster form; in roster form each element appears once and order does not matter.

Check your understanding

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

    1. The bravest soldiers in history
    2. The factors of 20
    3. The most useful inventions
    4. The prettiest beaches of India
    Show answer

    Answer: B. The factors of 20 are exactly 1, 2, 4, 5, 10 and 20, so membership is clear. 'Bravest', 'most useful' and 'prettiest' depend on opinion, so those collections are not well defined.

  2. 2. What is the set of letters of the word SUCCESS in roster form?

    1. {S, U, C, C, E, S, S}
    2. {S, U, C}
    3. {S, U, C, E}
    4. {U, C, E}
    Show answer

    Answer: C. The letters are S, U, C, C, E, S, S. Writing each one once gives {S, U, C, E}, a set of 4 elements.

  3. 3. If P = {2, 4, 6, 8}, which statement is true?

    1. 5 ∈ P
    2. 8 ∉ P
    3. 2 ∉ P
    4. 10 ∉ P
    Show answer

    Answer: D. 10 is not listed in P, so 10 ∉ P is true. 5 is not in P, so 5 ∈ P is false; 8 and 2 are in P, so '8 ∉ P' and '2 ∉ P' are false.

  4. 4. What is {x : x ∈ W, x < 4} in roster form?

    1. {0, 1, 2, 3}
    2. {1, 2, 3}
    3. {1, 2, 3, 4}
    4. {0, 1, 2, 3, 4}
    Show answer

    Answer: A. Whole numbers start at 0. Those less than 4 are 0, 1, 2 and 3; 4 itself is excluded because the sign is '<'.

  5. 5. Which set builder form describes {5, 10, 15, 20, 25}?

    1. {x : x is a multiple of 5, x ∈ N}
    2. {x : x = 5n, n ∈ N, n ≤ 5}
    3. {x : x = 5n, n ∈ N, n < 5}
    4. {x : x = n + 5, n ∈ N, n ≤ 5}
    Show answer

    Answer: B. With x = 5n and n = 1, 2, 3, 4, 5 we get 5, 10, 15, 20, 25 exactly. Without a limit the set never ends; n < 5 stops at 20; and n + 5 gives 6, 7, 8, 9, 10.

Privacy · Terms · Refunds · Delivery