Draw a truth table for x XOR 1 = x

  • Thread starter Thread starter larry21
  • Start date Start date
  • Tags Tags
    Table Truth table
AI Thread Summary
The discussion centers on verifying the boolean identity x XOR 1 = x using a truth table. The initial attempt at a solution shows that the equation is false, as it simplifies to x' rather than x. Participants discuss the process of creating a truth table, noting that x can take values of true (1) or false (0), and express confusion about how to incorporate the constant 1 in the table. It's clarified that the XOR operation can indeed work with one variable and a constant. The conversation emphasizes the importance of understanding binary operations in boolean algebra.
larry21
Messages
10
Reaction score
0

Homework Statement


Using boolean algebra, verify if the identity is true. Draw truth table to verify answers.

x XOR 1 = x

The Attempt at a Solution


x \oplus 1 = x

(x’ * 1) + (x * 1’)
(x’ * 1) + (x * 0)
(x’ * 1) + 0
(x’ * 1)
x’

I've proven that the equation is false. How do I draw truth table to prove it? Help appreciated. Thanks.
 
Physics news on Phys.org
You are using the truth table to verify the answer - what values can x take?
 
x can be true or false (1 or 0). I still don't know how to proceed...
 
How would you normally go about drawing a truth-table?
 
Normally I look at the equation; usually there are 2 variables and I list all possible combinations for them. but in this case, there's only one variable and a 1. What do I do with the 1?
 
Not all binary operations require two numbers for input.
The NOT operation for eg.

The XOR operation does not require two variables - just two numbers.
 

Similar threads

Replies
4
Views
5K
Replies
5
Views
6K
Replies
1
Views
2K
Replies
10
Views
3K
Replies
1
Views
1K
Replies
14
Views
5K
Replies
7
Views
1K
Back
Top