Life
Does a better gene always win?
“Survival of the fittest” suggests that a gene which helps its carriers will spread. Usually it doesn’t. Most helpful new mutations disappear within a few generations, lost to plain bad luck.
Every new genetic variant starts the same way: as a single copy, in a single individual, created by a copying error in DNA. Suppose this variant is genuinely useful. Its carriers have, on average, 1% more offspring than everyone else. Over thousands of generations, surely it takes over?
The common picture of evolution says yes. The mathematics says: probably not. A variant with a 1% advantage, starting as one copy in a large population, ends up in every member of the population only about 2% of the time. The other 98% of the time it vanishes, usually within a few generations of appearing. To see why, start with what happens when no variant is better than any other.
Chance alone
Imagine a population that stays the same size, N individuals, generation after generation. To make the next generation, we pick a parent at random from the current one, copy it, and repeat N times. Some individuals are picked twice or three times; others not at all. This is the Wright–Fisher model, named after Sewall Wright and Ronald Fisher, who used it around 1930 to found the mathematics of evolution. It describes organisms with one copy of each gene (haploid), like bacteria.
Below, the population starts half gold and half green. Neither colour is better. Watch the share of gold wander up and down, in eight separate populations at once, until it hits 0% or 100%. That wandering is called genetic drift. When a variant reaches 100% it is fixed: there is nothing left for it to compete with, and only a new mutation can change things. Try a small population (N = 10) and a large one (N = 500).
- Generation
- 0
- Populations where one colour has won
- 0 of 8
- Average time to win (theory)
- 69 generations
Two things to notice. First, drift always ends. Sooner or later one colour is lost for good, because once it is gone, no parent can pass it on. Second, small populations get there much faster. Starting from half and half, the average time until one colour wins is about 1.4 × N generations: about 14 generations when N = 10, about 700 when N = 500.
There is a neat consequence. With no advantage on either side, every individual alive today has the same chance to be the ancestor of the whole future population. So a single new neutral variant, one copy among N, has a chance of exactly 1 in N of ending up fixed.
A better gene appears
Now give one variant an edge. Its carriers are a little more likely to be picked as parents: if the variant is rare, each carrier has on average 1 + s offspring, while everyone else has 1. The number s is the selection coefficient; s = 0.01 means a 1% advantage. That is a large advantage by the standards of real mutations.
The trouble is the start. One carrier doesn’t have exactly 1.01 offspring. It has 0, 1, 2 or 3, at random. In the Wright–Fisher model the chance of having none at all is about e−1, or 37%, and a 1% advantage lowers that only to 36%. A small advantage barely changes the odds while there are only a handful of copies. Selection is a statement about averages, and averages need numbers.
The figure runs 1,000 separate populations of 1,000 individuals each. In every one, a single copy of the better variant appears. Each line follows the number of copies in one population, on scales that stretch out the early generations. Press Run 1,000 populations and watch most of the lines drop out almost at once. Then change s and run again; every run adds a point to the chart of the fraction that won.
- Generation
- 0
- Lost
- 0
- Still in play
- 0
- Fixed
- 0
- Theory for this s
- 3.9%
The fraction that wins is small, and it grows in step with s: roughly twice the advantage. This result, that a new beneficial variant survives with probability about 2s, was worked out by J. B. S. Haldane in 1927. A 1% advantage wins about 2% of the time; a 5% advantage about 9%. Even a large advantage loses most of the time. Once a variant has more than roughly 1/s copies (50 copies when s = 2%), though, its fate is nearly sealed: drift can no longer pull it back down, and selection carries it the rest of the way.
Notice too that the better variant still does far better than a neutral one. At s = 2% it wins about 40 times as often as the neutral 1 in 1,000. Selection works; it just works on odds, not on certainties.
Chance against selection
Motoo Kimura found a formula, in 1962, that covers any population size and any s, including harmful variants (s below zero). For one new copy in a haploid population of size N, the chance that it ends up fixed is close to
P ≈ (1 − e−2s) / (1 − e−2Ns)
In words: the top is about 2s, Haldane’s answer. The bottom is close to 1 when N·s is large, and then the population size doesn’t matter. When N·s is small, the bottom is about 2Ns, the s cancels out, and P is about 1/N, just as if the variant were neutral.
So what matters is the product N·s. If it is much bigger than 1, selection decides. If it is much smaller than 1 (either sign), drift decides, and the population behaves as if the variant made no difference at all. Try N = 100 and s = −0.1%: the variant is harmful, yet it takes over almost as often as a neutral one. Then make the population 100 times larger.
- N·s
- −0.10
- Chance of fixation
- 0.90%
- Neutral, 1/N
- 1.0%
- Compared with neutral
- 0.90 ×
- Simulated
- not run
Drift dominates.
This is why population size matters so much. In a population of a million, a variant with a 0.01% advantage has N·s = 100, and selection sees it clearly. In a population of a few hundred, the same variant is invisible to selection; harmful variants with small effects can drift to fixation, which is one reason small, isolated populations accumulate damaging mutations.
Kimura took the idea further. In 1968 he proposed the neutral theory of molecular evolution: that most of the differences in DNA between species were fixed by drift, not by selection, because most of them have |N·s| well below 1. How much of evolution that covers is still debated. That drift is a force alongside selection is not.
What this model leaves out
- Two copies of each gene. Humans and most animals are diploid. A new variant then sits beside an ordinary copy, and its effect depends on dominance: whether one copy shows its effect fully, partly or not at all. If one copy gives an advantage s and two copies give 2s, a new variant still wins about 2s of the time, but the boundary between drift and selection is set by 4Ns rather than 2Ns. A fully recessive helpful variant is almost invisible to selection while rare.
- Mutation and recombination. Here a variant appears once. In reality the same mutation can arise again and again, so a lost variant gets new chances; and a gene is linked to its neighbours on the chromosome, which can drag it up or down.
- A fixed environment. s stays the same forever. Real advantages change with climate, diet, disease and competitors.
- No structure. Every individual can mate with or replace any other. Real populations are split by distance and geography, which changes how drift acts.
- Census versus effective size. The N in these formulas is the effective population size: the size of an ideal population that drifts as fast as the real one. Because of unequal family sizes, uneven sex ratios and past bottlenecks, it is usually much smaller than the head count. For humans it is often put at around 10,000, against 8 billion people alive.
- Constant size. A population that is growing gives new variants a better chance; one that is shrinking, a worse one.
Sources
- J. B. S. Haldane, “A mathematical theory of natural and artificial selection, part V: selection and mutation”, Proceedings of the Cambridge Philosophical Society 23 (1927) 838–844. doi.org The probability about 2s that a single new beneficial mutation survives in a large population.
- M. Kimura, “On the probability of fixation of mutant genes in a population”, Genetics 47 (1962) 713–719. doi.org The diffusion formula for the fixation probability; the neutral case equals the starting frequency. The haploid form used here replaces 4N with 2N.
- M. Kimura, “Evolutionary rate at the molecular level”, Nature 217 (1968) 624–626. doi.org The neutral theory of molecular evolution.
- Z. Patwa and L. M. Wahl, “The fixation probability of beneficial mutations”, Journal of the Royal Society Interface 5 (2008) 1279–1289. doi.org Review: the history from Fisher (1922), Haldane (1927) and Wright (1931) to Kimura, and the assumptions behind 2s.
- S. Wright, “Evolution in Mendelian populations”, Genetics 16 (1931) 97–159. doi.org Random drift in finite populations; the model of sampling each generation from the last.
Colophon
- Date
- 1 October 2026
The model (model.js) is a haploid Wright–Fisher simulation. It was checked against Kimura’s formula at nine combinations of N and s, and against the known drift time from half and half.