Samjhake
Introduction to Probability
Notesโ€บIntroduction to Probabilityโ€บHomework 4: Probability and its Application (MTH432/532)

MTH-PROB ยท Page 9 of 10

Homework 4: Probability and its Application (MTH432/532)

Question 1 โ€” MGF of the Uniform Distribution

Problem

Calculate the moment generating function of the uniform distribution on \((0,1)\). Obtain \(E[X]\) and \(\operatorname{Var}(X)\) by differentiating.

English solution

Step 1 โ€” Write the density

If \(X\sim U(0,1)\), then

\[ f_X(x)= \begin{cases} 1, & 0<x<1,\\ 0, & \text{otherwise}. \end{cases} \]

Step 2 โ€” Calculate the MGF

By definition, \(M_X(t)=E[e^{tX}]\). Therefore, for \(t\ne0\),

\[ M_X(t)=\int_0^1e^{tx}\,dx =\left[\frac{e^{tx}}{t}\right]_0^1 =\frac{e^t-1}{t}. \]

At \(t=0\), every MGF satisfies \(M_X(0)=1\). This also agrees with the limit \(\lim_{t\to0}(e^t-1)/t=1\). Hence

\[ \boxed{M_X(t)= \begin{cases} \dfrac{e^t-1}{t}, & t\ne0,\\ 1, & t=0. \end{cases}} \]

Step 3 โ€” Differentiate to obtain the moments

The Taylor expansion is the cleanest way to differentiate at \(t=0\):

\[ e^t=1+t+\frac{t^2}{2}+\frac{t^3}{6}+\cdots, \]

so

\[ M_X(t)=\frac{e^t-1}{t} =1+\frac{t}{2}+\frac{t^2}{6}+\frac{t^3}{24}+\cdots. \]

Since \(M_X'(0)=E[X]\), the coefficient of \(t\) gives

\[\boxed{E[X]=M_X'(0)=\frac12}.\]

Since \(M_X''(0)=E[X^2]\), and the coefficient of \(t^2\) is \(M_X''(0)/2!\),

\[E[X^2]=M_X''(0)=2!\left(\frac16\right)=\frac13.\]

Therefore

\[ \boxed{\operatorname{Var}(X)=E[X^2]-(E[X])^2 =\frac13-\frac14=\frac1{12}}. \]

Final answer

\[ M_X(t)=\frac{e^t-1}{t}\ (t\ne0),\quad M_X(0)=1,\quad E[X]=\frac12,\quad \operatorname{Var}(X)=\frac1{12}. \]

Hinglish explanation

MGF ka basic idea

MGF ka definition \(M_X(t)=E[e^{tX}]\) hai. Uniform \((0,1)\) mein density 0 se 1 ke beech 1 hoti hai, isliye expectation ek simple integral ban jata hai.

MGF nikalna

\(\int_0^1e^{tx}dx\) solve karne par \((e^t-1)/t\) milta hai. Formula mein \(t=0\) put karne par \(0/0\) dikhega, lekin limit 1 hai. Isliye \(M_X(0)=1\), jaise har valid MGF ke liye hona chahiye.

Mean aur variance

Taylor series se \(M_X(t)=1+t/2+t^2/6+\cdots\). First derivative at 0 coefficient of \(t\) deta hai, so mean \(1/2\). Second derivative ke liye \(t^2\) ke coefficient ko \(2!\) se multiply karte hain, so \(E[X^2]=1/3\). Finally variance \(1/3-(1/2)^2=1/12\).

Common mistake

\(t^2\) ka coefficient \(1/6\) directly \(E[X^2]\) nahi hai. Taylor expansion mein coefficient \(M_X''(0)/2!\) hota hai, isliye \(2!\) se multiply karna zaroori hai.

Question 2 โ€” Working and Repair Times

Problem

Let \(X\) and \(W\) be the working and subsequent repair times of a machine. Let \(Y=X+W\), and suppose

\[f_{X,Y}(x,y)=\lambda^2e^{-\lambda y},\qquad 0<x<y<\infty.\]

Find (a) the density of \(X\), (b) the density of \(Y\), (c) the joint density of \(X,W\), and (d) the density of \(W\).

English solution

(a) Marginal density of \(X\)

For a fixed \(x>0\), the support condition \(x<y\) gives \(y\in(x,\infty)\). Hence

\[ \begin{aligned} f_X(x) &=\int_x^\infty f_{X,Y}(x,y)\,dy\\ &=\int_x^\infty\lambda^2e^{-\lambda y}\,dy\\ &=\lambda e^{-\lambda x},\qquad x>0. \end{aligned} \]

Thus \(X\sim\operatorname{Exp}(\lambda)\):

\[ \boxed{f_X(x)=\lambda e^{-\lambda x}I_{\{x>0\}}}. \]

(b) Marginal density of \(Y\)

For fixed \(y>0\), the support gives \(0<x<y\). Therefore

\[ \begin{aligned} f_Y(y) &=\int_0^y f_{X,Y}(x,y)\,dx\\ &=\int_0^y\lambda^2e^{-\lambda y}\,dx\\ &=\lambda^2ye^{-\lambda y},\qquad y>0. \end{aligned} \]

This is a Gamma distribution with shape \(2\) and rate \(\lambda\):

\[ \boxed{f_Y(y)=\lambda^2ye^{-\lambda y}I_{\{y>0\}}}. \]

(c) Joint density of \(X\) and \(W\)

Use the transformation

\[W=Y-X.\]

The inverse transformation is \(y=x+w\). Its Jacobian is

\[ \left|\frac{\partial(x,y)}{\partial(x,w)}\right| =\left|\begin{matrix}1&0\\1&1\end{matrix}\right|=1. \]

The old support \(0<x<y\) becomes \(x>0,w>0\). Consequently,

\[ \begin{aligned} f_{X,W}(x,w) &=f_{X,Y}(x,x+w)\cdot1\\ &=\lambda^2e^{-\lambda(x+w)},\qquad x>0,w>0. \end{aligned} \]

Thus

\[ \boxed{f_{X,W}(x,w)=\lambda^2e^{-\lambda(x+w)}I_{\{x>0,w>0\}}}. \]

It factors as \((\lambda e^{-\lambda x})(\lambda e^{-\lambda w})\), so \(X\) and \(W\) are independent exponential random variables with rate \(\lambda\).

(d) Marginal density of \(W\)

Integrate the joint density over \(x>0\):

\[ \begin{aligned} f_W(w) &=\int_0^\infty\lambda^2e^{-\lambda(x+w)}\,dx\\ &=\lambda e^{-\lambda w},\qquad w>0. \end{aligned} \]

Therefore

\[\boxed{W\sim\operatorname{Exp}(\lambda)}.\]

Hinglish explanation

Support ko pehle samjho

Given region \(0<x<y\) hai. Matlab \(X\) positive hai aur total time \(Y\), working time \(X\) se bada hai. Kyunki \(Y=X+W\), repair time \(W=Y-X\) bhi positive hoga.

(a) \(X\) ki density

Fixed \(x\) ke liye \(y\), \(x\) se infinity tak ja sakta hai. Joint density ko \(y\) ke respect mein integrate karne par \(\lambda e^{-\lambda x}\) milta hai. Isliye \(X\) exponential hai.

(b) \(Y\) ki density

Fixed \(y\) ke liye \(x\), 0 se \(y\) tak chalega. Density \(x\) par depend nahi karti, isliye integration simply length \(y\) se multiply kar deta hai: \(f_Y(y)=\lambda^2ye^{-\lambda y}\). Ye Gamma\((2,\lambda)\) density hai.

(c) \((X,W)\) transformation

\(w=y-x\), isliye inverse relation \(y=x+w\) hai. Jacobian 1 aata hai. Old density mein \(y=x+w\) put karo: \(\lambda^2e^{-\lambda(x+w)}\). Ye \(\lambda e^{-\lambda x}\times\lambda e^{-\lambda w}\) mein factor hota hai, so \(X\) aur \(W\) independent hain.

(d) \(W\) ki density

Joint density ko \(x\) ke over integrate karne par \(f_W(w)=\lambda e^{-\lambda w}\), \(w>0\), milta hai. Matlab working time aur repair time dono iid exponential rate \(\lambda\) hain; inka sum \(Y\) Gamma shape 2 hai.

Question 3 โ€” Chebyshev's Inequality

Problem

Suppose \(X\) has mean \(10\) and variance \(15\). What can we say about \(P(5<X<15)\)?

English solution

Rewrite the event around the mean

Since \(E[X]=10\),

\[ \{5<X<15\}=\{|X-10|<5\}. \]

Apply Chebyshev's inequality

Chebyshev's inequality states that

\[ P(|X-\mu|\ge a)\le\frac{\sigma^2}{a^2}. \]

Here \(\mu=10\), \(\sigma^2=15\), and \(a=5\). Therefore

\[ P(|X-10|\ge5)\le\frac{15}{25}=\frac35. \]

Taking complements gives

\[ \boxed{P(5<X<15)=P(|X-10|<5)\ge1-\frac35=\frac25}. \]

What this statement means

Without knowing the distribution of \(X\), we cannot calculate the exact probability. We can guarantee only that it is at least \(2/5=0.4\). Of course, its upper bound is \(1\):

\[\frac25\le P(5<X<15)\le1.\]

The lower bound is sharp

For example, let \(P(X=5)=3/10\), \(P(X=10)=2/5\), and \(P(X=15)=3/10\). Then \(E[X]=10\), \(\operatorname{Var}(X)=15\), and, because the interval is strict,

\[P(5<X<15)=P(X=10)=\frac25.\]

Thus no larger universal lower bound can be obtained from the given mean and variance alone.

Hinglish explanation

Question ko mean ke around likho

Interval 5 se 15 hai aur mean 10 hai. Dono ends mean se 5 distance par hain. Isliye event \(5<X<15\), exactly \(|X-10|<5\) hai.

Chebyshev lagao

Chebyshev outside probability ka upper bound deta hai: \(P(|X-\mu|\ge a)\le\sigma^2/a^2\). Yahan result \(15/25=3/5\) hai. To outside jaane ka chance maximum \(3/5\), aur inside rehne ka chance minimum \(1-3/5=2/5\) hai.

Exact probability kyun nahi?

Sirf mean aur variance se complete distribution pata nahi chalta. Alag distributions ka same mean aur variance ho sakta hai, lekin interval probability alag ho sakti hai. Isliye correct conclusion \(P(5<X<15)\ge0.4\) hai, exact equality nahi.

Strict interval ka effect

5 aur 15 endpoints event mein included nahi hain. Example mein 0.3 probability 5 par, 0.4 probability 10 par aur 0.3 probability 15 par rakhne se bound exactly 0.4 attain hota hai. Isliye lower bound best possible hai.

Question 4 โ€” Joint Densities Under Transformations

Problem

Let \(X,Y\) be independent \(U(0,1)\) random variables. Compute the joint density of:

  1. \(U=X+Y,\ V=X/Y\);
  2. \(U=X,\ V=X/Y\);
  3. \(U=X+Y,\ V=X/(X+Y)\).

English solution

General transformation rule

Because \(X,Y\) are independent uniform variables,

\[ f_{X,Y}(x,y)=1,qquad 0<x<1,\ 0<y<1. \]

If \((x,y)=(x(u,v),y(u,v))\), then

\[ f_{U,V}(u,v)=f_{X,Y}(x(u,v),y(u,v)) \left|\frac{\partial(x,y)}{\partial(u,v)}\right|, \]

on the transformed support, and zero elsewhere.

(a) \(U=X+Y,\ V=X/Y\)

From \(v=x/y\), we have \(x=vy\). Since \(u=x+y=(v+1)y\),

\[ x=\frac{uv}{1+v},\qquad y=\frac{u}{1+v}. \]

The absolute Jacobian is

\[ \left|\frac{\partial(x,y)}{\partial(u,v)}\right| =\frac{u}{(1+v)^2}. \]

The conditions \(0<x<1\), \(0<y<1\) become

\[ v>0,\qquad 0<u<\min\left(1+v,1+\frac1v\right). \]

Hence

\[ \boxed{ f_{U,V}(u,v)=\frac{u}{(1+v)^2},\quad v>0,\quad 0<u<\min\left(1+v,1+\frac1v\right) } \]

and the density is zero elsewhere. Equivalently, the support is \(0<u<1+v\) for \(0<v\le1\), and \(0<u<1+1/v\) for \(v\ge1\).

(b) \(U=X,\ V=X/Y\)

The inverse transformation is

\[x=u,\qquad y=\frac{u}{v}.\]

The absolute Jacobian is

\[ \left|\frac{\partial(x,y)}{\partial(u,v)}\right| =\left|\begin{matrix}1&0\\1/v&-u/v^2\end{matrix}\right| =\frac{u}{v^2}. \]

From \(0<x<1\), we obtain \(0<u<1\). From \(0<y=u/v<1\), we obtain \(v>u\). Thus

\[ \boxed{f_{U,V}(u,v)=\frac{u}{v^2},\qquad 0<u<1,\quad v>u} \]

and it is zero elsewhere.

(c) \(U=X+Y,\ V=X/(X+Y)\)

Because \(v=x/(x+y)=x/u\), the inverse transformation is

\[x=uv,\qquad y=u(1-v).\]

The absolute Jacobian is

\[ \left|\frac{\partial(x,y)}{\partial(u,v)}\right| =\left|\begin{matrix}v&u\\1-v&-u\end{matrix}\right|=u. \]

Positivity gives \(u>0\) and \(0<v<1\). The conditions \(x<1\) and \(y<1\) give

\[ u<\frac1v,\qquad u<\frac1{1-v}. \]

Therefore

\[ \boxed{ f_{U,V}(u,v)=u,\quad 0<v<1,\quad 0<u<\min\left(\frac1v,\frac1{1-v}\right) } \]

and it is zero elsewhere. In piecewise form, \(0<u<1/(1-v)\) for \(0<v\le1/2\), and \(0<u<1/v\) for \(1/2\le v<1\).

Support is part of the answer

A Jacobian formula without its transformed support is incomplete. The density expressions above are valid only on their stated regions.

Hinglish explanation

Har transformation ka fixed method

  1. \(u,v\) equations se old variables \(x,y\) nikalo.
  2. Inverse Jacobian \(|\partial(x,y)/\partial(u,v)|\) nikalo.
  3. Old square \(0<x<1,0<y<1\) ko \(u,v\) conditions mein convert karo.
  4. Old density 1 ko Jacobian se multiply karo.

(a) Sum aur ratio

\(v=x/y\) se \(x=vy\), aur \(u=x+y\) se \(y=u/(1+v)\), \(x=uv/(1+v)\). Jacobian \(u/(1+v)^2\) hai. Dono old variables 1 se chhote hone chahiye, isliye \(u<1+v\) aur \(u<1+1/v\), dono ek saath lagenge.

(b) \(X\) aur ratio

Yahan inverse bahut simple hai: \(x=u\), \(y=u/v\). Jacobian \(u/v^2\). \(y<1\) ka matlab \(u/v<1\), yaani \(v>u\). Is support condition ko bhoolna common mistake hai.

(c) Sum aur proportion

\(v=x/(x+y)\) actually total sum mein \(X\) ka proportion hai. Isliye \(x=uv\), aur remaining part \(y=u(1-v)\). Jacobian \(u\) hai. Proportion hone ki wajah se \(0<v<1\). Saath mein \(uv<1\) aur \(u(1-v)<1\) bhi chahiye.

Most important point

Transformation question mein sirf formula aur Jacobian enough nahi hai. Correct support likhna answer ka essential part hai. Support galat hua to joint density bhi galat mani jayegi.

Question 5 โ€” Markov Bound and CLT Approximation

Problem

Let \(X_1,\ldots,X_{10}\) be independent Poisson random variables with mean \(1\). Let \(S=X_1+\cdots+X_{10}\).

  1. Use Markov's inequality to bound \(P(S\ge15)\).
  2. Use the central limit theorem to approximate \(P(S\ge15)\).

English solution

Mean and variance of the sum

For each \(X_i\sim\operatorname{Poisson}(1)\),

\[E[X_i]=1,\qquad \operatorname{Var}(X_i)=1.\]

By independence,

\[ E[S]=10,qquad \operatorname{Var}(S)=10. \]

In fact, the sum is exactly \(S\sim\operatorname{Poisson}(10)\), although the requested methods are Markov and the CLT.

(a) Markov's inequality

For a non-negative random variable, Markov's inequality says

\[P(S\ge a)\le\frac{E[S]}{a}.\]

Taking \(a=15\),

\[ \boxed{P(S\ge15)\le\frac{10}{15}=\frac23}. \]

(b) Central limit theorem

The CLT approximates \(S\) by a normal random variable with mean \(10\) and variance \(10\):

\[S\approx N(10,10).\]

Because \(S\) is integer-valued, use the continuity correction

\[P(S\ge15)=P(S>14)\approx P(N>14.5),\]

where \(N\sim N(10,10)\). Standardizing,

\[ \begin{aligned} P(S\ge15) &\approx P\left(Z>\frac{14.5-10}{\sqrt{10}}\right)\\ &=1-\Phi(1.4230)\\ &\approx\boxed{0.077}. \end{aligned} \]

If continuity correction is not used

A direct CLT substitution gives

\[ P(S\ge15)\approx1-\Phi\left(\frac{15-10}{\sqrt{10}}\right) =1-\Phi(1.5811)\approx0.057. \]

The continuity-corrected value \(0.077\) is preferred. For comparison only, the exact Poisson\((10)\) probability is about \(0.0835\).

Interpretation

The Markov bound \(2/3\) is guaranteed but very loose. The CLT estimate is much more informative because it uses both the mean and variance and approximates the distribution's shape.

Hinglish explanation

Sum ka mean aur variance

Har Poisson\((1)\) variable ka mean aur variance 1 hai. Independent variables ke sum mein means aur variances add hote hain, so \(S\) ka mean 10 aur variance 10 hai. Poisson variables ka sum bhi Poisson hota hai, so actually \(S\sim\operatorname{Poisson}(10)\).

Markov bound

Markov kehta hai \(P(S\ge15)\le E[S]/15=10/15=2/3\). Ye exact probability nahi, sirf guaranteed upper bound hai. Bound kaafi loose hai, lekin bina detailed distribution calculation ke turant mil jata hai.

CLT approximation

CLT se sum ko \(N(10,10)\) approximate karte hain. Discrete event \(S\ge15\) ko continuous normal par convert karte waqt 14.5 use karna continuity correction hai. Z-score \((14.5-10)/\sqrt{10}=1.423\), so upper-tail probability about 0.077 hai.

Continuity correction kyun?

Discrete value 15 ka bar normal curve mein 14.5 se 15.5 tak represent hota hai. Isliye \(15,16,\ldots\) wali probability ko normal mein \(14.5\) ke right ka area lena better hai. Correction na lagao to 0.057 milta hai, jo exact answer 0.0835 se zyada door hai.

Question 6 โ€” Gamma and Chi-Squared Distributions

Problem

A Gamma random variable with shape \(\alpha\) and rate \(\lambda\) has density

\[ f(x)=\frac{\lambda e^{-\lambda x}(\lambda x)^{\alpha-1}}{\Gamma(\alpha)},\qquad x>0. \]

  1. If \(Z\sim N(0,1)\), show that \(Z^2\sim\operatorname{Gamma}(1/2,1/2)\).
  2. If \(Z_1,\ldots,Z_n\) are independent standard normal variables and \(X=\sum_{i=1}^nZ_i^2\), show that \[f_X(x)=\frac{e^{-x/2}x^{n/2-1}}{2^{n/2}\Gamma(n/2)},\quad x>0.\]

English solution

(a) Distribution of \(Z^2\)

Let \(U=Z^2\). For each \(u>0\), the transformation has two inverse branches:

\[z_1=\sqrt u,\qquad z_2=-\sqrt u.\]

For either branch,

\[\left|\frac{dz}{du}\right|=\frac1{2\sqrt u}.\]

The standard normal density is \(\phi(z)=(2\pi)^{-1/2}e^{-z^2/2}\). Therefore the change-of-variables formula gives

\[ \begin{aligned} f_U(u) &=\phi(\sqrt u)\frac1{2\sqrt u} +\phi(-\sqrt u)\frac1{2\sqrt u}\\ &=\frac1{\sqrt{2\pi}}e^{-u/2}\frac1{\sqrt u}\\ &=\frac{e^{-u/2}u^{-1/2}}{\sqrt2\,\Gamma(1/2)},\qquad u>0, \end{aligned} \]

because \(\Gamma(1/2)=\sqrt\pi\). For \(\alpha=1/2\), \(\lambda=1/2\), the Gamma density is

\[ \frac{(1/2)^{1/2}}{\Gamma(1/2)}u^{-1/2}e^{-u/2} =\frac{e^{-u/2}u^{-1/2}}{\sqrt{2\pi}}. \]

Hence

\[\boxed{Z^2\sim\operatorname{Gamma}\left(\frac12,\frac12\right)}.\]

(b) Sum of independent squared normals

From part (a), each \(Z_i^2\) is Gamma with shape \(1/2\) and common rate \(1/2\). Its MGF is

\[ M_{Z_i^2}(t)=(1-2t)^{-1/2},\qquad t<\frac12. \]

Since the \(Z_i^2\) are independent, the MGF of their sum is the product:

\[ M_X(t)=\prod_{i=1}^nM_{Z_i^2}(t) =(1-2t)^{-n/2}. \]

This is the MGF of a Gamma random variable with shape \(n/2\) and rate \(1/2\). Thus

\[ X\sim\operatorname{Gamma}\left(\frac n2,\frac12\right). \]

Substituting \(\alpha=n/2\) and \(\lambda=1/2\) in the Gamma density,

\[ \begin{aligned} f_X(x) &=\frac{(1/2)^{n/2}}{\Gamma(n/2)}x^{n/2-1}e^{-x/2}\\ &=\boxed{\frac{e^{-x/2}x^{n/2-1}}{2^{n/2}\Gamma(n/2)}},\qquad x>0. \end{aligned} \]

This is the chi-squared distribution with \(n\) degrees of freedom, written \(X\sim\chi_n^2\).

Useful consequence

A Gamma\((\alpha,\lambda)\) variable in the shape-rate convention has mean \(\alpha/\lambda\) and variance \(\alpha/\lambda^2\). Therefore

\[E[X]=n,\qquad \operatorname{Var}(X)=2n.\]

Hinglish explanation

(a) Squaring transformation

\(U=Z^2\) mein ek positive \(u\) ke do preimages hain: \(+\sqrt u\) aur \(-\sqrt u\). Isliye density transform karte waqt dono branches ka contribution add karna zaroori hai. Dono ka derivative magnitude \(1/(2\sqrt u)\) hai.

Standard normal density symmetric hai, so dono contributions equal hain. Add karne par \(f_U(u)=e^{-u/2}u^{-1/2}/\sqrt{2\pi}\) milta hai. Ye Gamma shape \(1/2\), rate \(1/2\) ke formula se exactly match karta hai.

(b) Squares ka sum

Har \(Z_i^2\) independent Gamma\((1/2,1/2)\) hai. Same rate wale independent Gamma variables add karne par shapes add hote hain. Total shape \(n\times1/2=n/2\), rate \(1/2\) hi rahega.

MGF se formally: har square ka MGF \((1-2t)^{-1/2}\); \(n\) independent terms ke liye product \((1-2t)^{-n/2}\). Ye Gamma\((n/2,1/2)\) ka MGF hai.

Chi-square ka meaning

\(n\) independent standard normal variables ke squares ka sum chi-squared with \(n\) degrees of freedom hota hai. Iska mean \(n\) aur variance \(2n\) hota hai.

Common mistake

Question mein \(\lambda\) rate parameter hai, scale nahi. Rate \(1/2\) ka corresponding scale 2 hota hai. Dono parameterizations ko mix mat karna.

Question 7 โ€” Cumulant-Generating Function

Problem

Let

\[K(t)=\log(E[e^{tX}]).\]

Show that \(K'(0)=E[X]\) and \(K''(0)=\operatorname{Var}(X)\).

English solution

Connect \(K\) with the MGF

Let

\[M(t)=E[e^{tX}].\]

Then \(K(t)=\log M(t)\). Assuming the MGF exists in a neighborhood of \(0\),

\[ M(0)=1,\qquad M'(0)=E[X],\qquad M''(0)=E[X^2]. \]

First derivative

By the chain rule,

\[K'(t)=\frac{M'(t)}{M(t)}.\]

At \(t=0\),

\[ \boxed{K'(0)=\frac{M'(0)}{M(0)}=\frac{E[X]}1=E[X]}. \]

Second derivative

Differentiate once more:

\[ K''(t)=\frac{M''(t)M(t)-[M'(t)]^2}{[M(t)]^2} =\frac{M''(t)}{M(t)}-\left(\frac{M'(t)}{M(t)}\right)^2. \]

Now set \(t=0\):

\[ \begin{aligned} K''(0) &=M''(0)-[M'(0)]^2\\ &=E[X^2]-(E[X])^2\\ &=\boxed{\operatorname{Var}(X)}. \end{aligned} \]

Conclusion

The first cumulant is the mean and the second cumulant is the variance:

\[\boxed{K'(0)=E[X],\qquad K''(0)=\operatorname{Var}(X)}.\]

Higher derivatives \(K^{(n)}(0)\) are called higher-order cumulants.

Hinglish explanation

MGF aur CGF ka relation

MGF ko \(M(t)=E[e^{tX}]\) likho. Cumulant-generating function bas MGF ka logarithm hai: \(K(t)=\log M(t)\). Har MGF ke liye \(M(0)=1\), \(M'(0)=E[X]\), aur \(M''(0)=E[X^2]\).

First derivative

Log derivative rule se \(K'(t)=M'(t)/M(t)\). \(t=0\) put karne par denominator 1 aur numerator \(E[X]\) hai. Isliye first cumulant mean hota hai.

Second derivative

Ek baar aur differentiate karne par \(K''(t)=M''(t)/M(t)-[M'(t)/M(t)]^2\). Zero par ye \(E[X^2]-(E[X])^2\) ban jata hai, jo exactly variance ka formula hai.

Intuition

MGF derivatives raw moments dete hain, jaise \(E[X]\), \(E[X^2]\). Log lene ke baad derivatives cumulants dete hain, jahan second derivative automatically \(E[X^2]-(E[X])^2\) combine karke variance bana deta hai.

Homework 4 โ€” Quick Revision

English recap

  • Uniform MGF: \(M_X(t)=(e^t-1)/t\); mean \(1/2\), variance \(1/12\).
  • Machine times: \(X,W\) are independent Exp\((\lambda)\); \(Y=X+W\) is Gamma\((2,\lambda)\).
  • Chebyshev: \(P(5<X<15)\ge2/5\).
  • Transformations: inverse map + absolute Jacobian + transformed support.
  • Poisson sum: Markov bound \(2/3\); continuity-corrected CLT approximation \(0.077\).
  • Chi-square: \(\sum Z_i^2\sim\chi_n^2=\operatorname{Gamma}(n/2,1/2)\).
  • CGF: \(K'(0)=E[X]\), \(K''(0)=\operatorname{Var}(X)\).

Hinglish recap

  • MGF ke derivatives zero par moments dete hain.
  • Marginal density ke liye joint density ko correct support par integrate karo.
  • Chebyshev exact probability nahi, guaranteed bound deta hai.
  • Transformation mein support ko kabhi mat bhoolna.
  • Discrete-to-normal approximation mein continuity correction useful hai.
  • Independent standard normals ke squares ka sum chi-square hota hai.
  • Log-MGF ke first two derivatives mean aur variance hain.