12.07.2015 Views

WUCT121 Discrete Mathematics Logic Tutorial Exercises Solutions

WUCT121 Discrete Mathematics Logic Tutorial Exercises Solutions

WUCT121 Discrete Mathematics Logic Tutorial Exercises Solutions

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Question10(a) If x is a positive integer and x2 ≤ 3 then x = 1 .The proposition is True.2If x is a positive integer, then x ≤ 3 ⇒ x ≤ 3 .Now 3 ≈ 1. 7 and so x = 1.(b) ( ~ ( x > 1) ∨ ~ ( y ≤ 0)) ⇔ ~ (( x ≤ 1) ∧ ( y > 0)).The proposition is false. (You should have tried proving it using De Morgan’s Laws andfailed.)Now find values of x and y that make the statement false.Let x = 0 and y = 1.~ x > 1 ∨ ~ y ≤ 0 is True( ) ( )( x ≤ 1) ∧ ( y > 0)Thus, ~ (( x ≤ 1) ∧ ( y > 0))is also Trueand the proposition is False.is FalseQuestion11(a)~ ( x > 1) ⇒ ~ ( y ≤ 0)≡~ (~ ( x > 1)) ∨ ~ ( y ≤ 0)≡ ( x > 1) ∨ ~ ( y ≤ 0)≡ ( x > 1) ∨ ( y > 0)Implication LawDouble NegationNegation of ≤(b)( y ≤ 0 ) ⇒ ( x > 1 )≡~( y ≤ 0) ∨ ( x > 1)Implication≡ ( y > 0) ∨ ( x > 1) Negation of ≤Law .Question12~ ( ~ ( p ∨ q ) ∧ ~ q )≡~~( p ∨ q)∨ ~~ q≡ ( p ∨ q)∨ q≡ p ∨ q ∨ q≡ p ∨ qDe Morgan'sDouble NegationAssociativityIdempotent Law<strong>WUCT121</strong> <strong>Logic</strong> <strong>Tutorial</strong> <strong>Exercises</strong> <strong>Solutions</strong> 7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!