Simple Boolean Algebra / Propositional Logic Question

Click For Summary

Homework Help Overview

The discussion revolves around constructing a truth table using Boolean operators AND, OR, and NOT. The original poster presents a specific truth table with inputs A and B and their corresponding output O, seeking assistance in deriving the logical expression that represents the output.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to use a combination of AND, OR, and XOR operators but expresses confusion about how to proceed. Some participants suggest starting with simpler combinations and consider the placement of NOT operators.

Discussion Status

Participants are exploring different logical combinations and discussing the implications of their choices. While one participant claims to have found a solution, there is no explicit consensus on the final expression, and the discussion remains open to further exploration.

Contextual Notes

The original poster clarifies that the problem is not for formal homework but for a project in a computer game, which may influence the nature of the responses and the willingness of participants to provide guidance.

sunmaz94
Messages
42
Reaction score
0

Homework Statement



Produce the given truth table (given below as well as in a neater version in the attached Excel document) using the Boolean operators AND, OR, and/or NOT:

A (Input 1) B (Input 2) O (Output)
1 1 0
1 0 0
0 1 1
0 0 0



Homework Equations



None; since AND, OR, and NOT are presumed knowledge.

The Attempt at a Solution



I tried taking the AND and OR of it and then taking the XOR (A AND (NOT B) OR ((NOT A) AND B)) of those results but that led me nowhere. I honestly have no idea how to proceed. Any help would be greatly appreciated. Feel free to express the solution (or parts thereof) in the conventional notation of logical conjunctions/disjunctions ([itex]\wedge[/itex] / [itex]\vee[/itex]) and negations ([itex]\neg[/itex]), if you prefer. Thanks!

P.S.

I am not using this for homework or coursework. It is actually for a circuit I'm building in the computer game Minecraft! So feel free to just give me a fully worked solution. :smile:
 

Attachments

Physics news on Phys.org
Probably best if you figure it out yourself, even if it's not a homework. This is after all the homework section. (A AND B) has one true outcome just like your example but it's in the wrong place. So that's a good place to start. Try putting a 'NOT' on the A or B.
 
Dick said:
Probably best if you figure it out yourself, even if it's not a homework. This is after all the homework section. (A AND B) has one true outcome just like your example but it's in the wrong place. So that's a good place to start. Try putting a 'NOT' on the A or B.

I just figured it out. I was overcomplicated things unnecessarily. I see now that the answer is: [itex]\neg[/itex]A [itex]\wedge[/itex] B.

While I do thank you for your help, I would like to point out that the fact that: "This is after all the homework section", does not in any way preclude your ability to do it for me. That being said, I do agree with your general desire for the OP to figure things out themselves, with as minimal aid as possible.
 
This thread is now solved. It can be locked. Thanks.
 
sunmaz94 said:
I just figured it out. I was overcomplicated things unnecessarily. I see now that the answer is: [itex]\neg[/itex]A [itex]\wedge[/itex] B.

While I do thank you for your help, I would like to point out that the fact that: "This is after all the homework section", does not in any way preclude your ability to do it for me. That being said, I do agree with your general desire for the OP to figure things out themselves, with as minimal aid as possible.

Being in the homework section does preclude just giving an answer. At least in my mind. But you did just fine on your own. Good work.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 5 ·
Replies
5
Views
7K
  • · Replies 4 ·
Replies
4
Views
2K