Difference between revisions of "Overcounting"
m |
|||
(17 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
− | ''' | + | Strategic '''overcounting''' is the process of counting more than desired and then systematically "correcting" for overcounted elements by removing them from the total count via subtraction or division. The idea of strategic overcounting is fundamental to [[combinatorics]] and plays a role in incredibly important counting tools such as [[combinations]] and the [[Principle of Inclusion-Exclusion]]. |
− | == Examples == | + | ==Examples== |
− | * [http://www.artofproblemsolving.com/ | + | An example of a classic problem is as follows: |
+ | |||
+ | "How many numbers less than or equal to 100 are divisible by either 2 or 3?" | ||
+ | |||
+ | Solution: Clearly, there are 50 numbers less than 100 that are divisible by 2 and 33 that are divisible by 3. However, we note that we overcount several numbers, such as 12, which is divisible by both 2 and 3. To correct for this overcounting, we must subtract out the numbers that are divisible by both 2 and 3, as we have counted them twice. A number that is divisible by both 2 and 3 must be divisible by 6, and there are 16 such numbers. Thus, there are <math>50+33-16=\boxed{67}</math> numbers that are divisible by either 2 or 3. | ||
+ | (Note that it is not a coincidence that 67 is close to two-thirds of 100! We can approach this problem in a constructive way, building the set based on the remainders when divided by 3, but that is a different subject). | ||
+ | |||
+ | Another basic example is combinations. In these, we correct for overcounting with division, by dividing out what we overcount (as opposed to above where we subtracted it out). | ||
+ | |||
+ | Here is MATHCOUNTS 2008 National Target #1: Try to solve this. | ||
+ | |||
+ | "How many numbers less than or equal to 100 are divisible by 2 or 3 but not 4?". | ||
+ | |||
+ | Now see we have another type of overcounting. For example, we have <math>n</math> people at a party and everyone will handshake with each other. Suppose we are given an order to count the number of handshakes. It's not a matter of a great deal if there are less than 10 persons. But assume a party from the President, there will be millions of people. Now the task seems impossible without mathematics. Suppose we know the total number of people invited to the party, say <math>n</math>. | ||
+ | |||
+ | One person will handshake with all others except himself,i.e, he will handshake with <math>n-1</math> people.Now since the total of people in the party is <math>n</math>.So there will be <math>n*(n-1)</math> handshakes. Now let's try our formula for two people. According to the formula we get 2 handshakes, but wait, we will have only 1 handshake between two persons. That means we have overcounted somewhere. | ||
+ | |||
+ | Actually, we counted 1 handshake twice for the two persons. In our formula, we have overcounted each handshake twice. One handshake for Person A to Person B and another for Person B to person A.So basically, <math>2h = n*(n-1) \implies h = \frac{n*(n-1)}{2}</math> where h is the number of handshakes. Now our formula tally with our experiment results. (To easily solve a problem, we overcount and then divide with number of times we overcounted) | ||
+ | |||
+ | Here is a question to try: | ||
+ | |||
+ | "How many diagonals does an n-sided polygon have?????" | ||
+ | Answer to the question and lots more is given in this [http://www.artofproblemsolving.com/Videos/external.php?video_id=58 (video)] | ||
+ | Other examples of overcounting are shown in the videos below. | ||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | * [http://www.artofproblemsolving.com/Videos/external.php?video_id=59 (Counting the Number of Arrangements of Letters in a Word)] | ||
+ | * [http://www.artofproblemsolving.com/Videos/external.php?video_id=60 (Counting pairs)] | ||
+ | * [http://www.artofproblemsolving.com/Videos/external.php?video_id=57 (Counting Objects in a Circle Part 1)] | ||
+ | * [http://www.artofproblemsolving.com/Videos/external.php?video_id=61 (Counting Objects in a Circle Part 2)] | ||
+ | == More Examples == | ||
+ | |||
+ | * [[2004 AIME I Problems/Problem 3|AIME 2004I/3]] | ||
+ | |||
+ | ==Introductory Problems== | ||
+ | *How many different words can be formed with the letters <math>AAAABBCCDDDPPP</math>?(Not necessarily meaningful words) | ||
+ | |||
+ | == See also == | ||
+ | * [[Casework]] | ||
+ | * [[Complementary counting]] | ||
+ | * [[Constructive counting]] | ||
{{stub}} | {{stub}} | ||
+ | [[Category:Definition]] | ||
+ | [[Category:Combinatorics]] |
Latest revision as of 11:19, 2 January 2022
Strategic overcounting is the process of counting more than desired and then systematically "correcting" for overcounted elements by removing them from the total count via subtraction or division. The idea of strategic overcounting is fundamental to combinatorics and plays a role in incredibly important counting tools such as combinations and the Principle of Inclusion-Exclusion.
Examples
An example of a classic problem is as follows:
"How many numbers less than or equal to 100 are divisible by either 2 or 3?"
Solution: Clearly, there are 50 numbers less than 100 that are divisible by 2 and 33 that are divisible by 3. However, we note that we overcount several numbers, such as 12, which is divisible by both 2 and 3. To correct for this overcounting, we must subtract out the numbers that are divisible by both 2 and 3, as we have counted them twice. A number that is divisible by both 2 and 3 must be divisible by 6, and there are 16 such numbers. Thus, there are numbers that are divisible by either 2 or 3. (Note that it is not a coincidence that 67 is close to two-thirds of 100! We can approach this problem in a constructive way, building the set based on the remainders when divided by 3, but that is a different subject).
Another basic example is combinations. In these, we correct for overcounting with division, by dividing out what we overcount (as opposed to above where we subtracted it out).
Here is MATHCOUNTS 2008 National Target #1: Try to solve this.
"How many numbers less than or equal to 100 are divisible by 2 or 3 but not 4?".
Now see we have another type of overcounting. For example, we have people at a party and everyone will handshake with each other. Suppose we are given an order to count the number of handshakes. It's not a matter of a great deal if there are less than 10 persons. But assume a party from the President, there will be millions of people. Now the task seems impossible without mathematics. Suppose we know the total number of people invited to the party, say .
One person will handshake with all others except himself,i.e, he will handshake with people.Now since the total of people in the party is .So there will be handshakes. Now let's try our formula for two people. According to the formula we get 2 handshakes, but wait, we will have only 1 handshake between two persons. That means we have overcounted somewhere.
Actually, we counted 1 handshake twice for the two persons. In our formula, we have overcounted each handshake twice. One handshake for Person A to Person B and another for Person B to person A.So basically, where h is the number of handshakes. Now our formula tally with our experiment results. (To easily solve a problem, we overcount and then divide with number of times we overcounted)
Here is a question to try:
"How many diagonals does an n-sided polygon have?????" Answer to the question and lots more is given in this (video) Other examples of overcounting are shown in the videos below.
Related Videos
- (Counting the Number of Arrangements of Letters in a Word)
- (Counting pairs)
- (Counting Objects in a Circle Part 1)
- (Counting Objects in a Circle Part 2)
More Examples
Introductory Problems
- How many different words can be formed with the letters ?(Not necessarily meaningful words)
See also
This article is a stub. Help us out by expanding it.