06.09.2021 Views

Discrete Mathematics- An Open Introduction - 3rd Edition, 2016a

Discrete Mathematics- An Open Introduction - 3rd Edition, 2016a

Discrete Mathematics- An Open Introduction - 3rd Edition, 2016a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1.2. Binomial Coefficients 77<br />

Remember, this is because we can start the bit string with either a 1 or<br />

a 0. In both cases, we have n − 1 more bits to pick. The strings starting<br />

with 1 must contain k − 1 more 1’s, while the strings starting with 0 still<br />

need k more 1’s.<br />

Since |B n k | ( n<br />

k) , the same recurrence relation holds for binomial<br />

coefficients:<br />

Recurrence relation for ( n<br />

k) .<br />

( ( ) ( )<br />

n n − 1 n − 1<br />

+ .<br />

k)<br />

k − 1 k<br />

Pascal’s Triangle<br />

Let’s arrange the binomial coefficients ( n<br />

k) into a triangle like follows:<br />

( 0<br />

0)<br />

( 1<br />

0<br />

) ( 1<br />

1)<br />

( 2<br />

0<br />

) ( 2<br />

1<br />

) ( 2<br />

2)<br />

( ) ( 3 3<br />

0 1<br />

) ( 3<br />

2<br />

) ( 3<br />

3)<br />

( ) ( ) ( ) ( 4 4 4 4<br />

0 1 2 3<br />

) ( 4<br />

4)<br />

(<br />

This can continue as far down as we like. The recurrence relation for<br />

n<br />

)<br />

k tells us that each entry in the triangle is the sum of the two entries<br />

above it. The entries on the sides of the triangle are always 1. This is<br />

because ( n<br />

0) 1 for all n since there is only one way to pick 0 of n objects<br />

and ( n<br />

n) 1 since there is one way to select all n out of n objects. Using<br />

the recurrence relation, and the fact that the sides of the triangle are 1’s,<br />

we can easily replace all the entries above with the correct values of ( n<br />

k) .<br />

Doing so gives us Pascal’s triangle.<br />

We can use Pascal’s triangle to calculate binomial coefficients. For<br />

example, using the triangle below, we can find ( 12) 6 924.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!