∑GateAndNet
PlannerSign Up
ADVANCEDFrequently Tested 4 min read 6 views

Math 2027 Rank-Decider: Indicator Expectation, Order Statistics, Memoryless Distributions & Projections

Indicator random variables without independence, Hat-Check fixed points, Coupon Collector, Uniform(0,1) k-th order statistics, Exponential memorylessness, and Orthogonal Projection trace-rank identity.

1. Linearity of Expectation Holds EVEN FOR DEPENDENT Variables!

For any random variables X1,…,XnX_1, \dots, X_n (even strongly dependent!), E[∑Xi]=∑E[Xi]\mathbb{E}[\sum X_i] = \sum \mathbb{E}[X_i]:

  1. Expected Fixed Points in a Random Permutation of nn Items (Hat-Check Problem): Let Ii=I[π(i)=i]I_i = \mathbb{I}[\pi(i) = i]. Since P(π(i)=i)=1nP(\pi(i) = i) = \frac{1}{n}, E[Fixed Points]=∑i=1n1n=1\mathbb{E}[\text{Fixed Points}] = \sum_{i=1}^n \frac{1}{n} = \mathbf{1} for every n≥1n \ge 1!
  2. Expected Inversions in a Uniform Random Permutation of nn Distinct Keys: Each of the (n2)\binom{n}{2} pairs (i<j)(i < j) is inverted with probability 1/2  ⟹  E[I]=12(n2)=n(n−1)41/2 \implies \mathbb{E}[I] = \frac{1}{2}\binom{n}{2} = \mathbf{\frac{n(n-1)}{4}}.
  3. Coupon Collector Problem (nn Distinct Coupons): Waiting times between new coupons are independent Geometric(n−kn\frac{n-k}{n}), giving E[T]=n∑i=1n1i=nHn≈nln⁡n\mathbb{E}[T] = n \sum_{i=1}^n \frac{1}{i} = n H_n \approx n \ln n.

2. Exponential & Poisson Memoryless Inter-Arrival Duality

If events arrive according to a Poisson Process with rate λ\lambda arrivals/hour:

  • Number of arrivals in duration tt: N(t)∼Poisson⁡(λt)N(t) \sim \operatorname{Poisson}(\lambda t) with E[N(t)]=Var⁡(N(t))=λt\mathbb{E}[N(t)] = \operatorname{Var}(N(t)) = \lambda t and P(N(t)=k)=e−λt(λt)kk!P(N(t)=k) = \frac{e^{-\lambda t}(\lambda t)^k}{k!}.
  • Inter-arrival waiting time T∼Exp⁡(λ)T \sim \operatorname{Exp}(\lambda) with E[T]=1λ\mathbb{E}[T] = \frac{1}{\lambda} and Memorylessness: P(T>s+t∣T>s)=P(T>t)=e−λtP(T > s + t \mid T > s) = P(T > t) = e^{-\lambda t}
  • Minimum of independent Exponentials T1∼Exp⁡(λ1),  T2∼Exp⁡(λ2)T_1 \sim \operatorname{Exp}(\lambda_1),\; T_2 \sim \operatorname{Exp}(\lambda_2): min⁡(T1,T2)∼Exp⁡(λ1+λ2)\min(T_1, T_2) \sim \operatorname{Exp}(\lambda_1 + \lambda_2), and P(T1<T2)=λ1λ1+λ2P(T_1 < T_2) = \frac{\lambda_1}{\lambda_1 + \lambda_2}!
Key Formulas Summary
k-th Order Statistic of n i.i.d. Uniform(0, 1) Random Variables
X(1)≤X(2)≤⋯≤X(n)  ⟹  E[X(k)]=kn+1,E[min⁡]=1n+1,E[max⁡]=nn+1X_{(1)} \le X_{(2)} \le \dots \le X_{(n)} \implies \mathbb{E}[X_{(k)}] = \frac{k}{n + 1}, \qquad \mathbb{E}[\min] = \frac{1}{n+1}, \quad \mathbb{E}[\max] = \frac{n}{n+1}
Note: n uniform points partition [0, 1] into (n + 1) symmetric intervals of expected length 1/(n + 1) each!
Orthogonal Projection Matrix P onto Column Space of Full-Column-Rank A (m x k)
P=A(ATA)−1AT  ⟹  P2=P,  PT=P,  λ(P)∈{0,1},  rank⁡(P)=tr⁡(P)=kP = A(A^T A)^{-1} A^T \implies P^2 = P,\; P^T = P,\; \lambda(P) \in \{0, 1\},\; \operatorname{rank}(P) = \operatorname{tr}(P) = k
Note: Since every idempotent matrix satisfies P^2 = P, its eigenvalues are ONLY 0 and 1, so trace equals rank!
#Engineering Mathematics#Probability#Linearity of Expectation#Order Statistics#Projection Matrix#GATE 2027

Practice Questions on This Chapter (2)

Q1GATE CS / DA 2027 ExpectedNATMEDIUM
+2M • 0 Neg

1010 letters are placed uniformly at random into 1010 addressed envelopes (11 letter per envelope). What is the expected number of letters that land in their correct envelope?

Q2GATE DA 2027 ExpectedMCQMEDIUM
+2M • -0.67

Four independent random variables U1,U2,U3,U4U_1, U_2, U_3, U_4 are drawn from Uniform⁡(0,1)\operatorname{Uniform}(0, 1). What is E[max⁡(U1,U2,U3,U4)−min⁡(U1,U2,U3,U4)]\mathbb{E}\big[\max(U_1, U_2, U_3, U_4) - \min(U_1, U_2, U_3, U_4)\big] (the expected sample range)?

⚡ Click an option above to verify instantly
Previous TopicRelations, Equivalence Classes, POSETs, Lattices & Group TheoryNext Topic IEEE-754 Floating-Point Standard & 2’s Complement Arithmetic