9In this paper I provide a general framework for linking ecology and evolution. I start from the 10 fact that individuals require energy, trace molecules, water, and mates to survive and 11 reproduce, and that phenotypic resource accrual traits determine an individual's ability to 12 detect and acquire these resources. Optimum traits, and their values, are determined by the 13 dynamics of resources, aspects of the environment that hinder resource detection and 14 acquisition by imposing risks of mortality and reproductive failure, and the energetic costs of 15 developing and maintaining the traits -part of an individual's energy budget. These budgets 16 also describe how individuals utilize energy by partitioning it into maintenance, development 17 and/or reproduction at each age and size, age and size at sexual maturity, and the size and 18 number of offspring produced at each reproductive event. The optimum energy budget and 19 body size is consequently determined by the optimum life history strategy that maximizes 20 fitness by trading off size-and age-specific mortality and development rates with any 21 reproductive gains due to extending development and delaying the onset of reproduction. An 22 eco-evolutionary feedback loop occurs when resource accrual traits evolve impacting the 23 quality and quantity of resources that individuals accrue, leading to a new optimum body size 24 and life history strategy and altered population dynamics that, in turn, impact the resource base. 25These feedback loops can be complex, but can be studied by examining the eco-evolutionary 26 journey of communities from one equilibrium state to another following a perturbation to the 27 environment. 28 KEYWORDS: body size evolution, dynamic energy budgets, global environmental change, 29 integral projection models, life history theory, paradox of stasis, quantitative genetics, 30 stochastic demography, Trinidadian guppy. 31In the lowland streams of Northern Trinidad, guppies (Poecilia reticulata) live in complex, 33 stable, communities. They predominantly feed on abundant stream invertebrates of high 34 nutritional quality that are also food for a number of other fish species. Guppies themselves are 35 prey for predatory fishes, such as wolf fish (Hoplias malabaricus) and pike cichlids 36 (Crenicichla frenata). Predation is the primary cause of death for guppies living in these 37 communities, such that their populations are limited by predation. In response to this limitation, 38 guppies have evolved streamlined bauplans, live in shoals, have high maximum swimming 39 speeds, fast metabolic rates, are rather dully colored, have small sizes and low ages at sexual 40 maturity, large litters of small offspring, and fast life histories (Reznick and Endler 1982, 41 Reznick and Bryga 1987, Reznick and Yang 1993, Reznick et al. 2001, Travis et al. 2014. 42These traits have evolved to enable guppies to optimally detect, acquire, and utilize food in an 43 environment where the risk of death in the jaws of a predator is near constant and ...