• Foundation
  • About 16 min
  • 5 practice questions

What a set is: roster form and set-builder form

Decide whether a collection is a well-defined set, use the symbols ∈ and ∉, and write any set in roster form and in set-builder form.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Explain what makes a collection of objects a well-defined set.
  • Use ∈ (belongs to) and ∉ (does not belong to) correctly.
  • Recognise the standard number sets N, Z, Q, R, Z⁺, Q⁺ and R⁺.
  • Write a set in roster form and in set-builder form, and convert between the two.

Almost every topic in Class 11 and 12 mathematics is written in the language of sets: the domain of a function, the solution of an inequality, the sample space in probability. This first lesson builds that language from the ground up, so that later chapters can say exactly what they mean in a single line.

A set is a well-defined collection

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

Compare two collections. The collection of even numbers between 1 and 15 is well-defined: 8 is in it, 9 is not, and everyone agrees. The collection of the five most interesting books in a library is not well-defined, because what is interesting to one reader is boring to another. The first is a set; the second is not.

Set or not a set?

  • Well-defined: a set
    • Factors of 24
    • Months with 30 days
    • Letters of the word INDIA
    • Solutions of x² = 9
  • Not well-defined: not a set
    • Clever students in a class
    • Tall buildings in Delhi
    • Tasty fruits
    • Famous singers
A collection is a set only when membership can be decided without opinion.

Notation and symbols

Sets are named with capital letters such as A, B, X and their elements are usually written with small letters such as a, b, x. If a is an element of A we write a ∈ A and read it as a belongs to A. If b is not an element of A we write b ∉ A. For example, if V is the set of vowels of the English alphabet, then e ∈ V and k ∉ V.

Some sets of numbers are used so often that they have fixed symbols. These symbols are used throughout the book, so learn them now.

Standard number sets
SymbolThe set ofExamples of elements
Nnatural numbers1, 2, 3, ...
Zintegers..., −2, −1, 0, 1, 2, ...
Qrational numbers−3, 1/2, 0.75
Rreal numbers√2, π, −4.1
Z⁺positive integers1, 2, 3, ...
Q⁺positive rational numbers2/3, 5
R⁺positive real numbers0.1, √3

Roster (tabular) form

In roster form every element is listed, separated by commas, inside braces { }. The set of prime numbers less than 12 is {2, 3, 5, 7, 11}. Three conventions apply. First, the order of listing does not matter: {2, 3, 5} and {5, 2, 3} are the same set. Second, an element is written only once, so the set of letters of the word BANANA is {B, A, N}. Third, a set with a clear pattern that goes on for ever can be shown with dots, as in {5, 10, 15, ...}.

Set-builder form

In set-builder form we describe the elements by a property that every element has and no outside object has. We write {x : property of x}. The braces stand for the set of all, and the colon stands for such that. So {x : x is a prime number less than 12} is read as the set of all x such that x is a prime number less than 12. The letter x is only a placeholder; y or n would do equally well.

Roster form lists the elements: {2, 3, 5, 7}. Set-builder form states the rule: {x : x is a prime number and x < 10}. Both describe the same set.

— Two ways to write a set

Converting from set-builder form to roster form

  1. Read the rule Note the universal type of number (N, Z, R) and the condition.
  2. Find every object that passes Solve the equation or test each candidate.
  3. List them once each Drop repeats; order does not matter.
  4. Check the edges Is each end value included (≤) or excluded (<)?

Worked example 1: a solution set

Write the solution set of x² − 7x + 12 = 0 in roster form. Working: we need two numbers with product 12 and sum −7, namely −3 and −4. So x² − 7x + 12 = (x − 3)(x − 4) = 0, which gives x = 3 or x = 4. The solution set is {3, 4}. Check: 9 − 21 + 12 = 0 and 16 − 28 + 12 = 0.

Worked example 2: integers with a squared condition

Write {x : x ∈ Z and x² < 20} in roster form. Working: we test integers from 0 outwards. 4² = 16 < 20, but 5² = 25 is not less than 20. Negative integers behave the same way because (−4)² = 16. So x can be −4, −3, −2, −1, 0, 1, 2, 3 or 4, and the set is {−4, −3, −2, −1, 0, 1, 2, 3, 4}. Notice that 0 is included: 0² = 0 < 20.

Worked example 3: from roster to set-builder

Write {3, 9, 27, 81} in set-builder form. Working: 3 = 3¹, 9 = 3², 27 = 3³ and 81 = 3⁴. So every element is a power of 3 with exponent from 1 to 4: {x : x = 3ⁿ, n ∈ N and 1 ≤ n ≤ 4}.

Worked example 4: a pattern of fractions

Write {1/3, 2/4, 3/5, 4/6, 5/7} in set-builder form. Working: in each fraction the denominator is 2 more than the numerator, and the numerator runs from 1 to 5. So the set is {x : x = n/(n + 2), n ∈ N and 1 ≤ n ≤ 5}. Do not simplify 2/4 to 1/2 here; the rule describes how each element is built.

Key takeaways: a set must be well-defined; ∈ means belongs to and ∉ means does not belong to; roster form lists distinct elements in any order, while set-builder form states a rule. When you convert, check the end values carefully and never repeat an element.

Check your understanding

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

    1. The collection of good singers in Mumbai
    2. The collection of difficult chapters in this book
    3. The collection of prime numbers less than 20
    4. The collection of beautiful flowers in a garden
    Show answer

    Answer: C. Only the primes less than 20 form a well-defined collection: 2, 3, 5, 7, 11, 13, 17 and 19, and anyone can check whether a number belongs. Good, difficult and beautiful are matters of opinion, so those collections are not well-defined.

  2. 2. What is {x : x ∈ Z and −2 ≤ x < 3} in roster form?

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

    Answer: B. −2 is included because of ≤, and 3 is excluded because of <. The integers in between are −1, 0, 1 and 2, so the set is {−2, −1, 0, 1, 2}.

  3. 3. How many elements does the set of letters of the word COMMITTEE have?

    1. 9
    2. 7
    3. 6
    4. 5
    Show answer

    Answer: C. The letters are C, O, M, M, I, T, T, E, E. Writing each letter only once gives {C, O, M, I, T, E}, which has 6 elements.

  4. 4. Which is the set-builder form of {2, 5, 10, 17, 26}?

    1. {x : x = n² + 1, n ∈ N and 1 ≤ n ≤ 5}
    2. {x : x = 2n + 1, n ∈ N and 1 ≤ n ≤ 5}
    3. {x : x = n² − 1, n ∈ N and 1 ≤ n ≤ 5}
    4. {x : x = 3n − 1, n ∈ N and 1 ≤ n ≤ 5}
    Show answer

    Answer: A. 1² + 1 = 2, 2² + 1 = 5, 3² + 1 = 10, 4² + 1 = 17 and 5² + 1 = 26. The rule 2n + 1 gives 3 first, n² − 1 gives 0 first and 3n − 1 gives 2, 5, 8, so they do not fit.

  5. 5. Let A = {x : x ∈ N and x is a factor of 12}. Which statement is true?

    1. 5 ∈ A
    2. 6 ∈ A
    3. 0 ∈ A
    4. 24 ∈ A
    Show answer

    Answer: B. A = {1, 2, 3, 4, 6, 12}. 6 divides 12, so 6 ∈ A. 5 does not divide 12, 0 is not a natural number, and 24 is a multiple of 12, not a factor.

Privacy · Terms · Refunds · Delivery