Discrete Mathematics Fundamentals Lecture

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

1/43

flashcard set

Earn XP

Description and Tags

Flashcards covering key concepts from sets, relations, functions, graphs, and formal languages.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

44 Terms

1
New cards

What is a set in mathematics?

A well-defined collection of distinct objects considered as a single object, usually written inside curly braces { }.

2
New cards

Name the three key characteristics of a set.

(1) Distinct elements (no duplicates), (2) Unordered elements (order doesn’t matter), and (3) Clear membership (each element either is or is not in the set).

3
New cards

How is the empty set commonly denoted?

Either ∅, {} or sometimes 0 depending on the context.

4
New cards

Define the term subset.

A set A is a subset of B (written A ⊆ B) if every element of A is also an element of B.

5
New cards

When are two sets equal in terms of subsets?

If A ⊆ B and B ⊆ A, then A = B.

6
New cards

Is the empty set a subset of every set? Why?

Yes. ∅ ⊆ B for any set B because it contains no elements that could violate the subset condition.

7
New cards

Why is any set a subset of itself?

Because every element of A is trivially in A, so A ⊆ A.

8
New cards

Define the set of natural numbers ℕ.

The positive counting numbers 1,2,3,… (sometimes including 0 by convention).

9
New cards

Define the set of integers ℤ.

All natural numbers, their negatives, and 0; …,−3,−2,−1,0,1,2,3,…

10
New cards

Define the set of rational numbers ℚ.

Numbers expressible as p⁄q where p and q are integers and q ≠ 0 (fractions, including terminating or repeating decimals).

11
New cards

Define the set of real numbers ℝ.

All points on the number line, including both rational and irrational numbers.

12
New cards

What is the power set P(B)?

The set of all subsets of B, including ∅ and B itself.

13
New cards

List the elements of the power set of {1,2}.

{∅, {1}, {2}, {1,2}}.

14
New cards

Define the union of two sets A and B.

A ∪ B = {x | x ∈ A or x ∈ B} – all elements that are in A, B, or both.

15
New cards

Define the intersection of two sets A and B.

A ∩ B = {x | x ∈ A and x ∈ B} – elements common to both sets.

16
New cards

Define the difference A \ B.

A \ B = {x | x ∈ A and x ∉ B} – elements in A that are not in B.

17
New cards

Define the Cartesian product A × B.

A × B = {(x,y) | x ∈ A and y ∈ B} – the set of all ordered pairs with first entry from A and second from B.

18
New cards

Define the complement of a set A (relative to universal set U).

Ā = {x | x ∈ U and x ∉ A} – everything in U that is not in A.

19
New cards

How do you read A ∪ B in English?

"The union of set A and set B."

20
New cards

How do you read A ∩ B in English?

"The intersection of set A and set B."

21
New cards

How do you read A \ B in English?

"The difference between set A and set B (elements in A but not in B)."

22
New cards

What is a binary relation R from A to B?

Any subset of the Cartesian product A × B; R ⊆ A × B.

23
New cards

Define a function using relation terminology.

A relation f ⊆ A × B where each a ∈ A appears in exactly one ordered pair (a,b).

24
New cards

What is the domain of a function f: A → B?

The set of all inputs: Domain(f) = A.

25
New cards

What is the range (image) of a function f: A → B?

Range(f) = {b ∈ B | ∃ a ∈ A such that f(a) = b} – all actual outputs.

26
New cards

When is a relation not a function?

If some element of the domain is paired with more than one output in the codomain.

27
New cards

Define an injective (one-to-one) function.

A function in which different inputs map to different outputs; formally, if a ≠ a′ then f(a) ≠ f(a′).

28
New cards

Define a surjective (onto) function.

A function whose range equals its entire codomain; every element of B is hit by some a ∈ A.

29
New cards

Define a bijection.

A function that is both injective and surjective; establishes a perfect one-to-one correspondence between A and B.

30
New cards

State the reflexive property of a relation.

(a,a) ∈ R for every a in the set.

31
New cards

State the symmetric property of a relation.

If (a,b) ∈ R then (b,a) ∈ R.

32
New cards

State the transitive property of a relation.

If (a,b) ∈ R and (b,c) ∈ R, then (a,c) ∈ R.

33
New cards

What is an equivalence relation?

A relation that is reflexive, symmetric, and transitive.

34
New cards

Define a graph G = (V,E).

A collection of vertices V and edges E where each edge connects two vertices.

35
New cards

What is the degree of a vertex v?

deg(v) is the number of edges incident to v.

36
New cards

Define a path in a graph.

A sequence of vertices where each consecutive pair is connected by an edge.

37
New cards

Define a cycle in a graph.

A path that starts and ends at the same vertex without repeating any other vertex.

38
New cards

Define a simple path.

A path in which no vertex is repeated.

39
New cards

When is a graph connected?

If there is a path between every pair of vertices.

40
New cards

What is an alphabet Σ in formal language theory?

A finite set of symbols used to build strings.

41
New cards

Define a string over an alphabet.

A finite sequence of symbols from that alphabet.

42
New cards

What is the empty string and its length?

The string ε (or "") containing zero symbols; its length is 0.

43
New cards

How is the length of a string w denoted?

|w| – the number of symbols in w.

44
New cards

Define a language in formal language theory.

A set of strings constructed from a particular alphabet that satisfy given rules or criteria.