C959 Discrete Mathematics I

studied byStudied by 3 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 / 75

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

76 Terms

1

Conjunction

"and" - symbol ∧ - for conjunction to be true, both sides must be true, think multiplication, 1x1, 0x1, 0x0

New cards
2

Disjunction

"or" - symbol ∨ - for disjunction to be true, one side must be true (said another way, either side can be true). Also true when both sides are true. Only false when both sides are false. This is "inclusive or". Think addition, 0+1, 1+0,

New cards
3

Not

"not" - symbol ¬ - the opposite of the proposition

New cards
4

Inclusive "or"

Inclusive "or" OR - ∨ - means that either side can be true for the proposition to be true AND BOTH sides can be true for the proposition to be true.

New cards
5

2^n

where n is the number of variables, 2^n represents the number of possible outcomes or combinations.

New cards
6

Truth table set up

The first variable should be half of 2^n T's in a row and half 2^n F's in a row. The next variable would be half of the first variable T's in a row (if the first variable had 4 T's in a row, the second variable will have 2 T's in a row), etc and so on until the last variable alternates every time, TFTFTFTF.

New cards
7

exclusive "or"

Exclusive "or" XOR - ⊕ - means that the proposition is ONLY true when either side is true, BUT NOT when both sides are true.

New cards
8

Implication

p → q "Conditional Statement". If p, then q. OR p implies q. However, if hypothesis p is False, it DOES NOT tell us anything about the conclusion q. So, a False hypothesis P will still be True proposition truth value regardless of the Q.

New cards
9

Inverse

Negates the operands. p → q becomes ¬p → ¬q.

New cards
10

Converse

Switches the order of the operands. The converse of p → q is q → p.

New cards
11

Contrapositive

Switches the operands and negates them. p → q becomes ¬q → ¬p. Has the same truth values as p → q.

New cards
12

Bi-conditional

p ⇔ q "p if and only if q" or "p iff q". To be true, both propositions must share the same truth value, ie must be TT or FF.

New cards
13

equivalency

New cards
14

Bi-conditional can also be written as a compound proposition

(p ⇔ q) ≡ (p → q) ∧ (q → p)

New cards
15

compound proposition order of operations

not, and, or, if then, if and only if. Symbols: ¬, ∧, ∨, →, ⇔

New cards
16

∧ propositional operator

and, both propositions must be true for true result or else result is false

New cards
17

¬ propositional operator

not, produces the opposite of the input proposition, true changes to false and vice versa

New cards
18

∨ propositional operator

or, either of the propositions must be true for the result to be true AND if both are true the result is true as well

New cards
19

→ propositional operator

implication p implies q, conditional, if hypothesis is true conclusion must be true, if the hypothesis is false the conclusion is true

New cards
20

↔︎ conditional operator

biconditional, if and only if, iff

New cards
21

propositional order of operations

¬, ∧, ∨, →, ⇔

New cards
22

Hypothesis of a compound proposition

If p, then q. P is the hypothesis, the If proposition

New cards
23

Conclusion of a compound proposition

If p, then q. Q is the conclusion, the Then proposition.

New cards
24

In the words of logic, the only way for a conditional statement to be false is

if the hypothesis is true and the conclusion is false

New cards
25

If the hypothesis is false, then

the conditional statement is true regardless of the truth value of the conclusion.

New cards
26

Translations of p → q

If p, q

q, if p

p implies q

p only if q

p is sufficient for q

q is necessary for p

New cards
27

The proposition p ↔ q is true when p and q _________ and is false _________.

have the same truth value, when p and q have different truth values

New cards
28

tautology

when a compound proposition is always true, p ∨ ¬p

New cards
29

contradiction

when a compound proposition is always false, p ∧ ¬p

New cards
30

logically equivalent

when two compound propositions have the same truth tables regardless of the values of their individual propositions,
¬p ∨ ¬q ≡ ¬(p ∧ q)

New cards
31

De Morgan's law, first version, distributing negation inside a parenthesized expression

¬(p ∨ q) ≡ (¬p ∧ ¬q)

New cards
32

De Morgan's law, second version, distributing negation inside a parenthesized expression

¬(p ∧ q) ≡ (¬p ∨ ¬q)

New cards
33

Idempotent Laws

p ∨ p ≡ p

p ∧ p ≡ p

New cards
34

Associative Laws

( p ∨ q ) ∨ r ≡ p ∨ ( q ∨ r )

( p ∧ q ) ∧ r ≡ p ∧ ( q ∧ r )

arrangement of parentheses does not matter

New cards
35

Commutative Laws

p ∨ q ≡ q ∨ p

p ∧ q ≡ q ∧ p

order does not matter

New cards
36

Distributive Laws

p ∨ ( q ∧ r ) ≡ ( p ∨ q ) ∧ ( p ∨ r )

p ∧ ( q ∨ r ) ≡ ( p ∧ q ) ∨ ( p ∧ r )

sign w first variable remains w first variable & sign inside parentheses ends up between sets of parentheses

New cards
37

Identity Laws

p ∨ F ≡ p, where F = False, contradiction

p ∧ T ≡ p, where T = True, tautology

New cards
38

Domination Laws

p ∧ F ≡ F, where F = False, contradiction

p ∨ T ≡ T, where T = True, tautology

New cards
39

Double negation law

¬¬p ≡ p

New cards
40

Complement Laws

p ∧ ¬p ≡ F, ¬T ≡ F, contradiction

p ∨ ¬p ≡ T, ¬F ≡ T, tautology

New cards
41

De Morgan's Laws

¬( p ∨ q ) ≡ ¬p ∧ ¬q

¬( p ∧ q ) ≡ ¬p ∨ ¬q

New cards
42

Absorption Laws

p ∨ (p ∧ q) ≡ p

p ∧ (p ∨ q) ≡ p

New cards
43

Conditional Identities

p → q ≡ ¬p ∨ q

p q ≡ ( p → q ) ∧ ( q → p )

New cards
44

Atomic Statement

Can not be divided into smaller statements

New cards
45

Molecular statement

Can be divided into smaller statements

New cards
46

Existential Qualifier

∃ - "there exists" or "there is", true when P(x) is true for a single x in the domain, false when P(x) is false for EVERY x in the domain, ∃xP(x) ≡ P(x1) OR P(x2) ∨ P(x3), etc. Provide counter example when FALSE.

New cards
47

Universal Quantifier

∀ - "for all" or "every", true when P(x) is true for EVERY x in the domain, false when P(x) is false for a single x in the domain, ∀xP(x) ≡ P(x1) AND P(x2) ∧ P(x3), etc. Provide counter example when FALSE.

New cards
48

Base 2 factors

2^0=1(byte), 2^1=2, 2^2=4, 2^3=8(bit), 2^4=16, 2^5=32, 2^6=64, 2^7=128, 2^8=256, 2^9=512, 2^10=1024(KB), 2^11=2048, 2^12=4096, 2^20=1,048,576(MB), 2^30=1,073,741,824(GB), 2^40=1,099,511,627,776(TB), 2^50(PB), 2^60(EB)

New cards
49

Convert base2 to base8 (octal)

Group binary digits into groups of 3 and convert each group to 0-7

New cards
50

Convert base2 to base16 (hexadecimal)

Group binary digits into groups of 4 and convert each group to 0-15 (0-F) (A=10, B=11, C=12, D=13, E=14, F=15

New cards
51

3 parts of predicate logic

1. Variables - x, y, z, these are the subjects of statements
2. Predicates - a property the variable can have
3. Quantifiers - Universal quantifier ∀ (for all), existential quantifier ∃ (there exists)

New cards
52

P(x)

Propositional function, can become a proposition (and have a truth value) when variable is defined or bound by a quantifier.

New cards
53

U

The domain, the universe

New cards
54

Uniqueness Quantifier

∃!x P(x) means that P(x) is true for one and only one x in the universe of discourse.

New cards
55

DeMorgan's Laws for Quantifiers

¬∀x P(x) ≡ ∃x ¬ P(x)
¬∃x Q(x) ≡ ∀x ¬ Q(x)

New cards
56

Quantifiers (∀, ∃, ∃!) are applied ...

before logical operators

New cards
57

A variable in the predicate, P(x) is called a

free variable, it is not bound

New cards
58

The variable in the statement ∀x P(x) is called a

bound variable, because it is bound by the quantifier

New cards
59

∀x∀y M(x,y)

For every pair of x and y, M(x,y) is true

New cards
60

∃x∃y M(x,y)

There exists at least one pari of x and y such that M(x,y) is true

New cards
61

∃x∀y M(x,y)

There exists at least one x that pairs with ALL y, such that M(x,y) is true

New cards
62

∀x∃y M(x,y

For each x, there is at least one y, such that M(x,y) is true

New cards
63

¬∀x ∀y P(x, y) ≡

∃x ∃y ¬P(x, y), De Morgan's law w nested quantifiers

New cards
64

¬∀x ∃y P(x, y) ≡

∃x ∀y ¬P(x, y), De Morgan's law w nested quantifiers

New cards
65

¬∃x ∀y P(x, y) ≡

∀x ∃y ¬P(x, y), De Morgan's law w nested quantifiers

New cards
66

¬∃x ∃y P(x, y) ≡

∀x ∀y ¬P(x, y), De Morgan's law w nested quantifiers

New cards
67

A proposition is true or false whereas an argument is ...

valid or invalid

New cards
68

An argument is valid if all the premises are true AND ...

the conclusion is true. It is invalid otherwise.

New cards
69

Modus Ponens

((p -> q) ∧ p) -> q

<p>((p -&gt; q) ∧ p) -&gt; q</p>
New cards
70

Modus Tollens

knowt flashcard image
New cards
71

Addition

knowt flashcard image
New cards
72

Simplification

knowt flashcard image
New cards
73

Conjunction

knowt flashcard image
New cards
74

Hypothetical Syllogism

knowt flashcard image
New cards
75

Disjunctive Syllogism

knowt flashcard image
New cards
76

Resolution

knowt flashcard image
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