D4.1 Natural selection

SL & HL+ AHL sectionsSL and HL, with AHL content · Ecosystems · Theme D

Big questions

  • Why do some variants leave more offspring than others, and how does that change a species?
  • How can we measure evolution happening in a population's genes?

Sections framed in purple are AHL (Higher Level only). SL students can hide them in Display settings.

Natural selection drives evolution

SL & HLSyllabus understandings: D4.1.1

Evolution is a change in the heritable characteristics of a population over generations (see A4.1 Evolution and speciation). Natural selection is the main mechanism that causes it. It operates all the time, in every population, and has been operating since life began more than 3.5 billion years ago. Acting over that immense span of time, together with the steady supply of new variation, it has produced the biodiversity of life on Earth: millions of species, each adapted to its own way of life.

Natural selection follows from a few observations that are easy to check:

  1. Heritable variationIndividuals of a species differ. Much of the variation is genetic: mutation makes new alleles and sexual reproduction (meiosis and fertilization) makes new combinations of alleles.
  2. Overproduction of offspringMore young are produced than the environment can support, because resources such as food, water, light, space or nest sites are limited (the carrying capacity).
  3. Competition and selection pressuresIndividuals of the same species compete for the limited resources (intraspecific competition), and face predators, disease and abiotic factors such as extreme temperatures.
  4. Differential survival and reproductionIndividuals whose heritable traits suit them better to the environment (higher fitness) are more likely to survive and leave more offspring.
  5. InheritanceTheir offspring inherit the alleles for those traits. Characteristics acquired during life are not passed on, because they do not change the genes in gametes.
  6. Evolution of the populationThe favourable alleles become more frequent in the gene pool over generations. Individuals do not change: the population evolves.
The logic of natural selection. None of the steps requires an organism to 'try' to change: variation is produced at random, and the environment determines which variants leave the most offspring.

Darwin replaced Lamarckism: a paradigm shift

By the early 1800s many naturalists accepted that species change over time, but nobody had a convincing mechanism. The most popular idea was Lamarckism: organisms change during their lives through use and disuse of organs, and these acquired characteristics are passed to their offspring. Charles Darwin, in On the Origin of Species (1859), proposed instead that random heritable variation is sorted by natural selection. Alfred Russel Wallace reached the same idea independently, and their papers were presented together in 1858.

Darwin’s theory explained a vast range of observations and gradually displaced Lamarckism. Replacing one explanatory framework with another in this way is called a paradigm shift: a change in the basic framework of a scientific field, in which a new theory replaces the old one and changes the questions scientists ask. Later discoveries, such as genes carried in gametes and the base sequence of DNA, showed why acquired characteristics cannot be inherited and strengthened Darwin’s theory.

Sources of variation

SL & HLSyllabus understandings: D4.1.2

Natural selection can only “choose” between variants that already exist, so it depends on heritable variation: differences between individuals that are caused by differences in their genes.

MutationA short DNA base sequence in which one base, A, is replaced by T, turning allele B into a new allele, B′.allele BCTGAGGCTGTGGsubstitutionnew allele B′
Mutation: new allelesA random change in the base sequence of a gene creates a new allele. Mutation is the original source of all genetic variation. Most mutations are neutral or harmful; a few happen to be beneficial in a particular environment.
MeiosisA pair of homologous chromosomes, one carrying alleles A and B, the other a and b, exchange segments by crossing over, producing chromatids with the new combinations A b and a B.ABabAbaBnewcombi-nations
Meiosis: new combinations in gametesCrossing over swaps segments between homologous chromosomes, and the random orientation of each pair of homologues (independent assortment) mixes maternal and paternal chromosomes. Almost every gamete gets a different combination of alleles.
FertilizationA sperm carrying alleles A and b from one parent fuses with an egg carrying a and B from another parent, giving a zygote with alleles from both.a BeggA bsperm
Fertilization: alleles from two parentsRandom fusion of gametes from two different individuals brings together alleles, including new mutations, that arose in different family lines. Each offspring has a combination of alleles never seen before.
Mutation is the only source of new alleles. Meiosis and fertilization do not create new alleles; they shuffle existing ones into new combinations.
  • Mutation is a random change in the base sequence of DNA. A mutation in a gene creates a new allele. It is the original source of all genetic variation. Mutations are not caused by the organism’s needs: they arise at random, and whether a new allele is harmful, neutral or beneficial depends on the environment.
  • Sexual reproduction generates new combinations of alleles in three ways:
    • Crossing over in prophase I of meiosis swaps sections between homologous chromosomes, producing chromatids that carry new combinations of linked alleles.
    • Random orientation of homologous pairs in metaphase I (independent assortment) means each gamete receives a random mix of maternal and paternal chromosomes.
    • Fertilization combines the alleles of two gametes from different parents, so new mutations that arose in separate family lines can come together.

Together these processes mean that, apart from identical twins, every individual produced by sexual reproduction is genetically unique. Asexually reproducing organisms such as bacteria rely mostly on mutation, although bacteria can also gain genes by horizontal gene transfer (see C3.2 Defence against disease).

Overproduction and competition

SL & HLSyllabus understandings: D4.1.3

Most species produce far more offspring than can survive. An oak tree can drop tens of thousands of acorns in a good year, and a large female cod releases millions of eggs in a breeding season, yet the numbers of oaks and cod stay roughly constant from one decade to the next. Even slow-breeding species have this potential: Darwin calculated that if every calf survived, a single pair of elephants, among the slowest-breeding animals, would have nearly 19 million descendants after about 750 years.

This overproduction of offspring matters because resources are limited. The maximum population size that an environment can support is its carrying capacity (see C4.1 Populations and communities). When more young are produced than the carrying capacity allows, they must compete for the resources in short supply, and many die before they can reproduce.

Limited resource Examples of who competes for it
Food Seed-eating birds for seeds in a drought; herbivores for grazing
Water Desert plants for soil water
Light Tree seedlings in the shade of a forest canopy
Mineral ions Plants for nitrate and phosphate in the soil
Space and shelter Barnacles for room on a rock; animals for burrows
Nest sites and territories Birds for nest holes; male animals for breeding territories

Competition between members of the same species (intraspecific competition) is especially intense, because they need exactly the same resources. Overproduction does not cause evolution by itself; it creates the “struggle for existence” in which small heritable differences decide who survives.

Abiotic factors as selection pressures

SL & HLSyllabus understandings: D4.1.4

A selection pressure is any factor that makes some individuals more likely than others to survive and reproduce. Selection pressures can be:

  • Biotic: caused by other organisms, such as predators, pathogens, parasites, competitors and potential mates.
  • Abiotic: caused by non-living features of the environment, such as temperature, water availability, salinity, pH, fire or flooding.

Many abiotic pressures are density-independent: their effect on each individual does not depend on how crowded the population is. A severe frost kills an individual that cannot tolerate it whether the population is large or small. Density-dependent factors such as competition and disease, by contrast, act more strongly in crowded populations.

Abiotic extremes still cause selection, because individuals differ in their heritable tolerance:

  • Low temperature. After an unusually severe cold snap in Texas in 2014, surviving green anole lizards in southern populations tolerated cold better than lizards sampled there before the event.
  • Cold, wet weather and food shortage. A long spell of cold rain in Nebraska in 1996 stopped flying insects, the food of cliff swallows, and killed about half of the birds. The survivors were, on average, larger, probably because bigger birds hold more fat reserves.
  • High temperature and drought. Heatwaves kill plants and animals that cannot cope with heat or water loss; individuals with greater heat or drought tolerance survive and reproduce.
  • Fire. Trees with thicker, more fire-resistant bark, or the ability to resprout, survive bushfires that kill others.

The key point is that the abiotic factor does not create the tolerant variants. It removes the less tolerant ones, so the heritable traits of the survivors become more common in the next generation.

Fitness: differences in survival and reproduction

SL & HLSyllabus understandings: D4.1.5

Individuals in a population differ in how well adapted they are: how well their heritable traits suit them to their environment. Better-adapted individuals tend to survive longer and to have more offspring. This difference in survival and reproduction is the basis of natural selection.

Biologists describe it with the idea of fitness: how well a genotype survives and how much it can reproduce (its reproductive potential) in a given environment, measured by its contribution of offspring to the next generation compared with other genotypes. Fitness is not strength, size or health. An individual that survives but never reproduces has a fitness of zero, and a trait that is advantageous in one environment can be a disadvantage in another.

Selection is strongest through intraspecific competition. Members of the same species compete for the same food, space and mates, so even small heritable differences matter: a slightly better-camouflaged moth is a little less likely to be eaten, and over many generations that small advantage changes the population.

Simulation Natural selection in a moth population
Moths of the current generation resting on tree barkA sample of the young moths of the latest generation, each coloured by its wing shade, on bark of the chosen shade. Moths marked with a cross did not survive to breed.Histogram of wing shade in the latest generationOutlined bars: all the young born, by wing shade. Filled bars: the ones that survived to breed.0123456789101112020406080Wing shade (0 = palest, 12 = darkest)Number of mothsFrequency of the dark allele in the gene pool over generationsA line graph of the proportion of all wing-shade alleles in the breeding moths that are dark alleles, one point per generation. A dotted line marks the frequency that would give moths matching the bark.frequency that matches the bark0510152000.250.50.751GenerationDark allele frequency

Generation 0 · dark allele frequency 21%

Generation 0: 21% of the alleles in the gene pool are dark alleles, so the moths already vary in shade before any selection happens. Press "Next generation" to let them breed.

Show data table
GenerationYoung bornMean shade of youngMean shade of survivorsDark allele frequency
0––2.460.205

Qualitative model with seeded random numbers. Wing shade is set by six genes, each with a pale and a dark allele; parents pass on one allele of each gene, chosen at random, and an allele occasionally mutates to the other form. Changing a slider affects the next generation onwards.

Text description of this simulation

A population of 200 moths whose wing shade, from palest (0) to darkest (12), is controlled by six genes, each with a pale and a dark allele. Every generation the moths pair at random and each pair produces a chosen number of young; each parent passes on one allele of each gene at random, and alleles occasionally mutate. Food supports only 200 adults, so most of the young die before breeding. Birds hunting by sight find moths that contrast with the bark more easily, so moths that match the bark are more likely to survive. A picture shows a sample of the latest young on the bark, with crosses on those that died; a histogram compares the shades of all the young born with those that survived; and a line graph tracks the frequency of the dark allele in the gene pool. Sliders set the selection pressure, the bark shade and the number of young per pair. A checkbox lets the survivors darken during their adult lives, which has no effect on the next generation because acquired characteristics are not inherited.

Things to try in the simulation:

  1. Keep the default settings and press Run 10 generations a few times. The histogram shows that variation exists first; selection then removes moths that contrast with the bark, and the dark allele frequency rises towards the value that matches the bark.
  2. Set selection pressure to 0. Which moths die is now a matter of chance, so allele frequencies only drift slightly.
  3. Move the bark shade to 0 (pale, lichen-covered bark). The direction of selection reverses. The same allele can raise or lower fitness, depending on the environment.

Only heritable traits evolve

SL & HLSyllabus understandings: D4.1.6

For natural selection to change a population, the traits that improve survival and reproduction must be heritable: coded in the base sequence of genes, so that offspring inherit them through the gametes.

Many characteristics are acquired during an individual’s life because of its environment or its own activity:

  • muscles enlarged by exercise, or calluses on the hands
  • a scar, a lost limb or a docked tail
  • skin darkened by exposure to sunlight
  • learned skills and knowledge
  • a plant stunted by poor soil

None of these changes the base sequence of genes in the cells that produce gametes, so none of them is inherited and none can contribute to evolution. In the 1880s August Weismann cut the tails off mice for five successive generations; every generation was still born with a normal tail. His conclusion, that the germ line (the cells that make gametes) is kept separate from the body cells, explains why Lamarck’s mechanism does not work.

In the simulation above, tick Survivors darken during adult life. The adults look darker, but the young are born with shades set only by the alleles they inherit, and the dark allele frequency follows exactly the same course as before.

Some chemical marks on DNA (epigenetic changes, see D2.2 Gene expression) can occasionally pass to the next generation, but they do not alter the base sequence and are usually reset within a generation or two.

Sexual selection

SL & HLSyllabus understandings: D4.1.7

Sexual selection is selection for traits that increase an individual’s success in getting a mate. It happens in two main ways:

  • Mate choice (usually by females): members of one sex prefer mates with particular physical or behavioural traits.
  • Contests between rivals of the same sex: for example, red deer stags fight with their antlers for control of groups of females.

Females typically invest more in each offspring (large eggs, pregnancy, parental care), so they are choosier, while males compete for matings. Traits that females prefer can therefore spread even if they make survival harder.

Birds of paradise

Birds of paradise are a family of about 45 species of forest birds, most of them living in New Guinea. In many species the males have extraordinary plumage: long tail streamers, iridescent breast shields, capes and head plumes, combined with elaborate courtship dances and calls. In most species the females are drab brown, and they alone build the nest and raise the young. Males of some species display together at a traditional site (a lek), and the females visit, watch and choose.

For example, a male superb bird-of-paradise spreads a velvety black cape into an oval around his head, shows an iridescent blue-green breast shield and hops around the female in a rhythmic dance. Females mate with the males whose display they prefer, and a few males obtain most of the matings.

Why would such costly traits evolve? Bright, elaborate plumage takes energy to grow, makes a male easier for predators to spot and can hinder flying. Only a male in good condition, with genes that let him find food, resist parasites and avoid predators despite these handicaps, can produce the most impressive display. The display is therefore a signal of overall fitness. Females that choose such males produce offspring that inherit the good genes, and sons that inherit the attractive traits. Over many generations, sexual selection has made the plumage and display more and more elaborate.

Endler's guppy experiments

SL & HLSyllabus understandings: D4.1.8

Guppies (Poecilia reticulata) are small fish from the streams of Trinidad and north-east South America. Males are covered with spots of orange, black, blue and iridescent colours; females are drab. In Trinidad’s mountain streams, waterfalls separate stretches with different predators. Downstream, the pike cichlid (Crenicichla) eats many adult guppies; upstream, above waterfalls that it cannot climb, the main predator is a small killifish, Rivulus hartii, which mostly takes juvenile guppies. John Endler noticed that males are much more colourful in the low-predation streams, and tested whether predation was the cause.

Greenhouse experiment

  1. 1 · One varied stockGuppies collected from many different streams were mixed, so the males varied widely in colour pattern.
  2. 2 · Ten similar pools, no predatorsThe fish bred for about six months in ten pools with the same gravel, plants and light. Same start for every pool.
  3. 3 · Predators added (independent variable)
    4 pools + pike cichlidstrong predator of adult guppiesfewer, smaller spots
    4 pools + Rivulusweak predator, mostly of juvenilesmore spots
    2 pools, no predatorcontrolmore spots
  4. 4 · Measure the males (dependent variable)Number and size of colour spots on every male in each pool, counted at two census dates about 5 and 14 months after the predators were added. Several replicate pools per treatment show whether differences are consistent.

Field transplant

High-predation sitepike cichlids present; males dull
Stream above a waterfallno guppies before; only Rivulus
About 2 years latermales had more and larger spots, like low-predation populations
The design of Endler's experiments. Only the predator differed between treatments; replicate pools and predator-free controls allow the effect of predation to be separated from chance and from the conditions in the greenhouse.

Two selection pressures act on the colour of male guppies in opposite directions:

  • Sexual selection by females, who prefer to mate with males that have more, larger and brighter spots.
  • Natural selection by visual predators, which spot and catch conspicuous males more easily, favouring duller males.

In the greenhouse experiment, males in the pike cichlid pools ended up with fewer and smaller spots, while males in the Rivulus and predator-free pools became more colourful. In the field transplant, the descendants of fish moved from a high-predation site to a stream with only Rivulus became more colourful within about two years. Because guppies breed so quickly, this was roughly fifteen generations, showing that evolution can be observed over a few years when selection pressures change.

Simulation Endler's guppy experiments
Mean number of spots per male guppy in pools with different predatorsLines show the mean spots per male in each kind of pool over generations. A shaded band marks the first generations, when no pool had predators. Thin lines are the individual replicate pools.predators addedtransplant0481216202428048121620Generations since the pools were set upMean spots per male
Show

Pike cichlid pools (strong predator) 8.5 spots

Rivulus pools (weak predator) 14.3 spots

No predator (control pools) 14.4 spots

Moved from a pike cichlid pool to a new Rivulus pool 10.6 spots

Generation 28: mean spots per male — pike cichlid pools 8.5, Rivulus pools 14.3, control pools 14.4. Pike cichlids catch the most conspicuous males, so natural selection favours duller males with fewer spots. Where predation is weak or absent, females mating preferentially with colourful males (sexual selection) makes spots more numerous. Transplanted population: 8.8 spots when moved, 10.6 now — released from strong predation, it becomes more colourful.

Show data table
GenerationPike cichlidRivulusNo predatorTransplanted
010.09.99.9–
210.810.410.5–
49.010.710.8–
89.211.212.0–
128.511.812.4–
148.311.912.28.8
168.612.112.39.1
207.813.013.610.3
248.214.113.910.2
288.514.314.410.6

Qualitative model with seeded random numbers, after the design of Endler's experiments; the values are simulated, not Endler's data. Spots are controlled by ten genes and shown only by males. Every pool starts from the same varied stock and is held at 120 adults.

Text description of this simulation

A model of John Endler's experiments on guppies. Ten pools are stocked from one varied population and kept without predators for the first few generations. Then a strong predator of adult guppies, the pike cichlid, is added to four pools, a weak predator, Rivulus, to four, and two pools stay predator-free as controls. A line graph shows the mean number of spots per male in each kind of pool over 28 generations, with thin lines for each replicate pool. In pike cichlid pools the number of spots falls, because predators catch conspicuous males; in Rivulus and control pools it rises, because females prefer colourful males. A second line follows fish moved from a pike cichlid pool to a new Rivulus pool, whose males become more colourful. Sliders change the strength of female preference and of pike cichlid predation, and drawings show a typical male from each kind of pool.

Modelling selection by controlling the selection pressure

Endler’s work is an example of modelling natural and sexual selection with an experiment. He held other variables constant (the same stock, pools of the same size, gravel and lighting), changed only the independent variable (type of predator), and measured the dependent variable (spots per male). The simulation is a second kind of model: you can switch off female preference or predation and see which pressure produces each change.

Gene pools and allele frequencies

AHLSyllabus understandings: D4.1.9 · D4.1.10

The gene pool of an interbreeding population is the complete set of its genes, including every allele of each gene. Each individual carries only a small sample of the gene pool (two copies of each gene in a diploid organism), and at reproduction the next generation’s gene pool is formed from the alleles in the gametes of the individuals that breed. Individuals that do not breed contribute nothing.

The allele frequency of an allele is the proportion of all the copies of that gene in the gene pool that are that allele. For example, if 120 of 400 copies of a gene in a population of 200 diploid animals are allele b, its frequency is 120 ÷ 400 = 0.3.

Isolated populations have different allele frequencies

When populations of a species are geographically isolated, there is little or no gene flow between them, so their gene pools change independently. Different selection pressures, new mutations, genetic drift and founder effects make their allele frequencies diverge, which can eventually lead to speciation (see A4.1 Evolution and speciation). Human populations that were separated for thousands of years show this clearly.

Allele (gene) Higher frequency Low or absent Likely reason
Duffy-null allele (ACKR1, also called DARC) Much of sub-Saharan Africa: above 0.9 Europe and East Asia: close to 0 Resistance to the malaria parasite Plasmodium vivax, which uses the Duffy protein to enter red blood cells
CCR5-Δ32 (CCR5) Northern Europe: roughly 0.1–0.15 Most of Africa, East Asia and the Americas (indigenous populations): close to 0 Possibly an ancient selection pressure or genetic drift; carriers of two copies are resistant to many strains of HIV
Lactase persistence allele (near LCT) North-west Europe: high East Asia: close to 0 Selection in herding populations that drank milk as adults

Approximate values from published surveys; check current figures in a database.

Using a database

Allele frequency databases summarise genome sequences from many populations. Useful free examples are gnomAD, the Ensembl genome browser (population data from the 1000 Genomes Project) and the Allele Frequency Net Database, which covers HLA (tissue-type) genes.

  1. Search for the gene or the variant’s reference number (for example rs333 for CCR5-Δ32).
  2. Open the population genetics or allele frequency view.
  3. Record the frequency of the allele in each population or ancestry group, and the sample size.
  4. Compare populations in a bar chart and suggest reasons for the differences.

Selection changes allele frequencies

AHLSyllabus understandings: D4.1.11 · D4.1.12

Darwin did not know how inheritance works. After Mendel’s work was rediscovered in 1900, biologists in the 1930s and 1940s combined genetics with natural selection into neo-Darwinism (also called the modern synthesis). In neo-Darwinian terms:

  • variation is caused by different alleles, made by mutation and recombined by sexual reproduction;
  • individuals with heritable traits that give higher fitness leave more offspring, so their alleles make up a larger share of the next generation’s gene pool;
  • evolution is a change in allele frequencies in a gene pool over generations.

In the moth simulation, the dark allele frequency rises because moths carrying dark alleles survive to breed more often, not because any moth’s alleles change.

Patterns of selection

Many traits, such as height, body mass or beak depth, show continuous variation and form a bell-shaped distribution. Selection can act on such a distribution in three ways.

Patterns of selectionAHL
A varied populationA continuously varying, heritable trait:most individuals are near the mean, few at the extremesTrait value →Stabilizing selectionHuman birth mass: very light and very heavy babieshave had lower survival than babies of average massBirth mass →Directional selectionMedium ground finch, Daphne Major, 1977 drought: only large,hard seeds were left, and deeper-beaked birds survived betterBeak depth →Disruptive selectionBlack-bellied seedcracker, Cameroon: small bills handle softseeds, large bills hard seeds; intermediate birds do worseWidth of lower bill →Artificial selectionIllinois maize experiment: breeders sowed seed only fromthe plants with the highest oil content in their kernelsOil content of kernels →Number of individuals →meanbefore selectionselected againstafter selection
Text description of this animation

A graph of the number of individuals against the value of a continuously varying, heritable trait. It starts as a bell-shaped (normal) distribution. In each later step a shaded band shows the individuals that selection removes, the dashed curve shows the starting population and the solid curve shows the population after selection, with a line marking its mean. Stabilizing selection removes both extremes and narrows the curve without moving the mean. Directional selection removes one extreme and shifts the mean. Disruptive selection removes the intermediates and produces two peaks. Artificial selection by breeders keeps only the top of the range as parents and shifts the next generation towards it.

  1. A varied population. A heritable trait shows continuous variation, which is typical of traits controlled by several genes (polygenic). Most individuals are close to the mean and few are at the extremes. Selection can only act on variation that already exists.
  2. Stabilizing selection. Individuals at both extremes have lower fitness, so intermediates leave the most offspring. The mean stays the same but the range narrows. Example — human birth mass: historically, very light and very heavy babies had lower survival rates. Alleles carried by the extremes are passed on less often, so allele frequencies in the gene pool still change.
  3. Directional selection. Individuals at one extreme have the highest fitness, so the mean shifts in that direction over generations. Example — in the 1977 drought on Daphne Major (Galápagos), small soft seeds ran out; medium ground finches with deeper beaks could crack the remaining large, hard seeds and survived better, and the mean beak depth of the next generation was greater. Alleles for deeper beaks increased in frequency.
  4. Disruptive selection. Both extremes have higher fitness than intermediates, so the population splits towards two peaks. Example — in black-bellied seedcrackers in Cameroon, small-billed birds feed efficiently on soft seeds and large-billed birds on hard seeds, while birds with intermediate bills are worse at both and survive less well. Allele frequencies change in favour of the extremes.
  5. Artificial selection. Breeders deliberately choose which individuals reproduce. In the Illinois long-term experiment, begun in 1896, seed was sown only from maize plants with the highest kernel oil content; repeated every generation, this raised the oil content several-fold. Because the trait is only partly heritable, each generation moves part of the way towards the parents chosen.
Pattern Which individuals are favoured Effect on the distribution Example
Stabilizing Intermediates Mean unchanged; range narrows Human birth mass: babies of average mass have historically had the highest survival
Directional One extreme Mean shifts in one direction Medium ground finches on Daphne Major after the 1977 drought: deeper beaks survived
Disruptive Both extremes Splits towards two peaks; range widens Black-bellied seedcrackers in Cameroon: small and large bills each suit a different type of seed

Stabilizing selection is the most common pattern when a population is already well adapted to a stable environment. Directional selection is typical when the environment changes. Disruptive selection can occur when two different resources favour different extremes, and it may contribute to speciation.

The Hardy–Weinberg equation and its conditions

AHLSyllabus understandings: D4.1.13 · D4.1.14

For a gene with two alleles, A and a, let p be the frequency of A and q the frequency of a. Every copy of the gene is one or the other, so

p + q = 1

With random mating, the chance that an offspring receives A from both parents is p × p, a from both is q × q, and one of each is p × q + q × p. So the expected genotype frequencies are:

p² + 2pq + q² = 1, where p² = AA, 2pq = Aa and q² = aa.

Worked example: a recessive condition

Cystic fibrosis is caused by recessive alleles of the CFTR gene. Suppose 1 in 2500 newborns in a population has the condition.

  1. Affected individuals are aa: q² = 1 ÷ 2500 = 0.0004
  2. q = √0.0004 = 0.02
  3. p = 1 − 0.02 = 0.98
  4. Carriers (Aa): 2pq = 2 × 0.98 × 0.02 = 0.0392, about 1 in 25–26 (1 ÷ 0.0392 ≈ 25.5)

So although only 1 person in 2500 is affected, about 1 in 25–26 carries the allele. Most copies of a rare recessive allele are hidden in heterozygotes.

Worked example: codominant alleles

When alleles are codominant, all three genotypes can be identified and allele frequencies can be counted directly. In a sample of 1000 people tested for MN blood groups, 298 are MM, 489 MN and 213 NN. Then p(M) = (2 × 298 + 489) ÷ 2000 = 0.5425 and q(N) = 0.4575. Expected numbers are p² × 1000 ≈ 294, 2pq × 1000 ≈ 496 and q² × 1000 ≈ 209, very close to the observed numbers.

Conditions for genetic equilibrium

Allele and genotype frequencies stay constant (Hardy–Weinberg equilibrium) only if:

  1. the population is very large, so chance changes (genetic drift) are negligible
  2. mating is random: no mate choice by genotype and no inbreeding
  3. there is no mutation of the gene
  4. there is no migration into or out of the population (no gene flow)
  5. there is no natural selection: all genotypes survive and reproduce equally well

If observed genotype frequencies do not fit p², 2pq and q², at least one condition is broken. Too few heterozygotes, for example, suggests non-random mating such as inbreeding; a shortage of one homozygote among adults suggests that genotype has lower survival (selection).

Simulation Hardy–Weinberg calculator and allele frequency simulatorAHL

1 · Hardy–Weinberg calculator

Start from
Worked examples:
  1. q² = 0.0004 (frequency of the homozygous recessive genotype, aa)
  2. q = √0.0004 = 0.02
  3. p = 1 − q = 1 − 0.02 = 0.98
  4. p² = 0.98² = 0.9604
  5. 2pq = 2 × 0.98 × 0.02 = 0.0392
TermMeaningValue
pfrequency of allele A (dominant)0.98
qfrequency of allele a (recessive)0.02
p²AA, homozygous dominant0.9604
2pqAa, heterozygous (carriers)0.0392
q²aa, homozygous recessive0.0004

Check: p + q = 1; p² + 2pq + q² = 1. Carriers (Aa): 3.92% of the population, about 1 in 26.

2 · What makes allele frequencies change?

Frequency of allele a over 50 generations in five populationsThin coloured lines: five separate populations of the chosen size. Thick dashed line: what happens in a very large population with the same settings, where there is no genetic drift.0102030405000.250.50.751GenerationFrequency of allele a (q)Genotype frequencies of the breeding adults in the first population after 50 generationsFor each genotype, the observed percentage (solid bar) beside the percentage expected from p², 2pq and q² for the same allele frequencies (hatched bar).0%25%50%75%100%26%26%AA52%50%Aa23%24%aa

Hardy–Weinberg conditions

  • ✗ broken Very large population (no genetic drift) — now: 200
  • ✓ met Random mating — now: random
  • ✓ met No migration into or out of the population — now: none
  • ✓ met No natural selection: all genotypes survive and reproduce equally — now: none
  • ✓ met No mutation of this gene — not modelled (mutation rates are very low)

After 50 generations q is 0.5 in a very large population with these settings; the 5 populations of 200 ended between 0.4425 and 0.705. Conditions broken: small population (drift). Chance changes in allele frequency (genetic drift) differ between populations and are largest in small ones; an allele can be lost or fixed.

Show data table
GenerationPopulation 1Population 2Population 3Population 4Population 5Very large
00.5000.5000.5000.5000.5000.500
100.4720.4920.4950.4530.5020.500
200.5270.7520.6450.5450.4850.500
300.6300.7100.5730.5900.4270.500
400.5450.6900.4970.5470.4700.500
500.4820.7050.4650.5570.4430.500

Qualitative model with seeded random numbers. One gene with two alleles; each generation: random mating (or inbreeding), then selection against aa, then immigration, then a random sample of the parents' alleles forms the next generation (genetic drift).

Text description of this simulation

Part 1 is a calculator. Enter the frequency of the homozygous recessive genotype (q²), counts of the two phenotypes when one allele is dominant, or counts of all three genotypes when the alleles are codominant. It shows each step of the working and gives p, q, p², 2pq and q², the carrier frequency, and, for genotype counts, a chi-squared test of fit to Hardy–Weinberg proportions. Preset buttons load worked examples. Part 2 simulates one gene with two alleles in five separate populations over 50 generations, with sliders for the starting frequency of allele a, selection against the aa genotype, population size, migration and non-random mating (inbreeding). A line graph shows how q changes in each population and in a very large population without drift; a bar chart compares the genotype frequencies of the breeding adults with those predicted by p², 2pq and q²; and a checklist shows which Hardy–Weinberg conditions are being met.

Artificial selection

AHLSyllabus understandings: D4.1.15

In artificial selection (selective breeding), humans deliberately choose individuals with desirable traits and breed only from them. Repeating this for many generations changes allele frequencies in the domesticated population, just as natural selection does, but the “selection pressure” is the breeder’s choice, not survival in the wild.

  • Crop plants. Maize was bred from a wild grass, teosinte, in Mexico about 9000 years ago; wild cabbage was bred into cabbage, kale, broccoli, cauliflower and Brussels sprouts (see A4.1 Evolution and speciation). In the Illinois long-term selection experiment, started in 1896, seed was taken each generation only from the maize plants with the highest (or, in a second line, the lowest) oil content in their kernels. The high-oil line now has several times the oil content of the original variety, and the low-oil line very little.
  • Domesticated animals. Selection of the highest-yielding cows as parents has greatly increased milk yield per cow in dairy breeds; dog breeds as different as Chihuahuas and Great Danes were all bred from wolves.

Natural or artificial?

Human activity often causes evolution without anyone choosing traits. When an antibiotic is used, susceptible bacteria die and the few resistant ones survive and multiply, so resistance spreads (see C3.2 Defence against disease). Nobody chose resistant bacteria to breed: this is natural selection, with the antibiotic acting as the selection pressure. The same applies to insects evolving resistance to pesticides and weeds to herbicides.

Must-know definitions

Natural selection
The process by which individuals with heritable traits that suit them better to their environment survive and reproduce more than others, so the alleles for those traits become more common in the population over generations. It is the main mechanism of evolution.
Paradigm shift
A fundamental change in the accepted framework of ideas in a branch of science, in which an old theory is replaced by a new one that explains the evidence better. Darwin's theory of evolution by natural selection replacing Lamarckism is an example.
Sources of variation
Mutation creates new alleles. Sexual reproduction creates new combinations of existing alleles: crossing over and random orientation of homologous pairs in meiosis, and fusion of gametes from two parents at fertilization.
Selection pressure
Any factor that makes some individuals more likely than others to survive and reproduce. Biotic pressures come from living things (predators, competitors, pathogens, mates); abiotic pressures from non-living factors such as extreme temperature, drought or fire.
Fitness
How well a genotype survives and reproduces in a particular environment, measured by the number of offspring it contributes to the next generation compared with other genotypes. It is reproductive success, not strength or health.
Sexual selection
Selection for traits that increase success in obtaining mates, either by being chosen by the other sex (for example female choice of male plumage in birds of paradise) or by winning contests with rivals of the same sex.
Gene poolAHL
All the genes, and all the different alleles of those genes, present in an interbreeding population.
Allele frequencyAHL
The proportion of all copies of a gene in a population that are one particular allele, from 0 to 1. For two alleles, the frequencies p and q add up to 1. A change in allele frequency over generations is evolution.
Neo-DarwinismAHL
The modern theory of evolution, which combines Darwin's natural selection with Mendelian and molecular genetics: variation comes from mutation and sexual reproduction, and evolution is a change in allele frequencies in a gene pool.
Hardy–Weinberg equationAHL
For one gene with two alleles of frequencies p and q (p + q = 1), the expected genotype frequencies with random mating are p² (homozygous dominant), 2pq (heterozygous) and q² (homozygous recessive), so p² + 2pq + q² = 1.
Hardy–Weinberg (genetic) equilibriumAHL
Allele and genotype frequencies stay constant from generation to generation if the population is very large, mating is random, and there is no mutation, no migration and no natural selection. A population that departs from the predicted frequencies is breaking at least one of these conditions.

Common exam mistakes

  • Loses marks Organisms adapt because they need to: giraffes grew longer necks because they needed to reach higher leaves.

    Write instead Variation exists before selection, produced at random by mutation and sexual reproduction. Individuals that already happen to have favourable heritable traits survive and reproduce more, so those traits become more common. Need does not cause the variation.

  • Loses marks Characteristics developed during life, such as muscles built by training, are passed on to offspring.

    Write instead These are acquired characteristics. They do not change the base sequence of genes in gametes, so they are not inherited. This was Lamarck's idea, replaced by Darwin's theory.

  • Loses marks Survival of the fittest means the strongest, fastest or healthiest individuals win.

    Write instead Fitness means reproductive success in a particular environment: the number of offspring an individual or genotype leaves compared with others. A dull guppy that avoids predators, or a small seed-eater in a soft-seed habitat, can be the fittest.

  • Loses marks Individual organisms evolve during their lifetimes.

    Write instead An individual's genes do not change in response to the environment. Selection changes which individuals survive and breed, so it is the population (its allele frequencies) that evolves over generations.

  • Loses marks Mutations happen when an organism needs them, for example bacteria mutate to become resistant to an antibiotic.

    Write instead Mutations arise randomly, whether or not they are useful. Resistant bacteria were already present before the antibiotic was used; the antibiotic killed the susceptible bacteria and so selected the resistant ones.

  • Loses marks Sexual selection is the same as natural selection for survival.

    Write instead Sexual selection favours traits that increase mating success, even when they reduce survival. Bright male guppies attract females but are caught more by predators, so the two pressures pull in opposite directions.

  • Loses marks In Hardy–Weinberg questions, the frequency of the dominant phenotype is p².

    Write instead Individuals with the dominant phenotype are AA or Aa, so their frequency is p² + 2pq. Only the recessive phenotype reveals its genotype: start from q², take the square root to get q, then p = 1 − q.

    AHL
  • Loses marks Stabilizing selection does not change the gene pool because the mean stays the same.

    Write instead Stabilizing, directional and disruptive selection all change allele frequencies. In stabilizing selection the individuals at both extremes leave fewer offspring, so the alleles they carry are passed on less often and variation decreases.

    AHL
  • Loses marks Antibiotic resistance in bacteria is an example of artificial selection, because humans caused it.

    Write instead It is natural selection: nobody deliberately chose resistant bacteria to breed. Artificial selection is the deliberate choice of individuals with desired traits for breeding, as in crop plants and domesticated animals.

    AHL

Self-test

Answer the questions, then check. Your best score and the flashcards you know are saved in this browser only.

Multiple-choice questions

  1. Question 1Why is the replacement of Lamarckism by Darwin's theory of natural selection described as a paradigm shift?
  2. Question 2Which process is the original source of new alleles in a population?
  3. Question 3An unusually severe frost kills 60% of the plants in a population of a perennial herb. The proportion killed is the same in dense and in sparse patches. Which statement is correct?
  4. Question 4Four female rabbits in the same population are compared. Which one has the highest fitness?
  5. Question 5A weightlifter has greatly enlarged muscles from years of training. Which statement explains why the trait will not be inherited by the weightlifter's children?
  6. Question 6In an experiment based on Endler's design, guppies from one varied stock were kept in ten pools without predators, then predators were added. Mean spots per male at the start, in all pools — 10.5. After 14 months — pike cichlid pools 9.0; Rivulus pools 12.5; pools with no predator 13.0. Which is the best interpretation?
  7. Question 7AHLIn a lake, small fish of one species feed efficiently on plankton and large fish feed efficiently on snails. Fish of intermediate size are poor at both. What pattern of selection is this, and what is its effect?
  8. Question 8AHLPhenylketonuria (PKU) is caused by a recessive allele. In a population, 1 in 10 000 babies has PKU. Assuming Hardy–Weinberg equilibrium, what is the frequency of carriers (heterozygotes)?
  9. Question 9AHLIn a plant population the genotype frequencies are AA 0.45, Aa 0.20 and aa 0.35, so p = 0.55 and q = 0.45. Hardy–Weinberg predicts AA 0.30, Aa 0.50 and aa 0.20. Which is the most likely explanation of the difference?
  10. Question 10AHLWhich of these is an example of artificial selection?

Flashcards

Say the answer to yourself, then reveal it. Mark Got it or Again; cards you've got move to the back of the deck.

Prompt

Outline the steps of evolution by natural selection.

Last reviewed 19 October 2026. Spotted a mistake? Report it.

Type at least 2 letters.