Docsity

Discrete mathematics(propositional Logic), Summaries of Computer Science

Partial preview of the text

Download Discrete mathematics(propositional Logic) and more Summaries Computer Science in PDF only on Docsity!

Discrete Mathemaki Cs G Introduction +o Logic * proposition: (Truth value ) Variables Pp: “I have two pens” 4: At ss ote Pp. At least Pp: a>db ap : less then, at mast ei 1 do not have two pens ii) Conjunction: (AND) A 20 es Fie {.f F Paw ae i iii) Dis junction : (OR) V + © 3 :3 - inclusive (OR) Vv ee ae i if - exclusive (OR) © PV 4 P aji4inimi-o =<) nia4iny.2 —a4lho4aini < Tel tt SAL Ep iv) Implication: —> + Conditional statement p==q (p emples 4) hypothesis Conclusion let q be the given pen 4 ee p | 4 | p74 T i ‘i + F F ‘ = M4 Et (J 7 FE F | F T Converse: 4p Contrapositive: 14, 1p Inverse: 1p 314 p | 4 [74 [pea] ep | tp | p34 | 19-75 a ft F T iT a ag T ‘pe LT be Ft F T F F T F 1 3 rif hs i ‘a F t € F T ‘i i v) Biconditional: <> p<>q (p if and only if 4,) p | 4 | po4 7 7 + T p<>q is true when i : F p and q have the same truth value. F v ia F | F T