Discrete Mathematics: Sequences and Series, Counting Principles and Factorials, Schemes and Mind Maps of Calculus

This chapter from a Discrete Mathematics textbook covers sequences and series, including infinite sequences, finding the nth term of a sequence, and counting principles. It also introduces factorials and their relationship to permutations and combinations.

Typology: Schemes and Mind Maps

2021/2022

Uploaded on 09/27/2022

ekaant
ekaant 🇺🇸

4.6

(34)

270 documents

1 / 10

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
(Chapter 9: Discrete Math) 9.01
CHAPTER 9: DISCRETE MATH
Calculus tends to deal more with “continuous” mathematics than “discrete” mathematics.
What is the difference? Analogies may help the most. Discrete is digital; continuous is analog.
Discrete is a dripping faucet; continuous is running water. Discrete math tends to deal with
things that you can “list,” even if the list is infinitely long. Math 245 is the Discrete Math course
at Mesa.
SECTION 9.1: SEQUENCES AND SERIES, and
SECTION 9.6: COUNTING PRINCIPLES
PART A: SEQUENCES
An infinite sequence can usually be thought of as an ordered list of real numbers.
It is often denoted by either:
a1,a2,a3,
or
a0,a1,a2,
(this is more common in Calculus)
where each of the “
ai
”s represent real numbers called terms.
If we’re lucky, there is a nice pattern to our sequence of numbers – a pattern that we can
describe using simple mathematical expressions.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Discrete Mathematics: Sequences and Series, Counting Principles and Factorials and more Schemes and Mind Maps Calculus in PDF only on Docsity!

CHAPTER 9: DISCRETE MATH

Calculus tends to deal more with “continuous” mathematics than “discrete” mathematics. What is the difference? Analogies may help the most. Discrete is digital; continuous is analog. Discrete is a dripping faucet; continuous is running water. Discrete math tends to deal with things that you can “list,” even if the list is infinitely long. Math 245 is the Discrete Math course at Mesa.

SECTION 9.1: SEQUENCES AND SERIES, and

SECTION 9.6: COUNTING PRINCIPLES

PART A: SEQUENCES

An infinite sequence can usually be thought of as an ordered list of real numbers. It is often denoted by either: a 1 , a 2 , a 3 , … or a 0 , a 1 , a 2 , … (this is more common in Calculus) where each of the “ ai ”s represent real numbers called terms. If we’re lucky, there is a nice pattern to our sequence of numbers – a pattern that we can describe using simple mathematical expressions.

Example Write the first three terms of the sequence with general n th term an = n 3 − 1. Assume that we begin with n = 1. Solution

n = 1 : a 1 = ( 1 )

3 − 1 = 0

n = 2 : a 2 = ( 2 )

3 − 1 = 7

n = 3 : a 3 = ( 3 )

3 − 1 = 26 The first three terms are: 0, 7, and 26.

We may graph terms as the points ( n, an) , just as we used to graph points

( x,^ f^ ( x)).

Technical Note: Observe that the graph of the sequence is a “discretized”

version of the graph of f ( x) = x

3 − 1 , where the domain is the set of positive integers. In this sense, sequences may be thought of as functions.

PART D: FACTORIALS

Do you see the n! button on your calculator? This is n factorial (not n excited). It is often used to describe sequences. We define: 0! = 1 If n is a positive integer n ∈Z

( ) , n! = the product of the integers from 1 to n If n is large: n! = (^) ( (^1) ) ( 2 ) ( 3 ) (^) ( n) Equivalently: n! = (^) ( n) ( n − (^1) ) ( n − (^2) ) (^) ( 2 ) ( (^1) ) (Think: Countdown.) Examples 0! = 1 1! = 1 2! = (^) ( 2 ) ( (^1) ) = 2 3! = (^) ( (^3) ) ( 2 ) ( (^1) ) = 6 4! = (^) ( 4 ) ( 3 ) ( 2 ) ( (^1) ) = 24 There is a short cut: 4! = 4 ⋅ 3! Factorial is at the same level as exponentiation in the order of operations; they both represent successive multiplications. Therefore, the factorial operator (!) binds more tightly than the multiplication operator (^) (⋅ ) , which is lower in the order of operations. In this case, 4! = (^) ( (^4) ) ⋅ (^) ( 3 !); this may be clearer. In general, if n ∈Z

: n! = n ⋅ (^) ( n − (^1) )!, and 0! = 1 This is called a recursive definition of the factorial function, because it describes how previous values determine later values. In this case, we show how we get from (^) ( n − (^1) )! to n!.

Technical Note: Can we talk about 3.5!, say? The gamma function, which you may study in Math 151: Calculus II at Mesa, is a continuous version of the factorial function. PART E: FACTORIALS, COUNTING PRINCIPLES, AND SIMPLIFICATIONS (SECTION 9.6) Example How many ways are there to order a standard deck of 52 cards? Solution There are 52 possibilities for the first card. Once the first card is set, there are 51 possibilities for the second card. Once the first two cards are set, there are 50 possibilities for the third card. And so on… Once the first 51 cards are set, there is only 1 possibility left for the last card. By the Fundamental Counting Principle described on p.663 of Larson, we multiply together these numbers of possibilities. The number of ways is: (^52 ) (^51 ) (^50 )^ (^1 ) , better known as^52 !, which is about^8 ×^10 67 . That’s an 8 followed by 67 digits – literally astronomical! n! grows in value very fast as n grows. Many calculators can’t even handle 100!. In general: The number of ways to order n distinct items is: n! The different possible orders are called permutations.

Incidentally, we were guaranteed to get an integer because of the nature of the problem. This may not have been obvious from the form of the expression. In general: The number of ways to choose r distinct items from a set of n distinct items (if the order among the chosen items is irrelevant) is given by: n Cr =^ n r

⎠⎟^

n! r! (^) ( n − r)! Think: The number of ways to choose r winners and, therefore, n − r losers. These n r

numbers are called binomial coefficients for reasons we shall see in Section 9.5. See if you can find the (^) n Cr button on your calculator. What about (^) n Pr? You may also see this button on your calculator. It is the number of partial permutations of 52 (distinct) items taken 5 at a time. Let’s say we actually care about the order of the five chosen cards. The number of such partial permutations is given by: 52! 47!

The idea is that we take the number of total permutations of the 52 cards (namely, 52!), and we divide by 47!, because we do not care about the order among the losers. This time, we do not divide by 5!, because we do care here about the order among the winners.

PART F: RECURSIVELY DEFINED SEQUENCES

Recall the recursive definition of factorials: n! = n ⋅ (^) ( n − (^1) )! n ∈Z

( ) We should add that 0! = 1 , because we need to know where to start. Likewise, we can define sequences by describing how terms are “built upon” previous terms. Perhaps the most famous recursively defined sequence is the Fibonacci sequence (named after Leonardo of Pisa, or “Fibonacci,” a famous Italian mathematician of the Middle Ages who has been credited with introducing Arabic numerals to the West), which is described on p.616 in Larson. There are surprising applications of this sequence in nature: sunflower petals, pine cone and seashell patterns, etc. You are virtually assured of dealing with this sequence in a Discrete Math class. Finding the general n th term expression is a bit of a challenge! It turns out to be: an =

n −

⎡^ n ⎣

Yes, we get integers out of this thing! Technical details and other properties are available at the URL: http://mathworld.wolfram.com/FibonacciNumber.html Example Consider the sequence recursively defined by: a 1 = 10 ak + 1 = 2 ak k ∈Z

( )

Find the first three terms of this sequence, beginning with n = 1. Solution We essentially double one term in the sequence to obtain the next term. a 1 = 10 a 2 = 2 a 1 = (^2) ( (^10) ) = 20 a 3 = 2 a 2 = (^2) ( 20 ) = 40

PART H: SERIES

A series arises when we take the sum of terms of a sequence. The following is an example of a finite series: ak k = 1 n ∑ =^ a 1 +^ a 2 +^ a 3 +^ …^ +^ an The following is an example of an infinite series: ak k = 1 ∞ ∑ =^ a 1 +^ a 2 +^ a 3 +^ … In fact, the finite series above represents the n th partial sum of the infinite series above; it represents the sum of the first n terms.