How can permutations help with logic gates and circuit design?

Click For Summary

Homework Help Overview

The discussion revolves around the application of permutations and combinations in the context of logic gates and circuit design, specifically related to a circuit board used for educational purposes. The original poster is tasked with filling out a table that represents the output of a seven-segment display based on the states of four switches.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to understand how to model the permutations of switch states for a logic circuit. They express concern about the potential complexity of the permutations involved and seek clarification on how to accurately represent the combinations of switch states.

Discussion Status

Some participants provide guidance by clarifying that the problem does not involve factorials in the traditional sense, as the focus is on the combinations of states rather than permutations. There is a progression in understanding as the original poster arrives at the conclusion that there are 16 possible combinations for the four switches.

Contextual Notes

The discussion includes assumptions about the nature of the switches and their states, as well as the educational context of the circuit board being used. There is an implicit understanding that the original poster is working within the constraints of a homework assignment.

BOAS
Messages
546
Reaction score
19
Hello,

today in class we started a topic on permutations and combinations and I have come across a way in which it could be of use to me whilst working with 'logictutor' (a premade circuit board used to teach simple logic circuits).

We have an experiment tomorrow where we will investigate different logic gates and build a decade counter and whilst my question isn't about that, I think it would be nice to show the permutations of inputs.

Homework Statement



There are four switches on the board that control the input to a seven segment display and I need to fill out a table that shows the position of each switch and what the display will show.

Homework Equations





The Attempt at a Solution



There are 4! permutations possible for 4 items but in my situation each item can be either on or off.

I hope this doesn't translate to their being 8! permutations otherwise I'm going to be up all night on excel making tables.

So how do I model this problem to show the number of permutations? I suppose I would like to know because as truth tables get bigger and bigger it could be a quick check to show I have every possibility.

Thanks! (I hope my question is clear)
 
Physics news on Phys.org
No factorials arise in this context. You are not shuffling the order of things or selecting fixed size subsets.
If you wanted to list the combinations in terms of how many switches are on then you would see some factorials, but that's not an interesting way to list them here.
You have N distinct things, each of which can be in any of R states. How many possible combinations of states?
If you're not sure, start with N=1 and work up.
 
Last edited:
  • Like
Likes   Reactions: 1 person
haruspex said:
No factorials arise in this context. You are not shuffling the order of things or selecting fixed size subsets.
If you wanted to list the combinations in terms of how many switches are on then you would see some factorials, but that's not an interesting way to list them here.
You have N distinct things, each of which can be in either of R states. How many possible combinations of states?
If you're not sure, start with N=1 and work up.


One switch has 2 different combinations of states.

Two switches have four different combinations of states.

Three switches have 8 different combinations of states.

Looking at this, the general rule appears to be number of combinations = rN

For my four switch scenario there should be 16 combinations - Which is precisely how many I could come up with :)

Thank you!
 
Yep, now you've got it.
 

Similar threads

  • · Replies 25 ·
Replies
25
Views
5K
  • · Replies 7 ·
Replies
7
Views
8K
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 14 ·
Replies
14
Views
5K
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
7K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K