Discrete Mathematics: Counting, Probability, Number Theory, and Graphs

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

1/25

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering core topics in discrete mathematics from lecture notes, including counting principles, partitions, discrete probability spaces, random variables, number theory (GCD, LCM, Diophantine equations), positional base representations, Pascal's triangle, and graph theory definitions.

26 Terms

1
New cards

Product Rule (Counting)

A counting principle stating that if every possibility x∈Px \in P is uniquely associated with an independent sequence of choices c1∈C1,c2∈C2,…,ck∈Ckc_1 \in C_1, c_2 \in C_2, \dots, c_k \in C_k via a bijection, then the total number of possibilities is ∣P∣=∏i=1k∣Ci∣|P| = \prod_{i=1}^k |C_i|.

2
New cards

Partition

A set YY of subsets of a non-empty set XX such that all subsets in YY are non-empty, mutually disjoint (S1≠S2  ⟺  S1∩S2=∅S_1 \neq S_2 \iff S_1 \cap S_2 = \emptyset), and collectively cover all of XX (∀z∈X,∃S∈Y s.t. z∈S\forall z \in X, \exists S \in Y \text{ s.t. } z \in S).

3
New cards

Singleton

A set that contains exactly one element.

4
New cards

Sum Rule (Counting)

A counting principle stating that if Y={x1,x2,…,xk}Y = \{x_1, x_2, \dots, x_k\} is a partition of a set of possibilities PP, breaking it into distinct non-overlapping cases, then ∣P∣=∑i=1k∣xi∣|P| = \sum_{i=1}^k |x_i|.

5
New cards

Pascal's Identity

The combinatorial identity (nk)=(n−1k−1)+(n−1k)\binom{n}{k} = \binom{n-1}{k-1} + \binom{n-1}{k}, which counts the number of ways to pick kk elements from [n][n] by partitioning based on whether a specific element zz is chosen or not.

6
New cards

Finite Probability Space

A structure consisting of a finite set of outcomes Ω\Omega and a probability function P:Ω→RP: \Omega \rightarrow \mathbb{R} such that 0≤P(x)≤10 \le P(x) \le 1 for all x∈Ωx \in \Omega and ∑x∈ΩP(x)=1\sum_{x \in \Omega} P(x) = 1.

7
New cards

Event (Discrete Probability)

Any subset A⊆ΩA \subseteq \Omega of outcomes whose probability is given by P‾(A)=∑x∈AP(x)\overline{P}(A) = \sum_{x \in A} P(x), where P‾\overline{P} maps from the power set P(Ω)\mathcal{P}(\Omega) to R\mathbb{R}.

8
New cards

Uniform Probability Space

A probability space where every individual outcome is equally likely, such that P(x)=1∣Ω∣P(x) = \frac{1}{|\Omega|} for all x∈Ωx \in \Omega.

9
New cards

Independent Events

Two events E1E_1 and E2E_2 in a probability space that satisfy P(E1∩E2)=P(E1)⋅P(E2)P(E_1 \cap E_2) = P(E_1) \cdot P(E_2).

10
New cards

Random Variable

A function X:Ω→RX: \Omega \rightarrow \mathbb{R} that assigns a real number to each outcome in a sample space Ω\Omega.

11
New cards

Expected Value

The weighted average value of a random variable X:Ω→RX: \Omega \rightarrow \mathbb{R}, defined by E(X)=∑ω∈ΩX(ω)⋅P(ω)\mathbb{E}(X) = \sum_{\omega \in \Omega} X(\omega) \cdot P(\omega).

12
New cards

Relatively Prime (Coprime)

Two natural numbers a,b∈Na, b \in \mathbb{N} with a,b>1a, b > 1 and a≠ba \neq b that share no common factors greater than 11, denoted a⊥ba \perp b, which holds if and only if gcd⁡(a,b)=1\gcd(a, b) = 1.

13
New cards

Greatest Common Divisor (GCD)

The largest natural number c∈Nc \in \mathbb{N} such that c∣ac \mid a and c∣bc \mid b, denoted gcd⁡(a,b)\gcd(a, b).

14
New cards

Least Common Multiple (LCM)

The smallest natural number d∈Nd \in \mathbb{N} such that a∣da \mid d and b∣db \mid d, denoted lcm(a,b)\text{lcm}(a, b).

15
New cards

GCD-LCM Product Relation

The mathematical theorem establishing that for positive integers aa and bb, a⋅b=gcd⁡(a,b)⋅lcm(a,b)a \cdot b = \gcd(a, b) \cdot \text{lcm}(a, b).

16
New cards

Euclidean Algorithm

An algorithm used to compute gcd⁡(a,b)\gcd(a, b) by repeatedly setting a=a−ba = a - b if a>ba > b or b=b−ab = b - a if b>ab > a until either a=0a = 0 or b=0b = 0, at which point the non-zero value is the GCD.

17
New cards

Linear Diophantine Equation

An equation of the form a⋅x+b⋅y=ca \cdot x + b \cdot y = c solved for integer variables x,y∈Zx, y \in \mathbb{Z}, which has integer solutions if and only if gcd⁡(a,b)\gcd(a, b) divides cc.

18
New cards

Base-kk Representation

The representation of a natural number as a string αnαn−1…α1α0\alpha_n \alpha_{n-1} \dots \alpha_1 \alpha_0 in base k≥2k \ge 2, where each character satisfies αi∈{0,1,…,k−1}\alpha_i \in \{0, 1, \dots, k-1\} and corresponds to the numerical value ∑i=0nαiki\sum_{i=0}^n \alpha_i k^i.

19
New cards

Pascal's Triangle Element Formula

The formula stating that the kk-th element in row ii of Pascal's triangle is given by P(i,k)=(i−1k−1)P(i, k) = \binom{i-1}{k-1}, satisfying P(i+1,k+1)=P(i,k)+P(i,k+1)P(i+1, k+1) = P(i, k) + P(i, k+1).

20
New cards

Graph

A mathematical structure G=(V,E)G = (V, E) consisting of a set of vertices VV and a set of edges EE, where edges are pairs of vertices from VV.

21
New cards

Adjacent Vertices

Two vertices v1,v2∈Vv_1, v_2 \in V in a graph that are connected directly by an edge, denoted by the condition {v1,v2}∈E\left\{v_1, v_2\right\} \in E.

22
New cards

Neighbor

In graph theory, a vertex v2v_2 is called a neighbor of v1v_1 if v1v_1 and v2v_2 are adjacent (i.e., connected by an edge).

23
New cards

Path

A sequence of distinct vertices x1,x2,…,xk∈Vx_1, x_2, \dots, x_k \in V such that {xi,xi+1}∈E\left\{x_i, x_{i+1}\right\} \in E for all i∈[k−1]i \in [k-1], where x1x_1 is the start vertex and xkx_k is the end vertex.

24
New cards

Simple Graph

A graph that has no self-edges (loops), no directed edges, and no multi-edges between any pair of vertices.

25
New cards

Adjacency Matrix

A matrix representation of a graph where each row and column corresponds to a vertex, filled with 11 if the row and column vertices are adjacent, and 00 otherwise.

26
New cards

Adjacency List

A representation of a graph that lists each vertex paired with all of its adjacent neighbor vertices.