2025 중간고사문제와정답

📚 2025_중간고사문제와정답.pdf

Brief overview

This document provides a comprehensive review of probability theory concepts, focusing on mathematical derivations, proofs, and various probability distributions. It serves as an essential study aid for understanding and applying fundamental probabilistic principles.

Key points

  • Overview of derivations and proofs in probability theory (Part 1).
  • Detailed exploration of derivations and proofs in probability theory (Part 2).
  • Understanding properties of Poisson, exponential, and Pareto distributions.
  • Analysis of Gamma and uniform probability distributions and their PMFs.
  • Calculating probabilities and expected values for discrete and continuous variables.

1. Derivations and proofs in probability theory (part 1)

1.1 Probability calculations for random variables

This section covers calculating probabilities for discrete random variables. It involves determining all possible values and their corresponding probabilities.

The sum of all probabilities must equal one. The expected value, denoted as E[X]E[X], is calculated by summing the product of each possible value and its probability.

  • Random variable values: The possible outcomes for the random variable XX.
  • Permutations and combinations: Used to determine the total number of arrangements and the number of favorable outcomes.
  • Probability calculation: The ratio of favorable outcomes to total possible outcomes.

Example: For a scenario with 6 items, where 2 specific items (A,BA, B) must be placed at the ends, the total arrangements are 6!6!. If AA and BB are at the ends, the remaining 4 items can be arranged in 4!4! ways. The arrangements ABAB and BABA at the ends are distinct.

Example:

📝 Example: Calculate the probability of having no AA or BB together (X=0X=0) when arranging 6 items including AA and BB.

  • Total arrangements: 6!6!
  • Cases with no AA or BB together: Consider AA and BB as a block. The number of arrangements for ABAB or BABA is 22. For each, the remaining 4 items can be arranged in 4!4! ways.
  • Total arrangements with AA and BB together: 2×4!2 \times 4!.
  • Probability P(X=0)P(X=0): This is more complex than direct calculation and involves analyzing specific placements. The provided solution uses a direct calculation based on analyzing specific case structures.
  • The probability P[X=0]P[X=0] is calculated as 2×5!/6!=1/32 \times 5! / 6! = 1/3. This implies that AA and BB are not adjacent. The logic for X=0X=0 involves treating AA and BB as if they are not next to each other, which is achieved by considering specific placement constraints.

Table: Probability distribution and Expected Value

Random Variable (XX)Probability (P[X=k]P[X=k])k×P[X=k]k \times P[X=k]
01/31/300
14/154/154/154/15
21/51/52/52/5
32/152/156/156/15
41/151/154/154/15
Sum∑P[X=k=1\sum P[X=k = 1E[X=1×4/15+2×1/5+3×2/15+4×1/15=4/3E[X = 1 \times 4/15 + 2 \times 1/5 + 3 \times 2/15 + 4 \times 1/15 = 4/3

The sum of probabilities is ∑k=04P[X=k=1/3+4/15+1/5+2/15+1/15=(5+4+3+2+1)/15=15/15=1\sum_{k=0}^{4} P[X=k = 1/3 + 4/15 + 1/5 + 2/15 + 1/15 = (5+4+3+2+1)/15 = 15/15 = 1. The expected value is E[X=∑k=04kP[X=k=0(1/3)+1(4/15)+2(1/5)+3(2/15)+4(1/15)=0+4/15+6/15+6/15+4/15=20/15=4/3E[X = \sum_{k=0}^{4} k P[X=k = 0(1/3) + 1(4/15) + 2(1/5) + 3(2/15) + 4(1/15) = 0 + 4/15 + 6/15 + 6/15 + 4/15 = 20/15 = 4/3.

1.2 Arrangements and conditional probability

This section deals with probability problems involving arrangements of items, particularly balls of different colors. It also introduces conditional probability and Bayes' theorem in the context of genetic inheritance.

  • Arrangement of items: Calculating the number of ways to arrange a set of objects, considering identical items. This uses factorials.
  • Conditional probability: The probability of an event occurring given that another event has already occurred.
  • Bayes' theorem: Used to update the probability of a hypothesis based on new evidence.

Formula: P(A∣B)=P(A∩B)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}

Example: Balls in an urn A bag contains 5 red, 7 blue, and 4 green balls.

  • Probability of 3 different colors in a row: The number of ways to choose and arrange 3 different colors is 3P23P2 (permutations of 3 colors taken 2 at a time). The number of ways to select one ball of each of three different colors is 5×7×45 \times 7 \times 4. The total number of ways to pick 3 balls in sequence is 16×15×1416 \times 15 \times 14.
    • P(3 different colors in a row)=(3P2×5×7×4)/(16×15×14)=(6×140)/3360=840/3360=1/4P(\text{3 different colors in a row}) = (3P2 \times 5 \times 7 \times 4) / (16 \times 15 \times 14) = (6 \times 140) / 3360 = 840 / 3360 = 1/4.
  • Probability of all red balls together: If all 5 red balls are together, treat them as a single unit. Now we have 1 red unit, 7 blue, and 4 green balls, making a total of 1+7+4=121+7+4=12 units to arrange. The number of arrangements for these 12 units is 12!12!. The number of ways to arrange the 5 red balls within their unit is 5!5!. The total number of arrangements for all 16 balls is 16!16!.
    • P(All red balls together)=(5!×12!)/16!=1/364P(\text{All red balls together}) = (5! \times 12!) / 16! = 1 / 364.

Example: Genetic inheritance Consider black and brown genes (BB for black, bb for brown). A black rat has a brown sibling.

  • Possible gene combinations for a rat: BBBB (pure black), BbBb (black), bBbB (black), bbbb (brown).
  • Given: The black rat has a brown sibling. This implies both parents must carry at least one bb gene.
    • Parental genotypes must be Bb×BbBb \times Bb.
    • Possible offspring genotypes: BB,Bb,bB,bbBB, Bb, bB, bb each with probability 1/41/4.
  • P(B2∣B)P(B2|B): Probability the rat is pure black (BBBB) given it is black.
    • P(B2)=P(BB)=1/4P(B2) = P(BB) = 1/4.
    • P(B)=P(BB or Bb or bB)=3/4P(B) = P(BB \text{ or } Bb \text{ or } bB) = 3/4.
    • P(B2∣B)=P(B2∩B)/P(B)=P(B2)/P(B)=(1/4)/(3/4)=1/3P(B2|B) = P(B2 \cap B) / P(B) = P(B2) / P(B) = (1/4) / (3/4) = 1/3.

Now, consider 3 offspring from a brown mate (bbbb) and a black rat. All 3 offspring are black.

We want P(BB2∣F3)P(BB2 | F3), the probability the black rat is pure black given 3 black offspring.

  • Case 1: Black rat is BBBB (BB2BB2): Probability P(BB2)=1/3P(BB2) = 1/3. Offspring with brown mate (bbbb) will always be black (BbBb). P(F3∣BB2)=1P(F3 | BB2) = 1.
  • Case 2: Black rat is BbBb (BB1BB1): Probability P(BB1)=2/3P(BB1) = 2/3. Offspring with brown mate (bbbb) have probabilities P(Bb)=1/2P(Bb) = 1/2 and P(bb)=1/2P(bb) = 1/2. So, P(F3∣BB1)=(1/2)3=1/8P(F3 | BB1) = (1/2)^3 = 1/8.
  • Using Bayes' Theorem for P(BB2∣F3)P(BB2 | F3):
    • P(F3)=P(F3∣BB2)P(BB2)+P(F3∣BB1)P(BB1)P(F3) = P(F3 | BB2) P(BB2) + P(F3 | BB1) P(BB1)
    • P(F3)=1×(1/3)+(1/8)×(2/3)=1/3+2/24=1/3+1/12=4/12+1/12=5/12P(F3) = 1 \times (1/3) + (1/8) \times (2/3) = 1/3 + 2/24 = 1/3 + 1/12 = 4/12 + 1/12 = 5/12.
    • P(BB2∣F3)=[P(F3∣BB2)P(BB2)]/P(F3)=[1×(1/3)]/(5/12)=(1/3)×(12/5)=12/15=4/5P(BB2 | F3) = [P(F3 | BB2) P(BB2)] / P(F3) = [1 \times (1/3)] / (5/12) = (1/3) \times (12/5) = 12/15 = 4/5.

🔑 Important: Bayes' theorem is crucial for updating probabilities based on new evidence, especially in scenarios like genetic inheritance or diagnostic testing.

1.3 Geometric distribution and probabilities

This section explores probabilities related to the geometric distribution, which models the number of trials needed to achieve the first success.

  • Geometric distribution: A discrete probability distribution. It describes the probability of obtaining the first success on the kk-th trial in a sequence of independent Bernoulli trials.
  • Probability of success (pp): The probability of success on a single trial.
  • Probability of failure (1−p1-p): The probability of failure on a single trial.
  • P[X=k]P[X=k]: The probability that the first success occurs on the kk-th trial is (1−p)k−1p(1-p)^{k-1}p.

Problem: Consider a scenario where "no 5 or 7 appears" on the first n−1n-1 trials, and a "5 appears on the nn-th trial."

  • Probability of rolling a 5 with two dice: P5=3/36=1/12P_5 = 3/36 = 1/12.
  • Probability of rolling a 7 with two dice: P7=6/36=1/6P_7 = 6/36 = 1/6.
  • Probability of neither 5 nor 7: 1−P5−P7=1−1/12−1/6=1−1/12−2/12=1−3/12=1−1/4=3/41 - P_5 - P_7 = 1 - 1/12 - 1/6 = 1 - 1/12 - 2/12 = 1 - 3/12 = 1 - 1/4 = 3/4.
  • Probability of the described event EnE_n: (3/4)n−1×(1/12)(3/4)^{n-1} \times (1/12). This is the probability of n−1n-1 failures (not rolling 5 or 7) followed by one success (rolling a 5).
  • Desired probability (sum over all nn): This represents the probability of the sequence occurring eventually. It's a geometric series.
    • P(⋃n=1∞En)=∑n=1∞(3/4)n−1(1/12)P(\bigcup_{n=1}^{\infty} E_n) = \sum_{n=1}^{\infty} (3/4)^{n-1} (1/12)
    • This is a geometric series with first term a=1/12a = 1/12 (when n=1n=1) and common ratio r=3/4r = 3/4.
    • Sum =a/(1−r)=(1/12)/(1−3/4)=(1/12)/(1/4)=4/12=1/3= a / (1-r) = (1/12) / (1 - 3/4) = (1/12) / (1/4) = 4/12 = 1/3.

The provided solution uses P5=4/36P_5 = 4/36 and P7=6/36P_7 = 6/36, and 1−P5−P7=1−4/36−6/36=1−10/36=26/36=13/181-P_5-P_7 = 1 - 4/36 - 6/36 = 1 - 10/36 = 26/36 = 13/18. Then, P[En=(13/18)n−1(4/36)=(13/18)n−1(1/9)P[E_n = (13/18)^{n-1} (4/36) = (13/18)^{n-1} (1/9).

The sum is ∑n=1∞(13/18)n−1(1/9)=(1/9)/(1−13/18)=(1/9)/(5/18)=(1/9)×(18/5)=2/5\sum_{n=1}^{\infty} (13/18)^{n-1} (1/9) = (1/9) / (1 - 13/18) = (1/9) / (5/18) = (1/9) \times (18/5) = 2/5.

Key Insight: The probability of a sequence of independent events occurring eventually can often be modeled using geometric series, derived from the geometric distribution.

1.4 Expected values for specific distributions

This section focuses on calculating expected values for functions of random variables, particularly for distributions like Poisson and exponential.

  • Probability Mass Function (PMF) for Poisson: P(X=k)=e−λλkk!P(X=k) = \frac{e^{-\lambda}\lambda^k}{k!} for k=0,1,2,…k = 0, 1, 2, \dots.
  • Expected value of a function g(X)g(X): E[g(X)]=∑kg(k)P(X=k)E[g(X)] = \sum_{k} g(k) P(X=k) for discrete variables.

Problem 1: Expected values for a Poisson variable XX.

  • E[Xn]E[X^n]: This is calculated by manipulating the PMF and recognizing a relationship to the definition of the Poisson distribution or related series.
    • E[g(X)]=∑k=0∞g(k)e−λλkk!E[g(X)] = \sum_{k=0}^{\infty} g(k) \frac{e^{-\lambda}\lambda^k}{k!}
    • For E[Xn]E[X^n], the calculation often involves shifting indices or relating it to the moments of a slightly modified variable. The provided solution uses a substitution i=k−1i = k-1 to simplify the sum.
    • E[Xn]E[X^n] calculations often lead to recursive formulas or involve derivatives of the moment-generating function.
  • E[X3]E[X^3]: The solution demonstrates a specific calculation for E[X3]E[X^3], showing how it relates to E[X2]E[X^2], E[X]E[X], and constants.
    • E[X2=λ(λ+1)=λ2+λE[X^2 = \lambda(\lambda+1) = \lambda^2 + \lambda
    • E[X3=λ3+3λ2+λE[X^3 = \lambda^3 + 3\lambda^2 + \lambda

Problem 2: Probability of consecutive failures and success.

  • Geometric distribution context: This relates to the probability of needing a specific number of trials for the first success.
  • P(X is even)P(X \text{ is even}): This means the first success occurs on trial 2, 4, 6, etc.
    • P(X=2k)=(1−p)2k−1pP(X=2k) = (1-p)^{2k-1}p.
    • The sum for P(X is even)P(X \text{ is even}) is ∑k=1∞(1−p)2k−1p\sum_{k=1}^{\infty} (1-p)^{2k-1}p.
    • This sum is calculated as p(1−p)1−(1−p)2=p(1−p)1−(1−2p+p2)=p(1−p)2p−p2=p(1−p)p(2−p)=1−p2−p\frac{p(1-p)}{1-(1-p)^2} = \frac{p(1-p)}{1-(1-2p+p^2)} = \frac{p(1-p)}{2p-p^2} = \frac{p(1-p)}{p(2-p)} = \frac{1-p}{2-p}.

Problem 3: Conditional probability for P(X is even)P(X \text{ is even}).

  • Using the law of total probability: P(A)=∑P(A∣Bi)P(Bi)P(A) = \sum P(A|B_i)P(B_i).
    • Let AA be the event XX is even.
    • Let B1B_1 be the event X=1X=1 (odd). P(B1)=pP(B_1) = p.
    • Let B2B_2 be the event X>1X>1 (success not on the first trial). P(B2)=1−pP(B_2) = 1-p.
    • P(A)=P(A∣X=1)P(X=1)+P(A∣X>1)P(X>1)P(A) = P(A|X=1)P(X=1) + P(A|X>1)P(X>1)
    • P(A∣X=1)=0P(A|X=1) = 0 since 1 is odd.
    • If X>1X>1, the sequence of failures continues. The problem reduces to a new geometric distribution starting from the second trial. If the original process starts with failure, the subsequent process for evenness is complementary.
    • P(A∣X>1)=P(new process results in even X)=1−P(new process results in odd X)P(A|X>1) = P(\text{new process results in even } X) = 1 - P(\text{new process results in odd } X).
    • Let α=P(X is even)\alpha = P(X \text{ is even}). Then P(A∣X>1)=1−αP(A|X>1) = 1 - \alpha.
    • α=0×p+(1−α)×(1−p)\alpha = 0 \times p + (1-\alpha) \times (1-p)
    • α=(1−α)(1−p)=1−p−α+αp\alpha = (1-\alpha)(1-p) = 1 - p - \alpha + \alpha p
    • α(1+1−p)=1−p\alpha(1 + 1 - p) = 1 - p
    • α(2−p)=1−p\alpha(2-p) = 1-p
    • α=1−p2−p\alpha = \frac{1-p}{2-p}.

1.5 Expected values for continuous random variables

This section covers calculating expected values for continuous random variables, including the exponential, Pareto, and Gamma distributions.

  • Exponential distribution: PDF f(x)=λe−λxf(x) = \lambda e^{-\lambda x} for x≥0x \ge 0.
    • E[Xn]E[X^n]: Derived using integration by parts and relating it to the Gamma function or a recursive formula.
      • E[Xn=n!λnE[X^n = \frac{n!}{\lambda^n}. This is a key result.
  • Pareto distribution: Described by parameters λ\lambda and α\alpha. If Y=αeXY = \alpha e^X where XX is exponential with parameter λ\lambda, then YY is Pareto.
    • E[Yn]E[Y^n]: Calculated by substituting the exponential distribution's PDF and using properties of exponents.
      • E[Yn=E[(αeX)n=αnE[enX]E[Y^n = E[(\alpha e^X)^n = \alpha^n E[e^{nX}].
      • E[enX]=∫0∞enxλe−λxdx=λ∫0∞e−(λ−n)xdxE[e^{nX}] = \int_0^\infty e^{nx} \lambda e^{-\lambda x} dx = \lambda \int_0^\infty e^{-(\lambda-n)x} dx.
      • This integral converges only if λ−n>0\lambda - n > 0, i.e., λ>n\lambda > n.
      • E[enX]=λ[e−(λ−n)x−(λ−n)]0∞=λ(0−1−(λ−n))=λλ−nE[e^{nX}] = \lambda \left[ \frac{e^{-(\lambda-n)x}}{-(\lambda-n)} \right]_0^\infty = \lambda \left( 0 - \frac{1}{-(\lambda-n)} \right) = \frac{\lambda}{\lambda-n}.
      • So, E[Yn=αnλλ−nE[Y^n = \alpha^n \frac{\lambda}{\lambda-n} for λ>n\lambda > n.
  • Gamma distribution: PDF f(z)=λαzα−1e−λzΓ(α)f(z) = \frac{\lambda^\alpha z^{\alpha-1} e^{-\lambda z}}{\Gamma(\alpha)}.
    • E[Zn]E[Z^n]: Calculated using the definition of the Gamma function and integration.
      • E[Zn=∫0∞znλαzα−1e−λzΓ(α)dz=λαΓ(α)∫0∞zn+α−1e−λzdzE[Z^n = \int_0^\infty z^n \frac{\lambda^\alpha z^{\alpha-1} e^{-\lambda z}}{\Gamma(\alpha)} dz = \frac{\lambda^\alpha}{\Gamma(\alpha)} \int_0^\infty z^{n+\alpha-1} e^{-\lambda z} dz.
      • Let u=λzu = \lambda z, so z=u/λz = u/\lambda and dz=du/λdz = du/\lambda.
      • E[Zn=λαΓ(α)∫0∞(u/λ)n+α−1e−u(du/λ)=λαΓ(α)1λn+α∫0∞un+α−1e−uduE[Z^n = \frac{\lambda^\alpha}{\Gamma(\alpha)} \int_0^\infty (u/\lambda)^{n+\alpha-1} e^{-u} (du/\lambda) = \frac{\lambda^\alpha}{\Gamma(\alpha)} \frac{1}{\lambda^{n+\alpha}} \int_0^\infty u^{n+\alpha-1} e^{-u} du.
      • E[Zn=1λnΓ(α)Γ(n+α)E[Z^n = \frac{1}{\lambda^n \Gamma(\alpha)} \Gamma(n+\alpha).
      • Using Γ(n+α)=(α+n−1)(α+n−2)...(α)Γ(α)\Gamma(n+\alpha) = (\alpha+n-1)(\alpha+n-2)...(\alpha)\Gamma(\alpha), this simplifies to:
      • E[Zn=(α+n−1)(α+n−2)...(α)λn=α+n−1PnλnE[Z^n = \frac{(\alpha+n-1)(\alpha+n-2)...(\alpha)}{\lambda^n} = \frac{\alpha+n-1 P n}{\lambda^n}.

Problem: Expected values for a Pareto-like variable.

The problem defines a variable YY such that ∫f(y)dy=1\int f(y) dy = 1. The PDF is given in a form related to an exponential distribution.

  • f(y)=θαe−θy1+y/2f(y) = \frac{\theta \alpha e^{-\theta y}}{1 + y/2} (This form seems inconsistent with standard distributions, but we follow the derivation).
  • E[g1(Y)]E[g_1(Y)] where g1(y)=y+y2/2g_1(y) = y + y^2/2.
    • The derivation transforms this into an expected value problem for an exponential random variable XX with parameter θ\theta.
    • E[Y+Y2/2=E[X+X2/2]E[Y + Y^2/2 = E[X + X^2/2] where X∼Exp(θ)X \sim \text{Exp}(\theta).
    • E[X=1/θE[X = 1/\theta.
    • E[X2=2!/θ2=2/θ2E[X^2 = 2!/\theta^2 = 2/\theta^2.
    • E[X+X2/2=E[X+12E[X2=1θ+12(2θ2)=1θ+1θ2=θ+1θ2E[X + X^2/2 = E[X + \frac{1}{2}E[X^2 = \frac{1}{\theta} + \frac{1}{2} \left(\frac{2}{\theta^2}\right) = \frac{1}{\theta} + \frac{1}{\theta^2} = \frac{\theta+1}{\theta^2}.
  • E[Y]E[Y]: The derivation for E[Y]E[Y] uses g2(y)=y2+y3/2g_2(y) = y^2 + y^3/2 and implies X∼Exp(θ)X \sim \text{Exp}(\theta) again.
    • E[Y=E[X2+X3/2]E[Y = E[X^2 + X^3/2].
    • E[X2=2/θ2E[X^2 = 2/\theta^2.
    • E[X3=3!/θ3=6/θ3E[X^3 = 3!/\theta^3 = 6/\theta^3.
    • E[X2+X3/2=E[X2+12E[X3=2θ2+12(6θ3)=2θ2+3θ3=2θ+3θ3E[X^2 + X^3/2 = E[X^2 + \frac{1}{2}E[X^3 = \frac{2}{\theta^2} + \frac{1}{2} \left(\frac{6}{\theta^3}\right) = \frac{2}{\theta^2} + \frac{3}{\theta^3} = \frac{2\theta+3}{\theta^3}.

🔑 Important: Understanding the relationship between different probability distributions allows for the calculation of expected values by transforming them into known forms, such as the exponential distribution.

🔑 Belangrijk: Mastering expected value calculations for various distributions, especially using properties of known distributions like exponential and Gamma, is critical for solving many probability problems.

2. Derivations and proofs in probability theory (part 2)

2.1 Transformation of random variables

  • Uniform to Cauchy: A random variable θ\theta uniformly distributed on (−π2,π2)(-\frac{\pi}{2}, \frac{\pi}{2}) transforms into a standard Cauchy random variable X=tan⁡(θ)X = \tan(\theta).
    • The probability density function (PDF) of θ\theta is fθ(t)=1πf_\theta(t) = \frac{1}{\pi} for −π2<t<π2-\frac{\pi}{2} < t < \frac{\pi}{2}.
    • The cumulative distribution function (CDF) of θ\theta is Fθ(x)=P[θ<x=12+xπF_\theta(x) = P[\theta < x = \frac{1}{2} + \frac{x}{\pi} for −π2<x<π2-\frac{\pi}{2} < x < \frac{\pi}{2}.
    • Using the transformation X=tan⁡(θ)X = \tan(\theta), the CDF of XX is FX(x)=P[X<x=P[tan⁡(θ)<x=P[θ<arctan⁡(x)]=12+arctan⁡(x)πF_X(x) = P[X < x = P[\tan(\theta) < x = P[\theta < \arctan(x)] = \frac{1}{2} + \frac{\arctan(x)}{\pi}.
    • The PDF of XX is the derivative of its CDF: fX(x)=ddxFX(x)=1π(1+x2)f_X(x) = \frac{d}{dx} F_X(x) = \frac{1}{\pi(1+x^2)} 21 22.

2.2 Properties of expectation and variance for standard normal variables

  • Integral property: For a standard normal random variable ZZ and a differentiable function g(z)g(z), the expectation of the derivative of g(z)g(z) is related to the expectation of z⋅g(z)z \cdot g(z): E[g′(Z)]=E[Zg(Z)]E[g'(Z)] = E[Zg(Z)]. This is derived using integration by parts.
  • Moment relationship: This property implies relationships between moments of ZZ. For g(Z)=Zng(Z) = Z^n, we get E[nZn−1]=E[Zn+1]E[nZ^{n-1}] = E[Z^{n+1}].
    • This allows calculating higher moments from lower ones. For example, E[Z4=3E[Z2]E[Z^4 = 3E[Z^2] and E[Z3=3E[Z]E[Z^3 = 3E[Z]. Since ZZ is standard normal, E[Z2=Var(Z)+E[Z]2=1+02=1E[Z^2 = \text{Var}(Z) + E[Z]^2 = 1 + 0^2 = 1 24.

2.3 Properties of the Beta function

  • Definition: The Beta function is defined as B(a,b)=∫01va−1(1−v)b−1dvB(a, b) = \int_0^1 v^{a-1}(1-v)^{b-1} dv.
  • Relationship with Gamma function: A key identity is τ(a)τ(b)=B(a,b)τ(a+b)\tau(a)\tau(b) = B(a,b)\tau(a+b). This can be proven by expressing τ(a)\tau(a) and τ(b)\tau(b) as integrals, performing a change of variables, and using the Beta function integral.
    • The transformation (x,y)→(u,v)(x, y) \to (u, v) where u=x+yu = x+y and v=xx+yv = \frac{x}{x+y} is used, with a Jacobian of 1u\frac{1}{u}. The integral then separates into two parts, one for uu and one for vv, yielding the relationship 26.

2.4 The Gamma function and its values

  • Gaussian integral: The integral I=∫−∞∞e−x2/2dxI = \int_{-\infty}^{\infty} e^{-x^2/2} dx is fundamental.
    • Squaring the integral and changing to polar coordinates simplifies it: I2=∫−∞∞∫−∞∞e−(x2+y2)/2dxdy=∫02π∫0∞e−r2/2rdrdθ=2πI^2 = \int_{-\infty}^{\infty} \int_{-\infty}^{\infty} e^{-(x^2+y^2)/2} dx dy = \int_0^{2\pi} \int_0^{\infty} e^{-r^2/2} r dr d\theta = 2\pi.
    • Thus, I=2πI = \sqrt{2\pi}. This implies that for a standard normal distribution with PDF 12πe−z2/2\frac{1}{\sqrt{2\pi}}e^{-z^2/2}, the integral of the PDF is 1 28.
  • Gamma function of 1/2: The value of τ(12)\tau(\frac{1}{2}) is derived using the Gaussian integral.
    • τ(12)=∫0∞e−xx1/2−1dx=∫0∞e−xx−1/2dx\tau(\frac{1}{2}) = \int_0^{\infty} e^{-x} x^{1/2-1} dx = \int_0^{\infty} e^{-x} x^{-1/2} dx.
    • By substituting x=y2/2x = y^2/2, dx=ydydx = y dy, the integral becomes ∫0∞e−y2/21yydy=∫0∞e−y2/2dy\int_0^{\infty} e^{-y^2/2} \frac{1}{y} y dy = \int_0^{\infty} e^{-y^2/2} dy.
    • Since e−y2/2e^{-y^2/2} is an even function, ∫0∞e−y2/2dy=12∫−∞∞e−y2/2dy=122π=π2\int_0^{\infty} e^{-y^2/2} dy = \frac{1}{2} \int_{-\infty}^{\infty} e^{-y^2/2} dy = \frac{1}{2}\sqrt{2\pi} = \sqrt{\frac{\pi}{2}}.
    • Therefore, τ(12)=π\tau(\frac{1}{2}) = \sqrt{\pi} 29.

2.5 Derangements (no-match problems)

  • Derangement probability: The probability of a derangement (no items in their original position), denoted PnP_n, can be calculated recursively.
    • The recurrence relation is Pn=n−1n(Pn−1+Pn−2)P_n = \frac{n-1}{n} (P_{n-1} + P_{n-2}), with boundary conditions P0=1P_0 = 1 and P1=0P_1 = 0.
    • This can be solved to yield Pn=∑i=0n(−1)ii!P_n = \sum_{i=0}^{n} \frac{(-1)^i}{i!}.
  • Number of matches: For a random variable XX representing the number of matches in a derangement problem, the expected value and variance can be found.
    • Let XiX_i be an indicator variable for the ii-th person matching their item. E[Xi=1/nE[X_i = 1/n.
    • The expected number of matches is E[X=∑i=1nE[Xi=n⋅1n=1E[X = \sum_{i=1}^n E[X_i = n \cdot \frac{1}{n} = 1.
    • The expected value of X2X^2 is E[X2=E[∑Xi2+∑i≠jXiXj=n⋅1n+n(n−1)⋅1n(n−1)=1+1=2E[X^2 = E[\sum X_i^2 + \sum_{i \neq j} X_i X_j = n \cdot \frac{1}{n} + n(n-1) \cdot \frac{1}{n(n-1)} = 1 + 1 = 2.
    • The variance is Var(X)=E[X2−(E[X])2=2−12=1\text{Var}(X) = E[X^2 - (E[X])^2 = 2 - 1^2 = 1 31 32.

2.6 Order statistics

  • Probability Mass Function (PMF) of the maximum: Consider selecting nn balls from NN numbered balls. Let XX be the largest number selected.
    • If X=iX=i, then (n−1)(n-1) balls must be selected from the first (i−1)(i-1) numbered balls.
    • The number of ways to choose nn balls from NN is (Nn)\binom{N}{n}.
    • The number of ways to select nn balls such that the maximum is ii is (i−1n−1)\binom{i-1}{n-1}.
    • The PMF is P(X=i)=(i−1n−1)(Nn)P(X=i) = \frac{\binom{i-1}{n-1}}{\binom{N}{n}} for n≤i≤Nn \le i \le N 34.
  • Expected value of the maximum: The expected value of the largest number selected is E[X=n(N+1)n+1E[X = \frac{n(N+1)}{n+1}. This is derived using the identity i(i−1n−1)=n(in)i\binom{i-1}{n-1} = n\binom{i}{n} and summing over the possible values of ii 35.

2.7 Probability of consecutive events

  • Consecutive successes before failures: Let pp be the probability of success and q=1−pq=1-p be the probability of failure. The probability of achieving nn consecutive successes before mm consecutive failures can be derived using conditional probabilities.
    • Let P(E)P(E) be the desired probability. Using states for success (HH) and failure (HCHC), and considering the next outcome:
      • P(E)=pP(E∣H)+qP(E∣HC)P(E) = p P(E|H) + q P(E|HC).
      • P(E∣H)=pn−1+(1−pn−1)P(E∣HC)P(E|H) = p^{n-1} + (1-p^{n-1}) P(E|HC).
      • P(E∣HC)=qm−1+(1−qm−1)P(E∣H)P(E|HC) = q^{m-1} + (1-q^{m-1}) P(E|H).
    • Solving these equations yields P(E)=pn(1−qm)1−(1−pn)(1−qm)P(E) = \frac{p^n(1-q^m)}{1-(1-p^n)(1-q^m)} 37.

2.8 Specific probability calculations

  • Card probabilities:
    • The probability of drawing an Ace on the 21st card given it's a Spade is 14\frac{1}{4}. The probability of the 21st card being a Spade is 332\frac{3}{32}. Thus, P(Ace on 21st∩Spade on 21st)=P(Spade on 21st∣Ace on 21st)×P(Ace on 21st)=14×332=3128P(\text{Ace on 21st} \cap \text{Spade on 21st}) = P(\text{Spade on 21st}|\text{Ace on 21st}) \times P(\text{Ace on 21st}) = \frac{1}{4} \times \frac{3}{32} = \frac{3}{128}.
    • The probability of drawing two Hearts in the 21st draw, considering whether two Hearts were drawn in the first 20 cards (BB) or not (BCB^C), is calculated using conditional probability: P(H2)=P(H2∣B)P(B)+P(H2∣BC)P(BC)P(H_2) = P(H_2|B)P(B) + P(H_2|B^C)P(B^C). If BB occurs, P(H2∣B)=0P(H_2|B)=0. If BCB^C occurs, P(H2∣BC)=(22)(322)P(H_2|B^C) = \frac{\binom{2}{2}}{\binom{32}{2}} for the remaining 32 cards 39.

🔑 Important: Many probability problems involve recursive relationships or conditional probabilities that can be solved by setting up and solving a system of equations, or by transforming variables to simplify distributions.

3. Understanding probability distributions and their properties

3.1 Introduction to distributions

This section covers essential probability distributions and their properties. Understanding these distributions is key to modeling various real-world phenomena.

We will explore their mathematical representations and key characteristics.

3.2 Binomial and Negative Binomial distributions

The Binomial distribution models the number of successes in a fixed number of independent trials. The Negative Binomial distribution, often denoted as NB(p, r), counts the number of trials needed to achieve a fixed number of successes.

3.2.1 Properties of the Negative Binomial distribution

The Negative Binomial distribution has specific formulas for its probability mass function (PMF) and expected values.

  • Probability Mass Function (PMF): For a random variable X∼NB(p,r)X \sim NB(p, r), where XX is the number of trials to get rr successes with probability pp of success on each trial, the PMF is: P(X=k)=(k−1r−1)pr(1−p)k−rP(X=k) = \binom{k-1}{r-1} p^r (1-p)^{k-r} for k=r,r+1,r+2,…k = r, r+1, r+2, \ldots.

  • Expected Value: The expected number of trials to achieve rr successes is: E[X=rpE[X = \frac{r}{p}

  • Variance: The variance of the number of trials is: Var(X)=r(1−p)p2Var(X) = \frac{r(1-p)}{p^2}

3.2.2 Expected Value for Higher Moments

Calculating higher moments of the Negative Binomial distribution, such as E[Xn]E[X^n], involves more complex summations.

  • The expected value E[Xn]E[X^n] can be expressed in terms of other Negative Binomial distributions.
  • For Y∼NB(p,r+1)Y \sim NB(p, r+1), the relationship E[Xn=rpE[(Y−1)n−1]E[X^n = \frac{r}{p} E[(Y-1)^{n-1}] can be used.
  • This recurrence relation helps in calculating expected values for different powers of XX.

Key Relationship: E[Xn=rpE[(Y−1)n−1]E[X_n = \frac{r}{p} E[(Y-1)^{n-1}] where Y∼NB(p,r+1)Y \sim NB(p, r+1).

3.3 Problems involving sequential events

Some probability problems involve sequences of events, such as achieving a certain number of successes before a certain number of failures.

3.3.1 Probability of consecutive successes

Consider the event EE where there are nn consecutive successes before mm consecutive failures. The probability P(E)P(E) can be derived using conditional probabilities.

  • Let HH be the event of the first trial being a success and HcH^c be the event of the first trial being a failure.
  • The desired probability P(E)P(E) can be expressed using the law of total probability: P(E)=pP(E∣H)+qP(E∣Hc)P(E) = p P(E|H) + q P(E|H^c).
  • Further conditioning on subsequent events leads to formulas involving pnp^n and qmq^m.

Formula for Sequential Events: P(E)=pn(1−qm)1−(1−p)(1−q)P(E) = \frac{p^n(1-q^m)}{1 - (1-p)(1-q)} represents the probability of nn successes before mm failures 37.

3.3.2 Card drawing probabilities

Problems involving drawing cards from a deck often require understanding combinations and conditional probabilities.

  • For example, the probability of drawing an Ace in the 21st draw and a Spade in the 21st draw can be calculated by multiplying conditional probabilities.
  • P(Ace in 21st∩Spade in 21st)=P(Spade in 21st∣Ace in 21st)×P(Ace in 21st)P(\text{Ace in 21st} \cap \text{Spade in 21st}) = P(\text{Spade in 21st} | \text{Ace in 21st}) \times P(\text{Ace in 21st})

3.3.3 Probabilities in sequences of draws

Calculating probabilities for specific outcomes in a sequence of draws, like getting two hearts in a specific draw number, involves considering prior events.

  • If H2H_2 is the event of two hearts in the 21st draw and BB is the event of two hearts in the first 20 draws, then P(H2)=P(H2∣B)P(B)+P(H2∣Bc)P(Bc)P(H_2) = P(H_2|B)P(B) + P(H_2|B^c)P(B^c).
  • This highlights the importance of accounting for past events in sequential probability calculations.

3.4 Relating different probability calculations

Some probability calculations can be unified or expressed in terms of simpler forms.

3.4.1 Connections between exceedance and other probabilities

Probabilities related to exceeding a certain number of trials (X>nX > n) or falling below a certain number of successes (Y<rY < r) can be related to other distributions.

  • P(X>n)P(X > n) can be expressed as a sum over probabilities of specific outcomes.
  • P(Y<r)P(Y < r) also involves summation of PMF values.
  • These probabilities are often connected to the Negative Binomial distribution.

3.4.2 Simplifying complex probability expressions

Complex probability expressions, especially those derived from sequential events or specific distributions, can sometimes be simplified or shown to be equivalent.

  • For instance, certain probabilities involving rr successes and mm failures can be expressed as sums within a specific range of a distribution's variable.
  • Equivalencies can be shown by demonstrating that different formulations lead to the same mathematical expression.

Equivalence: P(Y≥r)=P(r≤X≤r+m−1)P(Y \geq r) = P(r \le X \le r+m-1) when XX follows a related distribution 42.

3.5 Binomial Theorem and its application

The Binomial Theorem provides a powerful tool for expanding expressions of the form (1+x)r(1+x)^r. This has applications in deriving probabilities for certain distributions.

  • The theorem states (1+x)r=∑i=0∞(ri)xi(1+x)^r = \sum_{i=0}^{\infty} \binom{r}{i} x^i for ∣x∣<1|x| < 1 and rr being any real number.
  • Specific identities related to binomial coefficients, such as (n−1k−1)=(n−1n−k)\binom{n-1}{k-1} = \binom{n-1}{n-k}, are frequently used.
  • By changing variables and applying these identities, complex sums can be simplified.

Key Identity: (n−1k−1)=n−1k−1(n−2k−2)\binom{n-1}{k-1} = \frac{n-1}{k-1} \binom{n-2}{k-2} 44.


🔑 Important: Understanding the core properties (PMF, expected value, variance) of distributions like the Negative Binomial is crucial for solving problems involving sequences of trials and failures 45.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also