Finite Mathematics 2: Modular Arithmetic, Linear Congruences, Conditional Probability, and Bayes' Rule

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

1/27

flashcard set

Earn XP

Description and Tags

Comprehensive vocabulary flashcards covering modular arithmetic, linear congruences, conditional probability, and Bayes' Rule.

28 Terms

1
New cards

Linear Congruence

A congruence equation in one unknown variable of the form ax≡b(modm)ax \equiv b \pmod m, where aa, bb, and mm are integers, mm is a positive modulus, and xx is the unknown.

2
New cards

Solvability Condition for Linear Congruences

The theorem stating that the linear congruence ax≡b(modm)ax \equiv b \pmod m has a solution if and only if gcd⁡(a,m)\gcd(a, m) divides bb (written as gcd⁡(a,m)∣b\gcd(a, m) \mid b).

3
New cards

Number of Incongruent Solutions

When a linear congruence ax≡b(modm)ax \equiv b \pmod m is solvable, the number of distinct solutions modulo mm is exactly d=gcd⁡(a,m)d = \gcd(a, m).

4
New cards

Modular Inverse

An integer denoted a−1a^{-1} satisfying a⋅a−1≡1(modm)a \cdot a^{-1} \equiv 1 \pmod m, which exists if and only if gcd⁡(a,m)=1\gcd(a, m) = 1.

5
New cards

Extended Euclidean Algorithm

An algorithm that expresses the greatest common divisor of two integers as a linear combination of the form 1=ax+my1 = ax + my when gcd⁡(a,m)=1\gcd(a, m) = 1, which serves to determine the modular inverse of aa modulo mm.

6
New cards

Reduction Method (Linear Congruences)

A solution technique used when d=gcd⁡(a,m)>1d = \gcd(a, m) > 1 and d∣bd \mid b, where the coefficient aa, constant term bb, and modulus mm are each divided by dd to form the reduced congruence adx≡bd(modmd)\frac{a}{d}x \equiv \frac{b}{d} \pmod{\frac{m}{d}}.

7
New cards

Incongruent Solution

A solution to a modular congruence that is distinct and not equivalent to any other solution under the modulus mm, taken from the complete residue set {0,1,2,…,m−1}\{0, 1, 2, \dots, m - 1\}.

8
New cards

Congruence Modulo mm

A mathematical relationship where two integers aa and bb satisfy a≡b(modm)a \equiv b \pmod m if and only if their difference (a−b)(a - b) is divisible by mm (written m∣(a−b)m \mid (a - b)), or equivalently, when they leave the same remainder upon division by mm.

9
New cards

Modulo Operation

An operation, written a mod ma \bmod m, that returns the unique non-negative remainder rr when an integer aa is divided by a positive integer mm, where 0≤r<m0 \le r < m.

10
New cards

Equivalence Class (Remainder Family)

A subset of integers that share the same remainder when divided by a fixed positive integer modulus mm, behaving identically under modular arithmetic operations.

11
New cards

Reflexive Property of Congruence

The property stating that every integer is congruent to itself modulo mm, written a≡a(modm)a \equiv a \pmod m, justified because m∣(a−a)m \mid (a - a) since a−a=0a - a = 0.

12
New cards

Symmetric Property of Congruence

The property stating that if a≡b(modm)a \equiv b \pmod m, then b≡a(modm)b \equiv a \pmod m, justified because if m∣(a−b)m \mid (a - b), then mm also divides the negative −(a−b)=b−a-(a - b) = b - a.

13
New cards

Transitive Property of Congruence

The property stating that if a≡b(modm)a \equiv b \pmod m and b≡c(modm)b \equiv c \pmod m, then a≡c(modm)a \equiv c \pmod m, justified because m∣((a−b)+(b−c))m \mid ((a - b) + (b - c)), which equals m∣(a−c)m \mid (a - c).

14
New cards

Preservation of Congruence

The algebraic principle that modular congruence is preserved under addition (a+c≡b+d(modm)a + c \equiv b + d \pmod m), subtraction (a−c≡b−d(modm)a - c \equiv b - d \pmod m), and multiplication (a⋅c≡b⋅d(modm)a \cdot c \equiv b \cdot d \pmod m).

15
New cards

Repeated Squaring

A computational method for evaluating large powers of integers modulo mm by breaking down the exponent into powers of 2, squaring the base step-by-step, and reducing modulo mm after each multiplication.

16
New cards

Cyclic System

A repeating system whose counts or states return to the initial value after a fixed period or modulus, such as hours on a clock ((mod12)\pmod{12}) or days of the week ((mod7)\pmod 7).

17
New cards

Conditional Probability

The probability that event AA occurs given that event BB has already occurred, denoted P(A∣B)P(A|B) and read as "the probability of AA given BB".

18
New cards

Formula for Conditional Probability (Count Form)

The formula P(A∣B)=n(A∩B)n(B)P(A|B) = \frac{n(A \cap B)}{n(B)}, which calculates conditional probability by counting the outcomes in the intersection relative to the restricted sample space BB.

19
New cards

Formula for Conditional Probability (Probability Form)

The ratio P(A∣B)=P(A∩B)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}, valid whenever the probability of the conditioning event satisfies P(B)≠0P(B) \neq 0.

20
New cards

Restricted Sample Space

The subset of outcomes that replaces the universal sample space SS in conditional probability calculations when an event BB is known to have already occurred.

21
New cards

Independent Events (Conditional Probability Definition)

Two events AA and BB such that knowing BB has occurred provides no information about AA, defined by the relationship P(A∣B)=P(A)P(A|B) = P(A).

22
New cards

Bayes' Rule

A theorem used to reverse a conditional probability to find the posterior probability of a cause given an observed result: P(A∣E)=P(A)⋅P(E∣A)P(E)P(A|E) = \frac{P(A) \cdot P(E|A)}{P(E)}.

23
New cards

Prior Probability

The initial probability P(A)P(A) assigned to a cause or hypothesis before observing any new evidence or experimental outcome.

24
New cards

Likelihood (Bayesian)

The conditional probability P(E∣A)P(E|A) of observing an outcome or evidence EE given that a specific cause or hypothesis AA is true.

25
New cards

Posterior Probability

The updated conditional probability P(A∣E)P(A|E) of a hypothesis or cause AA occurring given that evidence EE has been observed.

26
New cards

Law of Total Probability

The rule used to compute the total probability of evidence EE across all mutually exclusive causes, forming the denominator of Bayes' Rule: P(E)=∑iP(Ai)⋅P(E∣Ai)P(E) = \sum_{i} P(A_i) \cdot P(E|A_i).

27
New cards

Forward Reasoning

The probabilistic process of determining the probability of a result given a known cause, expressed by the likelihood P(result∣cause)P(\text{result} \mid \text{cause}).

28
New cards

Backward Reasoning

The inferential process enabled by Bayes' Rule that deduces which underlying cause produced an observed outcome, expressed by the posterior probability P(cause∣result)P(\text{cause} \mid \text{result}).