Course 4.2Lesson 3 of 3
Conditions change the count. To keep some objects together, glue them into one block and multiply by the orders inside it. To keep them apart, subtract the together count from the total. Fill restricted places first: the first digit of a number cannot be , and the last digit decides if it is even. The rank of a word counts the words before it in dictionary order.
This lesson is free to read. Enroll free to keep your place and take the tests.
Try the code and the simulations beside the lesson.
Many counting questions add a condition. The safest plan is to deal with the condition first, then fill the free places.
Six friends, Ria, Sam, Tara, Uday, Vani and Wasim, sit in a row. Ria and Sam must sit side by side. How many rows are possible?
Step 1. Glue. Treat Ria and Sam as one block. Now there are units: the block and the other four.
Step 2. Arrange the units. orders.
Step 3. Arrange inside the block. Ria and Sam can sit in orders.
Answer: rows.
Now Ria and Sam must never sit side by side. Count all the rows, then take away the rows where they are together:
This is counting by complement. It is often easier to count what you do not want.
When three or more objects are glued, the complement counts rows where they are not all together. Some of those rows may still have two of them side by side.
Raise to . Everyone must then stand together, which is no condition at all, so the red bar falls to .
The word DAUGHTER has different letters, with the vowels A, U and E.
Sometimes the condition names the places. Arrange the letters of ORANGE so that the vowels O, A and E stand only in the odd places , and .
Step 1. The vowels. vowels fill odd places: ways.
Step 2. The consonants. R, N and G fill the even places: ways.
Answer: arrangements.
Digits bring two conditions of their own.
How many digit numbers can be made from , with no digit repeated?
Step 1. The first digit. It cannot be , so it has choices.
Step 2. The rest. digits are left for places: .
Answer: numbers.
How many of them are even? The two conditions meet at the digit , so split into cases.
Answer: even numbers.
List all the arrangements of the letters of SMILE in dictionary order. In which place is SMILE itself?
The letters in alphabetical order are E, I, L, M, S. Count the words that come before SMILE.
Step 1. First letter before S. Words starting with E, I, L or M: .
Step 2. S, then a letter before M. The letters left are E, I, L and M. E, I and L come before M: .
Step 3. SM, then a letter before I. Only E comes before I: .
Step 4. SMI, then a letter before L. Only E: .
Step 5. SMIL, then E. That is SMILE itself.
Answer: words come first, so SMILE is in place .
The program forms all rows of the six friends and checks the gap between Ria and Sam in each one.
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Every lesson is open to read. Enrolling also lets you:
Log in to join the discussion.
Loading…