This work consists of three essays organized into chapters that seek to answer questions at first sight unrelated, but with one common denominator, which is the scarcity of public resources devoted to education, overall, especially in lower education. . The first chapter deals with the scarcity of resources devoted to education in a context of population aging. Two hypotheses were tested for Brazilian municipalities on the relationship between the aging of the population and educational expenditure. The first, already proven in the literature, is that there is an intergenerational conflict for resources and the increase of the share of elderly in the population reduces the educational expenditure. The second, proposed here for the first tim...