Condition on the current generation size. By independence of offspring families, . Taking the expected value gives the probability generating function recursion
Induction therefore proves the branching-process generating-function iteration
where the right side means -fold composition, not an ordinary power.
Let and be the offspring mean and variance, assuming a finite second moment. Differentiating the generating-function recursion at one gives and, with ,
Since , this implies
Iteration and summation of the geometric progression give the mean and variance of a Galton-Watson generation:
For the offspring count is identically zero, so every later generation has zero variance. The zeroth generation always has zero variance. Finiteness of the needed moments is an assumption for this finite-valued variance formula, not a consequence of merely having a probability generating function. With finite positive mean but infinite offspring variance, all positive-generation variances are infinite.
For the total count, make the generation convention explicit. If the first generations include the ancestor, put and , with . Given children of the ancestor, each starts an independent depth- descendant tree with generating function . The ancestor contributes an additional factor , so
This is the finite-horizon total progeny generating function. If instead “first generations” means descendants , excluding , write for that convention. Conditioning on the children now gives , with and . The two conventions encode the same tree but different counts.