📚 Applied Finite Mathematics
⇩ Download ▾

6.1 Sets and Counting

Chapter Overview

In this chapter, you will learn to:

  1. Use set theory and Venn diagrams to solve counting problems.
  2. Use the Multiplication Axiom to solve counting problems.
  3. Use Permutations to solve counting problems.
  4. Use Combinations to solve counting problems.
  5. Use the Binomial Theorem to expand (x+y)n size 12{ left (x+y right ) rSup { size 8{n} } } {}.

Sets

In this section, we will familiarize ourselves with set operations and notations, so that we can apply these concepts to both counting and probability problems. We begin by defining some terms.

A set is a collection of objects, and its members are called the elements of the set. We name the set by using capital letters, and enclose its members in braces. Suppose we need to list the members of the chess club. We use the following set notation.

C = {Ken, Bob, Tran, Shanti, Eric } size 12{C= left lbrace "Ken, Bob, Tran, Shanti, Eric" right rbrace } {}

A set that has no members is called an empty set. The empty set is denoted by the symbol Ø.

Two sets are equal if they have the same elements.

A set A size 12{A} {} is a subset of a set B size 12{B} {} if every member of A size 12{A} {} is also a member of B size 12{B} {}.

Suppose C={Al, Bob, Chris, David, Ed} size 12{C= left lbrace "Al, Bob, Chris, David, Ed" right rbrace } {} and A={Bob, David} size 12{A= left lbrace "Bob, David" right rbrace } {}. Then A size 12{A} {} is a subset of C size 12{C} {}, written as AC size 12{A subseteq C} {}.

Every set is a subset of itself, and the empty set is a subset of every set.

Union Of Two Sets Let A size 12{A} {} and B size 12{B} {} be two sets, then the union of A size 12{A} {} and B size 12{B} {}, written as AB size 12{A union B} {}, is the set of all elements that are either in A size 12{A} {} or in B size 12{B} {}, or in both A size 12{A} {} and B size 12{B} {}.

Intersection Of Two Sets Let A size 12{A} {} and B size 12{B} {} be two sets, then the intersection of A size 12{A} {} and B size 12{B} {}, written as AB size 12{A intersection B} {}, is the set of all elements that are common to both sets A size 12{A} {} and B size 12{B} {}.

A universal set U size 12{U} {} is the set consisting of all elements under consideration.

Complement of a Set Let A size 12{A} {} be any set, then the complement of set A size 12{A} {}, written as Aˉ size 12{ { bar {A}}} {}, is the set consisting of elements in the universal set U size 12{U} {} that are not in A size 12{A} {}.

Disjoint Sets Two sets A size 12{A} {} and B size 12{B} {} are called disjoint sets if their intersection is an empty set.

We now use Venn diagrams to illustrate the relations between sets. In the late 1800s, an English logician named John Venn developed a method to represent relationship between sets. He represented these relationships using diagrams, which are now known as Venn diagrams. A Venn diagram represents a set as the interior of a circle. Often two or more circles are enclosed in a rectangle where the rectangle represents the universal set. To visualize an intersection or union of a set is easy. In this section, we will mainly use Venn diagrams to sort various populations and count objects.

Tree Diagrams and the Multiplication Axiom

In this chapter, we are trying to develop counting techniques that will be used in the the related section to study probability. One of the most fundamental of such techniques is called the Multiplication Axiom. Before we introduce the multiplication axiom, we first look at some examples.

The procedure we just employed is called the multiplication axiom.

The general multiplication axiom is not limited to just two tasks and can be used for any number of tasks.

Permutations

In Example 15, we were asked to find the word sequences formed by using the letters {A,B,C} size 12{ left lbrace A,B,C right rbrace } {} if no letter is to be repeated. The tree diagram gave us the following six arrangements.

ABC size 12{ ital "ABC"} {}, ACB size 12{ ital "ACB"} {}, BAC size 12{ ital "BAC"} {}, BCA size 12{ ital "BCA"} {}, CAB size 12{ ital "CAB"} {}, and CBA size 12{ ital "CBA"} {},

Arrangements like these, where order is important and no element is repeated, are called permutations.

We often encounter situations where we have a set of n size 12{n} {} objects and we are selecting r size 12{r} {} objects to form permutations. We refer to this as permutations of n size 12{n} {} objects taken r size 12{r} {} at a time, and we write it as nPr size 12{n"Pr"} {}.

Therefore, Example 19 can also be answered as listed below.

  1. The number of four-letter word sequences is 5P4=120 size 12{5P4="120"} {}.

  2. The number of three-letter word sequences is 5P3=60 size 12{5P3="60"} {}.

  3. The number of two-letter word sequences is 5P2=20 size 12{5P2="20"} {}.

Before we give a formula for nPr size 12{n"Pr"} {}, we'd like to introduce a symbol that we will use a great deal in this as well as in the related section.

Now we define nPr size 12{n"Pr"} {}.

The reader should become familiar with both formulas and should feel comfortable in applying either.

Next we consider some more permutation problems to get further insight into these concepts.

Clearly, this makes sense. For every permutation of three math books placed in the first three slots, there are 5P2 permutations of history books that can be placed in the last two slots. Hence the multiplication axiom applies, and we have the answer (4P3)(5P2).

We summarize.

  1. Permutations

    A permutation of a set of elements is an ordered arrangement where each element is used once.

  2. Factorial

    n!=n(n1)(n2)(n3)321 size 12{n!=n left (n - 1 right ) left (n - 2 right ) left (n - 3 right ) dotsaxis 3 cdot 2 cdot 1} {}.

    Where n size 12{n} {} is a natural number.

    0 ! = 1 size 12{0!=1} {}

  3. Permutations of n size 12{n} {} Objects Taken r size 12{r} {} at a Time

    nPr=n(n1)(n2)(n3)(nr+1) size 12{n"Pr"=n left (n - 1 right ) left (n - 2 right ) left (n - 3 right ) dotsaxis left (n - r+1 right )} {}, or nPr=n!(nr)! size 12{n"Pr"= { {n!} over { left (n - r right )!} } } {}

    Where n size 12{n} {} and r size 12{r} {} are natural numbers.

Circular Permutations and Permutations with Similar Elements

Section Overview

In this section we will address the following two problems.

  1. In how many different ways can five people be seated in a circle?
  2. In how many different ways can the letters of the word MISSISSIPPI be arranged?

The first problem comes under the category of Circular Permutations, and the second under Permutations with Similar Elements.

Circular Permutations Suppose we have three people named A size 12{A} {}, B size 12{B} {}, and C size 12{C} {}. We have already determined that they can be seated in a straight line in 3! size 12{3!} {} or 6 ways. Our next problem is to see how many ways these people can be seated in a circle. We draw a diagram.

This figure shows how the people named A, B, and C can sit in a circle in different ways.
Figure 6.7

It happens that there are only two ways we can seat three people in a circle. This kind of permutation is called a circular permutation. In such cases, no matter where the first person sits, the permutation is not affected. Each person can shift as many places as they like, and the permutation will not be changed. Imagine the people on a merry-go-round; the rotation of the permutation does not generate a new permutation. So in circular permutations, the first person is considered a place holder, and where he sits does not matter.

Now we address the second problem.

Permutations with Similar Elements

Let us determine the number of distinguishable permutations of the letters ELEMENT.

Suppose we make all the letters different by labeling the letters as follows.

E 1 LE 2 ME 3 NT size 12{E rSub { size 8{1} } ital "LE" rSub { size 8{2} } ital "ME" rSub { size 8{3} } ital "NT"} {}

Since all the letters are now different, there are 7! size 12{7!} {} different permutations.

Let us now look at one such permutation, say

LE 1 ME 2 NE 3 T size 12{ ital "LE" rSub { size 8{1} } ital "ME" rSub { size 8{2} } ital "NE" rSub { size 8{3} } T} {}

Suppose we form new permutations from this arrangement by only moving the E's. Clearly, there are 3! size 12{3!} {} or 6 such arrangements. We list them below.

LE 1 ME 2 NE 3 T size 12{ ital "LE" rSub { size 8{1} } ital "ME" rSub { size 8{2} } ital "NE" rSub { size 8{3} } T} {}

LE 1 ME 3 NE 2 T size 12{ ital "LE" rSub { size 8{1} } ital "ME" rSub { size 8{3} } ital "NE" rSub { size 8{2} } T} {}

LE 2 ME 1 NE 3 T size 12{ ital "LE" rSub { size 8{2} } ital "ME" rSub { size 8{1} } ital "NE" rSub { size 8{3} } T} {}

LE 3 ME 3 NE 1 T size 12{ ital "LE" rSub { size 8{3} } ital "ME" rSub { size 8{3} } ital "NE" rSub { size 8{1} } T} {}

LE 3 ME 2 NE 1 T size 12{ ital "LE" rSub { size 8{3} } ital "ME" rSub { size 8{2} } ital "NE" rSub { size 8{1} } T} {}

LE 3 ME 1 NE 2 T size 12{ ital "LE" rSub { size 8{3} } ital "ME" rSub { size 8{1} } ital "NE" rSub { size 8{2} } T} {}

Because the E size 12{E} {}'s are not different, there is only one arrangement LEMENET size 12{ ital "LEMENET"} {} and not six. This is true for every permutation.

Let us suppose there are n size 12{n} {} different permutations of the letters ELEMENT size 12{ ital "ELEMENT"} {}.

Then there are n3! size 12{n cdot 3!} {} permutations of the letters E1LE2ME3NT size 12{E rSub { size 8{1} } ital "LE" rSub { size 8{2} } ital "ME" rSub { size 8{3} } ital "NT"} {}.

But we know there are 7! size 12{7!} {} permutations of the letters E1LE2ME3NT size 12{E rSub { size 8{1} } ital "LE" rSub { size 8{2} } ital "ME" rSub { size 8{3} } ital "NT"} {}.

Therefore, n3!=7! size 12{n cdot 3!=7!} {}

Or n=7!3! size 12{n= { {7!} over {3!} } } {}.

This gives us the method we are looking for.

We summarize.

Combinations

Suppose we have a set of three letters {A,B,C} size 12{ left lbrace A,B,C right rbrace } {}, and we are asked to make two-letter word sequences. We have the following six permutations.

AB size 12{ ital "AB"} {} BA size 12{ ital "BA"} {} BC size 12{ ital "BC"} {} CB size 12{ ital "CB"} {} AC size 12{ ital "AC"} {} CA size 12{ ital "CA"} {}

Now suppose we have a group of three people {A,B,C} size 12{ left lbrace A,B,C right rbrace } {} as Al, Bob, and Chris, respectively, and we are asked to form committees of two people each. This time we have only three committees, namely,

AB size 12{ ital "AB"} {} BC size 12{ ital "BC"} {} AC size 12{ ital "AC"} {}

When forming committees, the order is not important, because the committee that has Al and Bob is no different than the committee that has Bob and Al. As a result, we have only three committees and not six.

Forming word sequences is an example of permutations, while forming committees is an example of combinations – the topic of this section.

Permutations are those arrangements where order is important, while combinations are those arrangements where order is not significant. From now on, this is how we will tell permutations and combinations apart.

In Example 32, there were six permutations, but only three combinations.

Just as the symbol nPr size 12{n"Pr"} {} represents the number of permutations of n size 12{n} {} objects taken r size 12{r} {} at a time, nCr size 12{ ital "nCr"} {} represents the number of combinations of n size 12{n} {} objects taken r size 12{r} {} at a time.

So in Example 32, 3P2=6 size 12{3P2=6} {}, and 3C2=3 size 12{3C2=3} {}.

Our next goal is to determine the relationship between the number of combinations and the number of permutations in a given situation.

In Example 32, if we knew that there were three combinations, we could have found the number of permutations by multiplying this number by 2! size 12{2!} {}. That is because each combination consists of two letters, and that makes 2! size 12{2!} {} permutations.

Summarizing,

Combinations: Involving Several Sets

So far we have solved the basic combination problem of r size 12{r} {} objects chosen from n size 12{n} {} different objects. Now we will consider certain variations of this problem.

Adapted from Applied Finite Mathematics by Rupinder Sekhon (De Anza College), originally published by OpenStax CNX (cnx.org, collection col10613), licensed under CC BY 3.0. Changes were made. License: CC-BY-3.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.