Darwin's engine of evolution
Natural selection is the differential survival and reproduction of individuals with heritable traits better suited to their environment. Darwin's four postulates: variation exists in populations; variation is heritable; more offspring are produced than can survive; individuals with favorable traits survive and reproduce more. Hardy-Weinberg equilibrium describes allele frequencies in a non-evolving population (random mating, no selection, no mutation, no migration, large population). Deviations from H-W indicate evolution is occurring. Selection against recessive alleles is slow because heterozygotes 'hide' the allele. Genetic drift (random fluctuations, stronger in small populations) can fix or eliminate alleles regardless of fitness. Bottleneck and founder effects reduce genetic diversity. Over time, selection + isolation → speciation.
Plus 148+ other Pro labs covering AP Physics, Biology, Chemistry, Earth Science, and Math — with unlimited simulation time, advanced parameters, and detailed analytics.
Already have an account?
Sign in →Natural selection is the process by which heritable traits that improve reproductive success become more common in a population across generations. Darwin identified four conditions: individuals vary in heritable traits, populations overproduce offspring, resources are limited, and certain variants survive and reproduce more. Antibiotic resistance in bacteria, peppered moths during the Industrial Revolution, and beak depth shifts in Galapagos finches during drought years are all the same mechanism operating at different speeds. Selection is not a force that pushes species toward complexity or perfection — it only acts on the variation that already exists, and only favors traits that help right now in the current environment. This simulation tracks allele frequency change as the selection coefficient s moves from 0 (neutral) to 1 (lethal for the disfavored genotype).
Misconception"Survival of the fittest" means the physically strongest individuals survive.
CorrectFitness in evolutionary biology means reproductive success — the number of viable offspring an individual contributes to the next generation. A small, "weak" organism that reproduces three times before dying has higher fitness than a large, strong one that reproduces once. Physical strength is only relevant if it translates into more surviving offspring in that specific environment.
MisconceptionNatural selection has a direction — species are always evolving toward becoming more complex or more advanced.
CorrectSelection is purely local and immediate. It favors whatever traits increase reproduction in the current environment. Cave fish that lose their eyes under relaxed selection are not "degenerating" — losing costly eyes is adaptive when light is absent. Parasites that simplify their body plans are not primitive. There is no ladder of progress in evolution.
MisconceptionIf a trait is selected against, it will quickly disappear from the population.
CorrectThe speed depends on how strong the selection pressure is, how common the trait already is, and how much random drift is present. A strongly disfavored visible trait can decline quickly, but rare variants may persist for many generations, especially in larger populations or when they are not always exposed to selection. Use the Selection Pressure slider to test how fast the population changes under weak versus intense pressure.
MisconceptionIndividuals evolve during their lifetimes in response to environmental pressure.
CorrectIndividuals do not evolve — populations do. A single organism cannot change its allele frequencies. What selection does is change which individuals survive to reproduce, so the next generation has a different distribution of inherited alleles. This is the distinction between Darwinian evolution and Lamarckism: selection acts on existing variation, it does not create adaptive changes in response to need.
MisconceptionMutation drives evolution by directly producing the traits that selection then favors.
CorrectMutation generates raw variation, but it does not know what the population needs. Most mutations are neutral or harmful in a given environment, and useful variants are usually rare. Natural selection changes how common variants become by filtering survival and reproduction after variation exists. The two processes work together: Mutation Rate affects how often new variants appear, while Selection Pressure affects which variants leave more descendants.
In population genetics, a selection coefficient estimates the fitness difference between variants. In this simulation, the Selection Pressure slider is the classroom-facing way to explore that idea. Low pressure means survival and reproduction differ only slightly between variants; high pressure means the environment filters variants much more strongly. Students do not need to calculate the coefficient to use the model, but they should connect stronger pressure with faster population-level change.
AP standard 1.A.1 addresses the concept that natural selection acts on heritable variation in traits, while 1.A.2 covers the four conditions required for natural selection to occur. In this simulation, Mutation Rate introduces new variation, Selection Pressure represents differential survival or reproduction, and the generational time axis demonstrates cumulative heritable change. Comparing presets helps students identify the environmental condition that makes a trait advantageous.
The per-generation change in p under selection against a recessive is Δp = spq² / (1 − sq²). As q approaches 0, both q and q² shrink rapidly, so Δp shrinks even though s stays constant. The math mirrors the biology: when q is small, almost all 'a' alleles are hidden in Aa heterozygotes where they experience no selection penalty. Selection can only act on the aa individuals it can see, and those become exponentially rarer.
Natural selection is deterministic: alleles with higher fitness reliably increase in frequency given enough time. Genetic drift is stochastic: allele frequencies change randomly due to sampling error in finite populations, with no relationship to fitness. In small populations (20–50 individuals), drift is often stronger than moderate selection (s = 0.1–0.2), and a beneficial allele can be lost by chance. NGSS standard HS-LS4-2 asks students to distinguish these mechanisms using evidence from allele frequency data.
AP standard 1.C.1 states that the distribution of phenotypes in a population can change over time due to natural selection, genetic drift, and other mechanisms. This experiment addresses it directly: the frequency graph shows how population traits shift in response to Selection Pressure, Mutation Rate, and Population Size. Comparing repeated runs isolates the contribution of each mechanism, which is precisely the type of experimental reasoning 1.C.1 targets.