Trade-offs are thought to arise from inevitable, biophysical limitations that prevent organisms from optimizing multiple traits simultaneously. A leading explanation for biodiversity maintenance is a theory that if the shape, or geometry, of a trade-off is right, then multiple species can coexist. Testing this theory, however, is difficult as trait data is usually too noisy to discern shape, or trade-offs necessary for the theory are not observed in vivo. To address this, we infer geometry directly from the biophysical mechanisms that cause trade-offs, deriving the geometry of two by studying nutrient uptake and metabolic properties common to all living cells. To test for their presence in vivo we isolated Escherichia coli mutants that vary in a nutrient transporter, LamB, and found evidence for both trade-offs. Consistent with data, population genetics models incorporating the trade-offs successfully predict the co-maintenance of three distinct genetic lineages, demonstrating that trade-off geometry can be deduced from fundamental principles of living cells and used to predict stable genetic polymorphisms.