C959 Flashcards (Master set) latest updated version with 100% correct answers 2026-2027

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

1/77

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:57 PM on 6/5/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

78 Terms

1
New cards

Proof by Exhaustion

Prove the statement by checking each element individually. Unlike proof by cases, exhaustive proof looks at every case in a way that is not general.

2
New cards

Proof by Counterexample

Used to disprove a universal statement. For example, to disprove the statement, "All prime numbers are odd" find one example where this statement is false—the number 2—which is both even and prime.

3
New cards

Direct Proof

In the direct proof, we assume the hypothesis p is true and we try to prove that q is true. Thus making p→q true.

<p>In the direct proof, we assume the hypothesis p is true and we try to prove that q is true. Thus making p→q true.</p>
4
New cards

Proof by Contrapositive

A proof that makes use of the fact that p→q is equivalent to its contrapositive ¬q→¬p. So we assume that ¬q is true and try to prove that ¬p is true.

<p>A proof that makes use of the fact that p→q is equivalent to its contrapositive ¬q→¬p. So we assume that ¬q is true and try to prove that ¬p is true.</p>
5
New cards

Proof by Contradiction

An indirect proof where if the theorem being proven has the form p → q, then the beginning assumption is p ∧ ¬q which is logically equivalent to ¬(p → q).

<p>An indirect proof where if the theorem being proven has the form p → q, then the beginning assumption is p ∧ ¬q which is logically equivalent to ¬(p → q).</p>
6
New cards

Proof by Cases

In proof by case, we are looking at all the possible cases that might arise in a theorem.

<p>In proof by case, we are looking at all the possible cases that might arise in a theorem.</p>
7
New cards

Means "therefore".

8
New cards

Conditional Statements

If p then q. p → q. Only not true when p is true and q is false. It breaks the contract.

9
New cards

Converse

Converse of p → q is q → p.

10
New cards

Contrapositive

Contrapositive of p → q is ¬q → ¬p.

11
New cards

Inverse

Inverse of p → q is ¬p → ¬q.

12
New cards

Biconditional Statement

p if and only if q. p ↔ q. True when p and q have the same truth value (including False ↔ False) and is false when p and q have different truth values.

13
New cards

Logical Equivalence

p is logically equivalent to q. p ≡ q. Logically equivalent if they have the same truth value regardless of the truth values of their individual propositions. So p ≡ ¬¬p or ¬p ≡ p → ¬q.

14
New cards

Logical Operator

Conjunction — p ∧ q. True only if p and q are true.

Disjunction — p ∨ q. True when either of p or q, or both is true.

Exclusive or — p ⊕ q. True if either one of p or q is true but not both.

Negation — ¬p. Negates value. If True then not True, if False then not False.

15
New cards

Order of Operations

1. ¬ (not)

2. ∧ (and)

3. ∨ (or)

4. →

5. ↔

16
New cards

Predicate

Logical statement whose truth value is a function of one or more variables.

17
New cards

Free Variable

Variable is free to take on any value in the domain. In (∀x P(x)) ∧ Q(x), Q(x) is the free variable.

18
New cards

Bound Variable

Variable is bound to a quantifier. In (∀x P(x)) ∧ Q(x), P(x) is the bound variable.

19
New cards

DeMorgan's Laws for Quantifiers

¬∀ x F(x) as "Not every bird can fly." Which is logically equivalent (≡) to ∃ x ¬ F(x) as "There exists a bird that cannot fly."

¬∃ x Q(x) as "It is not true that there is a child in the class who is absent today." Which is logically equivalent (≡) to ∀ x ¬ Q(x) as "Every child in the class is not absent today."

20
New cards

Logical Symbol and Translations

-∀x∀y M(x,y)

- ∃x∃y M(x,y)

- ∃x∀y M(x,y)

- ∀x∃y M(x,y)

<p>-∀x∀y M(x,y)</p><p>- ∃x∃y M(x,y)</p><p>- ∃x∀y M(x,y)</p><p>- ∀x∃y M(x,y)</p>
21
New cards

DeMorgan's Law for Nested Qualifiers

knowt flashcard image
22
New cards

N

The set of natural numbers: All integers greater than or equal to 0.

For example, 0, 1, 2, …

23
New cards

Z

The set of all integers. For example, …, -2, -1, 0, 1, 2, …

<p>The set of all integers. For example, …, -2, -1, 0, 1, 2, …</p>
24
New cards

Q

The set of rational numbers: All real numbers that can be expressed as a/b, where a and b are integers and b ≠ 0.

For example, 0, 1/2, 5.23, -5/3

25
New cards

R

The set of real numbers. Real numbers can be a continuous quantity.

For example, 0, 1/2, 5.23, -5/3, π, √2

26
New cards

Universal Set

A = B if and only if A ⊆ B and B ⊆ A

27
New cards

Proper Subset

An element of B that is not an element of A (i.e., A ≠ B). A ⊂ B.

28
New cards

Composition of Functions

f and g are two functions, where f: X → Y and g: Y → Z. The composition of g with f, denoted g ο f, is the function (g ο f): X → Z, such that for all x ∈ X, (g ο f)(x) = g(f(x)).

29
New cards

Composition of Functions (Example)

If f: R+ → R+, f(x) = x³ and g: R+ → R+, g(x) = x + 2. Then, (f ο g)(x) = f(g(x)) = (x + 2)³ and (g ο f)(x) = g(f(x)) = x³ + 2.

30
New cards

Exponential Functions

knowt flashcard image
31
New cards

Logarithmic Functions

knowt flashcard image
32
New cards

Cartesian Product

A and B, denoted A x B, is the set of all ordered pairs in which the first entry is in A and the second entry is in B. A x B = { (a, b) : a ∈ A and b ∈ B }.

33
New cards

Set Partitions

A non-empty set A is a collection of non-empty subsets of A such that each element of A is in exactly one of the subsets. Requirements:

- For all i, Aᵢ ⊆ A.

- For all i, Aᵢ ≠ ∅

- A₁, A₂, ...,Aₙ are pairwise disjoint (their intersections are empty).

- A = A₁ ∪ A₂ ∪ ... ∪ Aₙ

34
New cards

Prime Number

A number that can only be multiplied by 1 and itself. CAN BE EVEN and ODD. Cannot be negative. Example: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, etc.

35
New cards

Composite Number

A whole number that can be made by multiplying other whole numbers. CAN BE ODD and EVEN. Can be negative. Example: 4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22, 24, 25, 26, 27, 28, 30, 32, 33, 34, 35, 36, 38, 39, 40, 42, 44, 45, 46, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 60, 62, 63, 64, 65, 66, 68, 69, 70, 72, 74, 75, 76, 77, 78, 80, 81,82, 84, 85, 86, 87, 88, 90, 91, 92, 93, 94, 95, 96, 98, 99.

36
New cards

Inverse Finding

To inverse, the equation must be bijective. So, f(x) = y if and only if f-1(y) = x.

37
New cards

f: R → R, where f(x) = -x + 3. What is f-1? (Inverse)

The result of solving the equation

y = -x + 3 for x is x = -y + 3.

Therefore, f-1(y) = -y + 3 which is the same as f-1(x) = -x + 3.

38
New cards

f(x) = 3x + 1 and g(x) = x². Then, What is (f ο g)(2)? (Compositing)

Work inside out. (f o g)(x) = f(g(x)).

Apply g(2) into x² to get 4.

Then plugin 4 into 3x + 1 for f(4) which is 13. The answer is 13.

39
New cards

Sets of Sets

A = { { 1, 2 }, ∅, { 1, 2, 3 }, { 1 } }

- { 1, 2 } ∈ A.

- 1 is not an element of A, so 1 ∉ A, although { 1 } ∈ A.

- Furthermore, { 1 } ⊈ A since 1 ∉ A.

- The empty set ∅ is not the same as { ∅ }.

40
New cards

Power Sets

Set A, denoted P(A), is the set of all subsets of A.

if A = { 1, 2, 3 }, then:

-- P(A) = { ∅, { 1 }, { 2 }, { 3 }, { 1, 2 }, { 1, 3 }, { 2, 3 }, { 1, 2, 3 } }

41
New cards

Set Cardinality

The cardinality of a finite set A, denoted by |A|, is the number of elements in A. If A = { 2, 4, 6, 10 }, then |A| = 4.

42
New cards

Boolean Satisfiability, Gates, Circuits

knowt flashcard image
43
New cards

Minterm

A product of literals u₁u₂...uᵢ such that each uⱼ is either vⱼ or vⱼ.

44
New cards

Disjunctive Normal Form (DNF)

A Boolean expression that is a sum of products of literals. c₁ + c₂ + .... + cm where each cⱼ for j ∈ {1, ..., m} is a product of literals.

<p>A Boolean expression that is a sum of products of literals. c₁ + c₂ + .... + cm where each cⱼ for j ∈ {1, ..., m} is a product of literals.</p>
45
New cards

Conjunctive Normal Form (CNF)

A Boolean expression that is a product of sums of literals, d₁ • d₂ • .... • dm where each dⱼ for j ∈ {1, ..., m} is a sum of literals.

<p>A Boolean expression that is a product of sums of literals, d₁ • d₂ • .... • dm where each dⱼ for j ∈ {1, ..., m} is a sum of literals.</p>
46
New cards

Sequence

of nth term is 2ⁿ.

Solving a sequence depends on the formula.

So tₙ = 5ₙ - 4 if n = 1 would be t₁ = 5(1) - 4 = 1.

47
New cards

Piece Wise Formula

(Solution in Picture)

{ 2ₙ³ if n is odd.

aₙ ={

{5ₙ/2 if n is even.

<p>(Solution in Picture)</p><p>{ 2ₙ³ if n is odd.</p><p>aₙ ={</p><p>{5ₙ/2 if n is even.</p>
48
New cards

Common Ratio

A geometric sequence is a sequence that increases or decreases by a constant factor. Such as moving up x6, or moving down /2.

49
New cards

Common Difference

Each term increases or decreases by the same constant value. Such as moving up +4 or moving down -10.

50
New cards

Open walk

A walk in which the first and last vertices are not the same. So, {4, 5, 6, 1, 2}

51
New cards

Closed walk

A walk in which the first and last vertices are the same. So, {4, 5, 6, 1, 4}

52
New cards

Trail

An open walk in which no edge occurs more than once.

<p>An open walk in which no edge occurs more than once.</p>
53
New cards

Circuit

Is a closed walk in which no edge occurs more than once. ⟨ 1, 2, 3, 2, 1 ⟩

54
New cards

Path

Is a trail in which no vertex occurs more than once.

<p>Is a trail in which no vertex occurs more than once.</p>
55
New cards

Cycle

A circuit of length at least 1 in which no vertex occurs more than once, except the first and last vertices which are the same. For example, ⟨2, 3, 2⟩

56
New cards

Adjacency Matrix

A matrix that records the number of direct links between vertices.

<p>A matrix that records the number of direct links between vertices.</p>
57
New cards

Reflexive

All self-loops are present.

<p>All self-loops are present.</p>
58
New cards

Symmetric

If (x,y) is an edge, then (y,x) is also an edge.

<p>If (x,y) is an edge, then (y,x) is also an edge.</p>
59
New cards

Trasitive

Edges (e,a) and (a,b) imply the presence of edge (e,b).

<p>Edges (e,a) and (a,b) imply the presence of edge (e,b).</p>
60
New cards

Hasse Diagram

Only used for partial orders. Generally works bottom (lowest number) to top. It will always be in the same direction due to the anti-symmetry property.

<p>Only used for partial orders. Generally works bottom (lowest number) to top. It will always be in the same direction due to the anti-symmetry property.</p>
61
New cards

Partially Ordered Set

The domain is {3, 5, 6, 7, 10, 14, 20, 30, 60}.

x ⪯ y or "x is at most y" if x evenly divides y.

<p>The domain is {3, 5, 6, 7, 10, 14, 20, 30, 60}.</p><p>x ⪯ y or "x is at most y" if x evenly divides y.</p>
62
New cards

Free Tree

When there is no particular organization of the vertices and edges.

63
New cards

Rooted Tree

When there is a root and items are set in a particular order.

64
New cards

Parents

Can include the root as well. Any branch that has a child.

65
New cards

Ancestor

The ancestors of vertex g are h, d, and b. Every vertex along the path from v to the root (except for the vertex v itself) is an ancestor of vertex v.

<p>The ancestors of vertex g are h, d, and b. Every vertex along the path from v to the root (except for the vertex v itself) is an ancestor of vertex v.</p>
66
New cards

Child

Vertices c and g are the children of vertex h.

<p>Vertices c and g are the children of vertex h.</p>
67
New cards

Descendant

The descendants of vertex h are c, g, and k.

<p>The descendants of vertex h are c, g, and k.</p>
68
New cards

Leaf

A vertex which has no children. (Ex: The leaves are a, f, c, k, i, and j.)

<p>A vertex which has no children. (Ex: The leaves are a, f, c, k, i, and j.)</p>
69
New cards

Sibling

They have the same parent. (Ex: Vertices h, i, and j are siblings because they have the same parent, which is vertex d.)

<p>They have the same parent. (Ex: Vertices h, i, and j are siblings because they have the same parent, which is vertex d.)</p>
70
New cards

Maximum Cycle in a Graph

With a graph of n vertices, the length of a cycle can be no longer than n. Example of the picture, since it has 6 vertices, the graph can have no longer than 6.

<p>With a graph of n vertices, the length of a cycle can be no longer than n. Example of the picture, since it has 6 vertices, the graph can have no longer than 6.</p>
71
New cards

Maximum Path in a Graph

With a graph of n vertices, the maximum length of a path would be n-1. For example, in the picture of nine vertices, the length of the path is 8: ⟨C, I, F, D, A, E, B, H, G⟩

<p>With a graph of n vertices, the maximum length of a path would be n-1. For example, in the picture of nine vertices, the length of the path is 8: ⟨C, I, F, D, A, E, B, H, G⟩</p>
72
New cards

Maximum Walk in a Graph

For a graph of n vertices, there is no longest walk assuming that there is at least one edge in the graph.

73
New cards

Preorder

The root is visited before the children.

<p>The root is visited before the children.</p>
74
New cards

Post-Order

The root is visited after the children.

<p>The root is visited after the children.</p>
75
New cards

Breadth-First

Visits vertices in the graph according to their proximity to the start vertex. Starting at a root vertex scan each neighbor before scanning their neighbors.

76
New cards

Depth-First

Starting at a root vertex, scan each neighbor and its neighbors and their neighbors. Once a neighbor has no more neighbors, backtrack to the previous neighbor and exhaust its neighbors.

77
New cards

Isomorphic Graph

Check by seeing if they have:

-Same number of vertices

-Same number of edges

-Same number of vertice degrees.

78
New cards

Total degree of Graph

The sum of the degrees of all of the vertices. For example, the total degree of the picture is 2 + 3 + 3 + 2 + 2 = 12.

(Hint: Just multiply the number of edges by 2. In the picture, there are 6 edges, so 12 is the total degree).

<p>The sum of the degrees of all of the vertices. For example, the total degree of the picture is 2 + 3 + 3 + 2 + 2 = 12.</p><p>(Hint: Just multiply the number of edges by 2. In the picture, there are 6 edges, so 12 is the total degree).</p>