discrete math exam 1

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/76

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.

77 Terms

1
New cards

all real numbers; positive, negative, fractions, etc.

2
New cards

integers; whole numbers, positive and negative

3
New cards

natural numbers; positive integers

4
New cards

rational numbers

5
New cards

∅ or {}

empty set; no elements

6
New cards

injective (one-to-one)

every output has only one input
f(s) = f(t) implies s = t

7
New cards

surjective (onto)

every element in the codomain (output) is an output for some element in the domain (input)

every element b ∈ B = f(a) for some a ∈ A

8
New cards

identity laws

p ∧ T ≡ p
p ∨ F ≡ p

9
New cards

domination laws

p ∨ T ≡ T
p ∧ F ≡ F

10
New cards

idempotent laws

p ∧ p ≡ p
p ∨ p ≡ p

11
New cards

commutative laws

p ∧ q ≡ q ∧ p p ∨ q ≡ q ∨ p

12
New cards

associative laws

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

13
New cards

distributive laws

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

14
New cards

De Morgan’s laws

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

15
New cards

law of excluded middle class

p ∨ ¬p ≡ T

16
New cards

law of contradiction

p ∧ ¬p ≡ T

17
New cards

disjunctive form

p → q ≡ ¬p ∨ q

18
New cards

implication ≡ contrapositive

p → q ≡ ¬q → ¬p

19
New cards

inverse ≡ converse

¬p → q ≡ q → p

20
New cards

predicate

statement that can’t be assigned a truth value unless more info on a variable is supplied

21
New cards

instantiation

process of setting a variable equal to a specific object in its domain of discourse

22
New cards

existential quantification

“There is an x such that”
∃x S(x)

23
New cards

universal quantification

“For all x”
∀x P(x)

24
New cards

modus ponens

p and p → q ∴ q

25
New cards

modus tollens

¬q and p → q ¬p

26
New cards

hypothetical syllogism

p → q and q → r ∴ p → r

27
New cards

addition (inference)

p ∴ p ∨ q

28
New cards

simplification (inference)

p ∧ q ∴ p

29
New cards

conjunction (inference)

p and q ∴ p ∧ q

30
New cards

disjunctive syllogism

p ∨ q and ¬p ∴ q

31
New cards

universal instantiation

∀x P(x) ∴ P(c) if c is in the domain of x

32
New cards

existential instantiation

∃x P(x) ∴ P(c) for some c in the domain of x

33
New cards

universal generalization

P(c) for arbitrary c in the domain of x ∴ ∀x P(x)

34
New cards

existential generalization

P(c) for some c in the domain of x ∴ ∃x P(x)

35
New cards

equal sets

two sets comprised of exactly the same elements

36
New cards

set-builder notation

A = {x | p(x)}

37
New cards

subset

A ⊆ B if every element of A is also an element of B

38
New cards

power set

set of all subsets of a set

39
New cards

intersection

objects that are in both sets
A ∩ B, {x | x ∈ A ∧ x ∈ B}

40
New cards

union

elements that appear in at least A and B
A ∪ B, {x | x ∈ A ∨ x ∈ B}

41
New cards

symmetric difference

elements which appear in exactly one of A and Bcom

42
New cards

complement of B relative to A

A - B, {x | x ∈ A ∧ x ∈ B}

43
New cards

identity laws (set theory)

A ∩ U = A
A Ø = A

44
New cards

domination laws (set theory)

A ∪ U = U
A ∩ Ø = Ø

45
New cards

idempotent laws (set theory)

A ∪ A = A
A ∩ A = A

46
New cards

commutative laws (set theory)

A ∪ B = B ∪ A
A ∩ B = B ∩ A

47
New cards

associative laws (set theory)

(A ∪ B) ∪ C = A ∪ (B ∪ C)
(A ∩ B) ∩ C = A ∩ (B ∩ C)

48
New cards

distributive laws (set theory)

A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)
A ∩ (B C) = (A ∩ B) (A ∩ C)

49
New cards

De Morgan’s law (set theory)

(A̅ ̅∩̅ ̅B̅)= (A̅ ∪ B̅)
(A̅ ̅∪̅ ̅B̅) = (A̅ B̅)

50
New cards

law of excluded middle (set theory)

A ∪ A̅ = U

51
New cards

law of contradiction (set theory)

A A̅ = Ø

52
New cards

cartesian product

A x B; all ordered pairs that can be formed from A and B

53
New cards

ways to justify a step in a proof

  1. hypothesis

  2. application of a definition

  3. known fact proved previously

  4. consequence of applying a rule of inference or logical equivalence to earlier steps

54
New cards

direct proof

hypothesis appears as steps, last step is the conclusion

55
New cards

indirect proof

replace implication with the contrapositive and prove that

56
New cards

proof by contradiction

replace theorem r with ¬r → F

57
New cards

existence proof

proof of a statement of form ∃x P(x)

58
New cards

prove by counterexample

how a specific element for which P(x) is falso

59
New cards

bipartite graph

column of dots labeled with names of elements connected by edges

60
New cards

digraph

vertices with edges that have a direction

61
New cards

composition (S by R)

when S is a relation from A to B, and R is a relation from B to C, RºS

62
New cards

Boolean product

product of two matrices

63
New cards

reflexive relation

every element of its domain is related to itself
(∀a ∈ A) [aRa]
main diagonal on matrix is all 1

64
New cards

irreflexive relation

no element of A is related to itself
a(not R)a

main diagonal on matrix is all 0

65
New cards

symmetric relation

if a is related to b, then b is related to a

(a,b) ∈ R → (b,a) ∈ R

66
New cards

antisymmetric relation

if two elements are related in both directions, then they must be the same element

67
New cards

transitive relation

if (a,b) ∈ R and (b,c) ∈ R, then (a,c) ∈ R

68
New cards

equivalence relation

any reflexive, symmetric, transitive relation on set A

69
New cards

equivalence class

the set of all the things in A that are equivalent to x

70
New cards

partition

a set of non-empty, pairwise disjoint subsets whose union is A

71
New cards

floor function

assigns the largest integer less than or equal to x to each real number x, part before decimal

⌊x⌋

72
New cards

ceiling function

73
New cards

fractional part of a number

x - ⌊x⌋ if x≥0

x - ⌈x⌉ if x<0

74
New cards

integral part of a number

⌊x⌋ if x≥0

x⌉ if x<0

75
New cards

power function

f(x) = xa

76
New cards

law of exponents

ab+c = ab + ac

abc = (ab)c

acbc = (ab)c

77
New cards

law of logs

logabc = logab + logac

loga(bc) = c logab

alogabc = bc

loga(x) = lnx/lna