Combinatorics Problem: Finding Samples with Non-Conforming Chips

In summary: So that explains why he got the wrong answer.In summary, the problem involves choosing a sample of five chips from a lot of 140 semiconductor chips, of which 10 do not conform to customer requirements. The question is asking how many of these samples will contain at least one non-conforming chip. The incorrect logic used by the person in the conversation was choosing one of the 10 non-performing chips first and then choosing 4 from the remaining 139 chips, resulting in a wrong answer. The correct approach is to subtract the samples that have no non-performing elements from the total number of samples, leading to the correct answer of 130,721,752.
  • #1
Ownaginatious
38
0
So here is the problem:

A lot of 140 semiconductor chips is inspected by choosing a sample of five chips. Assume 10 of the chips do not conform to customer requirements.

...

c) How many samples of five contain at least one non-conforming chip?

Now what seems logical to me is first choose 1 of the 10 non-performing and then choose 4 from the remaining 139 chips.

What is wrong with my logic here? I don't get the answer the book gets (130,721,752), and instead get 148, 916, 260.
 
Physics news on Phys.org
  • #2
Suppose we simplify it a bit so we have 2 non-performing, A and B, and 2 performing, C and D, and we are looking at a sample size of 2. Using your method we first pick A from the 2 non-performing, and then 1 of the remaining 3, giving us:
AB
AC
AD
Now we pick B from the two non-performing, and 1 of the the remaining 3, giving us:
BA
BC
BD

Unfortunately we have counted AB twice, first as AB and then as BA. So that's why your way doesn't work.

To solve it correctly you should take the total number of samples, which is C(140,5), and then subtract the ones that don't have any non-performing elements, which is C(130,5).
 
  • #3
"What is wrong with my logic here? I don't get the answer the book gets (130,721,752), and instead get 148, 916, 260."

The phrase "at least one" does not mean the same thing as "exactly one". The problem involved at least one, you answered as if it were exactly one.
 
  • #4
statdad said:
"What is wrong with my logic here? I don't get the answer the book gets (130,721,752), and instead get 148, 916, 260."

The phrase "at least one" does not mean the same thing as "exactly one". The problem involved at least one, you answered as if it were exactly one.

If you read closer, he actually made a different mistake. He said "choose 4 from the remaining 139 chips" not "choose 4 from the remaining 130 chips" (which would be the "exactly one" option).
 
  • #5


I would approach this problem using combinatorics, which is the branch of mathematics that deals with counting and arranging objects. In this case, we are interested in finding the number of samples of five chips that contain at least one non-conforming chip.

To solve this problem, we can use the concept of combinations. In combinatorics, a combination is a way of selecting a subset of objects without regard to their order. In this problem, we want to select 5 chips from a group of 140 chips, where order does not matter.

Using the formula for combinations, we can calculate the number of samples that contain at least one non-conforming chip as:

C(140,1) * C(10,1) * C(139,4) = 140 * 10 * 139 * 138 * 137 / (1 * 1 * 4 * 3 * 2) = 130,721,752

This is the same answer that the book gets. Your approach of first choosing 1 non-conforming chip and then choosing 4 from the remaining chips is incorrect because it does not take into account the fact that the order of the chips does not matter. In your calculation, you are counting the same sample multiple times, once for each possible order of the chips. This is why your answer is much larger than the correct answer.

In conclusion, to solve this problem, we need to use the concept of combinations and take into account that the order of the chips does not matter. By doing so, we arrive at the correct answer of 130,721,752 samples containing at least one non-conforming chip.
 

What is a simple combinatorics problem?

A simple combinatorics problem is a mathematical problem that involves counting the number of ways that a certain outcome can occur. It often involves arranging or selecting objects in a specific order.

What is the difference between combinations and permutations?

Combinations are a way to count the number of ways to choose a subset of objects from a larger set, where the order of the objects does not matter. Permutations, on the other hand, are a way to count the number of ways to arrange a set of objects in a specific order.

How do you calculate the number of combinations?

The formula for calculating the number of combinations is nCr = n! / (r! * (n-r)!), where n is the total number of objects and r is the number of objects being chosen.

How do you calculate the number of permutations?

The formula for calculating the number of permutations is nPr = n! / (n-r)!, where n is the total number of objects and r is the number of objects being arranged in a specific order.

What is the importance of combinatorics in science?

Combinatorics is important in science because it allows us to count the number of possible outcomes in a given situation, which is crucial in fields such as probability, genetics, and computer science. It also helps in the development of algorithms and in the analysis of complex systems.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
798
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
3K
Replies
9
Views
1K
  • Programming and Computer Science
Replies
1
Views
1K
  • Beyond the Standard Models
Replies
1
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
8
Views
3K
  • Sticky
  • Programming and Computer Science
Replies
13
Views
4K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Programming and Computer Science
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
Back
Top