glossary

if there are ways of doing thing and ways of doing thing

  • there are ways of doing both and
  • there are ways of doing either or

lesson

remember

remember

also use the Pascal’s triangle to calculate combinations quickly

practice things

worked example: what is


worked example: what is


worked example: what is


worked example: what is


worked example: what is


worked example: you have 9 books. how many ways can you pick 8 books?


worked example: you have 3 thick books and 4 thin books. how many ways can you pick 1 thick book and 2 thin books?


worked example: you have 5 books. if you can donate any number of them, how many choices do you have?


worked example: you have 6 thick books and 5 thin books. how many ways can you pick 5 books?

worked example: you have 6 thick books and 5 thin books. how many ways can you pick 4 thick books and 1 thin book?

worked example: you have 6 thick books and 5 thin books. how many ways can you pick 5 thick books?

worked example: you have 6 thick books and 5 thin books. how many ways can you pick 5 books if you must have at least 4 thick books?
this means that you can pick 4 or 5 thick books


worked example: you have 2 shirts, 3 shorts and 5 bathrobes. you can’t wear bathrobes with anything else.
you can wear shirt and shorts or a bathrobe
how many ways can you wear things?

worked example: you have 2 shirts, 3 shorts, 4 trousers and 5 bathrobes. you can’t wear bathrobes with anything else. you can’t wear shorts with trousers.
you can wear shirt and shorts, shirt and trousers, or a bathrobe
how many ways can you wear things?

worked example: how many ways are there of arranging 4 different books on a shelf?
the first book has 4 choices, second book 3 choices…

worked example: how many different 4 letter sets can you make from the letters in the word “help”?
the first letter has 4 choices, second letter 3 choices…

worked example: how many different 4 letter sets can you make from the letters in the word “help” if the first letter has to be a consonant?
the first letter has 3 choices, the second letter has 3 choices, the third letter has 2 choices…

worked example: how many different 4 letter sets can you make from the letters in the word “help” if the last letter has to be “e”?
the last letter has 1 choice

the first letter has 3 choices, the second letter has 2…

worked example: how many different 4 letter sets can you make from the letters in the word “help” if the last letter has to be “e” or “l”?
the last letter has 2 choices

the first letter has 3 choices, the second letter has 2…

worked example: how many different 4 letter sets can you make from the letters in the word “help” if the first letter has to be “h” and the last letter has to be “e” or “l”?
the first letter has 1 choice and the last letter has 2 choices

the first letter has 2 choices and the third letter has 1

worked example: how many ways are there of choosing 3 books from 5 different books and arranging them on a shelf?

worked example: how many ways are there of making a 4 digit passcode without restrictions?

worked example: how many ways are there of making a 4 digit passcode if no number can be used more than once?

worked example: how many ways are there of making a 4 digit passcode if there has to be at least one repetition?

there are same things

worked example: how many ways can the letters in the word “mississippi” be arranged?
there are 11 letters in the word. if the letters were different, we have possible permutations.
however, “i” is repeated 3 times, “s” is repeated 4 times and “p” is repeated 2 times. we must adjust by dividing by stuff

worked example: a set of 9 letters contains 5 of the letter A and 4 of the letter B. how many arrangements can the set have?

worked example: as shown below, there are two points, A and B. you start at A and can only move either down or right. how many ways can you go from A to B?

notice that no matter what path you take, you will need to go down 5 times and go right 4 times.
therefore, you need exactly 9 moves, 5 of them down and 4 of them right.

worked example: 5 boys and 3 girls are randomly seated in a row. what is the probability that the first and last positions are occupied by girls?

fill in requirements

fill in others

so there are 4320 possible wanted permutations
without requirements, there is accepted permutations

worked example: three letters are randomly chosen from the word “olympics” and arranged in a row. what is the probability that

  • the letter “o” is first
    there are possible permutations
    good permutations
    answer is

  • the letter “y” is chosen (use permutations)
    there are possible permuations
    list all templates that satisfy

y--
-y-
--y

and and
so there are good permutations
answer is

  • both vowels are chosen (use permutations)
    list all

  • the letter “y” is chosen (use combinations)
    suppose we have letters in total and we select of them for a combination, where have the quality and we want exactly that have the quality,
    the number of combinations that are good is equal to

in this case, we have 8 letters total and we select 3 of them for a combination, where 1 is “y” and we wanted there to be exactly 1 of them,
number of good combinations is
number of possible combinations is

  • both vowels are chosen (use combinations)
    in this case, we have 8 letters total and we select 3 of them for a combination, where 2 are vowels and we wanted there to be exactly 2 of them,
    number of good combinations is
    number of possible combinations is

worked example: consider the string “aaaabbcc”. how many ways can all letters be arranged if

  • there is no restriction
    possible permutations

  • the two “c” are adjacent
    we need to treat the two “c” as just one object, so there are 7 items being arranged, and there is just one “c”
    good permutations

  • no two “a” are adjacent
    list all templates that satisfy

a-a-a-a-
a-a-a--a
a-a--a-a
a--a-a-a
-a-a-a-a

there are 5 possible templates, each one has permutations
therefore, good permutations

PLZ pretend everything below does not exist

worked example: three letters are randomly chosen from the word “coffee” and then arranged in a row. let E be there is at least one “e” and O be there is at least one “o”. find


  • so we have the word “coffee” and we take three letters from it.

    so



  • so


  • is
    so is


  • the last letter is “e” and the first letter is “f”
    find possible wanted permutations


  • make a table
EE’
O3/41/2
O’1/201/2
4/51/51