From Counting to Pascal: A Journey through Number Theory, Geometry, and Calculus NYS Master Teachers March 9, 2015 Dave Brown – Slides available at
Goals Use counting (combinatorics) to generate patterns Link counting patterns to algebra, geometry, trigonometry, & calculus Explore patterns in counting structures Draw connections among various branches of math Learn some discrete mathematics
Dividing Rectangles Start with a simple subdividing game. Divide rectangles into shorter rectangles and count. For example, we can divide a length 3 rectangle How many divisions of a length 3 rectangle are possible? Explore subdivisions using Activity 1. These two are considered different
Dividing Rectangles What strategies can we use to list ALL possible divisions? Important: What is your process? Two main ideas in counting: Make sure we have counted everything Make sure nothing has been counted twice
Dividing Rectangles 1.Constructive approach Systematically build all divisions of a given length 2.Recursive approach Use divisions of shorter rectangles to build longer one
Dividing Rectangles 1.Constructive approach Systematically build all divisions of a given length Suppose you want to find all divisions of rectangle of length 10 If we want all three block divisions, we can use 2 separators in any of 9 spots block 5-block3-block block 4-block
Dividing Rectangles 1.Constructive approach Systematically build all divisions of a given length Suppose you want to find all divisions of rectangle of length 10 If we want all 5 block divisions, how many separators do we use? 4 separators will give us all divisions into 5 blocks
Dividing Rectangles 2.Recursive approach Use divisions of shorter rectangles to build longer one Every division has a final (rightmost) block of length 1 OR of length greater than 1
Dividing Rectangles 2.Recursive approach Use divisions of shorter rectangles to build longer one Remove all final blocks of length 1 Do you get all rectangles of length 4?
Dividing Rectangles 2.Recursive approach Use divisions of shorter rectangles to build longer one What about the other 8 length 5 rectangles? Can we do anything to final blocks to get all rectangles of length 4? SHRINK!!
Dividing Rectangles 2.Recursive approach Use divisions of shorter rectangles to build longer one We get all 8 length 4 rectangles by either removing the final 1-blocks, Or We get all 8 length 4 rectangles by shrinking the final blocks bigger than 1
Dividing Rectangles 2.Recursive approach Use divisions of shorter rectangles to build longer one Reverse the logic. How do you get all of the length 5 rectangles from two copies of the length 4 rectangles? Add 1-blocks to the end Lengthen the end-block by 1
Dividing Rectangles 2.Recursive approach Use divisions of shorter rectangles to build longer one How would you build all rectangles of length 6?
Number of Divisions of Length n How many divisions of a rectangle of length n are possible? Rectangle Length 12345n # of different divisions
Number of Divisions of Length n How many divisions of a rectangle of length n are possible? Rectangle Length 12345n # of different divisions 1
Number of Divisions of Length n How many divisions of a rectangle of length n are possible? Rectangle Length 12345n # of different divisions 12
Number of Divisions of Length n How many divisions of a rectangle of length n are possible? Rectangle Length 12345n # of different divisions 124
Number of Divisions of Length n How many divisions of a rectangle of length n are possible? Rectangle Length 12345n # of different divisions 1248
Number of Divisions of Length n How many divisions of a rectangle of length n are possible? Rectangle Length 12345n # of different divisions
Number of Divisions of Length n How many divisions of a rectangle of length n are possible? Rectangle Length 12345n # of different divisions n-1 How do we prove this? 1.Constructive approach – separators For the length 10 rectangle, in how many places could we use separators? 9 locations (can use 0-9 separators) In each location, you can either use a separator or not So, there are 2 9 decisions about dividing to make; hence, 2 9 divisions How does this generalize to rectangles of length n?
Number of Divisions of Length n How many divisions of a rectangle of length n are possible? Rectangle Length 12345n # of different divisions n-1 How do we prove this? 2.Recursive approach – idea of building up For the length 5 rectangles, how many ended with 1-blocks vs not? What is the relationship btw # of length 5 rectangles and # of length 4? #(length 5) = 2*#(length 4) Similarly, #(length 4) = 2*#(length 3) This pattern continues How does it help get to the formula?
Number of Divisions of Length n How many divisions of a rectangle of length n are possible? Rectangle Length 12345n # of different divisions n-1 2.Recursive approach – idea of building up Reverse this recursive count! #(length 1) = 1 = 2 0 #(length 2) = 2*#(length 1) = 2 = 2 1 #(length 3) = 2*#(length 2) = 4 = 2 2 #(length 4) = 2*#(length 3) = 8 = 2 3 Continue via induction #(length n) = 2*#(length n-1) = 2*2 n-2 = 2 n-1
A Finer Counting Consider the number of blocks in each division. For example, in how many ways can a length 3 rectangle be broken into 2 blocks? Explore block counts in Activity
A Finer Counting # of blocks in Rectangle Rectangle of length Rectangle of length 2 Rectangle of length 3 Rectangle of length 4 Rectangle of length 5 Rectangle of length 6
A Finer Counting # of blocks in Rectangle Rectangle of length Rectangle of length Rectangle of length 3 Rectangle of length 4 Rectangle of length 5 Rectangle of length 6
A Finer Counting # of blocks in Rectangle Rectangle of length Rectangle of length Rectangle of length Rectangle of length 4 Rectangle of length 5 Rectangle of length 6
A Finer Counting # of blocks in Rectangle Rectangle of length Rectangle of length Rectangle of length Rectangle of length Rectangle of length 5 Rectangle of length 6
A Finer Counting # of blocks in Rectangle Rectangle of length Rectangle of length Rectangle of length Rectangle of length Rectangle of length Rectangle of length 6
A Finer Counting # of blocks in Rectangle Rectangle of length Rectangle of length Rectangle of length Rectangle of length Rectangle of length Rectangle of length
Pascal’s Triangle!
Pascal’s Triangle Named after Blaise Pascal ( ) but known much earlier.
Pascal’s Triangle Row 0 Row 1 Row 2 Row 3 Pas(0,0) = 1 Pas(1,0) = Pas(1,1) = 1 Pas(2,0) = Pas(2,2) = 1, Pas(2,1) = = Pas(1,0) + Pas(1,1) Pas(3,0) = Pas(3,3) = 1, Pas(3,1) = Pas(2,0) + Pas(2,1) Pas(3,2) = Pas(2,1) + Pas(2,2) Pas(n,0) = Pas(n,n) = 1 Pas(n,k) = Pas(n-1,k-1) + Pas(n-1,k) How do we relate this to the block divisions?
A Finer Counting # of blocks in Rectangle Rectangle of length Rectangle of length Rectangle of length Rectangle of length Rectangle of length Rectangle of length
A Finer Counting # of blocks in Rectangle Rectangle of length 1 Pas(0,0)00000 Rectangle of length Rectangle of length Rectangle of length Rectangle of length Rectangle of length
A Finer Counting # of blocks in Rectangle Rectangle of length 1 Pas(0,0)00000 Rectangle of length 2 Pas(1,0)Pas(1,1)0000 Rectangle of length Rectangle of length Rectangle of length Rectangle of length
A Finer Counting # of blocks in Rectangle Rectangle of length 1 Pas(0,0)00000 Rectangle of length 2 Pas(1,0)Pas(1,1)0000 Rectangle of length 3 Pas(2,0)Pas(2,1)Pas(2,2)000 Rectangle of length Rectangle of length Rectangle of length
A Finer Counting # of blocks in Rectangle Rectangle of length 1 Pas(0,0)00000 Rectangle of length 2 Pas(1,0)Pas(1,1)0000 Rectangle of length 3 Pas(2,0)Pas(2,1)Pas(2,2)000 Rectangle of length 4 Pas(3,0)Pas(3,1)Pas(3,2)Pas(3,3)00 Rectangle of length Rectangle of length The # of ways to divide a rectangle of length n into k blocks is Pas(n-1,k-1)
Going to Work Iva Jean lives 16 blocks from work Each day, she will take a different path After exhausting all paths, Iva Jean can retire from her latest job Question: When does Iva Jean get to retire? work home
Going to Work Being a practical person, Iva Jean only moves systematically toward her goal. Moves only up (North) or to the right (East) Activity 3 – counting paths
Going to Work How many paths to an office 4 blocks away? (4,0) (3,1) (2,2) (1,3) (0,4) Only 1 path 4 paths Only 1 path 6 paths 4 paths
Paths to Work
Paths to Work - Observations If the office is at (3,2), then is how many blocks from home? (3,2) is 5 blocks from home The number of paths to (3,2) is: 10 In terms of Pascal’s Triangle: The number of paths to (3,2) is: Pas(5,2) Notice that this is the same as Pas(5,3) Why is this all true?
Closer look at (3,2) Let E=East and N=North Think of paths as combos of E’s and N’s How many E’s and how many N’s in a path to (3,2)? 3 E’s and 2 N’s (# of paths) = (# of words with 3 E’s and 2 N’s) EEENN, EENNE, ENNEE, NNEEE, EENEN, ENENE, NENEE, ENEEN, NEENE, NEEEN How do we more easily compute this?
Closer look at (3,2) Every path to (3,2) has length 5 Every path to (3,2) is a word consisting of 5 letters Not just any word of 5 letters 5 letter words with exactly 3 E’s and 2 N’s Think about placing the 2N’s into the 5 spots for letters (3 E’s, 2 N’s) This is 5 C 2 = 5!/(2!3!)
Counting Paths # paths to (3,2) is 5 C 2 By symmetry of paths, same as # paths to (2,3) # paths to (2,3) is 5 C 3 Confirms 5 C 2 = 5 C 3 But, # paths is also Pas(5,2) # of paths to (n,k) is (n+k) C k = Pas(n+k,k) Entries of Pascal’s Triangle are the binomial coefficients! Do we already know this? (a+b) n+k
Summing Up First, how long until Iva Jean can retire? # of paths to (8,8) is Pas(16,8) = 16 C 8 16 C 8 = 16!/(8!8!) = 12,870 days ≈ 35 years Counting of block divisions of rectangles & Counting of paths both lead to same structure Pascal’s Triangle
Pascal Patterns Where have we seen this?
Pascal Patterns An interesting pattern, but any relationship to either of our problems?
A Finer Counting # of blocks in Rectangle Rectangle of length Rectangle of length Rectangle of length Rectangle of length Rectangle of length Rectangle of length
A Finer Counting # of blocks in Rectangle Rectangle of length Rectangle of length Rectangle of length Rectangle of length Rectangle of length Rectangle of length The # of divisions into even # of blocks equals the # of divisions into odd# of blocks!
Pascal Patterns How do we express this pattern in terms of the triangle entries? That is, use Pas(n,k). Pas(n,0)-Pas(n,1)+Pas(n,2)-... +(-1) k Pas(n,k)+... +(-1) n Pas(n,n)=0
Pascal Patterns
Pas(4,2) = 6 = = Pas(3,1)+Pas(2,1)+Pas(1,1) = Pas(3,2)+Pas(2,1)+Pas(1,0)
Pascal Patterns Pas(8,3) = 56 = = Pas(7,3)+Pas(6,2)+Pas(5,1)+Pas(4,0) = Pas(7,4)+Pas(6,4)+Pas(5,4)+Pas(4,4) = Pas(8,5) Notice, in either formula, need to be decreasing something!
Pascal Patterns Pas(10,6) = 210 = = Pas(9,5)+Pas(8,5)+Pas(7,5)+Pas(6,5)+Pas(5,5) = Pas(9,4)+Pas(8,3)+Pas(7,2)+Pas(6,1)+Pas(5,0) = Pas(10,4)
Pascal Patterns Pas(n,k) = Pas(n-1,k-1)+Pas(n-2,k-1)+Pas(n-3,k-1)+...+Pas(k-1,k-1) = Pas(n-1,n-k)+Pas(n-2,n-k-1)+Pas(n-2,n-k-2)+...+Pas(n-k-1,0) = Pas(n,n-k) Hockey Stick Pattern Formula
Pascal Patterns 10*6*35 = 2100 = 5*20*21 Pas(5,3)*Pas(6,5)*Pas(7,4) = Pas(5,4)*Pas(6,3)*Pas(7,5) 7*56*36 = = 21*8*84 Pas(7,1)*Pas(8,3)*Pas(9,2) = Pas(7,2)*Pas(8,1)*Pas(9,3)
Pascal Patterns Pas(n,k)*Pas(n+1,k+2)*Pas(n+2,k+1) = Pas(n,k+1)*Pas(n+1,k)*Pas(n+2,k+2) Star of David Pattern Also tells us that the product of all six entries around Pas(n+1,k+1) is a Perfect Square! And, if you take the pattern to the edge, you get Perfect Cubes! 1*10*6 + 4*1* = 125 = 5 3
Golden Ratio A Rose by any other name... Golden Section Golden Mean Divine Proportion Divine Section Golden Number Part II – Geometric and Algebraic Patterns
Golden Ratio Studied for thousands of years Mathematicians Artists Biologists Physicists Musicians
What is the Golden Ratio? Two quantities are in the golden ratio if their ratio is the same as the ratio of their sum to the larger quantity. The common ratio is
What is the Golden Ratio? This implies that the golden ratio is a fixed constant, like π. Can we compute it?
Solve it!
Algebraic Implications The reciprocal of phi is one less than phi.
Algebraic Implications What number is one more than phi?
Algebraic Implications Let’s play with the recursive nature: Can we do it again? Have far can this go?
Algebraic Implications Continued Fraction Expansion
Algebraic Implications Convergents of the continued fraction What do you notice?
Algebraic Implications Will Fibonacci return?
Algebraic Implications Try these! Compute the numbers How do these relate to the Golden Ratio?
Algebraic Implications Prove that the continued square root (infinite surd) also holds:
Trigonometric Implications How would you get this one?! When you see the number 5, what shape do you think of?
Trigonometric Implications Compute the lengths of the segments L and M.
Trigonometric Implications HINT: Consider the center triangle, ABC. Also, consider the smaller (similar) triangle, BCD that is indicated. You figure it out! A BC D
Trigonometric Implications HINT: Consider the center triangle, ABC. Also, consider the smaller (similar) triangle, BCD that is indicated. BC D A α=36 β/2 β= L-1
Trigonometric Implications BC D A α=36 β/2 β=72 1 ° ° 1 1 L-1 ABC and BCD are similar triangles. So,
Trigonometric Implications
Now, how do we get : π/5 cos(π/5) = (|L|/2)/1
Golden Rectangle – Building the Golden Ratio Start with a square; side length 1
Golden Rectangle – Building the Golden Ratio Bisect the square.
Golden Rectangle – Building the Golden Ratio Draw the diagonal. How long is the diagonal?
Golden Rectangle – Building the Golden Ratio Swing the diagonal down along the base. How long is the extended base?
Golden Rectangle – Building the Golden Ratio What is the ratio of the length to width of the rectangle?
Golden Rectangle – Who Cares?
Golden Rectangle – Who Cares? Ratio= % difference From Golden Ratio
Golden Rectangle – Another Construction Rectangle Ratios: 1:1 2:1 3:2 5:3 8:5 Where did we see these? Convergents of continued fraction
Golden Spiral
Back to Fibonacci We saw that the ratios of consecutive Fibonacci numbers approach the golden ratio. Why?!
Back to Fibonacci This is a statement about limits. Proof?
Back to Fibonacci
So, the Golden Ratio is the limit of Fibonacci ratios. Can the Golden Ratio tell us anything about the Fibonacci numbers??
Binet’s Formula
Plotting
Pascal’s Triangle
112358
Pascal’s Triangle & the Number e? , ,471,025
Pascal’s Triangle & the Number e? 1; 1; 2; 9; 96; 2500; 162,000; 26,471,025
Pascal’s Triangle & the Number e? 1; 1; 2; 9; 96; 2500; 162,000; 26,471,025 Do you see the patterns?
Pascal’s Triangle & the Number e? 1; 1; 2; 9; 96; 2500; 162,000; 26,471,025
Pi in Pascal’s Triangle What is special about these numbers? Triangular numbers Sum of consecutive counting numbers 1+2+…+n = n(n+1)/2 = n+1 C 2
Pi in Pascal’s Triangle Similarly, we can add consecutive triangular numbers Tetrahedral numbers
Pi in Pascal’s Triangle