Abstract

The number of local maxima (resp., local minima) in a tree T𝒯n rooted at r[n] is denoted by Mr(T) (resp., by mr(T)). We find exact formulas as rational functions of n for the expectation and variance of M1(T) and mn(T) when T𝒯n is chosen randomly according to a uniform distribution. As a consequence, a.a.s. M1(T) and mn(T) belong to a relatively small interval when T𝒯n.