topic badge

2.09 Domain and range and set notation

Lesson

Set notation

A set is a collection of objects that have a common property.  

So, if you think about all the things in your pencil case, this could be considered a set. 

You can probably come up with lots of other sets of objects. The clothes you have in your wardrobe, the names of streets you pass by on your way to school, animals that have four legs or people in your family for example. 

To describe a set using mathematical notation, we use large curly parentheses and list all the items of the set between them. Each object in the set is called an element

$\left\{\text{pencils, pens, sharpener, protractor, scissors, eraser, compass, glue, highlighter, calculator}\right\}${pencils, pens, sharpener, protractor, scissors, eraser, compass, glue, highlighter, calculator} 

The mathematical convention is to use capital letters when referring to the set, and lower case letters for elements in the set.  So the set $A$A of things I eat for breakfast can be written 

$A=\left\{\text{cereal},\text{eggs},\text{toast},\text{muffins}\right\}$A={cereal,eggs,toast,muffins}

and I would refer the element $a$a that is in $A.$A.

We also use the symbol $\in$ to make statements about whether elements are part of the set or not.

For example, $\text{toast}\in A$toastA and $\text{eggs}\in A$eggsA reads as toast is an element in the set $A$A and eggs is in the set $A$A. But if the element is NOT in the set then we use the symbol $\notin$ instead. So $\text{peaches}\notin A$peachesA and $\text{yogurt}\notin A$yogurtA reads as peaches are not in the set $A$A and yogurt is not an element in the set $A$A.

Of course we can have sets in mathematics as well, and these sets tend to have numbers or algebraic symbols.  

 

Finite sets

Let's have a look at some numerical sets. 

The set of odd numbers less than $10$10 would look like this: $\left\{1,3,5,7,9\right\}${1,3,5,7,9}

The set of multiples of $5$5 up to $50$50$\left\{5,10,15,20,25,30,35,40,45,50\right\}${5,10,15,20,25,30,35,40,45,50}

The set of factors of $24$24$\left\{1,2,3,4,6,8,12,24\right\}${1,2,3,4,6,8,12,24}

Some sets can just be groups of numbers that appear to have nothing else in common except that they are in the same set together. For example, $\left\{3,7.4,1004,33^4\right\}${3,7.4,1004,334}

These sets are called finite sets as they all have a finite number of elements.  The number of elements in a set is also called the sets cardinality, or the set's order.

 

Infinite sets

Here as some larger sets, 

The set of even positive integers: $\left\{2,4,6,8,...\right\}${2,4,6,8,...}

The set of multiples of $7$7$\left\{7,14,21,28,...\right\}${7,14,21,28,...}

Or this set: $\left\{\frac{1}{2},\frac{1}{3},\frac{1}{4},\frac{1}{5},...\right\}${12,13,14,15,...}

These sets are all infinite sets as the number of elements in them is infinite. The $3$3 dots at the end of each, called an ellipsis, indicates that the elements of the set continue on.

We can also use an ellipsis to save us from having to write all the elements in the middle of a set.  For example the set of positive integers up to $100$100 could be written like this, $\left\{1,2,3,...,99,100\right\}${1,2,3,...,99,100}.

 

Special Sets

Universal setThe set of everything relevant to the question is called the universal set. For your work in school mathematics involving sets the universal sets you will use most often is the set of integers or the set of real numbers.  

Empty set: Also called the null set, an empty set is (as you might guess) empty. It is a set that has no elements in it. It's important to note here that an empty set does not have a zero in it, it is completely empty!  We can write $\left\{\ \right\}${ } to represent the empty set, but there is also a special symbol we use to denote the empty set: $\varnothing$.

Equal sets: Two sets are equal if and only if they contain exactly the same elements. They can be equal even if the notation used to describe them is different. For example,

$A=\left\{2,3,6,11\right\}$A={2,3,6,11}and $B=\left\{11,2,6,3\right\}$B={11,2,6,3} then $A=B$A=B

$A=\text{set of first 5 primes}$A=set of first 5 primes and $B=\left\{2,3,5,7,11\right\}$B={2,3,5,7,11} then $A=B$A=B

 

Worked Examples

question 1

List the elements in the set {$x$x$\mid$$x$x is a natural number less than $5$5}.

question 2

Which symbol will make the statement true?

$\left\{5\right\}${5} $\editable{}$ $\left\{3,4,5,6,7\right\}${3,4,5,6,7}

  1. $\in$

    A

    $\notin$

    B

 

Domain and range

These two words sound similar, don't they? They both seem to be talking about areas and spans, and in math, they have similar definitions:

Remember!

Domain - A set of input values of a relation

Range - A set of output values of a relation

There are a number of ways to find the domain and range of a relation.  One way is to look at the coordinates given and simply list the possible values.

Consider the relation described by the set of points $\left\{\left(1,2\right),\left(5,3\right),\left(2,-7\right),\left(5,-1\right)\right\}${(1,2),(5,3),(2,7),(5,1)}. For this relation, the domain is $\left\{1,5,2\right\}${1,5,2} and the range is $\left\{2,3,-7,-1\right\}${2,3,7,1}. Notice how repeated values are not included and order is not important, as we only care about the possible values of $x$x and $y$y

The other method is to look at a relation graphically, and see how 'wide' or 'long' the graph is:

Horizontally this graph spans from $-1$1 to $1$1, so we can write the domain as $-1\le x\le1$1x1. Similarly, the graph goes vertically from $-2$2 to $2$2 so the range can be written as $-2\le y\le2$2y2.

 

Practice questions

Question 3

Consider the relation in the table.

$x$x $y$y
$1$1 $3$3
$6$6 $2$2
$3$3 $7$7
$8$8 $1$1
$2$2 $2$2
  1. What is the domain of the relation? Enter the values, separated by commas.

  2. What is the range of the relation? Enter the values separated by commas.

  3. Is this relation a function?

    Yes

    A

    No

    B

Question 4

Consider the relation on the graph below.

Loading Graph...

Two points indicated by black dots on a Coordinate Plane where the horizontal axis is labeled "x" and ranges from 0 to $9$9, while the vertical axis is labeled "y" and ranges from 0 to 12. A solid line segment connects the two points, whose coordinates are $\left(3,5\right)$(3,5) and $\left(7,8\right)$(7,8).  The points are plotted as solid dots but the coordinates are not explicitly given.
  1. What is the domain of the relation?

    Express your answer using inequalities.

  2. What is the range of the relation?

    Express your answer using inequalities.

  3. Is this relation a function?

    Yes

    A

    No

    B

Question 5

Consider the graph of the parabolic relation on the $xy$xy-plane below.

Loading Graph...
A parabola that opens upward on an xy-plane with its vertex at the origin $\left(0,0\right)$(0,0). The coordinates of the vertex are not explicitly given.
  1. What is the domain of the relation?

    $x\ge0$x0

    A

    All real $x$x

    B

    $x\le0$x0

    C

    $x\le5$x5

    D
  2. What is the range of the relation?

    $y$y$\ge$$0$0

    A

    $y$y$\le$$10$10

    B

    All real $y$y

    C

    $y$y$\le$$0$0

    D
  3. Is this relation a function?

    Yes

    A

    No

    B

Outcomes

F.IF.B.5

Relate the domain of a function to its graph and, where applicable, to the quantitative relationship it describes.

What is Mathspace

About Mathspace