I created a truth table with three inputs and randomly select high outputs so that I could practice doing boolean algebra. I've been able to answer some I've seen on the internet, but have failed when I just made up my own example to practice with. I've included a picture to see how far I got and ultimately where I've not been able to move past.
I have my rules cheat sheet beside me, but I'm going nowhere fast.
Boolean Algebra Question
Boolean Algebra Question
- Attachments
-
- example.png (10.88 KiB) Viewed 2474 times
- barrym95838
- Posts: 2056
- Joined: 30 Jun 2013
- Location: Sacramento, CA, USA
Re: Boolean Algebra Question
It has been about 30 years since I attempted any boolean algebra or Karnaugh mapping, so please take my limited advice with a grain of salt, but I think that you might be able to leave the first term alone and factor /C out of the second and third terms, ending up with /A/BC + /CA. Going back to your strategy, /AB + A/B can be reduced to A XOR B, but I don't know if introducing XOR into the mix is in line with what you are asking.
Mike B.
Mike B.
Re: Boolean Algebra Question
barrym95838 wrote:
It has been about 30 years since I attempted any boolean algebra or Karnaugh mapping, so please take my limited advice with a grain of salt, but I think that you might be able to leave the first term alone and factor /C out of the second and third terms, ending up with /A/BC + /CA. Going back to your strategy, /AB + A/B can be reduced to A XOR B, but I don't know if introducing XOR into the mix is in line with what you are asking.
Mike B.
Mike B.
I haven't tried what you mentioned yet, but I'm going to rework it as you suggested in the morning. However, I know of XOR, it's truth table and the gate symbol. When I went to reduce the term in the picture, I didn't immediately recognized that A~C + ~AC was an XOR until I plugged in a truth table. I was trying to factor out and reduce, but the example in the picture I fail to see what I'm missing. Does that mean you can go to factor out a term, but the resulting expression cannot be reduced? Given all the examples I've worked before, I just assume that every time you factor you can reduce. It doesn't appear so in that example.
Re: Boolean Algebra Question
The way you should factor this is not via the first two terms, but the first and the third:
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + AB/C
If you're going to practice doing this by hand, you should take a look at Karnaugh maps (e.g, https://en.wikipedia.org/wiki/Karnaugh_map)
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + AB/C
If you're going to practice doing this by hand, you should take a look at Karnaugh maps (e.g, https://en.wikipedia.org/wiki/Karnaugh_map)
Re: Boolean Algebra Question
There is a minor error in this:
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + AB/C
It should be:
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + /A/BC
This truth table is a good example of logic that does not reduce to simple terms.
Daryl
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + AB/C
It should be:
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + /A/BC
This truth table is a good example of logic that does not reduce to simple terms.
Daryl
Last edited by 8BIT on Tue Sep 26, 2017 11:47 am, edited 1 time in total.
Please visit my website -> https://sbc.rictor.org/
Re: Boolean Algebra Question
8BIT wrote:
There is a minor error in this:
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + AB/C
If should be:
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + /A/BC
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + AB/C
If should be:
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + /A/BC
Quote:
This truth table is a good example of logic that does not reduce to simple terms.
Daryl
Daryl
Re: Boolean Algebra Question
If you combine the bottom two terms, the B's cancel.
That is about the most I see.
The problems you may find are often like the math problems you get in grammar school.
You see problems like 24 / 3 but rarely 26 / 3.
Dwight
That is about the most I see.
The problems you may find are often like the math problems you get in grammar school.
You see problems like 24 / 3 but rarely 26 / 3.
Dwight
Re: Boolean Algebra Question
Thanks for everyone that replied.
Re: Boolean Algebra Question
rwiker wrote:
8BIT wrote:
There is a minor error in this:
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + AB/C
If should be:
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + /A/BC
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + AB/C
If should be:
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + /A/BC
Re: Boolean Algebra Question
8BIT wrote:
This truth table is a good example of logic that does not reduce to simple terms.
Daryl
Daryl
Re: Boolean Algebra Question
N2TheRed wrote:
rwiker wrote:
8BIT wrote:
There is a minor error in this:
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + AB/C
If should be:
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + /A/BC
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + AB/C
If should be:
/A/BC + A/B/C + AB/C = A/B/C + AB/C + /A/BC = A/C(B+/B) + AB/C = A/C + /A/BC
Please visit my website -> https://sbc.rictor.org/
Re: Boolean Algebra Question
N2TheRed wrote:
8BIT wrote:
This truth table is a good example of logic that does not reduce to simple terms.
Daryl
Daryl
Daryl
Please visit my website -> https://sbc.rictor.org/