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], is calculated by summing the product of each possible value and its probability.
- Random variable values: The possible outcomes for the random variable X.
- 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,B) must be placed at the ends, the total arrangements are 6!. If A and B are at the ends, the remaining 4 items can be arranged in 4! ways. The arrangements AB and BA at the ends are distinct.
Example:
📝 Example: Calculate the probability of having no A or B together (X=0) when arranging 6 items including A and B.
- Total arrangements: 6!
- Cases with no A or B together: Consider A and B as a block. The number of arrangements for AB or BA is 2. For each, the remaining 4 items can be arranged in 4! ways.
- Total arrangements with A and B together: 2×4!.
- Probability 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] is calculated as 2×5!/6!=1/3. This implies that A and B are not adjacent. The logic for X=0 involves treating A and B 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 (X) | Probability (P[X=k]) | k×P[X=k] |
|---|---|---|
| 0 | 1/3 | 0 |
| 1 | 4/15 | 4/15 |
| 2 | 1/5 | 2/5 |
| 3 | 2/15 | 6/15 |
| 4 | 1/15 | 4/15 |
| Sum | ∑P[X=k=1 | E[X=1×4/15+2×1/5+3×2/15+4×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. 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/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(B)P(A∩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 3P2 (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×4. The total number of ways to pick 3 balls in sequence is 16×15×14.
- P(3 different colors in a row)=(3P2×5×7×4)/(16×15×14)=(6×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=12 units to arrange. The number of arrangements for these 12 units is 12!. The number of ways to arrange the 5 red balls within their unit is 5!. The total number of arrangements for all 16 balls is 16!.
- P(All red balls together)=(5!×12!)/16!=1/364.
Example: Genetic inheritance Consider black and brown genes (B for black, b for brown). A black rat has a brown sibling.
- Possible gene combinations for a rat: BB (pure black), Bb (black), bB (black), bb (brown).
- Given: The black rat has a brown sibling. This implies both parents must carry at least one b gene.
- Parental genotypes must be Bb×Bb.
- Possible offspring genotypes: BB,Bb,bB,bb each with probability 1/4.
- P(B2∣B): Probability the rat is pure black (BB) given it is black.
- P(B2)=P(BB)=1/4.
- P(B)=P(BB or Bb or bB)=3/4.
- P(B2∣B)=P(B2∩B)/P(B)=P(B2)/P(B)=(1/4)/(3/4)=1/3.
Now, consider 3 offspring from a brown mate (bb) and a black rat. All 3 offspring are black.
We want P(BB2∣F3), the probability the black rat is pure black given 3 black offspring.
- Case 1: Black rat is BB (BB2): Probability P(BB2)=1/3. Offspring with brown mate (bb) will always be black (Bb). P(F3∣BB2)=1.
- Case 2: Black rat is Bb (BB1): Probability P(BB1)=2/3. Offspring with brown mate (bb) have probabilities P(Bb)=1/2 and P(bb)=1/2. So, P(F3∣BB1)=(1/2)3=1/8.
- Using Bayes' Theorem for P(BB2∣F3):
- 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/12.
- P(BB2∣F3)=[P(F3∣BB2)P(BB2)]/P(F3)=[1×(1/3)]/(5/12)=(1/3)×(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 k-th trial in a sequence of independent Bernoulli trials.
- Probability of success (p): The probability of success on a single trial.
- Probability of failure (1−p): The probability of failure on a single trial.
- P[X=k]: The probability that the first success occurs on the k-th trial is (1−p)k−1p.
Problem: Consider a scenario where "no 5 or 7 appears" on the first n−1 trials, and a "5 appears on the n-th trial."
- Probability of rolling a 5 with two dice: P5=3/36=1/12.
- Probability of rolling a 7 with two dice: P7=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/4.
- Probability of the described event En: (3/4)n−1×(1/12). This is the probability of n−1 failures (not rolling 5 or 7) followed by one success (rolling a 5).
- Desired probability (sum over all n): 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)
- This is a geometric series with first term a=1/12 (when n=1) and common ratio r=3/4.
- Sum =a/(1−r)=(1/12)/(1−3/4)=(1/12)/(1/4)=4/12=1/3.
The provided solution uses P5=4/36 and P7=6/36, and 1−P5−P7=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).
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.
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)=k!e−λλk for k=0,1,2,….
- Expected value of a function g(X): E[g(X)]=∑kg(k)P(X=k) for discrete variables.
Problem 1: Expected values for a Poisson variable X.
- E[Xn]: 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)k!e−λλk
- For E[Xn], 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−1 to simplify the sum.
- E[Xn] calculations often lead to recursive formulas or involve derivatives of the moment-generating function.
- E[X3]: The solution demonstrates a specific calculation for E[X3], showing how it relates to E[X2], E[X], and constants.
- E[X2=λ(λ+1)=λ2+λ
- E[X3=λ3+3λ2+λ
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): This means the first success occurs on trial 2, 4, 6, etc.
- P(X=2k)=(1−p)2k−1p.
- The sum for P(X is even) is ∑k=1∞(1−p)2k−1p.
- This sum is calculated as 1−(1−p)2p(1−p)=1−(1−2p+p2)p(1−p)=2p−p2p(1−p)=p(2−p)p(1−p)=2−p1−p.
Problem 3: Conditional probability for P(X is even).
- Using the law of total probability: P(A)=∑P(A∣Bi)P(Bi).
- Let A be the event X is even.
- Let B1 be the event X=1 (odd). P(B1)=p.
- Let B2 be the event X>1 (success not on the first trial). P(B2)=1−p.
- P(A)=P(A∣X=1)P(X=1)+P(A∣X>1)P(X>1)
- P(A∣X=1)=0 since 1 is odd.
- If X>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).
- Let α=P(X is even). Then P(A∣X>1)=1−α.
- α=0×p+(1−α)×(1−p)
- α=(1−α)(1−p)=1−p−α+αp
- α(1+1−p)=1−p
- α(2−p)=1−p
- α=2−p1−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−λx for x≥0.
- E[Xn]: Derived using integration by parts and relating it to the Gamma function or a recursive formula.
- E[Xn=λnn!. This is a key result.
- E[Xn]: Derived using integration by parts and relating it to the Gamma function or a recursive formula.
- Pareto distribution: Described by parameters λ and α. If Y=αeX where X is exponential with parameter λ, then Y is Pareto.
- E[Yn]: Calculated by substituting the exponential distribution's PDF and using properties of exponents.
- E[Yn=E[(αeX)n=αnE[enX].
- E[enX]=∫0∞enxλe−λxdx=λ∫0∞e−(λ−n)xdx.
- This integral converges only if λ−n>0, i.e., λ>n.
- E[enX]=λ[−(λ−n)e−(λ−n)x]0∞=λ(0−−(λ−n)1)=λ−nλ.
- So, E[Yn=αnλ−nλ for λ>n.
- E[Yn]: Calculated by substituting the exponential distribution's PDF and using properties of exponents.
- Gamma distribution: PDF f(z)=Γ(α)λαzα−1e−λz.
- E[Zn]: Calculated using the definition of the Gamma function and integration.
- E[Zn=∫0∞znΓ(α)λαzα−1e−λzdz=Γ(α)λα∫0∞zn+α−1e−λzdz.
- Let u=λz, so z=u/λ and dz=du/λ.
- E[Zn=Γ(α)λα∫0∞(u/λ)n+α−1e−u(du/λ)=Γ(α)λαλn+α1∫0∞un+α−1e−udu.
- E[Zn=λnΓ(α)1Γ(n+α).
- Using Γ(n+α)=(α+n−1)(α+n−2)...(α)Γ(α), this simplifies to:
- E[Zn=λn(α+n−1)(α+n−2)...(α)=λnα+n−1Pn.
- E[Zn]: Calculated using the definition of the Gamma function and integration.
Problem: Expected values for a Pareto-like variable.
The problem defines a variable Y such that ∫f(y)dy=1. The PDF is given in a form related to an exponential distribution.
- f(y)=1+y/2θαe−θy (This form seems inconsistent with standard distributions, but we follow the derivation).
- E[g1(Y)] where g1(y)=y+y2/2.
- The derivation transforms this into an expected value problem for an exponential random variable X with parameter θ.
- E[Y+Y2/2=E[X+X2/2] where X∼Exp(θ).
- E[X=1/θ.
- E[X2=2!/θ2=2/θ2.
- E[X+X2/2=E[X+21E[X2=θ1+21(θ22)=θ1+θ21=θ2θ+1.
- E[Y]: The derivation for E[Y] uses g2(y)=y2+y3/2 and implies X∼Exp(θ) again.
- E[Y=E[X2+X3/2].
- E[X2=2/θ2.
- E[X3=3!/θ3=6/θ3.
- E[X2+X3/2=E[X2+21E[X3=θ22+21(θ36)=θ22+θ33=θ32θ+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 θ uniformly distributed on (−2π,2π) transforms into a standard Cauchy random variable X=tan(θ).
- The probability density function (PDF) of θ is fθ(t)=π1 for −2π<t<2π.
- The cumulative distribution function (CDF) of θ is Fθ(x)=P[θ<x=21+πx for −2π<x<2π.
- Using the transformation X=tan(θ), the CDF of X is FX(x)=P[X<x=P[tan(θ)<x=P[θ<arctan(x)]=21+πarctan(x).
- The PDF of X is the derivative of its CDF: fX(x)=dxdFX(x)=π(1+x2)1 21 22.
2.2 Properties of expectation and variance for standard normal variables
- Integral property: For a standard normal random variable Z and a differentiable function g(z), the expectation of the derivative of g(z) is related to the expectation of z⋅g(z): E[g′(Z)]=E[Zg(Z)]. This is derived using integration by parts.
- Moment relationship: This property implies relationships between moments of Z. For g(Z)=Zn, we get E[nZn−1]=E[Zn+1].
- This allows calculating higher moments from lower ones. For example, E[Z4=3E[Z2] and E[Z3=3E[Z]. Since Z is standard normal, E[Z2=Var(Z)+E[Z]2=1+02=1 24.
2.3 Properties of the Beta function
- Definition: The Beta function is defined as B(a,b)=∫01va−1(1−v)b−1dv.
- Relationship with Gamma function: A key identity is τ(a)τ(b)=B(a,b)τ(a+b). This can be proven by expressing τ(a) and τ(b) as integrals, performing a change of variables, and using the Beta function integral.
- The transformation (x,y)→(u,v) where u=x+y and v=x+yx is used, with a Jacobian of u1. The integral then separates into two parts, one for u and one for v, yielding the relationship 26.
2.4 The Gamma function and its values
- Gaussian integral: The integral I=∫−∞∞e−x2/2dx is fundamental.
- Squaring the integral and changing to polar coordinates simplifies it: I2=∫−∞∞∫−∞∞e−(x2+y2)/2dxdy=∫02π∫0∞e−r2/2rdrdθ=2π.
- Thus, I=2π. This implies that for a standard normal distribution with PDF 2π1e−z2/2, the integral of the PDF is 1 28.
- Gamma function of 1/2: The value of τ(21) is derived using the Gaussian integral.
- τ(21)=∫0∞e−xx1/2−1dx=∫0∞e−xx−1/2dx.
- By substituting x=y2/2, dx=ydy, the integral becomes ∫0∞e−y2/2y1ydy=∫0∞e−y2/2dy.
- Since e−y2/2 is an even function, ∫0∞e−y2/2dy=21∫−∞∞e−y2/2dy=212π=2π.
- Therefore, τ(21)=π 29.
2.5 Derangements (no-match problems)
- Derangement probability: The probability of a derangement (no items in their original position), denoted Pn, can be calculated recursively.
- The recurrence relation is Pn=nn−1(Pn−1+Pn−2), with boundary conditions P0=1 and P1=0.
- This can be solved to yield Pn=∑i=0ni!(−1)i.
- Number of matches: For a random variable X representing the number of matches in a derangement problem, the expected value and variance can be found.
2.6 Order statistics
- Probability Mass Function (PMF) of the maximum: Consider selecting n balls from N numbered balls. Let X be the largest number selected.
- If X=i, then (n−1) balls must be selected from the first (i−1) numbered balls.
- The number of ways to choose n balls from N is (nN).
- The number of ways to select n balls such that the maximum is i is (n−1i−1).
- The PMF is P(X=i)=(nN)(n−1i−1) for n≤i≤N 34.
- Expected value of the maximum: The expected value of the largest number selected is E[X=n+1n(N+1). This is derived using the identity i(n−1i−1)=n(ni) and summing over the possible values of i 35.
2.7 Probability of consecutive events
- Consecutive successes before failures: Let p be the probability of success and q=1−p be the probability of failure. The probability of achieving n consecutive successes before m consecutive failures can be derived using conditional probabilities.
- Let P(E) be the desired probability. Using states for success (H) and failure (HC), and considering the next outcome:
- P(E)=pP(E∣H)+qP(E∣HC).
- P(E∣H)=pn−1+(1−pn−1)P(E∣HC).
- P(E∣HC)=qm−1+(1−qm−1)P(E∣H).
- Solving these equations yields P(E)=1−(1−pn)(1−qm)pn(1−qm) 37.
- Let P(E) be the desired probability. Using states for success (H) and failure (HC), and considering the next outcome:
2.8 Specific probability calculations
- Card probabilities:
- The probability of drawing an Ace on the 21st card given it's a Spade is 41. The probability of the 21st card being a Spade is 323. Thus, P(Ace on 21st∩Spade on 21st)=P(Spade on 21st∣Ace on 21st)×P(Ace on 21st)=41×323=1283.
- The probability of drawing two Hearts in the 21st draw, considering whether two Hearts were drawn in the first 20 cards (B) or not (BC), is calculated using conditional probability: P(H2)=P(H2∣B)P(B)+P(H2∣BC)P(BC). If B occurs, P(H2∣B)=0. If BC occurs, P(H2∣BC)=(232)(22) 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), where X is the number of trials to get r successes with probability p of success on each trial, the PMF is: P(X=k)=(r−1k−1)pr(1−p)k−r for k=r,r+1,r+2,….
-
Expected Value: The expected number of trials to achieve r successes is: E[X=pr
-
Variance: The variance of the number of trials is: Var(X)=p2r(1−p)
3.2.2 Expected Value for Higher Moments
Calculating higher moments of the Negative Binomial distribution, such as E[Xn], involves more complex summations.
- The expected value E[Xn] can be expressed in terms of other Negative Binomial distributions.
- For Y∼NB(p,r+1), the relationship E[Xn=prE[(Y−1)n−1] can be used.
- This recurrence relation helps in calculating expected values for different powers of X.
Key Relationship: E[Xn=prE[(Y−1)n−1] where Y∼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 E where there are n consecutive successes before m consecutive failures. The probability P(E) can be derived using conditional probabilities.
- Let H be the event of the first trial being a success and Hc be the event of the first trial being a failure.
- The desired probability P(E) can be expressed using the law of total probability: P(E)=pP(E∣H)+qP(E∣Hc).
- Further conditioning on subsequent events leads to formulas involving pn and qm.
Formula for Sequential Events: P(E)=1−(1−p)(1−q)pn(1−qm) represents the probability of n successes before m 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)
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 H2 is the event of two hearts in the 21st draw and B is the event of two hearts in the first 20 draws, then P(H2)=P(H2∣B)P(B)+P(H2∣Bc)P(Bc).
- 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>n) or falling below a certain number of successes (Y<r) can be related to other distributions.
- P(X>n) can be expressed as a sum over probabilities of specific outcomes.
- 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 r successes and m 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) when X 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. This has applications in deriving probabilities for certain distributions.
- The theorem states (1+x)r=∑i=0∞(ir)xi for ∣x∣<1 and r being any real number.
- Specific identities related to binomial coefficients, such as (k−1n−1)=(n−kn−1), are frequently used.
- By changing variables and applying these identities, complex sums can be simplified.
Key Identity: (k−1n−1)=k−1n−1(k−2n−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.