“More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois...

47
“More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University

Transcript of “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois...

Page 1: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

“More Really Cool Things Happening in Pascal’s

Triangle”

Jim Olsen

Western Illinois University

Page 2: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Outline

0. What kind of session will this be?

1. Review of some points from the first talk on Pascal’s Triangle and Counting Toothpicks in the Twelve Days of Christmas Tetrahedron

2. Two Questions posed.

3. Characterizations involving Tower of Hanoi, Sierpinski, and _______ and _______.

4. A couple more interesting characterizations.

5. Two Questions solved.

Page 3: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

0. What kind of session will this be?

• This session will be less like your typical teacher in-service workshop or math class.

• Want to look at some big ideas and make some connections.

• I will continually explain things at various levels and varying amounts of detail.

• Resources are available, if you want more.• Your creativity and further discussion will

connect this to lesson planning, NCLB, standards, etc.

Page 4: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

1. ReviewTriangular numbers

15 10 6 3 1 54321 TTTTT

(Review)

Page 5: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

+31+2 +9+8+7+6+5+4

Let’s Build the 9th

Triangular Number

(Review)

459 T

Page 6: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

n

n+1

n(n+1)

Take half.

Each Triangle

has n(n+1)/2

2

)1(

nnTn

(Review)

Page 7: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Another Cool Thing about Triangular Numbers

Put any triangular number together with the next bigger (or next smaller).

21 nTT nn

And you get a Square!

819298 TT

Page 8: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Eleven Characterizations

• Char. #1: First Definition: Get each number in a row from the two numbers diagonally above it (and begin and end each row with 1). This is the standard way to generate Pascal’s Triangle.

(Review)

Page 9: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

• Char. #2: Second Definition: A Table of Combinations or Numbers of Subsets

(Characterization #1 and characterization #2 can be shown to be equivalent)

• Char. #3: Symmetry

(Review)

7

9

2

9

rn

n

r

n

Page 10: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

subsets 10

102

5 2 choose 5

subsets 120

1207

10 7 choose 10

(Review)

Page 11: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

• Char. #4: The total of row n

= the Total Number of Subsets (from a set of size n)

= 2n

32215101051 5

n

n

nnnn2...

210

(Review)

Page 12: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

• Char. #5: The Hockey Stick Principle

(Review)

Page 13: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

• Char. #6: The first diagonal are the “stick” numbers.

• Char. #7: second diagonal are the triangular numbers.

(Review)

Page 14: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

• Char. #8: The third diagonal are the tetrahedral numbers.

(Review)

Page 15: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

A Fun Way to Count the Toothpicks in the 12 Days of Christmas Tetrahedron

Organize the marshmallows (nodes) into categories, by the number of toothpicks coming out of the marshmallow.

What are the categories?

(Review)

Page 16: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

This double counts, so there are 1716 toothpicks!

Category of Nodes

Number of Nodes

Number of Toothpicks from each

Product

Corners 4 3 12

Edges 6x10 6 360

Faces 4xT9 9 1620

Interior Te8 12 1440

Total: 3432But….

Page 17: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

The numbers in row n are the number of different ways a ball being dropped from the top can get to that location.

Row 7 >> 1 7 21 35 35 21 7 1

• Char.#9: This is actually a table of permutations (permutations with repetitions).

• Char. #10: Imagine a pin at each location in the first n rows of Pascal’s Triangle (row #0 to #n-1). Imagine a ball being dropped from the top. At each pin the ball will go left or right.

Page 18: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Char. #11: The fourth diagonal lists the number of quadrilaterals formed by n points on a circle.

4

n

(Review)

Page 19: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

2. Two Questions posed

1. What is the sum of the squares of odd numbers (or squares of even numbers)?

2. What is the difference of the squares of two consecutive triangular numbers?

?)12(...531 2222 n

?21

2 nn TT

Page 20: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

3. Characterizations involving Tower of Hanoi, Sierpinski, and _______ and _______.

• Solve Tower of Hanoi.

• What do we know? Brainstorm.• http://www.mazeworks.com/hanoi/index.htm

Page 21: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Solutions to Tower of Hanoi

Disks Moves Needed

Sequence

1 1 a

2 3 aba

3 7 aba c aba

4 15 aba c aba D aba c aba

5 31 aba c aba D aba c aba E aba c aba D aba c aba

Page 22: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Characterization #12The sum of the first n rows of Pascal’s Triangle

(which are rows 0 to n-1) is the number of moves needed to move n disks from one peg to another in the Tower of Hanoi.

Notes:

• The sum of the first n rows of Pascal’s Triangle (which are rows 0 to n-1) is one less than the sum of the nth row. (by Char.#4)

• Equivalently:

122...222 1210 nn

Page 23: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Look at the Sequence as the disks

Disks Moves Needed

Sequence

2 3 aba

Page 24: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Look at the Sequence as the disks

Disks Moves Needed

Sequence

3 7 aba c aba

What does it look like?

Page 25: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Look at the Sequence as the disks

A ruler!

Page 26: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Solutions to Tower of HanoiCan you see the ruler markings?

Disks Moves Needed

Sequence

1 1 a

2 3 aba

3 7 aba c aba

4 15 aba c aba D aba c aba

5 31 aba c aba D aba c aba E aba c aba D aba c aba

Page 27: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Solution to Tower of Hanoi

Ruler Markings

Page 28: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

What is Sierpinski’s Gasket?

http://www.shodor.org/interactivate/activities/gasket/

It is a fractal because it is self-similar.

Page 29: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

More Sierpinski Gasket/Triangle Applets and Graphics

http://howdyyall.com/Triangles/ShowFrame/ShowGif.cfm

http://www.arcytech.org/java/fractals/sierpinski.shtml

by Paul Bourke

Page 30: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Vladimir Litt's, seventh grade pre-algebra class from Pacoima Middle School Pacoima,

California created the most amazing Sierpinski Triangle.

http://math.rice.edu/%7Elanius/frac/pacoima.html

Page 31: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Characterization #13If you color the odd numbers red and the even

numbers black in Pascal’s Triangle, you get a (red) Sierpinski Gasket.

http://www.cecm.sfu.ca/cgi-bin/organics/pascalform

Page 32: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Characterization #14Sierpinski’s Gasket, with 2n rows, provides a

solution (and the best solution) to the Tower of Hanoi problem with n disks.

At each (red) colored node in Sierpinski’s Gasket assign an n-tuple of 1’s, 2’s, and 3’s (numbers stand for the pin/tower number).

The first number in the n-tuple tells where the a-disk goes (the smallest disk).

The second number in the n-tuple tells where the b-disk goes (the second disk).

Etc.

Page 33: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Maybe we should call it Sierpinski’s Wire Frame

The solution to Tower of Hanoi is given by moving from the top node to the lower right corner.

Page 34: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

The solution to Tower of Hanoi is given by moving from the top node to the lower right corner.

Page 35: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Solution to Tower of Hanoi

Sierpinski Wire Frame

Ruler Markings

Page 36: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

…But isn’t all of this

• Yes/No…..On/off

• Binary

• Base Two

Page 37: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Characterization #12.1The sum of the first n rows of Pascal’s Triangle

(which are rows 0 to n-1) is the number of non-zero base-2 numbers with n digits.

1Digit

2Digits

3Digits

1 11011

11011

100101110111

Count in

Base-2

Page 38: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

11011

100101110111

10001001101010111100110111101111

What Patterns Do You See?

How can this list be used to solve Tower of Hanoi?

Page 39: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Binary Number List Solves Hanoi

Using the list of non-zero base-2 numbers with n digits. When:

• The 20 (rightmost) number changes to a 1, move disk a (smallest disk).

• The 21 number changes to a 1, move disk b (second smallest disk).

• The 22 number changes to a 1, move disk c (third smallest disk).

• Etc.

a b a C a b a

3Digits

1 10 11

100101110111

Page 40: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Solution to Tower of Hanoi

Sierpinski Wire Frame

1 10 11

100101110111

Binary Numbers

Ruler Markings

Page 41: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

4. A Couple More Interesting Characterizations.

Page 42: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Characterization #15By adding up numbers on “diagonals” in Pascal’s

Triangle, you get the Fibonacci numbers.

This works because of

Characterization #1 (and the fact that rows begin and end with 1).

Page 43: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Characterization #16

To get the numbers in any row (row n), start with 1 and successively multiply by

n

nnnn 1,...,

4

3,

3

2,

2

1,

1

For example, to generate row 6.

1

1 6 15 20 15 6 11

6

2

5

3

4

4

3

5

2

6

1

Page 44: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

5. Two Questions Answered1. What is the sum of the squares of odd

numbers (or squares of even numbers)?

?)12(...531 2222 n

Answer: A tetrahedron. In fact, or

?)2(...642 2222 n

See Model.

12 nTe 2nTe

Page 45: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Two Questions Answered (cont.)

2. What is the difference of the squares of two consecutive triangular numbers?

?21

2 nn TT

Answer: A cube. In fact, n3.

See Model.

Page 46: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

More Information

http://www.wiu.edu/users/mfjro1/wiu/tea/pascal-tri.htm

Page 47: “More Really Cool Things Happening in Pascal’s Triangle” Jim Olsen Western Illinois University.

Jim Olsen

Western Illinois University

[email protected]

faculty.wiu.edu/JR-Olsen/wiu/

•Thank you.