Chapter 2 Prob
Chapter 2 Prob
Introduction to
Counting &
Probability
Chapter 2 Basic
Counting
Techniques
CASEWORK - Problem 2.1
On the island of Mumble, the Mumblian
alphabet has only 5 letters, and every word in
the Mumblian language has no more than 3
letters in it. How many words are possible?
(A word can use a letter more than once, but
zero letters does not count as a word.)
Solution 2.1
Case 1: 1-letter words; there are 5 1-letter words
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
Solution 2.3
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
Solution 2.3
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
Solution 2.3
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
Solution 2.3
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
Solution 2.3
. . . . .
. . .. .. . . . .
. . . . .
. . . . .
Solution 2.3
. . . . .
. . .. .. . . . .
. . . . .
. . . . .
Solution 2.3
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
Solution 2.3
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
Solution 2.3
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
Solution 2.3
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
Solution 2.3
Case 8: √10 x √10 diagonal sqs – there are 2 √10 x √10 squares
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
Solution 2.3
Case 8: √10 x √10 horizontal sqs – there are 2 √10 x √10 squares
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
Think about this:
There are 30 horizontal squares + (9+8+1+2)
diagonal squares = 50 squares in the grid.
B
A D F H
C
G
Go through either B or C to get to D. The # of
paths going from A to D through B is 2 x 1 and
the # of paths going from A to D through C is
2 x 3. So the total # of paths from A to D is
(2 x 1) + (2 x 3) = 8.
Go through either B or C to get to D. The # of
paths going from A to D through B is 2 x 1 and
the # of paths going from A to D through C is
2 x 3. So the total # of paths from A to D is
(2 x 1) + (2 x 3) = 8.
8 x 9 = 72
Problem 2.4
How many triangles appear in the diagram?
Problem 2.4
Case 1: The triangle is one of the smallest triangles.
There are 1 + 3 + 5 + 7 = 16 smallest triangles.
3
5
7
Problem 2.4
Case 2: The triangle is composed of 4 of the smallest
triangles. There are 7 such triangles, 6 pointing
up and 1 pointing down.
Problem 2.4
Case 3: The triangle is composed of 9 of the smallest
triangles. There are 3 such triangles, all pointing
up.
Problem 2.4
Case 4: The triangle is the biggest triangle. There’s 1.
26 x 25 x 10 x 9 = 58, 500.
2. Use casework on the choice of the 2nd digit:
Second digit First digit
0 1, 2, 3, 4, 5, 6, 7, 8, 9
1 2, 3, 4, 5, 6, 7, 8, 9
2 4, 5, 6, 7, 8, 9
3 6, 7, 8, 9
4 8, 9
2. Use casework on the choice of the 2nd digit:
Second digit First digit
0 1, 2, 3, 4, 5, 6, 7, 8, 9
1 2, 3, 4, 5, 6, 7, 8, 9
2 4, 5, 6, 7, 8, 9
3 6, 7, 8, 9
4 8, 9
The 3rd digit can be any of the 10 digits, so the
answer is (9 + 8 + 6 + 4 + 2) x 10 = 290.
3. Last digit First 2 digits
0 -
1 10
2 11, 20
3 12, 21, 30
4 13, 22, 31, 40
5 14, 23, 32, 41, 50
6 15, 24,33,42, 51,60
7 16,25,34,43,52,62,70
8 17,26,35,44,53,62,71,80
9 18,27,36,45,54,63,73,81,90
Last digit First 2 digits
0 -
1 10
2 11, 20
3 12, 21, 30
4 13, 22, 31, 40
5 14, 23, 32, 41, 50
6 15, 24,33,42, 51,60
7 16,25,34,43,52,62,70
8 17,26,35,44,53,62,71,80
9 18,27,36,45,54,63,73,81,90
3rd digit can be any of 10 so (1+2+3+4+5+6+7+8+9) x 10 = 450.
4. How many sequences of 6 digits x1, x2, …, x6
can we form, given the condition that no 2
adjacent xi have the same parity? (Parity
means “odd” or “even”; so, for example, x2
and x3 cannot both be odd or both be even.)
4. Regardless of whether x1 is even or odd, we
have 5 choices for x2: if x1 is odd then x2 is
even or vice versa. Similarly there are 5
choices for x3, 5 choices for x4, and so on.
Since x1 can be any of 10 digits, the answer is
10 x 55 = 21, 250.
5. In how many ways can we pick three numbers
out of the group
1, 2, 3, …, 100
such that the largest number is larger than the
product of the two smaller ones? (The order in
which the #s are picked is not important.)
Let the 3 #s be x < y < z. Proceed by casework
based on the choice of x. For each x possible,
list the choices for y so that it is still possible
to choose z with z > xy.
x y z # of pairs of (y, z)
x=1 2 < y ≤ 99 y < z ≤100 98+97+…+1=4851
x=2 3 < y ≤ 49 2y < z ≤100 94+92+…+2=2256
x=3 4 < y ≤ 33 3y < z ≤100 88+85+…+1=1335
x=4 5 < y ≤ 24 4y < z ≤100 80+76+…+4= 840
x=5 6 < y ≤ 19 5y < z ≤100 70+65+…+5= 525
x=6 7 < y ≤ 16 6y < z ≤100 58+52+…+4= 310
x=7 8 < y ≤ 14 7y < z ≤100 44+37+…+2= 161
x=8 9 < y ≤ 12 8y < z ≤100 28+20+12+4= 64
x=9 10 < y ≤ 11 9y < z ≤100 10 + 1 = 11
If 10 ≤ x < y, then xy > 100, so no choice of z
is possible.