taocp

This site has no text of the book. Keep your own copy of TAOCP next to it. See what is checked.

Exercise · Volume 1 · 1.2.10-11

Exercise 1.2.10-11

not stated yet in Lean solution written

RatingM15
MarkersM (mathematical)
KindK3, find a value: compute a number, a set or a closed form from the written solution
SectionSection 1.2.10 of Volume 1. Companion chapter: Analysis of an algorithm

The task

Find what happens to the semi-invariants of a distribution when G(z)G(z) is replaced by F(z)=znG(z)F(z)=z^nG(z).

The exact wording is in your copy of the book.

Hints

Open one hint at a time. Try the exercise again after each.

Hint 1

Write ln⁡F(et)\ln F(e^t).

Solution

Show the solution

We have F(et)=entG(et)F(e^t)=e^{nt}G(e^t), so ln⁡F(et)=nt+ln⁡G(et)\ln F(e^t)=nt+\ln G(e^t). By (23) the coefficient of tk/k!t^k/k! in ntnt is nn for k=1k=1 and 00 for k≥2k\ge2. So κ1(F)=κ1(G)+n\kappa_1(F)=\kappa_1(G)+n, and κk(F)=κk(G)\kappa_k(F)=\kappa_k(G) for all k≥2k\ge2. A shift of all values by nn moves the mean by nn and leaves all other semi-invariants unchanged.

Check

Take G=12+12zG=\frac12+\frac12z (a fair coin) and n=3n=3. The values of F=z3GF=z^3G are 33 and 44 with probability 12\frac12. The mean is 3.5=12+33.5=\frac12+3, and the variance is 14\frac14, as for GG.

Remarks

This is the reason for the name semi-invariant: the quantities κ2,κ3,…\kappa_2,\kappa_3,\ldots do not change under a translation.

This solution is drafted, and a person has not reviewed it yet. The source.

In Lean

not stated yet The exercise is not stated in Lean yet.

The status is computed from the Lean build. The node of the map.

Something is wrong? Report it.