1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Draw a truth table for x XOR 1 = x

  1. Sep 30, 2013 #1
    1. The problem statement, all variables and given/known data
    Using boolean algebra, verify if the identity is true. Draw truth table to verify answers.

    x XOR 1 = x

    3. The attempt at a solution
    [itex]x \oplus 1 = x[/itex]

    (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.
     
  2. jcsd
  3. Sep 30, 2013 #2

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    You are using the truth table to verify the answer - what values can x take?
     
  4. Sep 30, 2013 #3
    x can be true or false (1 or 0). I still don't know how to proceed...
     
  5. Sep 30, 2013 #4

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    How would you normally go about drawing a truth-table?
     
  6. Sep 30, 2013 #5
    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?
     
  7. Sep 30, 2013 #6

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    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.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Draw a truth table for x XOR 1 = x
  1. Truth Table (Replies: 2)

Loading...