Professional Documents
Culture Documents
Math
Harders
2013-2014
Copyright
i
2013
This book is a combination of information from various websites as well as
the University of Nebraska - Lincolns NMSSI summer Discrete Mathematics
for Middle School Teachers course.
Chapter 1
Set Theory
Introduction to Sets
Forget everything you know about numbers.
In fact, forget you even know what a number is.
This is where mathematics starts.
Instead of math with numbers, we will now think about math with
things.
What is a set? Well, simply put, it's a collection.
First you specify a common property among "things" (this word will be dened
later) and then you gather up all the "things" that have this common property.
For example, the items you wear: these would include shoes, socks, hat, shirt,
pants, and so on.
I'm sure you could come up with at least a
hundred.
This is known as a set.
Or another example would
be types of ngers. This set would include thumb, index,
middle, ring, and pinky.
So it is just things grouped together with a certain property
in common.
Section 1
OBJECTIVES
1. Identify a set.
2. Name sets.
3. Find subsets of sets.
4. Determine proper subsets.
Basics of Sets
3
There is a fairly simple notation for sets. You simply list each
element, separated by a comma, and then put some curly
brackets around the whole thing.
The curly brackets { } are sometimes called "set brackets" or
"braces".
This is the notation for the two previous examples:
{socks, shoes, watches, shirts, ...}
{thumb, index, middle, ring, pinky}
Notice how the rst example has the "..." (three dots together).
The three dots ... are called an ellipsis, and mean "continue on".
So that means the rst example continues on ... for innity.
NOTE: (OK, there isn't really an innite amount of things you could wear, but I'm not entirely sure
about that! After an hour of thinking of di"erent things, I'm still not sure. So let's just say it
is innite for this example.)
So:
" The rst set {socks, shoes, watches, shirts, ...} we
call an innite set,
" the second set {thumb, index, middle, ring, pinky} we
call a nite set.
But sometimes the "..." can be used in the middle to save writing
long lists:
Example: the set of letters:
{a, b, c, ..., x, y, z}
In this case it is a nite set (there are only 26 letters, right?)
4
Special Numerical Sets
So what does this have to do with mathematics? When we
dene a set, all we have to specify is a common characteristic.
Who says we cant do that with numbers?
Set of even numbers: {..., -4, -2, 0, 2, 4, ...}
Set of odd numbers: {..., -3, -1, 1, 3, ...}
Set of prime numbers: {2, 3, 5, 7, 11, 13, 17, ...}
Positive multiples of three that are less than 10: {3, 6, 9}
And the list can go on forever. We can come up with all sorts of
sets with all sorts of numbers.
Why are sets important?
Sets are the fundamental property of mathematics. Now as a
word of warning, sets, by themselves, seem pretty pointless. But
its only when you apply sets in di$erent situations do they
become the powerful building block of mathematics that they are.
5
Review 1.1 Sets
Check Answer
Which set correctly lists the fall sports o"ered
at school?
A. football, volleyball, softball, cross country, girls
golf, tennis
B. {football, volleyball, softball, cross country, girls
golf, tennis, ...}
C. {football, volleyball, softball, cross country, girls
golf, tennis}
Set Notation
When talking about sets, it is fairly standard to
use Capital Letters to represent the set, and
lowercase letters to represent an element in that
set.
So for example, A is a set, and a is an element in
A. Same with B and b, and C and c.
Also, when we say an element a is in a set A, we use the symbol
to show it.
And if something is not in a set use .
Ex: Set A is {1, 2, 3}. You can see that 1 A, but 5 A.
So can sets be considered equal?
YES! Two sets are equal if they have precisely the same
members. Now, at rst glance they may not seem equal but if
you look closely they might be!
6
A =
{a,..
/
/
Review 1.2 Equal sets
Check Answer
Are sets A and B equal?
C
= U
De Morgans Laws
(A B)
C
= A
C
B
C
(A B)
C
= A
C
B
C
14
Examples: Find the set described using the laws of sets.
a) B ( A) =
b) (A
C
U)
C
=
c) (C A) (B A) =
d) (A B) (A B
C
) =
e) (A B) (A B
C
)
C
=
f) A (A B) =
Like previously stated sometimes it is easier to visualize the sets
using a Venn Diagram. Lets say we have the following sets:
U={a,b,c,d,e,f,g,h}
P={c,f}
Q={a,c,d,e,f,h}
R={c,d,h}
What would this look like in a Venn Diagram?
P b g
R c f Q
a e
d h
Now when making a Venn Diagram there is one rule you have to
follow, leave no sets (circles) empty. Lets try to draw that picture.
15
b
g
a f
e c d
h
Lets make a few more Venn Diagrams so we have enough
practice with it.
Practice -- Venn Diagrams -- Counting the Kids
Explore -- Principle of Inclusion-Exclusion
16
Chapter 2
Combinatorics
Combinatorics is the branch of mathematics
studying the enumeration, combination, and
permutation of sets of elements and the
mathematical relations that characterize their
properties.
This rst section of the chapter will focus on the basics of probability. Before you
can learn combinatorics the basics must be understood.
Probability is the likelihood that something will happen. Many events can't be
predicted with total certainty. The best we can do is say how likely they are to
happen, using the idea of probability.
Tossing a Coin%
When a coin is tossed, there are two possible outcomes:
heads (H) or tails (T).
We say that the probability of the coin landing H is &. And the
probability of the coin landing T is &. This should hopefully be
easy to understand.
Rolling a Dice%
When a single die is thrown, there are six possible
outcomes: 1, 2, 3, 4, 5, 6.
The probability of any one of them is 1/6.
%
Section 1
OBJECTIVES
1. Find basic probabilities.
2. Find outcomes of multiple events.
3. Compare permutations and combinations.
Probability Revisited
18
One note probability is always between 0 and 1. 0 being not
likely at all and 1 being it will always happen.
Lets try a few:
Find each probability.
P(rolling a 4) P(rolling a even)
P(rolling a 5 or more) P(rolling a 7)
What if I wanted to nd the probability of rolling a 3 and getting a
heads on the coin?
In this case you would have a 1/6 of rolling a 3 and a 1/2
chance of getting a heads. If you multiply these
probabilities you would have a 1/12 chance of rolling a three
and getting heads.
The Counting Principle
When there are m ways to do one thing, and n ways to do
another, then there are m$n ways of doing both.
This again should be something you are familiar with. But lets
take a look at some example. Remember you can always draw a
tree diagram to help count the total outcomes but utilizing the
counting principle makes things much easier!
Example: You have 3 shirts and 4 pants.
That means 3'4=12 di$erent outts.
%
Example: There are 6 avors of ice-cream, and 3 di$erent cones.
That means 6'3=18 di$erent single-scoop ice-creams
you could order.
Example:
19
Maybe this one would be easier to see if we drew a tree diagram.
There are 30 outcomes. If we would have used in the counting
principle we would have taken 2x5x3 = 30. Either way you get
the same result.
How would your results change if you didnt have black o$ered as
a color choice in the hatchback but it was still o$ered in the
sedan?
How would the counting principle be used to obtain this result.
Well if we take the 5 colors times the three models we would have
15 options for the sedan. Likewise if we take the 4 colors times
the three options we have 12 hatchbacks. SO together we would
have
5x3 + 4x3 = 15 + 12 = 27 total cars.
Practice Set of problems on Probability -- click here
Combinatorics Intro Activity
Flag Trademarks
20
Five Number Summary
The ve number summary is taken from a set of data and tells us how spread out
the data is. The ve number summary consists of:
Mean -- average of the data
Median -- middle of the data
Mode -- most common of the data
Minimum & Maximum -- lowest and highest of the data
Interquartiles -- median between the low/high and median
How does this work? Lets look at a set of data.
3, 4, 4, 5, 6, 8, 8
Mean = 3+4+4+5+6+8+10 =40 / 7 = 5.714
Median = 5
Mode = 4 and 8
Section 2
OBJECTIVES
1. Find a ve number summary.
2. Make a box and whisker plot.
3. Analyze histograms and stem plots.
4. Find standard deviation.
Data Revisited
21
Minimum = 3 Maximum = 8
Interquartiles = 4 and 8 (see below)
Note: Q2 is the same as the median. Q1 and Q3 are the
interquartiles.
Lets see another example.
1, 3, 3, 4, 5, 6, 6, 7, 8, 8
Mean = 1+3+3+4+5+6+6+7+8+8 = 51 / 10 = 5.1
Median = is between 5 and 6 so 5+6 = 11 / 2 = 5.5
Mode = 3 and 6 and 8
Minimum = 1 Maximum = 8
Interquartiles = 3 and 7 (see below)
This may seem very messy at rst but the more box and whisker
plots you draw the better you will get at them. They really do help
you see the data set and analyze it better.
22
Mode Mean
Maximum
Interquartiles
Interquartiles
Minimum
Median
Now we can put this together using a box and whisker
plot.
Standard Deviation
Standard deviation is a measure of how spread out data is. To
nd the mean you follow a process (its easiest if you use a table).
1. Put the numbers in order from smallest to biggest
2. Find the mean.
3. Take each number minus the mean
4. Square those di$erences
5. Find the new mean (variance)
6. Square root the variance.
**So why do we follow these steps. This website has a
great explanation if you are interested.
Lets try a few here.
23
Binomial Theorem
What happens when you multiply a binomial times itself multiple many times?
Answer.... dont worry I will explain this all
First remember a binomial is a polynomial with two terms.
When you multiply a binomial by itself multiple times you can
use the binomial theorem as a short cut to nding the answer.
It works nicely because there is a pattern. Lets try to discover
this pattern.
We will start with a simple binomial A+B but remember this could be any binomial.
Section 3
OBJECTIVES
1. Expand binomials using the binomial
theorem.
2. Explore Pascals Triangle and its uses.
3. Find connections between the binomial
expansions and pascals triangle.
Binomial Theorem
24
Let us start with an exponent of 0 and build upwards.
Exponent of 0
When an exponent is 0, you get 1:
(a + b)
0
= 1
Exponent of 1
When the exponent is 1, you get the original value, unchanged:
(a + b)
1
= a + b
Exponent of 2
An exponent of 2 means to multiply by itself (see how to multiply
polynomials):
(a + b)
2
= (a + b)(a + b) = a
2
+ 2ab + b
2
Exponent of 3
For an exponent of 3 just multiply again:
(a + b)
3
= (a + b)(a + b)(a + b)
= (a + b)(a
2
+ 2ab + b
2
) = a
3
+ 3a
2
b + 3ab
2
+ b
3
%
We have enough now to start talking about the pattern.
The Pattern
In the last result we got: a
3
+ 3a
2
b + 3ab
2
+ b
3
Now, notice the exponents of a. They start at 3 and go down: 3,
2, 1, 0:
Likewise the exponents of b go upwards: 0, 1, 2, 3:
If we number the terms 0 to n, we get this:
k=0 k=1 k=2 k=3
a
3
a
2
a 1
1 b b
2
b
3
Which can be brought together into this:
25
So far we have: a
3
+ a
2
b + ab
2
+ b
3
But we really need: a
3
+ 3a
2
b + 3ab
2
+ b
3
We are missing the coe(cients. If you look back at the results
from before we would have:
Now just look at the coe(cients
Armed with this information try an exponent of 4.
which is correct!! We can use this pattern to nd exponents of 5,
6, 7, ....you name it!
Our last step is to write it all as a formula.
But hang on, how do we write a formula for "nd the coe(cient
from Pascal's Triangle" ... ?
Well, there is such a formula:
26
%
It is commonly called "n choose k"
because it is how many ways to choose
k elements from a set of n.
The "!" means "factorial", for example 4! = 1'2'3'4 = 24
And it matches to Pascal's Triangle like this:
(Note how the top row is row zero and also the leftmost column is
zero!)
The last step is to put all the terms together into one formula.
But we are adding lots of terms together ... can that be done
using one formula?
Yes! The handy Sigma Notation allows us to sum up as many
terms as we want: