Discrete Midterm 1 Flashcards

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/84

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:57 PM on 10/7/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

85 Terms

1
New cards

Argument form

A pattern of reasoning; it is valid if the conclusion is true whenever all premises are true

2
New cards

Modus Ponens

From p and p ⇒ q conclude q

3
New cards

Modus Tollens

From ∼q and p ⇒ q conclude ∼p

4
New cards

Disjunctive addition

From p conclude p ∨ q

5
New cards

Conjunctive addition

From p and from q (separately) conclude p ∧ q

6
New cards

Conjunctive simplification

From p ∧ q conclude p and also conclude q

7
New cards

Disjunctive syllogism

From p ∨ q and ∼p conclude q

8
New cards

Hypothetical syllogism

From p ⇒ q and q ⇒ r conclude p ⇒ r

9
New cards

Division into cases

From p ∨ q and p ⇒ r and q ⇒ r conclude r

10
New cards

Resolution

From p ∨ q and ∼q ∨ z conclude p ∨ z

11
New cards

Tautology

A statement that is true for every truth assignment (example: p ∨ ∼p)

12
New cards

Contradiction

A statement that is false for every truth assignment (example: p ∧ ∼p)

13
New cards

Logical equivalence (≡ in logic)

Two statements have the same truth table

14
New cards

Commutativity

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

15
New cards

Associativity

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

16
New cards

Distributivity

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

17
New cards

Identity laws

p ∧ T ≡ p and p ∨ F ≡ p

18
New cards

Negation laws

p ∨ ∼p ≡ T and p ∧ ∼p ≡ F

19
New cards

Double negation

∼(∼p) ≡ p

20
New cards

Idempotence

p ∧ p ≡ p and p ∨ p ≡ p

21
New cards

De Morgan's laws

∼(p ∧ q) ≡ ∼p ∨ ∼q and ∼(p ∨ q) ≡ ∼p ∧ ∼q

22
New cards

Universal bound laws

p ∨ T ≡ T and p ∧ F ≡ F

23
New cards

Absorption laws

p ∨ (p ∧ q) ≡ p and p ∧ (p ∨ q) ≡ p

24
New cards

Negations of T and F

∼F ≡ T and ∼T ≡ F

25
New cards

Contrapositive

p ⇒ q ≡ ∼q ⇒ ∼p (always equivalent to the original)

26
New cards

Inverse error

p ⇒ q is NOT equivalent to ∼p ⇒ ∼q (invalid reasoning)

27
New cards

Converse error

p ⇒ q is NOT equivalent to q ⇒ p (invalid reasoning)

28
New cards

Converse

The statement q ⇒ p formed from p ⇒ q

29
New cards

Inverse

The statement ∼p ⇒ ∼q formed from p ⇒ q

30
New cards

Biconditional equivalence

a ⇔ b ≡ (a ⇒ b) ∧ (b ⇒ a)

31
New cards

Implication as disjunction

a ⇒ b ≡ ∼a ∨ b

32
New cards

Negation of an implication

∼(p ⇒ q) ≡ p ∧ ∼q

33
New cards

Vacuous truth

An implication p ⇒ q with a false hypothesis p is true

34
New cards

∀ (for all quantifier)

∀x P(x) says P(x) holds for every x in the domain

35
New cards

∃ (there exists quantifier)

∃x P(x) says P(x) holds for at least one x in the domain

36
New cards

Negation of ∀

∼(∀x P(x)) ≡ ∃x ∼P(x)

37
New cards

Negation of ∃

∼(∃x P(x)) ≡ ∀x ∼P(x)

38
New cards

Counterexample

A single element that makes P(x) false; it disproves a ∀ statement

39
New cards

Constructive proof of ∃

Explicitly exhibit or construct an element that works

40
New cards

Non-constructive proof of ∃

Show an element must exist without producing it

41
New cards

Direct proof

Assume the hypothesis and derive the conclusion with definitions and algebra

42
New cards

Proof by contraposition

To prove p ⇒ q prove ∼q ⇒ ∼p instead

43
New cards

Proof by contradiction

Assume the negation of the claim and derive a falsehood; so the claim is true

44
New cards

Proof by cases

Split into exhaustive cases and prove the claim in each (uses division into cases)

45
New cards

Closure

Combining integers with + or × always gives an integer (also true for ℚ under + and ×)

46
New cards

Even

An integer n is even if n = 2k for some integer k

47
New cards

Odd

An integer n is odd if n = 2k + 1 for some integer k

48
New cards

Parity

Whether an integer is even or odd

49
New cards

Parity rules

even + even = even; odd + odd = even; even + odd = odd; odd × odd = odd; any × even = even

50
New cards

Parity lemma

n² is even ⇒ n is even (equivalently n odd ⇒ n² odd)

51
New cards

Divides (a | b)

a divides b iff b = a·k for some integer k

52
New cards

Prime

An integer greater than 1 whose only positive divisors are 1 and itself

53
New cards

Composite

An integer greater than 1 that is not prime

54
New cards

Prime divisibility lemma

If a prime p divides a² then p divides a (works for any prime; fails for composites like 4)

55
New cards

Euclid's lemma

If a prime p divides a·b then p divides a or p divides b

56
New cards

Unique Prime Factorization Theorem

Every integer n ≥ 2 is a product of primes in exactly one way up to reordering

57
New cards

Infinitely many primes

Proved by contradiction: if p₁ to pₙ were all the primes then p₁···pₙ + 1 has a prime factor not in the list

58
New cards

Rational number

A number a/b with a and b integers and b ≠ 0

59
New cards

Congruence (a ≡ b (mod m))

m divides a − b; a and b have the same remainder mod m

60
New cards

Congruence addition property

If a₁ ≡ b₁ and a₂ ≡ b₂ (mod m) then a₁ + a₂ ≡ b₁ + b₂ (mod m)

61
New cards

Congruence multiplication property

If a₁ ≡ b₁ and a₂ ≡ b₂ (mod m) then a₁·a₂ ≡ b₁·b₂ (mod m)

62
New cards

Congruence power property

If a ≡ b (mod m) then aᵏ ≡ bᵏ (mod m) for k ≥ 0

63
New cards

Congruence is an equivalence relation

It is reflexive (a ≡ a); symmetric (a ≡ b ⇒ b ≡ a); and transitive (a ≡ b and b ≡ c ⇒ a ≡ c)

64
New cards

Even and odd in mod notation

Even means a ≡ 0 (mod 2); odd means a ≡ 1 (mod 2)

65
New cards

Quotient-remainder theorem

For integer n and m > 0 there are unique q and r with n = mq + r and 0 ≤ r < m

66
New cards

Set

An unordered collection of distinct objects

67
New cards

Membership (∈)

x ∈ A means x is an element of A

68
New cards

Not a member (∉)

x ∉ A means x is not an element of A

69
New cards

Subset (A ⊆ B)

Every element of A is also in B; ∀x (x ∈ A ⇒ x ∈ B)

70
New cards

Proper subset (A ⊂ B)

A ⊆ B and A ≠ B

71
New cards

Set equality

A = B iff A ⊆ B and B ⊆ A

72
New cards

Empty set (∅)

The set with no elements; it is a subset of every set

73
New cards

{∅}

A set with exactly one element (the empty set); it is NOT empty

74
New cards

Power set P(A)

The set of all subsets of A; if |A| = n then |P(A)| = 2ⁿ

75
New cards

Power set of the empty set

P(∅) = {∅} which has 1 element

76
New cards

Set difference (A − B)

The elements that are in A but not in B (removes from A anything that also appears in B)

77
New cards

Union (A ∪ B)

Elements that are in A or in B (or both)

78
New cards

Intersection (A ∩ B)

Elements that are in both A and B

79
New cards

Complement (Aᶜ)

All elements of the universe that are not in A

80
New cards

Disjoint sets

Two sets with empty intersection

81
New cards

Cardinality |A|

The number of elements in a finite set A

82
New cards

Natural numbers (ℕ)

The counting numbers (1 2 3 … in this course)

83
New cards

Integers (ℤ)

All whole numbers positive negative and zero

84
New cards

Rationals (ℚ)

All fractions a/b with integers a and b ≠ 0

85
New cards

Dense set

A set where between any two elements there is another element of the set (ℚ is dense; ℤ is not)