Discrete Mathematics - Combinations/Factorials?

In summary, the number of possible settings for a row of six on-off switches with exactly three switches set to off is 20. This can be found by using the factorial rule and considering the switches as categories, then dividing by the number of possible orders in which the three off switches could be assigned.
  • #1
aliaze1
174
1

Homework Statement



An electronic switch bank consists of a row of six on - off switches. How many different
settings are possible if exactly three of the switches are set to off?

(a) 12 (b) 144 (c) 60 (d) 30 (e) 20


Homework Equations



Factorial rule?

5!=5*4*3*2*1

The Attempt at a Solution



There are 6 switches, but only two positions, so would it be 6*5=30?
 
Physics news on Phys.org
  • #2
Any one switch is either on or off, but in a problem like this, you would treat those as categories (like a coin landing heads or tails). The issue here is that only three of the six switches are off (also exactly three are on) and it matters which three those are.

Think of the six switches as slots which can be assigned either an 'on' or 'off' value. Take the first of the three 'offs': how many slots are there to assign that to? Once you've done that, how many remain to assign the second 'off' to? How about for the third? How many possible ways could you do this?

Now, once any particular assignment of the three 'offs' has been made, does it matter in any important way what order those 'offs' were assigned to each slot? If it doesn't, you need to divide your earlier answer to the question in the previous paragraph by the number of orders in which you could have assigned those three 'offs'. That will then answer your problem.
 
  • #3


Your attempt at a solution is close, but not quite correct. The correct solution would be to use the combination formula, which takes into account the number of switches and the number of positions (on or off). The formula is nCr = n! / (r!*(n-r)!), where n is the total number of switches and r is the number of switches set to off. In this case, n=6 and r=3, so the solution would be 6C3 = 6! / (3!*(6-3)!) = (6*5*4) / (3*2*1) = 20. Therefore, the correct answer is (e) 20. This is an example of a combination, where order does not matter, as opposed to a permutation, where order does matter. In this case, we are choosing 3 switches out of a total of 6, so order does not matter and we use the combination formula.
 

1. What is the difference between a combination and a factorial?

A combination is a way to select a group of objects from a larger set without considering the order in which they are selected. A factorial, on the other hand, is a mathematical operation that calculates the number of possible arrangements or permutations of a given set of objects.

2. How do I calculate combinations and factorials?

The formula for calculating combinations is nCr = n! / (r! * (n-r)!), where n is the total number of objects and r is the number that is being selected. For factorials, the formula is n! = n * (n-1) * (n-2) * ... * 2 * 1.

3. What is the significance of combinations and factorials in discrete mathematics?

Combinations and factorials are important concepts in discrete mathematics as they are used to solve problems involving counting and arranging objects in a finite set. They are also used in probability and statistics to calculate the likelihood of certain events occurring.

4. Can combinations and factorials be used in real-life situations?

Yes, combinations and factorials can be applied in various real-life situations such as in gambling, lottery, and genetics. They are also used in computer algorithms and in the fields of finance and economics.

5. Are there any shortcuts or tricks for calculating combinations and factorials?

Yes, there are some shortcuts and tricks for calculating combinations and factorials. For example, for small numbers, you can use the factorial button on a calculator. There are also certain patterns and identities that can be used to simplify calculations for larger numbers.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
4
Views
794
  • Precalculus Mathematics Homework Help
Replies
3
Views
4K
  • Calculus and Beyond Homework Help
Replies
16
Views
1K
  • Calculus and Beyond Homework Help
Replies
29
Views
1K
  • Precalculus Mathematics Homework Help
Replies
12
Views
2K
  • Precalculus Mathematics Homework Help
Replies
2
Views
2K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
2K
  • General Math
Replies
23
Views
5K
  • Precalculus Mathematics Homework Help
Replies
4
Views
2K
Back
Top