সেট প্রকাশের সেট গঠন পদ্ধতি

Before this, knowসেট প্রকাশের তালিকা পদ্ধতি

Interactive · 5 questions

Set-Builder Notation

Sometimes, we use roster form to describe sets. When we use roster form (or roster method), we simply list, or enumerate, each element of the set within a set of curly braces. For example, the following set is in roster form: {0,1,2,3,4,5}\{0, 1, 2, 3, 4, 5 \}

But what if we had a really big set—one with a large number of elements that all share a certain property? For example, what if we wanted to describe the set of integers from 00 to 100,100, inclusive? That's a lot of numbers, and it would take a while to write all of them out.

In this scenario, we might want to use set-builder notation. This means that instead of listing every single element of the set, we define the set based on conditions, (also called rules, properties, or predicates). So, if all members of your set meet a certain condition, set-builder notation may be the way to go.

Here's how it's set up:

Set-Builder Notation: {variable : conditions} or {variable | conditions}

Image source: by Caroline Kulczycky

Let's say our variable is x.x. In set-builder notation, we would write: {x:conditions}\{x: \text{conditions}\} or {x ∣ conditions}\{x \:| \text{ conditions}\}

This is the set of elements xx such that xx satisfies certain specified conditions. We will see examples of such conditions next.

Important note: We read the colon, :,:, or the bar, ∣,|, as "such that."

Let's revisit our set of integers from 00 to 100.100. All elements of this set meet the conditions that they are integers and they are between 00 and 100,100, inclusive. Thus, instead of describing this set in roster form, we can use set-builder notation like so: {x:x∈Z and 0≤x≤100}\{x : x \in \mathbb{Z} \text{ and }0 \leq x \leq 100\}

This reads as "xx such that xx is an integer and xx is between 00 and 100,100, inclusive." Notice that this is more concise than writing out all the integers from 00 and 100100 in the roster form of the set. However, sometimes it is easier to express a set in roster form, depending on the situation.

Expressing a Set using Set-Builder Notation

Is the following set described using set-builder notation?

{5,6,7,8,9}\{5, 6, 7, 8, 9\}
Choose one answer

Interactive · 1 question

Builder Notation

Set-builder notation is the mathematical notation for describing a set by stating all the properties that the elements in the set must satisfy.

The set is written in this form: {variable ∣\mid condition1, condition2,...}. The bar in the middle can be read as "such that".

Builder notation often uses math specific symbols such as ∈\in, NN, or ZZ. These symbols have special meanings in math, and if you see a new one you can always look it up. Here's a short list of ones you might see commonly:

  • ∈\in means "is in". So if you see x∈Nx \in N, that means that xx can only be numbers that are part of NN.
  • NN or N\mathbb{N} means "the natural numbers", or all positive integers.
  • ZZ or Z\mathbb{Z} means "integers".
  • QQ or Q\mathbb{Q} means "rational numbers", or any number that can be expressed by a fraction.
  • RR or R\mathbb{R} means "real numbers", or any number that isn't imaginary. If you don't know what that means, don't worry! It just means all the numbers.

Examples:

{x∣x∈N,x≤5}\{x | x \in N, x \le 5\}

x∈Nx \in N means that xx is in the natural numbers, so xx has to be an integer above 00. x≤5x \le 5 means that xx has to be equal to or less than 55. So, we could rewrite this set in roster notation as {1,2,3,4,5}\{1, 2, 3, 4, 5\}.

{x∣n∈N,x=2n}\{x | n \in N, x = 2n\}

Again, we know nn has to be a positive integer. xx is the set of numbers we want, and xx is equal to 22 times all possible values of nn, so xx must always be even. This means that our set is all positive even integers.

{(a,b)∣ab∈N}\{(a, b) | \frac{a}{b} \in N\}

For this expression, we're looking for a set of pairs. The pairs will always be related to each other in a consistent way—in this case, aa is always a numerator of a fraction that bb is the denominator for. This fraction always has to fit into the natural numbers, so it has to be a fraction that can be simplified into a positive integer.

For example, (6,3)(6, 3) is a member of this set, since it would form the fraction 63=2\frac{6}{3} = 2, which is a natural number. However, (3,6)(3, 6) is not a member of the set, since 36=0.5\frac{3}{6} = 0.5, which is not an integer and thus not a natural number.

Test Yourself!

What is the builder notation for the set A={...,−9,−6,−3,3,6,9,...}A =\{..., -9, -6, -3, 3, 6, 9, ...\}

Choose one answer

Interactive · 3 questions

Writing sets using basic bracket notation is a fine way to describe small sets with only a few elements, as in {1,3,5,7}\{1, 3, 5, 7\} or {Barack Obama,Joe Biden}\{\text{Barack Obama}, \text{Joe Biden}\}. However, this way of writing a set is less useful when we get more adventurous with the sets we are describing:

  • How would we describe the set which contains all of the odd counting numbers?
  • What about the set of people who work for President Barack Obama?

In these situations, either the set of elements we want to describe is very large (even infinitely large!), or it is described in terms of a property of the elements, rather than their identities. This is where set builder notation comes in:

  • The set of odd counting numbers can be written as: {Integers n∣n>0 and n is odd}\{\text{Integers } n \mid n > 0 \text{ and } n \text{ is odd}\} (read as "the set of integers nn such that nn is greater than 00 and nn is odd")
  • The set of people working for Barack Obama: {People p∣p works for Barack Obama}\{\text{People } p \mid p \text{ works for Barack Obama}\}

How it Works

In general, here's how it works. To describe a set using set builder notation, you start with a larger set, called the universe, and then you form a new set by describing the elements you want to pick out from the universe. More specifically, we give a name for a general element of the universe, and then use a logical formula to describe which elements are contained in the set.

To check if an element of the universe is contained in our set, we just plug that element into our formula, and see if it satisfies the whole logical statement.

For the first example above (describing the odd counting numbers):

  • The universe for our set builder notation is "the integers"
  • We named our general integer "nn"
  • Our formula involving the general element nn is "n>0 and n is oddn > 0 \text{ and } n \text{ is odd}"

To check if an integer is contained in this set, we plug it into the formula in place of nn. For instance, if we wanted to ask whether −3-3 was in this set, we'd check whether "−3>0 and −3 is odd-3 > 0 \text{ and } -3 \text{ is odd}". Since −3-3 is not greater than 00, we know that it isn't in our set. However, 1717 is in our set because "17>0 and 17 is odd17 > 0 \text{ and } 17 \text{ is odd}"

Your Turn!

Now it's your turn! Let's see if you really understand the different parts of set builder notation. In the second example above, about Barack Obama, can you identify the components of the set builder notation we used to describe a set?

What is the universe of the set builder notation?

Choose one answer

Video · + 2 min read

Set builder notation is the conventional format in which mathematicians define a set of elements. We use this notation to simply what we need to write as larger sets can be more complicated.

The general format of a set in set builder notation is as such: A={possible elements ∣ condition(s)}A=\{\text{possible elements } | \text{ condition(s)}\}

Lets break it down. We first define our set in curly brackets. In the first section, we need to indicate what type of elements we want in our set, the vertical line indicates "such that", and the statement(s) after the line will be our conditions. Make sure to remember though that this notation for "such that" can only be used when defining sets!

So what do we mean by the types of elements we want in our set? For example, we might want to only work with integers and don't want fractions or decimals, then we would use numbers in Z\mathbb{Z}. We call this the universal set for the set you are constructing. Here is a list of some common examples of universal sets that are commonly used:

  • Natural Numbers(N\mathbb{N}): All integers greater than or equal to 11
  • Integers(Z\mathbb{Z}): Negative whole numbers, positive whole numbers, and 00
  • Rational Numbers(Q\mathbb{Q}): All numbers that can be expressed as an integer divided by another integer
  • Real Numbers(R\mathbb{R}): All numbers that don't don't include imaginary numbers
  • Complex Numbers(C\mathbb{C}): All real numbers and imaginary numbers combined

If you want to learn more about these common sets, you can watch this video:

(Video) Number Sets

by SmithMathAcademy

This video by SmithMathAcademy describes number sets.

The second part of the set builder notation is the conditions. Now that we know what types of elements we want, for example integers, we can find the specific elements we want within the universal set. We indicate this with a single or multiple mathematical statements, depending on how complex you want your set to be. Below are some examples.

If we want to have a set of all numbers from 11 to 55: A={x∈N∣x≤5}A = \{x\in \mathbb{N} | x\leq 5\}

If we want all integers between −2-2 and 22: B={y∈Z∣x>−2 and x<2}B = \{y\in \mathbb{Z}|x>-2\text{ and }x<2\}

Make sure that you always indicate the universal set as this gives readers the context of the set so they know what you mean specifically.

Which set is defined as the set of all nonnegative integers?

Choose one answer

Video

(Video) An Introduction to Set Builder Notation, Intermediate Algebra, Lesson 28

by Learn Math Tutorials

This video by Learn Math Tutorials covers set-builder notation.

Summary\large{\text{Summary}}

Set-builder notation has two parts: the variable, and the conditions. {variable:conditions}\{\text{variable}: \text{conditions}\}

This denotes the set of elements (x)(x) that satisfies all of the conditions stated in the set.

Example 11:

{x∣x>2}\{x|x>2\}

This means all values that are greater than two. In the video, this is demonstrated on the number line. At the value of 22 there is a parenthesis because we are not included 22 in the set.

Example 22:

{x∣x≤−1}\{x|x\le{-1}\}

This means all the values that are less than or equal to negative one. On the number lines, all the values to the left of −1-1 are shaded and we use a square bracket.

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems