Truth Tables for Validity: Using Equations to Determine Satisfaction

  • Thread starter Thread starter XodoX
  • Start date Start date
XodoX
Messages
195
Reaction score
0
I want to use truth tables to show that equations can be satisfied or not, or if they are valid.

not(X→(Y→X))

(X∧(notX→notY))→Y

I would say the first one is valid, because of the not in front of it, it's always true. I don't know about the second one. I don't know how to split them up best to use a truth table. I guess I can/should use:

X, notX, notY, Y, X∧(notX→notY), notX→notY and (X∧(notX→notY))→Y.
 
Physics news on Phys.org
Here is one way to look at the problem: If you do a truth table for ## \neg (A \rightarrow B) ##, you will see that it is logically equivalent to the statement ## A \& \neg B ##. So your first statement is equivalent to ## X \& \neg (Y \rightarrow X) ##. But then that is equivalent to ## X \& Y \& \neg X ##. The basic idea is to use truth table identities to transform the complex statement into simpler ones.
 
You can make a truth table with a row for all combinations of y and x. As the columns you use x, y, (y->x), (x->(y->x)) and not(x->(y->x))
Code:
x y    (y->x)    x->(y-x)  not(x->(y-x))
0 0
0 1
1 0
1 1
If there are only ones in al column, the expression is always true, and if there are only zeros, the expression is never true for any x or y.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
9
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K