AP Biology · Topic 8.5 · Reading guide, about 6 min

Species interactions, niches and Simpson's diversity index

Richness, evenness and Simpson's diversity index, the +/- logic of species interactions, trophic cascades, niches, competitive exclusion and partitioning.

In one minute

A community is every population of every species sharing a place. Ecologists describe it in two ways: by counting who is there and how evenly they are spread, and by mapping how species affect one another. This topic covers both, including a formula that turns raw counts into a single diversity score.

Interactions matter because they change population sizes. A predator can hold a grazer in check, a competitor can squeeze a rival into a narrower role, and the loss of one link can ripple down a food web to reshape a whole landscape.

Key terms

Species richness
The number of different species in a community.
Species evenness
How equal the population sizes of the species are. A community dominated by one species has low evenness.
Simpson's diversity index
1 - sum of (n/N)^2, where n is the count of one species and N the total count. Values near 1 mean high diversity; 0 means one species.
Niche
The full set of resources a species uses and conditions it tolerates: what it eats, where and when it is active, the temperatures it can survive.
Fundamental vs. realized niche
The fundamental niche is everything a species could use; the realized niche is the part it actually uses when other species are present.
Competitive exclusion
The principle that two species using the same limiting resource in the same way cannot coexist indefinitely; one eventually wins.
Resource partitioning
Coexisting species using a shared resource in different ways, places or times, a pattern produced by natural selection.
Trophic cascade
A chain of effects in which a change at one trophic level, often among top predators, alters levels two or more steps below.

Describing a community with Simpson's index

Species composition lists which species are present. Species diversity combines richness, the number of species, with evenness, how equally individuals are spread among them. Two meadows with the same four species can differ greatly in diversity if one is overrun by a single grass.

Simpson's diversity index captures both: D = 1 - sum of (n/N)^2. Find each species' proportion of the total, square it, add the squares, and subtract the sum from 1. The index can be read as the chance that two individuals picked at random belong to different species.

In the table, both fictional meadows hold 100 plants of the same four species. Meadow A has 30, 30, 20 and 20: the squares are 0.09, 0.09, 0.04 and 0.04, adding to 0.26, so D = 0.74. Meadow B has 70, 10, 10 and 10: the squares are 0.49, 0.01, 0.01 and 0.01, adding to 0.52, so D = 0.48. Same richness, lower evenness, lower diversity.

Simpson's index for two fictional meadows with the same four species (100 plants each)
SpeciesMeadow A countMeadow A (n/N)^2Meadow B countMeadow B (n/N)^2
Bluegrass300.09700.49
Clover300.09100.01
Yarrow200.04100.01
Plantain200.04100.01
Total and sum of squares1000.261000.52
Simpson's index (1 - sum)-0.74-0.48

Sorting interactions by who gains and who loses

Classify an interaction by its effect on each partner. Mutualism (+/+): bees gather nectar and carry pollen between flowers; nitrogen-fixing bacteria in bean root nodules trade usable nitrogen for sugar. Commensalism (+/0): cattle egrets follow grazing cattle and snap up insects the cattle stir up, with no clear effect on the cattle. Predation (+/-): a lynx kills a hare. Herbivory (+/-): deer browse young maple shoots. Parasitism (+/-): a tick feeds on a deer's blood, usually without killing it. Competition (-/-): lions and hyenas fight over the same carcasses, and each loses food to the other.

Predator and prey shape each other's numbers and traits. Prey populations often rise, the predators that eat them rise a little later, the prey decline under that pressure, and the predators follow them down. Over generations, selection favors prey with camouflage, speed or toxins and predators with better senses or tactics. Cooperation also shapes communities, from mutualists that depend on each other to members of one species that hunt or defend together.

Niches, competitive exclusion and partitioning

In the 1930s Georgy Gause grew two species of Paramecium that ate the same bacteria. Each thrived alone, but together one species always drove the other out. This competitive exclusion shows that two species cannot fill exactly the same niche for long. When he paired a different combination, the two coexisted by feeding in different zones of the culture tube.

Competition can shrink a species' realized niche below its fundamental niche. On Scottish rocky shores, one barnacle species lives high on the rocks and a larger one lives lower. When researchers removed the larger barnacle, the first species settled and survived lower down, showing it had been crowded out of space it could use.

Coexisting competitors usually divide resources. Several warbler species feed in the same spruce trees but forage in different zones, from treetop to lower branches. Caribbean Anolis lizards on the same island specialize on different perches: tree trunks, thin twigs, the ground. Where two similar species overlap, their traits can diverge more than where each lives alone, a pattern called character displacement; Galapagos ground finches sharing an island differ more in beak size than populations living apart. This resource partitioning comes from natural selection: individuals that competed less left more offspring.

Trophic cascades

Effects can skip levels. After wolves were reintroduced to Yellowstone National Park in 1995 and 1996, elk numbers fell and elk browsed streamside willows and aspens less heavily in some areas. Willow recovery in places helped beavers and songbirds. Researchers still debate how much of this change came from wolves and how much from other factors such as drought, bears and human hunting, but the case is widely studied as a possible cascade.

Along the North Pacific coast, sea otters eat sea urchins, and urchins graze kelp. Where fur hunting wiped out otters, urchins multiplied and stripped kelp forests into bare urchin barrens; where otters returned, kelp regrew, along with the fish and invertebrates that live in it.

How it connects

  • Back to 7.10: character displacement and partitioning can push diverging populations further apart, part of how adaptive radiations unfold.
  • Back to 8.4: predation, parasitism and competition are density-dependent limits that hold populations near K.
  • Forward to 8.6: sea otters reappear as a keystone species whose removal collapses community diversity.
  • Forward to 8.7: an invasive species can win competition outright, cutting native richness and evenness.

Common mistakes

  • Reporting the sum of squares as the index. The sum is the dominance term. Subtract it from 1 to get Simpson's index.
  • Treating richness as the whole of diversity. Two communities with equal species counts can differ in diversity because of evenness.
  • Saying species decide to share resources. Partitioning arises because, over many generations, individuals that competed less left more offspring.
  • Calling every +/- interaction predation. A parasite lives on or in its host and usually does not kill it quickly; herbivores eat plants, often without killing them.

How it shows up on the exam

  • Calculating Simpson's index from species counts, often to compare two sites or a site before and after a disturbance.
  • Classifying an interaction from a description of how each species fares, or from population data with and without the partner.
  • Removal or exclusion experiments: identify the control, then decide whether the results show competition and a realized niche narrower than the fundamental one.
  • Predator-prey graphs or food web diagrams: explain lags in peaks or predict a cascade when a top predator is added or removed.

Check yourself

  1. A forest plot holds 60 ferns, 30 mosses and 10 lichens. What is its Simpson's index?
  2. Two reefs each have six fish species. What would make one reef's index much higher than the other's?
  3. How would you design an experiment to test whether one plant species limits another's realized niche?
  4. Why would selection favor different beak sizes in two finch species that share an island?

Worked problems

Worked example Easy

A fictional tide pool holds 50 animals: 25 snails, 15 crabs and 10 sea anemones. What is its Simpson's diversity index, D = 1 − Σ(n/N)²?

  1. 0.38
  2. 0.62Answer
  3. 0.66
  4. 0.75

How to solve it

  1. Find each proportion: snails 25/50 = 0.5, crabs 15/50 = 0.3, anemones 10/50 = 0.2.
  2. Square and add: 0.25 + 0.09 + 0.04 = 0.38.
  3. Subtract from 1: D = 1 − 0.38 = 0.62.

Why each choice is right or wrong

  • A. Incorrect. 0.38 is Σ(n/N)² itself; it still has to be subtracted from 1.
  • B. Correct. The proportions are 0.5, 0.3 and 0.2, their squares add to 0.25 + 0.09 + 0.04 = 0.38, and 1 − 0.38 = 0.62.
  • C. Incorrect. 0.66 leaves out the anemones' term of 0.04, using 1 − (0.25 + 0.09).
  • D. Incorrect. 0.75 uses only the snails, 1 − 0.25, and ignores the crabs and anemones.

Worked example Medium

Two fictional crab species forage on a tidal mudflat for the same small worms. Crab B has never been seen to attack or eat crab A. Where crab A lives alone, it forages both day and night. Where both species live, crab A forages only at night and crab B only by day. When researchers fenced crab B out of test plots, crab A in those plots began foraging by day within a few weeks.

Which explanation best fits these observations?

  1. Crab A is a strictly nocturnal species, active only at night whatever other crabs are present
  2. The two crabs are mutualists, since each leaves part of the day free for the other to use
  3. Competition with crab B limits crab A to a realized niche narrower than its fundamental nicheAnswer
  4. Crab B preys on crab A by day, so crab A hides then and forages only in the dark

How to solve it

  1. Compare crab A alone and with crab B: alone it uses day and night; with crab B it uses only the night.
  2. The fence test removes crab B, and crab A returns to day foraging, so crab B's presence is what limits it.
  3. Both eat the same worms and crab B does not attack crab A, so this is competition: crab A's fundamental niche includes daytime, but its realized niche shrinks where crab B forages.

Why each choice is right or wrong

  • A. Incorrect. Alone, crab A forages day and night, and it went back to day foraging when crab B was fenced out, so it is not strictly nocturnal.
  • B. Incorrect. In mutualism both partners benefit from each other; here crab B's presence costs crab A its daytime foraging.
  • C. Correct. Crab A can forage by day (its fundamental niche), but where crab B competes for the same worms by day, crab A uses only the night (its realized niche).
  • D. Incorrect. The passage says crab B has never been seen to attack or eat crab A, and both eat the same worms, which points to competition.

Short example In one example

On a fictional reef, a small shrimp picks parasites off fish that line up at its rock. The shrimp gets a meal and the fish lose their parasites, so both partners gain: a mutualism.

Problems like it

Try each one before you read the explanation.

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.