3
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0. Page 1 of 3 Logical Equivalence and Negating Logical Statements Two logical statements are equivalent if the values in their truth tables are all equal. Example. Show is equivalent to . Solution. To make the truth table for logical statement(s) we break them down into their constituent parts. For example is made up from and , which are put together as and finally negated into . In we still have and , but we also need which together with makes . First we fill in the columns for the statements and , making sure we have every combination of true and false (i.e., every combination of their values). T T T F F T F F Then we fill in the rest of the columns using the tables for the other connectives (not, and, or, …). ( ) P Q ¬ Þ P Q Ù ¬ ( ) P Q ¬ Þ P Q P Q Þ ( ) P Q ¬ Þ P Q Ù ¬ P Q Q ¬ P P Q Ù ¬ P Q P Q Q ¬ P Q Ù ¬ P Q Þ ( ) P Q ¬ Þ

Logical Equivalence and Negating Logical

  • Upload
    others

  • View
    24

  • Download
    0

Embed Size (px)

Citation preview

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0.

Page 1 of 3

Logical Equivalence and Negating Logical Statements

Two logical statements are equivalent if the values in their truth tables are all equal. Example. Show is equivalent to . Solution. To make the truth table for logical statement(s) we break them down into their constituent parts. For example is made up from and , which are

put together as and finally negated into . In we still have and , but we also need which together with

makes . First we fill in the columns for the statements and , making sure we have every combination of true and false (i.e., every combination of their values).

T T T F F T F F

Then we fill in the rest of the columns using the tables for the other connectives (not, and, or, …).

( )P Q¬ Þ P QÙ¬

( )P Q¬ Þ P QP QÞ ( )P Q¬ Þ

P QÙ¬ P Q Q¬P P QÙ¬

P Q

P Q Q¬ P QÙ¬ P QÞ ( )P Q¬ Þ

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0.

Page 2 of 3

T T F F T F T F T T F T F T F F T F F F T F T F

Since the columns for and are the same, the statements are logically equivalent. u Negating Statements We negate a statement by using the following formulas/rules:

Note that in negation, we switch and ( ) and or ( ) and for every ( ) and there exists ( ). Example. Show the negation of

and simplify so that the formula does not include the negation symbol . Solution.

P Q Q¬ P QÙ¬ P QÞ ( )P Q¬ Þ

( )P Q¬ Þ P∧¬Q

1. ¬ P∧Q( )⇔ ¬P∨¬Q2. ¬ P∨Q( )⇔ ¬P∧¬Q3. ¬ P ⇒Q( )⇔ P∧¬Q4. ¬ ∀x( )R(x)( )⇔ (∃x)¬R(x)5. ¬ ∃x( )R(x)( )⇔ (∀x)¬R(x)

∧ ∨ ∀∃

( ) ( )( )0 0 1x F x y F y x y" Î ¹ Þ $ Î ¹ Ù × =é ùë û

¬

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0.

Page 3 of 3

u

Example. Compute the negative of

without using the symbol.

Solution.

u

¬ ∀x ∈F( ) x ≠ 0⇒ ∃y ∈F( ) y ≠ 0∧ x ⋅ y = 1( )( )⎡⎣

⎤⎦{ }

∃x ∈F( )¬ x ≠ 0⇒ ∃y ∈F( ) y ≠ 0∧ x ⋅ y = 1( )( )⎡⎣

⎤⎦

∃x ∈F( ) x ≠ 0∧¬ ∃y ∈F( ) y ≠ 0∧ x ⋅ y = 1( )( )⎡⎣

⎤⎦

∃x ∈F( ) x ≠ 0∧ ∀y ∈F( )¬ y ≠ 0∧ x ⋅ y = 1( )( )⎡⎣

⎤⎦

∃x ∈F( ) x ≠ 0∧ ∀y ∈F( ) y = 0∨ x ⋅ y ≠ 1( )( )⎡⎣

⎤⎦

∃x ∈!( ) ∀y ∈!( ) y2 ≠ x( )( )∨ x ≥ 0( )( )

¬

¬ ∃x ∈!( ) ∀y ∈!( ) y2 ≠ x( )( )∨ x ≥ 0( )( ){ }∀x ∈!( )¬ ∀y ∈!( ) y2 ≠ x( )( )∨ x ≥ 0( )( )∀x ∈!( ) ¬ ∀y ∈!( ) y2 ≠ x( )( )∧¬ x ≥ 0( )( )∀x ∈!( ) ∃y ∈!( )¬ y2 ≠ x( )( )∧ x < 0( )( )∀x ∈!( ) ∃y ∈!( ) y2 = x( )( )∧ x < 0( )( )