Discrete Math and its Applications

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/53

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

54 Terms

1
New cards

connectives

logical operators used to form new propositions from two or more existing propositions

2
New cards

conjunction

"and"; true only when both propositions are true

3
New cards

disjunction

"or"; false only when both propositions are false

4
New cards

exclusive or

true only when exactly one of the propositions is true and false otherwise

5
New cards

implication

conditional statement; "if p, then q" false when p is true and q is false, true otherwise.

6
New cards

converse of p->q

q->p; equivalent to inverse

7
New cards

contrapositive p->q

not q -> not p; has the same truth value as p->q always

8
New cards

inverse of p->q

not p -> not q; equivalent to converse

9
New cards

equivalent

two compound propositions always having the same truth value

10
New cards

biconditionals (bi-implications; biconditional statements)

if and only if; true only when p and q have the same truth values; iff

11
New cards

Precedence of logical operators

negation, conjunction, disjunction, conditional, biconditional

12
New cards

bit

symbol with two possible values, namely 0 and 1

13
New cards

boolean variable

a variable with a value of either true or false

14
New cards

bit string

sequence of zero or more bits; the length of this string is the number of bits in the string

15
New cards

tautology

a compound proposition that is always true, no matter what the truth values of the propositional variables that occur in it (emphasis on always)

16
New cards

contradiction

a compound proposition that is always false

17
New cards

contingency

a compound proposition that is always true

18
New cards

logically equivalent

compound propositions that have the same truth values in all possible cases; when these two propositions, p and q, in the compound proposition p iff q is a tautology. (emphasis on truth values)

19
New cards

distributive law (disjunction over conjunction)

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

20
New cards

De Morgan's Laws

how to negate conjunctions and disjunctions; the negation of a disjunction is the conjunction of the negation of the components; the negation of a conjunction is the disjunction of the negations of the component propositoins

21
New cards

satisfiable

when for a compound proposition there is an assignment of truth values to its variables that makes it trues

22
New cards

unsatisfiable

when the compound proposition is false for all assignments of truth values to its variables

23
New cards

solution

an assignment of truth values that makes a compound proposition true

24
New cards

predicate

refers to a property that the subject of the statement can have

25
New cards

propositional function

the value determined by the statement P(x)

26
New cards

preconditions

the statements that describe valid input

27
New cards

postconditions

the conditions that the output should satisfy when the program has run

28
New cards

quantification

expresses the extent to which a predicate is true over a range of elements

29
New cards

universal quantification

"P(x) for all values of x in the domain"

30
New cards

counterexample

an element for which P(x) is false (for the universal quantification)

31
New cards

existential quantification

"There exists an element x in the domain such that P(x)."

32
New cards

uniqueness quantifier

"there is exactly one", "there is one and only one." (backwards E!)

33
New cards

bound

the occurrence of the variable, when a quantifier is used on the variable

34
New cards

free

the occurrence of a variable that is not bound by a quantifier or set equal to a particular value

35
New cards

scope

the part of a logical expression to which a quantifier is applied

36
New cards

argument

a sequence of propositions.

37
New cards

premises

all propositions but the final proposition in an argument

38
New cards

conclusion

final proposition in an argument

39
New cards

valid

when the truth of all an argument's premises implies that the conclusion is true

40
New cards

modus ponens/law of detachment

the tautology if (p AND (if p then q)) then q

41
New cards

modus tollens

the tautology if (not q and (if p then q)) then not p

42
New cards

hypothetical syllogism

the tautology if ((if p then q) and (if q then r)) then (if p then r)

43
New cards

disjunctive syllogism

the tautology if ((p or q) and not p) then q

44
New cards

addition

the tautology if p then (p or q)

45
New cards

simplification

the tautology if (p and q) then p

46
New cards

conjunction (rule of inference)

the tautology if ((p) and (q)) then (p and q)

47
New cards

Resolution

the tautology if ((p or q) and (not p or r)) then (q or r)

48
New cards

fallacy of affirming the conclusion

treating the proposition "if p then q and q, then p" as a tautology, even though it is not

49
New cards

fallacy of denying the hypothesis

treating the proposition "if p then q and not p, then not q" as a tautology, even though it is not

50
New cards

Universal instantiation

for every x, P(x), therefore P(c)

51
New cards

Universal generalization

P(c) for an arbitrary c, there for every x P(x) (emphasis arbitrary, no assumptions about c)

52
New cards

Existential instantiation

there exists an x P(x), therefor P(c) for some element c (we only know that this c exists)

53
New cards

Existential generalization

P(c) for some element c, therefore there exists an x P(x)

54
New cards

universal modus ponens

if for every x, if P(x) then Q(x) is true, and if P(a) is true for particular a in the domain of the universal quantifier, then Q(a) must also be true