Proving Logic Statements with Truth Tables and Laws

  • Thread starter Thread starter wdulli
  • Start date Start date
  • Tags Tags
    Laws Logic
Click For Summary
Truth tables are effective for proving logic statements when the number of distinct symbols is low, as they clearly outline all possible combinations. For expressions with many symbols or simpler forms, using logical laws may be more efficient. Familiarity with laws like double complement, De Morgan's, and commutative can streamline the proof process. The choice between methods often depends on the complexity of the expressions involved. Ultimately, understanding when to apply each method enhances problem-solving in logic.
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.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
4
Views
1K
  • · 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
1K