The following solutions make use of information found on pages 273 - 279 of the textbook.
Fill in the blanks to complete the following sentences.
You should attempt all these exercises yourself, using the textbook as an aid. Once you have attempted each question, check your answers by following the appropriate links. If you are stuck on a question, choose the link that gives you a hint and then try the question again.
1. In the game of Two Up, you bet on either heads or tails. Two coins are tossed. You win if both coins show the side you bet on and you lose if both coins show the opposite side you bet on. If the two coins show a combination of heads and tails, nothing happens (your bet stays as it was) and the coins are tossed again.
a) If this was the complete set of rules for Two Up, work out the probability that
i) you win on the first toss.
ii) you win if you are betting on heads (after the coins are tossed as many times as
necessary to get either two heads or two tails).
b) There is an additional rule in Two Up. If the coin toss turns up a combination of a head and a tail five times in a row, the house takes all the bets (so all the players lose). What is the probability that five coin tosses in a row show a mix of heads and tails?
Hint
Full solution
2. a) How many integers from 1000 to 10000 inclusive are multiples of four?
b) What is the probability that a randomly chosen integer from 1000 to 10000 inclusive is divisible by four?
3. Suppose you have a list of the integers written consecutively from -52 to 57.
a) How many integers are in the list?
b) Where would you have to split the list (into two sublists) in order to have a sublist containing 61 consecutive integers?
The following solutions make use of information found on pages 281 - 292 of the textbook.
Fill in the blanks to complete the following sentences.
You should attempt all these exercises yourself, using the textbook as an aid. Once you have attempted each question, check your answers by following the appropriate links. If you are stuck on a question, choose the link that gives you a hint and then try the question again.
1. How many bit strings (strings of 0s and 1s) of length n are there?
2. How many bit strings (strings of 0s and 1s) of length four do not have two consecutive 1s?
3. Beginning with the letter A at the top of the pyramid and reading down, always passing from a letter to an adjoining letter, in how many ways is it possible to read ABRACADABRA?
4. a) Consider the following nested loop:
for i = 1 to 4
for j = 1 to
3
for
k = 1 to 5
Statements in body of inner loop
None lead out of the inner loop
next
k
next j
next i
How many times will the inner loop be iterated when the program runs?
b) Consider the following nested loop:
for i = 1 to n
for j = 1
to n
for
k = 1 to n
Statements in body of inner loop
None lead out of the inner loop
next
k
next j
next i
How many times will the inner loop be iterated when the program runs?
5. How many four digit numbers, which are not divisible by five, can be created using the digits 4, 5, 6 and 7, without repeating any digits.
6. At the local Chinese take-away, the menu consists of 6 chicken dishes, 7 pork dishes, 9 beef dishes and 5 vegetarian dishes. Your prospective in-laws are coming to dinner tonight and you want to impress them by providing a variety of dishes. You decide to buy 4 dishes from the take-away (one each of chicken, pork, beef and vegetarian). How many possible meal combinations could you serve?
7. In how many ways can a photographer at a wedding arrange six people in a row, including the bride and groom, if:
a) the bride must be next to the groom?
b) the groom's mother is not next to the bride?
c) the bride's mother is to the left of the groom (not necessarily right beside him)?
The following solutions make use of information found on pages 295 - 303 of the textbook.
Fill in the blanks to complete the following sentences.
You should attempt all these exercises yourself, using the textbook as an aid. Once you have attempted each question, check your answers by following the appropriate links. If you are stuck on a question, choose the link that gives you a hint and then try the question again.
1. Refer back to the Chinese take-away in Section 6.2, Question 6, and recall that there were 6 chicken dishes, 7 pork dishes, 9 beef dishes and 5 vegetarian dishes. Tonight you are on your own and you would like one dish from the take-away. However, after the latest salmonella outbreak, you have decided not to eat chicken for a few weeks. How many ways are there to choose your meal?
2. Suppose that you go to the Chinese take-away for dinner with two friends and you each randomly choose one dish (which could all be the same) and then share the three dishes for your meal.
a) What is the probability that the three of you end up with a meal that does not consist only of chicken dishes?
b) What is the probability that the three of you end up with a meal that has no vegetarian dishes in it?
3. A total of 1232 students have taken a course in Statistics, 879 have taken a course in Calculus and 114 have taken a course in Logic. Furthermore, 103 have taken courses in both Statistics and Calculus, 23 have taken courses in both Statistics and Logic and 14 have taken courses in both Calculus and Logic. If 2092 students have taken at least one course in Statistics, Calculus or Logic, how many students have taken courses in all three maths subjects?
4. Solve the Chelsea Pensioners puzzle by Lewis Carroll: If 70 % have lost an eye, 75 % an ear, 80 % an arm and 85 % a leg, what percentage at least must have lost all four?
The following solutions make use of information found on pages 306 - 320 of the textbook.
Fill in the blanks to complete the following sentences.
You should attempt all these exercises yourself, using the textbook as an aid. Once you have attempted each question, check your answers by following the appropriate links. If you are stuck on a question, choose the link that gives you a hint and then try the question again.
1. Calculate (without a calculator) the value of
a) |
( |
9 |
) | b) |
( |
200 | ) | |
3 |
198 |
2. There are five questions on your maths assignment but you only have time to complete three of them. How many combinations of questions are there which you could complete?
3. You are playing a word game in which you must make up a sentence using the three words you draw out of a bag containing ten words.
a) How many possible ways are there to choose three words from the bag of ten words?
b) Suppose the game rules change so that you now have to make up a sentence in which
the three words appear in the order in which they were chosen.
How many possible combinations are there now?
c) What is the relationship between your answers to parts a) and b)?
4. Recall that the Chinese take-away sells six chicken dishes, seven pork dishes, nine beef dishes and five vegetarian dishes.
a) This week they have a promotional deal in which, if you buy the chicken with noodles dish, you get a beef and black bean dish for free. How many ways are there to choose four different main dishes (assuming that if you choose the chicken with noodles, you also take the beef and black bean)?
b) From previous experience, you realize that there are two pork dishes which do not go well together. How can you choose four main dishes which contain at most one of the two pork dishes?
5. In the game of poker each player is dealt five cards from an ordinary deck of cards, and each player is said to have a 5-card hand. (You may like to refer to Example 6.4.9 on page 316 of your textbook.)
a) How many 5-card poker hands contain four cards of the same denomination (four of a kind)?
b) Find the error in the following calculation of the number of 5-card poker hands which contain at least one jack. Once you have found the error, calculate the true number of 5-card poker hands which contain at least one jack.
Consider this in two steps:
Choose one jack from the four jacks.
Choose the other four cards in the hand.
Thus we have C(4, 1) C(51, 4) = 999600 such hands.
6. How many distinct ways are there to arrange the letters of the word abracadabra?
The following solutions make use of information found in the reading and the textbook.
Fill in the blanks to complete the following sentences.
|
( |
r + n - 1 |
). | |
r |
You should attempt all these exercises yourself, using the textbook and reading as an aid. Once you have attempted each question, check your answers by following the appropriate links. If you are stuck on a question, choose the link that gives you a hint and then try the question again.
1. The Chinese take-away shop sells fortune cookies with fortunes relating to Health, Wealth, Happiness and Love. Normally these fortune cookies are kept in four separate jars, but to save space on the counter, they have all been put into one big jar. Assuming that there are at least six fortune cookies of each type in the jar, how many different combinations of the fortune types can you get if you choose six cookies from the jar?
2. How many solutions does the equation x + y + z = 11 have, where x, y and z are all non-negative integers?
The following solutions make use of information found on pages 330 - 335 of the textbook.
Fill in the blanks to complete the following sentences.
( |
n | ) | = |
( |
n | ) | ||||
r | n - r |
( |
n + 1 | ) | = |
( |
n | ) | + |
( |
n | ). |
r | r - 1 | r |
You should attempt all these exercises yourself, using the textbook as an aid. Once you have attempted each question, check your answers by following the appropriate links. If you are stuck on a question, choose the link that gives you a hint and then try the question again.
1. Given that | ( |
n | ) | = |
n (n - 1) , | find an expression for | ( |
x + 3 | ). |
n - 2 | 2 | x + 1 |
2. Use Pascal's formula to compute: | a) |
( |
7 | ) | + |
( |
7 | ) | b) |
( |
9 | ) | + |
( |
9 | ). |
5 | 6 | 6 | 5 |
The following solutions make use of information found on pages 336 - 342 of the textbook.
Fill in the blanks to complete the following sentences.
(a + b)n | = | n | ( |
n | ) | an-k bk | ||||||||||||||||||||||||||||
S | ||||||||||||||||||||||||||||||||||
k | ||||||||||||||||||||||||||||||||||
k=0 | ||||||||||||||||||||||||||||||||||
= |
|
You should attempt all these exercises yourself, using the textbook as an aid. Once you have attempted each question, check your answers by following the appropriate links. If you are stuck on a question, choose the link that gives you a hint and then try the question again.
1. Expand the following using the Binomial Theorem.
a) (x + y)4
b) (2a - 3b)5
2. Find the coefficient of m2 n8 in the expansion of (m + n)10.
3. Find the coefficient of x6 y3 in the expansion of (5x - 3y)9.