Proving Logic Statements with Truth Tables and Laws

  • Thread starter Thread starter wdulli
  • Start date Start date
  • Tags Tags
    Laws Logic
Click For Summary
SUMMARY

This discussion focuses on proving logic statements using truth tables and logical laws, specifically addressing the equivalence of expressions like (notP V Q) <=> (P => Q). The user highlights the effectiveness of truth tables for a limited number of symbols, while logical laws such as Double Complement, De Morgan's Laws, Commutative, and Associative are recommended for more complex expressions. The consensus is that the choice between these methods depends on the complexity of the expressions and the number of distinct symbols involved.

PREREQUISITES
  • Understanding of basic logical operators (AND, OR, NOT)
  • Familiarity with truth tables and their construction
  • Knowledge of logical equivalences and laws (e.g., De Morgan's Laws)
  • Ability to recognize sub-expressions in logical statements
NEXT STEPS
  • Study the construction and interpretation of truth tables for logical expressions
  • Learn about De Morgan's Laws and their applications in logical proofs
  • Explore the use of logical equivalences in simplifying complex expressions
  • Practice problems involving both truth tables and logical laws to determine the best approach
USEFUL FOR

Students of logic, mathematics, and computer science, particularly those studying propositional logic and seeking to improve their skills in proving logical statements.

wdulli
Messages
3
Reaction score
0

Homework Statement



Sometimes i got a question with homework if i can prove something. I got a book where the tolled me to use truthtables to see the outcome :

For example :

(notP V Q) <=> (P => Q)

P Q | notP | notP v Q | P=>Q | (notP V Q) <=> (P => Q)
0 0 | 1 | 1 | 1 | 1
0 1 | 1 | 1 | 1 | 1
1 0 | 0 | 0 | 0 | 1
1 1 | 0 | 1 | 1 | 1

Lateron in the same book it's statement is, that it's easier to use the Logic laws then written down the truthtable everytime. And gives the logic laws for example

1. Double complement
2. The morgan
3. Commutative
4 Associative
etc etc

No my question :

When do i know what to use. Do i allways start with Double complement
, the morgan , Commutative etc.

The Attempt at a Solution



Searched on the internet (Different websites) but i can't find the solution/way. I didnt put the question in this forum post because i want to know the steps to take not the answer.
 
Physics news on Phys.org
You can in general use either or both methods (truth tables and algebra rules) as you see fit.

Usually you will want to use truth tables when the number of distinct symbols is low but the number of logical combinations is high (like if you have to evaluate the equivalence of two rather long expressions involving only P and Q). If there is N distinct symbols the truth table has 2N rows, so for N = 2 or 3 that is really easy.

On the other hand, if you have many symbols, or the expressions are simple, or you can recognize sub-expressions from the list of rules you know, it may be faster or easier to use the rules to prove equivalence.

Of course, you may get an assignment that ask you to use either method to prove something and then you of course have to use that method.
 

Similar threads

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