Discrete Mathematics Chapter 1 - The Foundations: Logic and Proofs

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 15

flashcard set

Earn XP

Description and Tags

Covers Rosen Section 1.1-1.3

16 Terms

1
What is a proposition?
A proposition is a declarative statement, which is either true or false.
New cards
2

Which of these are propositions, which are not? Why?

1 + 1 = 2

1 + 1 = 3

x + 2 = 3

1 + 1 = 2 and 1 + 1 = 3 are both propositions, the first one being true and the other being false.

x + 2 = 3 is not a proposition. That is because we cannot determine whether or not the statement is true/false, since we do not know the value of x.
New cards
3
What is logical operators?
Logical operators combine propositional variables to form new compound propositions.
New cards
4
What are the logical operators in discrete math?
  1. Negation or “Not” →  ¬p

    True when p is False and False when p is True

  2. Conjunction or “AND” → p ^ q

    True if both p and q are True, False otherwise

  3. Disjunction or “OR”, → p v q

    True if at least any of the propositional variables p or q is True.

  4. Exclusive OR or “XOR” → p q

    If both propositional variables p and q are True, then the proposition is False. True if and only if its arguments differ

  5. Conditional Statement “if then”, p → q

    “If p, then q”. False when p is True and q is False, otherwise True.

  6. Biconditional Statement “if and only if”. p ↔ q

    True if p and q are the same (both are True or both False)

New cards
5
Logical Equivalence
Two compound propositions are **logically equivalent** if they have the same truth value for all possible values of their propositional variables.
Two compound propositions are **logically equivalent** if they have the same truth value for all possible values of their propositional variables.
New cards
6
What is the precedence of logical operators?
  1. ¬  (NOT)

  2. ^  (AND)

  3. v  (OR)

  4. → (COND)

  5. (BICOND)

If should be interpreted as first applying the NOT to p, then taking the result of this operation AND q.

¬ p ^ q = (¬ p) ^ q

\n

AND has higher priority than OR, in this case we would write it as:

p v q ^ r = p v  (q ^ r)

\n

Here, OR has higher priority than the conditional.

p → q v r = p → (q v r)

New cards
7
Tautology
A compound proposition which is always True
New cards
8
Contradiction
A compound proposition which is always False
New cards
9
Contingency
A compound proposition which is both True and False for the propositional variables
New cards
10
De Morgans Laws
  1. ¬(p ^ q) = ¬p v ¬q

  2. ¬(p v q) = ¬p ^ ¬q

New cards
11
Identity Laws
p ^ T = p

p v F = p
New cards
12
Domination Laws
p ^ F = F

p v T = T
New cards
13
Idempotent Laws
p ^ p = p

p v p = p
New cards
14
Double negation
¬(¬p) = p
New cards
15
Commutative Laws
p v q = q v p

p ^ q = q ^ p
New cards
16
Association Laws
(p ^ q) ^ r = p ^ (q ^ r) = p ^ q ^ r

(p v q) v r = p v (q v r) = p v q v r
New cards

Explore top notes

note Note
studied byStudied by 39 people
70 days ago
5.0(1)
note Note
studied byStudied by 13 people
183 days ago
5.0(1)
note Note
studied byStudied by 253 people
681 days ago
4.5(6)
note Note
studied byStudied by 18 people
813 days ago
5.0(1)
note Note
studied byStudied by 215 people
720 days ago
5.0(2)
note Note
studied byStudied by 22 people
710 days ago
5.0(2)
note Note
studied byStudied by 2488 people
700 days ago
4.7(6)

Explore top flashcards

flashcards Flashcard (55)
studied byStudied by 84 people
381 days ago
5.0(1)
flashcards Flashcard (44)
studied byStudied by 39 people
789 days ago
4.1(7)
flashcards Flashcard (58)
studied byStudied by 170 people
730 days ago
5.0(1)
flashcards Flashcard (45)
studied byStudied by 12 people
764 days ago
5.0(1)
flashcards Flashcard (45)
studied byStudied by 1 person
74 days ago
5.0(1)
flashcards Flashcard (43)
studied byStudied by 10 people
220 days ago
5.0(1)
flashcards Flashcard (42)
studied byStudied by 33 people
372 days ago
5.0(1)
flashcards Flashcard (101)
studied byStudied by 183 people
2 days ago
5.0(1)
robot