Probability Calculations, Random Variables, and Discrete Probability Distributions

Administrative Policies, Course Deadlines, and Exam Review Procedures (10/29/26)

  • Exam Review and Regrading Policy:

    • Students who were absent during the in-class return of exams (including Victor, Corey, Freddie, and Julie Gloves) must retrieve their materials directly.

    • Any inquiries, questions, or disputes concerning exam grading must be brought forward and resolved immediately (either prior to class or on the same day).

    • Exams may not be taken home and subsequently contested for grading issues; removing the exam invalidates subsequent grading challenges.

    • Post-class availability for individual exam discussions is open for the remainder of the day, including an initial meeting time at 12 noon12\text{ noon}.

  • Course Announcements and Deadlines:

    • Course Project: The upcoming course project is structured as an individual assignment rather than group work.

    • Homework: A homework assignment was officially posted on Tuesday, accompanied by a follow-up announcement posted on Wednesday.

    • Project Schedule and Proposal: Detailed guidelines, future milestones, and a sample project proposal are provided. The initial project deadline requires the submission of a project proposal.

    • Syllabus and Schedule Update: An updated course schedule has been posted to adjust for pacing delays relative to the original semester timeline, incorporating all updated lecture targets and formal exam dates.

Probability Calculations Using Counting Methods

  • Foundational Probability Rule for Equally Likely Outcomes:

    • The probability of an event is calculated as the ratio of favorable outcomes to total possible outcomes:     P(Event)=Number of favorable outcomesTotal number of possible outcomesP(\text{Event}) = \frac{\text{Number of favorable outcomes}}{\text{Total number of possible outcomes}}

    • Baseline Example (Rolling a Fair Die): To find the probability of rolling an even number from a standard six-sided die with outcomes {1,2,3,4,5,6}\{1, 2, 3, 4, 5, 6\}, the favorable even outcomes are {2,4,6}\{2, 4, 6\} (33 outcomes), yielding:     P(Even Number)=36=12P(\text{Even Number}) = \frac{3}{6} = \frac{1}{2}

  • Problem 1: Drawing Two Kings from a Standard Deck:

    • Problem Statement: Two cards are dealt simultaneously from a standard 5252-card deck. Determine the probability that both dealt cards are kings.

    • Deck Composition: A standard deck contains 5252 cards, which include 44 kings of distinct suits (hearts, spades, diamonds, clubs).

    • Denominator Formulation (Total Possible Outcomes):

    • Two cards are chosen concurrently without replacement and placed face down, meaning selection order does not matter.

    • The total number of ways to select 22 cards from 5252 is given by the combination formula nCr=(nr)=n!(n−r)! r!_nC_r = \binom{n}{r} = \frac{n!}{(n - r)!\,r!}.

    • Setting n=52n = 52 and r=2r = 2:       52C2=52!(52−2)! 2!=52!50! 2!=1226_{52}C_2 = \frac{52!}{(52 - 2)!\,2!} = \frac{52!}{50!\,2!} = 1226

    • Numerator Formulation (Favorable Outcomes):

    • The number of ways to choose 22 kings from the 44 available kings in the deck without regard to order is:       4C2=4!(4−2)! 2!=4!2! 2!=4×3×2×1(2×1)(2×1)=6_4C_2 = \frac{4!}{(4 - 2)!\,2!} = \frac{4!}{2!\,2!} = \frac{4 \times 3 \times 2 \times 1}{(2 \times 1)(2 \times 1)} = 6

    • Probability Calculation:     P(Both Cards are Kings)=4C252C2=61226≈0.0045P(\text{Both Cards are Kings}) = \frac{_4C_2}{_{52}C_2} = \frac{6}{1226} \approx 0.0045

  • Problem 2: Committee Selection:

    • Problem Statement: A committee of 22 people is selected at random from a group consisting of 55 men and 33 women (total pool of 88 people). Determine the probability that both selected members are women.

    • Denominator Formulation (Total Possible Committees):

    • Selecting any 22 individuals out of 88 without assigned roles uses combinations:       8C2=8!(8−2)! 2!=8!6! 2!=8×72×1=28_8C_2 = \frac{8!}{(8 - 2)!\,2!} = \frac{8!}{6!\,2!} = \frac{8 \times 7}{2 \times 1} = 28

    • Numerator Formulation (Committees of Two Women):

    • Selecting 22 women out of the 33 available women:       3C2=3!(3−2)! 2!=3!1! 2!=3_3C_2 = \frac{3!}{(3 - 2)!\,2!} = \frac{3!}{1!\,2!} = 3

    • Probability Calculation:     P(Both are Women)=3C28C2=328≈0.107P(\text{Both are Women}) = \frac{_3C_2}{_8C_2} = \frac{3}{28} \approx 0.107

  • Combinations vs. Permutations in Selection Contexts:

    • Combinations (nCr_nC_r): Applied when the order of selection carries no significance (e.g., forming an unranked committee of 22 people where member AA and member BB is identical to member BB and member AA).

    • Permutations (nPr_nP_r): Applied when order or role assignment matters. For instance, if the committee selection designates specific offices such as President and Vice President, selecting person AA as President and person BB as Vice President constitutes a distinct outcome from selecting person BB as President and person AA as Vice President.

Foundations of Probability Distributions and Random Variables

  • Intuitive Transition from Frequency Histograms:

    • A probability distribution describes how probabilities are dispersed across a sample space, analogous to how a frequency histogram depicts data counts across class intervals.

    • Quiz Score Example: Consider a class of 2828 students with quiz scores grouped across intervals with midpoints 55, 1010, 1515, 2020, and 2525, having frequencies 33, 55, 1010, 77, and 33 respectively (3+5+10+7+3=283 + 5 + 10 + 7 + 3 = 28):

    • Interval midpoint 55: Relative frequency = 328\frac{3}{28}

    • Interval midpoint 1010: Relative frequency = 528\frac{5}{28}

    • Interval midpoint 1515: Relative frequency = 1028\frac{10}{28}

    • Interval midpoint 2020: Relative frequency = 728\frac{7}{28}

    • Interval midpoint 2525: Relative frequency = 328\frac{3}{28}

    • Selecting a student at random yields a probability equal to the relative frequency of that score interval (e.g., the probability of selecting a student scoring in the interval centered at 1515 is 1028\frac{10}{28}, and for the interval centered at 55 is 328\frac{3}{28}).

  • Formal Definitions:

    • Random Variable: A function, denoted by an uppercase letter such as XX, that assigns a numerical value to each outcome of a random procedure. Its realized value is determined entirely by chance.

    • Probability Distribution: A comprehensive description that provides the probability associated with each possible value of a random variable. It is typically expressed in the form of a table, a formula, or a graph.

  • Coin-Toss Implementation Example:

    • Random Procedure: A fair coin is tossed twice.

    • Sample Space (SS): The set of all possible ordered outcomes:     S={HH,HT,TH,TT}S = \{HH, HT, TH, TT\}     Total number of outcomes = 44.

    • Defining Random Variable XX: Let XX be the number of tails obtained in two flips of a fair coin.

    • Outcome HH→X=0HH \rightarrow X = 0

    • Outcome HT→X=1HT \rightarrow X = 1

    • Outcome TH→X=1TH \rightarrow X = 1

    • Outcome TT→X=2TT \rightarrow X = 2

    • Alternative Random Variable YY: Let YY be the number of heads obtained in two flips of a fair coin.

    • Outcome HH→Y=2HH \rightarrow Y = 2

    • Outcome HT→Y=1HT \rightarrow Y = 1

    • Outcome TH→Y=1TH \rightarrow Y = 1

    • Outcome TT→Y=0TT \rightarrow Y = 0

    • Demonstrates that distinct random variables map the exact same sample space outcomes to different numerical values.

  • Tabular Expression and Notational Conventions:

    • Uppercase XX denotes the random variable itself; lowercase xx denotes a specific numerical value that XX can assume (x∈{0,1,2}x \in \{0, 1, 2\}).

    • The probability that XX takes the value xx is written interchangeably as P(X=x)P(X = x) or P(x)P(x).

    • Calculating individual probabilities for XX (number of tails):

    • For x=0x = 0: P(X=0)=P(0)=14=0.25P(X = 0) = P(0) = \frac{1}{4} = 0.25

    • For x=1x = 1: P(X=1)=P(1)=24=0.50P(X = 1) = P(1) = \frac{2}{4} = 0.50

    • For x=2x = 2: P(X=2)=P(2)=14=0.25P(X = 2) = P(2) = \frac{1}{4} = 0.25

    • Probability Distribution Table:

xx

P(X=x)P(X = x) or P(x)P(x)

00

0.250.25

11

0.500.50

22

0.250.25

Classification of Random Variables: Discrete vs. Continuous

  • Discrete Random Variables:

    • Definition: A random variable is discrete if it possesses either finitely many possible values or countably many values.

    • Key Property: The values can be explicitly listed in a sequence (e.g., 0,1,2,…0, 1, 2, \dots), and distinct gaps exist between adjacent possible values (values such as 0.50.5 or 0.60.6 are excluded between 00 and 11).

    • Examples:

    • Number of emails received in an hour: Values are countable whole numbers (x∈{0,1,2,3,4,… }x \in \{0, 1, 2, 3, 4, \dots\}). Finite or countably infinite via counting.

    • Number of rolls of a die until the first six appears: This represents a count of trials. While the trials could theoretically continue indefinitely to infinity (x∈{1,2,3,4,5,… }x \in \{1, 2, 3, 4, 5, \dots\}), the values are discrete, countable integers.

  • Continuous Random Variables:

    • Definition: A random variable is continuous if it can assume any numerical value over a continuous interval without gaps, breaks, or interruptions.

    • Key Property: Associated primarily with physical measurements rather than counts. Between any two given values, there exist infinitely many possible intermediate values.

    • Examples:

    • Time spent waiting for a bus: Represents a measured duration over an interval (e.g., between 1 minute1\text{ minute} and 10 minutes10\text{ minutes}). A passenger could wait 55, 4.54.5, 4.054.05, or 4.001 minutes4.001\text{ minutes}; values cannot be exhaustively listed one by one.

    • Weight of a randomly chosen apple: Represents a physical measurement falling within an interval (e.g., between 2 ounces2\text{ ounces} and 3 ounces3\text{ ounces}). Possible values include 2.5 ounces2.5\text{ ounces}, 2.25 ounces2.25\text{ ounces}, or other infinite divisions within the interval.

Criteria and Validation for Probability Distributions

  • Mandatory Mathematical Requirements:

    • For any set of probabilities assigned to a random variable to be classified as a valid probability distribution, it must satisfy two simultaneous conditions:

    1. Condition 1 (Summation Rule): The sum of all probabilities across all possible values of xx must equal exactly 11:        ∑P(x)=1or∑P(X=x)=1\sum P(x) = 1 \quad \text{or} \quad \sum P(X = x) = 1

    2. Condition 2 (Range Rule): Every individual probability must be bounded between 00 and 11, inclusive, for every value of xx:        0≤P(x)≤1or0≤P(X=x)≤10 \le P(x) \le 1 \quad \text{or} \quad 0 \le P(X = x) \le 1

  • Validation of Example 1 (Two Coin Flips):

    • Check Condition 1:     ∑P(x)=P(0)+P(1)+P(2)=0.25+0.50+0.25=1.00\sum P(x) = P(0) + P(1) + P(2) = 0.25 + 0.50 + 0.25 = 1.00     Condition 1 is satisfied.

    • Check Condition 2:     0≤0.25≤1,0≤0.50≤1,0≤0.25≤10 \le 0.25 \le 1, \quad 0 \le 0.50 \le 1, \quad 0 \le 0.25 \le 1     Condition 2 is satisfied.

    • Conclusion: The distribution for the number of tails in two fair coin tosses is a valid probability distribution.

  • Evaluation of Candidate Distributions:

    • Distribution A:

    • Sum of probabilities: ∑P(x)=0.9\sum P(x) = 0.9

    • Validation: Because ∑P(x)=0.9≠1\sum P(x) = 0.9 \ne 1, Condition 1 fails. Even though all individual probabilities lie in the interval [0,1][0, 1], the distribution is invalid.

  • Distribution B:

    • Assigned probabilities include a negative value (e.g., P(x)<0P(x) < 0).

    • Validation: Violates Condition 2 (0≤P(x)≤10 \le P(x) \le 1). An immediate failure occurs; Condition 1 does not need to be evaluated. The distribution is invalid.

  • Distribution C:

    • Probabilities satisfy ∑P(x)=1\sum P(x) = 1, and each P(x)P(x) satisfies 0≤P(x)≤10 \le P(x) \le 1.

    • Validation: Satisfies both conditions simultaneously. The distribution is valid.

  • Decision Principle: If a proposed distribution violates either condition, it is classified as invalid immediately without requiring evaluation of the remaining condition.

Parameters of Probability Distributions: The Expected Value (Mean)

  • Concept of Distribution Parameters:

    • A probability distribution possesses descriptive parameters, including the mean, variance, and standard deviation.

  • Mathematical Definition of the Mean (μ\mu):

    • The mean of a discrete probability distribution is denoted by the Greek letter μ\mu.

    • It represents the weighted average of all possible values of the random variable, weighted by their respective probabilities:     μ=∑[x⋅P(x)]orμ=∑[x⋅P(X=x)]\mu = \sum [x \cdot P(x)] \quad \text{or} \quad \mu = \sum [x \cdot P(X = x)]

  • Step-by-Step Calculation for Example 1 (Number of Tails in Two Flips):

    • Formula Expansion:     μ=0⋅P(X=0)+1⋅P(X=1)+2⋅P(X=2)\mu = 0 \cdot P(X = 0) + 1 \cdot P(X = 1) + 2 \cdot P(X = 2)

    • Value Substitution:     μ=[0×0.25]+[1×0.50]+[2×0.25]\mu = [0 \times 0.25] + [1 \times 0.50] + [2 \times 0.25]

    • Simplification:     μ=0+0.50+0.50=1\mu = 0 + 0.50 + 0.50 = 1

    • The mean number of tails obtained when tossing two fair coins is μ=1\mu = 1.

  • Tabular Calculation Method:

    • The mean can be systematically determined by appending an x⋅P(x)x \cdot P(x) column to the probability distribution table and summing the resulting values:

xx

P(X=x)P(X = x)

x⋅P(X=x)x \cdot P(X = x)

00

0.250.25

0×0.25=00 \times 0.25 = 0

11

0.500.50

1×0.50=0.501 \times 0.50 = 0.50

22

0.250.25

2×0.25=0.502 \times 0.25 = 0.50

Total (Sum)

∑P(x)=1.00\sum P(x) = 1.00

μ=∑[x⋅P(x)]=1.00\mu = \sum [x \cdot P(x)] = 1.00

Questions & Discussion

  • Student Inquiry Regarding In-Class Exercise Submission:

    • Question: What are we posting for this session?

    • Response: Students must submit the solutions to the validation problems written on the board, determining whether Candidate Distributions A, B, and C represent valid probability distributions.

  • Student Inquiry Regarding Shortcut Validation:

    • Question: If we see immediately that it doesn't, are we allowed to just be like, no, it doesn't add up to one?

    • Response: Yes, an immediate rejection is acceptable, provided the explicit mathematical reason is stated. If an evaluation shows that a distribution fails either condition (such as summing to 0.90.9 instead of 11, or containing a negative probability), the student is not required to test the other condition, as failing one criterion definitively renders the distribution invalid.