Discrete Math Exam #1

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

1/73

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.

74 Terms

1
New cards

What is a proposition?

A statement that is either true or false, but not both. Examples: "2 + 2 = 4" (true), "The sky is green" (false).

2
New cards

What is the negation operator (¬)?

Returns the opposite truth value. ¬P is true when P is false, and false when P is true.

3
New cards

What is conjunction (∧)?

The AND operator. P ∧ Q is true only when both P and Q are true.

4
New cards

What is disjunction (∨)?

The OR operator. P ∨ Q is true when at least one of P or Q is true.

5
New cards

What is implication (→)?

The "if…then" operator. P → Q is false only when P is true and Q is false. Otherwise it's true.

6
New cards

What is biconditional (↔)?

The "if and only if" operator. P ↔ Q is true when P and Q have the same truth value.

7
New cards

What is a tautology?

A propositional formula that is always true, regardless of the truth values of its variables. Example: P ∨ ¬P.

8
New cards

What is a contradiction?

A propositional formula that is always false, regardless of the truth values of its variables. Example: P ∧ ¬P.

9
New cards

What is the converse of P → Q?

Q → P (swap the hypothesis and conclusion).

10
New cards

What is the contrapositive of P → Q?

¬Q → ¬P (negate both and swap). This is logically equivalent to the original.

11
New cards

What are De Morgan's Laws?

¬(P ∧ Q) ≡ ¬P ∨ ¬Q and ¬(P ∨ Q) ≡ ¬P ∧ ¬Q. Negation distributes over AND/OR by flipping the operator.

12
New cards

What is the Distributive Law (logic)?

P ∧ (Q ∨ R) ≡ (P ∧ Q) ∨ (P ∧ R) and P ∨ (Q ∧ R) ≡ (P ∨ Q) ∧ (P ∨ R).

13
New cards

What is the Absorption Law (logic)?

P ∨ (P ∧ Q) ≡ P and P ∧ (P ∨ Q) ≡ P.

14
New cards

How do you prove logical equivalence?

Show both formulas have identical truth tables, OR use logical equivalences to transform one into the other.

15
New cards

What is a predicate?

A statement containing variables that becomes a proposition when values are assigned. Example: P(x): "x > 5".

16
New cards

What is a domain?

The set of all possible values that a variable in a predicate can take.

17
New cards

What is universal quantification (∀)?

"For all" - ∀x P(x) means P(x) is true for every x in the domain.

18
New cards

What is existential quantification (∃)?

"There exists" - ∃x P(x) means P(x) is true for at least one x in the domain.

19
New cards

When is ∀x P(x) true?

When P(x) is true for every single element in the domain.

20
New cards

When is ∃x P(x) true?

When P(x) is true for at least one element in the domain.

21
New cards

What is a counterexample?

A single example that disproves a universal statement. To disprove ∀x P(x), find one x where P(x) is false.

22
New cards

How do you negate ∀x P(x)?

¬(∀x P(x)) ≡ ∃x ¬P(x). "Not everything" means "something is not."

23
New cards

How do you negate ∃x P(x)?

¬(∃x P(x)) ≡ ∀x ¬P(x). "Nothing exists" means "everything is not."

24
New cards

What does ∀x ∃y P(x,y) mean?

For every x, there exists a y such that P(x,y). The y can be different for each x.

25
New cards

What does ∃x ∀y P(x,y) mean?

There exists one x such that for all y, P(x,y) is true. One x works for every y.

26
New cards

Does order of quantifiers matter?

YES! ∀x ∃y P(x,y) is NOT the same as ∃y ∀x P(x,y).

27
New cards

What is a set?

An unordered collection of distinct elements. Example: {1, 2, 3}.

28
New cards

What is the empty set (∅)?

The set containing no elements. Also written as { }.

29
New cards

What does A ⊆ B mean?

A is a subset of B. Every element of A is also in B. A could equal B.

30
New cards

What does A ⊂ B mean?

A is a strict (proper) subset of B. Every element of A is in B, but A ≠ B.

31
New cards

What is A ∪ B (union)?

The set of all elements in A OR B (or both). Combines both sets.

32
New cards

What is A ∩ B (intersection)?

The set of all elements in both A AND B. Only the common elements.

33
New cards

What is A - B (set difference)?

The set of elements in A but not in B. Also written as A \ B.

34
New cards

What is Ā (complement)?

The set of all elements in the universal set that are not in A.

35
New cards

What is A ⊕ B (symmetric difference)?

Elements in A or B but not both. A ⊕ B = (A - B) ∪ (B - A) = (A ∪ B) - (A ∩ B).

36
New cards

What is A × B (Cartesian product)?

The set of all ordered pairs (a, b) where a ∈ A and b ∈ B.

37
New cards

What is cardinality?

The number of elements in a set. Written as |A| or #A.

38
New cards

What is the power set P(A)?

The set of all subsets of A. If |A| = n, then |P(A)| = 2^n.

39
New cards

How do you prove A = B (set equality)?

Prove A ⊆ B (every element of A is in B) AND B ⊆ A (every element of B is in A).

40
New cards

How do you prove A ⊆ B?

Take an arbitrary element x ∈ A and show that x ∈ B.

41
New cards

What is a countable set?

A set whose elements can be put in one-to-one correspondence with natural numbers (finite or countably infinite).

42
New cards

What is set enumeration?

Explicitly listing all elements of a set. Example: {1, 2, 3, 4, 5}.

43
New cards

What is A ∩ B̄ in terms of set difference?

A - B. Elements in A but not in B.

44
New cards

What is a direct proof?

Assume the hypothesis P is true, then use logical steps to show the conclusion Q must be true.

45
New cards

What is proof by contradiction?

Assume the statement you want to prove is false, then derive a contradiction. Conclude the statement must be true.

46
New cards

What is proof by contrapositive?

To prove P → Q, instead prove ¬Q → ¬P (which is logically equivalent).

47
New cards

When should you use contrapositive?

When the contrapositive is easier to prove than the original. Common for divisibility and "not" statements.

48
New cards

What is proof by cases?

Break the proof into exhaustive cases, prove the statement holds in each case separately.

49
New cards

How do you prove an equivalence P ↔ Q?

Prove both directions: P → Q AND Q → P.

50
New cards

What is the Division Algorithm?

For integers a and b (b > 0), there exist unique integers q and r such that a = bq + r where 0 ≤ r < b.

51
New cards

How do you prove "a is not divisible by b"?

Show that when you divide a by b, the remainder r ≠ 0. Or use contrapositive.

52
New cards

What is mathematical induction?

A proof technique for statements about natural numbers: prove base case, then prove if true for n, it's true for n+1.

53
New cards

What is the base case in induction?

Proving the statement holds for the smallest value (usually n = 0 or n = 1).

54
New cards

What is the inductive step?

Proving that if the statement holds for n (inductive hypothesis), then it holds for n+1.

55
New cards

What is the inductive hypothesis?

The assumption that the statement holds for n. Used in the inductive step.

56
New cards

What is strong induction?

Like regular induction, but the inductive hypothesis assumes the statement is true for ALL values from the base case up to n.

57
New cards

When should you use strong induction?

When proving P(n+1) requires knowing P(k) for multiple values k ≤ n, not just P(n).

58
New cards

What is the structure of an induction proof?

1) State what you're proving. 2) Base case: verify for n = base. 3) Inductive step: assume true for n, prove for n+1. 4) Conclude by induction.

59
New cards

What's the difference between induction and strong induction?

Regular induction: assume P(n) to prove P(n+1). Strong induction: assume P(1), P(2), …, P(n) all true to prove P(n+1).

60
New cards

What is the Commutative Law for sets?

A ∪ B = B ∪ A and A ∩ B = B ∩ A.

61
New cards

What is the Associative Law for sets?

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

62
New cards

What is the Identity Law for sets?

A ∪ ∅ = A and A ∩ U = A (where U is the universal set).

63
New cards

What is the Domination Law?

A ∪ U = U and A ∩ ∅ = ∅.

64
New cards

What is the Idempotent Law?

A ∪ A = A and A ∩ A = A.

65
New cards

What is the Complement Law?

A ∪ Ā = U and A ∩ Ā = ∅. Also (Ā)̄ = A (double complement).

66
New cards

What is De Morgan's Law for sets?

(A ∪ B)̄ = Ā ∩ B̄ and (A ∩ B)̄ = Ā ∪ B̄.

67
New cards

Is ∅ ⊆ A always true?

Yes, always true. The empty set is a subset of every set.

68
New cards

What is |∅|?

  1. The empty set has no elements.
69
New cards

What is |P(∅)|?

  1. The power set of empty set is {∅}, which has one element.
70
New cards

Is ∅ ∈ P(A)?

Yes, always. The empty set is always a subset of any set.

71
New cards

How many elements in A × B?

|A × B| = |A| × |B|.

72
New cards

What is A - A?

∅. No elements remain.

73
New cards

What is A ∩ ∅?

∅. No elements in common with empty set.

74
New cards

When is P → Q false?

Only when P is true and Q is false. True in all other cases.