Docsity

Sets and Venn Diagrams: Properties, Union, Intersection, Complement and Probability, Lecture notes of Statistics

Toggle sidebar
bg1
Stat 400 Supplement – sections 2.1 & 2.2 University of Maryland, College Park page 1
STAT 400 – SETS AND VENN DIAGRAMS
A collection o f objects is called a set. The individual objects in a set are called the elements of the set.
Every set has three properties.
a. Each element of the set is unique; there can never be more than one of the same set element.
b. The members of a set are unordered; it does not matter which one is listed first and which one is listed
last.
c. An element can either be a member to a set or not; there are no in-betweens.
Venn diagrams can be used to keep track of either the elements in a set or their associated probabilities.
From two given sets A and B we can make a new set that consists of all the elements of A and all the
elements of B. This new set is called the union of A and B and is represented by the symbol
B
A
∪
.
(The union symbol is not the letter U.) For example, let A = {a, b, c, d} and let B = {c, d, e}. Then
B
A
∪
= {a, b, c, d, e}. Notice that the elements c and d are in A as well as B, but they are written only
once in the list for
B
A
∪
. The union of two sets is defined in symbols as follows:
B
A
∪
= {x: x is in A
or x is in B}. Note that this is a non-exclusive use of the word “or”: the elements can be in A, or in B, or
possibly in both. For any set A it will always be true that
A
A
A
=
∪
. Note also that the union of sets is
both commutative and associative:
A
B
B
A
∪
=
∪
and
(
)
(
)
CBACBACBA ∪∪=∪∪=∪∪ .
From two given sets A and B we can make a new set that consists of all the elements that belong to both
A and B at the same time. This new set is called the intersection of A and B and is represented by the
symbol
B
A
∩
. For example, let A = {a, b, c, d} and let B = {c, d, e}. Then
B
A
∩
= {c, d}. The
intersection of two sets is defined in symbols as follows:
B
A
∩
= {x: x is in A and x is in B}. For any
set A it will always be true that
A
A
A
=
∩
. Note that the union of sets is both commutative and
associative:
A
B
B
A
∩
=
∩
and
(
)
(
)
CBACBACBA ∩∩=∩∩=∩∩ .
Two sets whose intersection is empty are called disjoint. In calculating probabilities, two events that are
disjoint are called mutually exclusive.
Before addressing the operation of complement, it is necessary to define a universal set, containing all
the individual objects being studied. For example, if the sets being studied consist of men, women, boys,
and girls in a population, then the universal set is everyone in the population. In a primary school
classroom, the universal set contains only positive numbers. In a typical algebra classroom, the universal
set contains all real numbers, both positive and negative. For our study of probability, the universal set
will be the sample space S.
The complement of a set A is the set of all elements in the universal set that do not belong to A and is
represented by the symbol
A
′
. (I have also seen
A
and c
A
used as symbols for the complement.) It is
defined in symbols as follows:
A
′
= {x: x is not in A}. For example, if the universal set is the set of
positive whole numbers, and A is the set of all even numbers = {2, 4, 6, 8, …}, then
A
′
is the set of all
odd numbers = {1, 3, 5, 7, …}. Complement literally means “that which completes”, and if you combine
a set with its complement, you get everything, i.e. the universe.
For any set A it will always be true that SAA
=
′
∪
and
∅
=
′
∩
AA . It will also be true that “the
complement of the complement” = {x: not – ‘x is not in A’} = {x: x is in A} is the original set:
symbolically
( )
AA =
′
′. Note also that SS
=
∅
′
∅
=
′
and .
pf3

Partial preview of the text

Download Sets and Venn Diagrams: Properties, Union, Intersection, Complement and Probability and more Lecture notes Statistics in PDF only on Docsity!

STAT 400 – SETS AND VENN DIAGRAMS

A collection of objects is called a set. The individual objects in a set are called the elements of the set. Every set has three properties.

a. Each element of the set is unique; there can never be more than one of the same set element. b. The members of a set are unordered; it does not matter which one is listed first and which one is listed last. c. An element can either be a member to a set or not; there are no in-betweens.

Venn diagrams can be used to keep track of either the elements in a set or their associated probabilities.

From two given sets A and B we can make a new set that consists of all the elements of A and all the elements of B. This new set is called the union of A and B and is represented by the symbol A ∪ B. (The union symbol is not the letter U.) For example, let A = {a, b, c, d} and let B = {c, d, e}. Then A ∪ B = {a, b, c, d, e}. Notice that the elements c and d are in A as well as B , but they are written only once in the list for A ∪ B. The union of two sets is defined in symbols as follows: A ∪ B = { x : x is in A or x is in B }. Note that this is a non-exclusive use of the word “or”: the elements can be in A , or in B , or possibly in both. For any set A it will always be true that A ∪ A = A. Note also that the union of sets is both commutative and associative:

A ∪ B = B ∪ A and A ∪ B ∪ C =( A ∪ B ) ∪ C = A ∪( B ∪ C ).

From two given sets A and B we can make a new set that consists of all the elements that belong to both A and B at the same time. This new set is called the intersection of A and B and is represented by the symbol A ∩ B. For example, let A = {a, b, c, d} and let B = {c, d, e}. Then A ∩ B = {c, d}. The intersection of two sets is defined in symbols as follows: A ∩ B = { x : x is in A and x is in B }. For any set A it will always be true that A ∩ A = A. Note that the union of sets is both commutative and associative:

A ∩ B = B ∩ A and A ∩ B ∩ C =( A ∩ B ) ∩ C = A ∩( B ∩ C ).

Two sets whose intersection is empty are called disjoint. In calculating probabilities, two events that are disjoint are called mutually exclusive.

Before addressing the operation of complement , it is necessary to define a universal set , containing all the individual objects being studied. For example, if the sets being studied consist of men, women, boys, and girls in a population, then the universal set is everyone in the population. In a primary school classroom, the universal set contains only positive numbers. In a typical algebra classroom, the universal set contains all real numbers, both positive and negative. For our study of probability, the universal set will be the sample space S.

The complement of a set A is the set of all elements in the universal set that do not belong to A and is

represented by the symbol A ′^. (I have also seen A and Ac used as symbols for the complement.) It is defined in symbols as follows: A ′ = { x : x is not in A }. For example, if the universal set is the set of positive whole numbers, and A is the set of all even numbers = {2, 4, 6, 8, …}, then A ′^ is the set of all odd numbers = {1, 3, 5, 7, …}. Complement literally means “that which completes”, and if you combine a set with its complement, you get everything, i.e. the universe.

For any set A it will always be true that (^) A ∪ A ′= S and (^) A ∩ A ′=∅. It will also be true that “the complement of the complement” = { x : not – ‘ x is not in A ’} = { x : x is in A } is the original set:

symbolically ( A ′)^ ′ = A. Note also that S ′^ =∅and ∅′= S.

Venn diagrams provide a visual means of considering sets, even when the particular elements may not be known. In a Venn diagram a rectangle represents the universe set under consideration and circles within the rectangle represent sets within the universe. The operations above would be diagrammed as follows:

A ∪ B A ∩ B

A ∩ B = ∅ A ′

Venn diagrams can also be used with three (or more) sets.

A ∪ B ∩ C = ( A ∪ B ) ∩ C

When considering the probability of a union, one must do more than add the individual probabilities. The probability of A ∪ B is always less than or equal to the sum of the probabilities of A and B.

P ( A ∪ B ) = P ( A ) + P ( B ) – P ( A ∩ B )

Note that P ( A ∩ B ) is included once in P ( A ), then again in P ( B ). The formula gives us a way to

discount the duplication when calculating the probability of the union.

This formula is at least very important, and may be the most important one in this section.

Note that this formula works for mutually exclusive events, too, giving us

P ( A ∪ B )= P ( A ) + P ( B ) – P ( A ∩ B )= P ( A ) + P ( B ) – 0 = P ( A ) + P ( B ).