Chapter 31 out of 37 from Discrete Mathematics for Neophytes: Number Theory, Probability, Algorithms, and Other Stuff by J. M.



Similar documents
5.1 Radical Notation and Rational Exponents

I remember that when I

To discuss this topic fully, let us define some terms used in this and the following sets of supplemental notes.

IB Maths SL Sequence and Series Practice Problems Mr. W Name

Continued Fractions and the Euclidean Algorithm

Overview. Essential Questions. Precalculus, Quarter 4, Unit 4.5 Build Arithmetic and Geometric Sequences and Series

10.2 Series and Convergence

Section 1.3 P 1 = 1 2. = P n = 1 P 3 = Continuing in this fashion, it should seem reasonable that, for any n = 1, 2, 3,..., =

3. Mathematical Induction

0.8 Rational Expressions and Equations

Mathematical Induction

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Arithmetic Progression

So let us begin our quest to find the holy grail of real analysis.

9.2 Summation Notation

Part 1 Expressions, Equations, and Inequalities: Simplifying and Solving

CONTINUED FRACTIONS AND PELL S EQUATION. Contents 1. Continued Fractions 1 2. Solution to Pell s Equation 9 References 12

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

MATH 4330/5330, Fourier Analysis Section 11, The Discrete Fourier Transform

Zeros of a Polynomial Function

Math 115 Spring 2011 Written Homework 5 Solutions

Math Workshop October 2010 Fractions and Repeating Decimals

Representation of functions as power series

Activity 1: Using base ten blocks to model operations on decimals

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

PYTHAGOREAN TRIPLES KEITH CONRAD

1 Lecture: Integration of rational functions by decomposition

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

Maths Workshop for Parents 2. Fractions and Algebra

Mathematics 31 Pre-calculus and Limits

Introduction. Appendix D Mathematical Induction D1

Real Roots of Univariate Polynomials with Real Coefficients

1.7 Graphs of Functions

Student Outcomes. Lesson Notes. Classwork. Discussion (10 minutes)

Limits. Graphical Limits Let be a function defined on the interval [-6,11] whose graph is given as:

CHAPTER 5 Round-off errors

Geometric Series and Annuities

A power series about x = a is the series of the form

1.2 Solving a System of Linear Equations

Core Maths C1. Revision Notes

Basic Proof Techniques

Chapter 4 One Dimensional Kinematics

The last three chapters introduced three major proof techniques: direct,

Normal distribution. ) 2 /2σ. 2π σ

3 Some Integer Functions

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

Chapter 4. Polynomial and Rational Functions. 4.1 Polynomial Functions and Their Graphs

6.4 Normal Distribution

Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0.

MATH10040 Chapter 2: Prime and relatively prime numbers

Chapter 9. Systems of Linear Equations

POLYNOMIAL FUNCTIONS

Lies My Calculator and Computer Told Me

Session 7 Fractions and Decimals

GEOMETRIC SEQUENCES AND SERIES

Math Review. for the Quantitative Reasoning Measure of the GRE revised General Test

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

SECTION 10-2 Mathematical Induction

Definition 8.1 Two inequalities are equivalent if they have the same solution set. Add or Subtract the same value on both sides of the inequality.

4/1/2017. PS. Sequences and Series FROM 9.2 AND 9.3 IN THE BOOK AS WELL AS FROM OTHER SOURCES. TODAY IS NATIONAL MANATEE APPRECIATION DAY

3.2. Solving quadratic equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

Properties of sequences Since a sequence is a special kind of function it has analogous properties to functions:

Unit 1 Number Sense. In this unit, students will study repeating decimals, percents, fractions, decimals, and proportions.

GRE Prep: Precalculus

CHAPTER II THE LIMIT OF A SEQUENCE OF NUMBERS DEFINITION OF THE NUMBER e.

Grade 7/8 Math Circles Sequences and Series

47 Numerator Denominator

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

Lectures 5-6: Taylor Series

Revised Version of Chapter 23. We learned long ago how to solve linear congruences. ax c (mod m)

Squaring, Cubing, and Cube Rooting

1. (First passage/hitting times/gambler s ruin problem:) Suppose that X has a discrete state space and let i be a fixed state. Let

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

WHERE DOES THE 10% CONDITION COME FROM?

DIVISIBILITY AND GREATEST COMMON DIVISORS

Systems of Equations Involving Circles and Lines

of Nebraska - Lincoln

LINEAR INEQUALITIES. Mathematics is the art of saying many things in many different ways. MAXWELL

Ready, Set, Go! Math Games for Serious Minds

LINEAR EQUATIONS IN TWO VARIABLES

1 Error in Euler s Method

Common Core Standards for Fantasy Sports Worksheets. Page 1

Section 1.1 Linear Equations: Slope and Equations of Lines

Linear Equations and Inequalities

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

DIFFERENTIABILITY OF COMPLEX FUNCTIONS. Contents

x a x 2 (1 + x 2 ) n.

Algebra. Exponents. Absolute Value. Simplify each of the following as much as possible. 2x y x + y y. xxx 3. x x x xx x. 1. Evaluate 5 and 123

Chapter 17. Orthogonal Matrices and Symmetries of Space

No Solution Equations Let s look at the following equation: 2 +3=2 +7

Stanford Math Circle: Sunday, May 9, 2010 Square-Triangular Numbers, Pell s Equation, and Continued Fractions

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!

Algebraic and Transcendental Numbers

Mathematical Induction

CONTINUED FRACTIONS AND FACTORING. Niels Lauritzen

Factoring Patterns in the Gaussian Plane

Exponents and Radicals

Click on the links below to jump directly to the relevant section

PERPETUITIES NARRATIVE SCRIPT 2004 SOUTH-WESTERN, A THOMSON BUSINESS

Solving Linear Systems, Continued and The Inverse of a Matrix

Transcription:

31 Geometric Series Motivation (I hope) Geometric series are a basic artifact of algebra that everyone should know. 1 I am teaching them here because they come up remarkably often with Markov chains. The finite geometric series formula is at the heart of many of the fundamental formulas of financial mathematics. All students of the mathematical sciences should be intimately familiar with this topic and have all the formulas memorized. Geometric series can be characterized by the following properties: A geometric series is a sum of either a finite or an infinite number of terms. Each term after the first term of a geometric series is a multiple of the previous term by some fixed constant, x. Example 25 + 50 + 100 + 200 + 400 is a geometric series because each term is twice the previous term. Example 4 + 2 + 1 +.5 +.25 +.125 +.625 +... is an (infinite) geometric series because each term is 1/2 the previous term. Multiplication of a geometric series by a constant does not affect its nature. It is still a geometric series. Whether it converges (actually adds up to anything) is unaffected. If x + x 2 + x 3 + x 4 +... = L, then CAx + CAx 2 + CAx 3 + CAx 4 +... = CAL. 1 Japanese children are thoroughly trained in geometric series before they enter preschool. 1

The Finite Geometric Series The most basic geometric series is 1 + x + x 2 + x 3 + x 4 +... + x n. This is the finite geometric series because it has exactly n + 1 terms. It has a simple formula: Formula 1 The Finite Geometric Series This formula is easy to prove: just multiply both sides by 1 - x. All but two terms on the left will cancel. It can be proven just as easily by induction (proving it is an exercise in Section 6). Example There is a simple fairy tale known to many people that I cannot tell here because this is a college text and it would be improper. However, if I were to tell it, it goes something like this: some ordinary bloke saves the king's life. The king, being at heart a regular guy, is grateful. He offers ordinary bloke a of his kingdom. But all ordinary bloke wants is that a chessboard be brought and on its first square be a grain of wheat, and on the second square two grains of wheat; then four on the next square and so on. The king thinks this is nothing. He offers ordinary bloke one of his daughters to go with a of his kingdom. He offers both of his daughters (this is actually a very sneaky trick, but that is another fairy tale). However, all ordinary bloke wants is a chessboard, and on its first square he wants a single grain of wheat. On the second square he wants 2 wheat grains. On the third square he wants 4 grains, and so on. The king tries to get him to go for something else, but ordinary bloke won't budge. Finally, the king says let it be done. The Chancellor of the Wheatery comes back and says there is not enough wheat! It turns out that the wheat was all eaten by rats. For embarrassing the monarchy the king has ordinary bloke's head cut off with a rusty axe. The moral of this story is quite simple: if a King offers you one of his daughters, take her; you can always find some way of dumping her later. 2

However, we being serious academics can go ahead and ask how much wheat did that guy want anyway? Well, on the first square he wanted 1 = 2 0 grains. On the next square he wanted 2 = 2 1 grains. On the next square he wanted 4 = 2 2 grains, and so on. By the time he gets to the 64'th square he wants 2 63 grains which is over nine-quintillion grains. But that is just the last square; the total he wanted is: In other words, he didn't just want over nine-quintillion grains, he want over eighteen-quintillion and that of course changes everything. G Exercise 1 Solve 1 + 10 + 10 2 + 10 3 +... + 10 10. G Exercise 2 Solve 1-3 + 9-27 +... + (-3) 10. Ordinarily a first problem like this requires a hint. In this case the hint is given in the last term. G Exercise 3 Solve 1/4 + 1/2 + 1 + 2 + 4 +... + 1024. (In this case, the hint is to factor out 1/4.) G Exercise 4 Solve 1/6-1 + 6-36 +... + 7776. G Exercise 5 Solve - 1/2 + 3-18 + 108 -... - 23328. Infinite Geometric Series In some cases we can sum infinite geometric series. A simple case is 1/2 + 1/4 + 1/8 + 1/16 +... This series can be seen to sum to 1. If you add it up by hand, you will see that 3

it gets very close to 1 and it gets closer and closer and it gets arbitrarily close. 1 above that the first n terms of the infinite series, We know from, is This sum will be finite if and only if the term x n+1 goes to 0. That happens if and only if -1 < x < 1 (or more succinctly, *x* < 1). To see this, use your calculator and examine high powers of numbers between 1 and -1. Notice, that if x = 1 then, in the series, we are simply adding up an infinite number of 1's and of course the sum goes to infinity. Likewise, if x =!1, then we have the series 1! 1 + 1! 1 + 1! 1 +... It oscillates between 1 and 0. If x is less than!1, the series oscillates towards ± 4, (take a look at what happens when x =!2). We have the law: Formula 2 The Infinite Geometric Series The restriction!1 < x < 1 is not a restriction as far as probability is concerned because the case where x is a probability and x = 1 is always trivial. Example Find the sum of: 10 + 1 +.1 +.01 +.001 +.0001 +.00001 +... We know that this is a geometric series since each term is.1 times the previous term. The series is infinite in form. However, since.1 is between!1 and 1, we know that the series has a finite sum. To get the series into the form of Formula 2, we 1 Closer and closer does not imply arbitrarily close. In truth we have ventured into the realm of calculus. Do not panic, people were doing calculus long before it was invented. We are only skirting the edges and there is no law that says you have to have had the course. 4

factor 10 out of each term to get: 10(1 +.1 +.01 +.001 +.0001 +.00001 +...). According to the formula this is. Example Find the sum of:!.5 +.25!.125 +.625!.3125 +... In this case, we factor!.5 out of each term to get:!.5(1!.5 +.25!.125 +.625!...). This is just the infinite geometric series with x =!.5. By the formula, the sum is: The High School Derivation of the Infinite Series Formula You may recall an easier derivation of the infinite series formula from high school. It goes like this. We want to sum 1 + x + x 2 + x 3 + x 4 +... We set it equal to S; that is S = 1 + x + x 2 + x 3 + x 4 +... Multiplying both sides by x we get xs = x + x 2 + x 3 + x 4 +... In other words: S = 1 + xs. Solving for S, we get S = 1/(1! x) which is precisely the formula derived above. The only problem with this solution technique is that when we set S = 1 + x + x 2 + x 3 + x 4 +..., we assumed that the sum S exists. However, we know from above that the sum S exists if and only if!1 < x < 1. G Exercise 6 Find the sum of. G Exercise 7 Using Exercise 6, find the rational equivalent of 1.11111... (that is, put it in the form of a fraction). G Exercise 8 Find the sum of the infinite geometric series 1 + 2 + 4 + 8 + 16 +... 5

G Exercise 9 Find the sum of. G Exercise 10 Find the sum of. Finite Geometric Series Again Above, we derived the formula for the sum of the infinite geometric series from the formula for the sum of the finite geometric series. (We also looked at an easier way of deriving the infinite case that always assumes that the limit exists.) Since it is easier to remember the infinite formula than the finite formula, it is worth looking at a way of getting the finite formula from the infinite formula. This is made especially useful since it uses an otherwise useful trick. We have (for!1 < x < 1) that 1 + x + x 2 + x 3 + x 4 +... = 1/(1! x). Hence, if we multiply both sides by x n+1, we get x n+1 + x n+2 + x n+3 +... = x n+1 /(1!x). Subtracting the second expression from the first we get: 6

Variations of Geometric Series There are two variations of infinite geometric series that appear a lot in probability problems. The first can be derived in several ways. First, if you know calculus, you can derive this series by differentiating both sides of Formula 2. If you do not know calculus, you can derive it simply by squaring both sides of Formula 2. With the second approach, you sum the infinite sequence of equations: to get: This can be stated more succinctly: Formula 3 A Variation of the Infinite Geometric Series 7

A second variation is obtained simply by multiplying both sides of Formula 3 by x. This yields: Formula 4 A Second Variation of the Infinite Geometric Series The Return of the Geometric Distribution You may recall from Section 26 that in the geometric distribution, that we are doing a Bernoulli experiment (that is an independent sequence of binary experiments) until we get a success. If the probability of a success is p and the probability of failure is qfigure 1 The Geometric Distribution (= 1! p) then the probability that the first success occurs on the nth experiment is q n!1 p. This experiment is represented in Figure 1. The only reason that there is a transition from the second state to itself is so that this graph is a Markov chain. Again, Figure 1 represents an experiment that we repeat until we get a success. We already know the probability that success occurs on a particular experiment. However, we could ask: How many experiments do we have to perform on average before we have a success? More precisely, what is the expected number of experiments until we have a success? Remember (again from Section 26) the expected outcome of an experiment is the sum, 3xAp(x), of all the outcomes (x) times their respective probabilities. In this case, the outcome we are interested in is the number experiments until we have a success. Hence, the possible outcomes are the positive integers: 1, 2, 3,... We have that the probability of a specific outcome n is q n!1 p. 8

Therefore the expected number of experiments is the sum 3nq n!1 p as n takes on all the values of the positive integers 1, 2, 3,... Writing this out we have: The summation was reduced using Formula 3. The next simplification used the fact that q = 1! p, or 1! q = p. Note that this answer is entirely intuitive (and note also that intuition in probability is to be highly suspected!). 1 If the probability of a successful experiment is.1 then the expected number of experiments until a success is 1/.1 = 10. The Probability That A Occurs Before B 2 Consider a collection of independent events, including two events A and B. We are interested in the probability that the event A occurs before the event B. Let us denote the new event not A nor B as C so that P(C) = 1! P(B)! P(C). The probability that A occurs before B is the probability that we have a sequence of events of the form C k A where k is equal to 0, 1, 2,... For example that case that A occurs immediately is just C 0 A (since a non-zero entity to 1 Another faster way of getting this result is to use the following fact. If the expected number of experiments to success is : then : = 1Ap + (1!p)A(1+:). Solving for : we get the above result. 2 This is a charming elementary application of geometric series. However, I would not have thought of it, if I had not seen it in The Art of Probability For Scientists and Engineers, by R. W. Hamming (Addison-Wesley) 1991, p. 156. Professor Hamming uses this formula to easily calculate the probability of winning at craps. Later, we will do a more extensive analysis of craps. 9

the zero'th power is one). The case that three events neither A nor B occur before A occurs is C 3 A. The probability that A occurs before B is: Since 0 < P(C) < 1, we are able to use the formula for the infinite geometric series. Again, the result is both elegant and intuitive. 10

1. 11,111,111,111 2. 1! 3 +.. + (!3) 10 = 44,287 3. ¼(1 +.. + 2 12 ) = 2,047.75 4. (1&6)(1! 6 +.. + (!6) 6 ) = 6,665.166666 5.!½(1! 6 +.. + (!6) 6 ) =!19,995.5 6. 10&9 7. 1.11111... is precisely the same thing that the previous problem asks for: 10&9 8. This is a infinite geometric series with *x* > 1. It goes to infinity. We say that it is an illegal problem or that it is has no solution. 9. 12(1 + a + (a) 2 +... ) = 18 10. 1 + (!½) + (!½) 2 +... = b 11