| Study Guides
AP · Community Ecology · 14 min read · Updated 2026-05-10

Community Ecology — AP Biology Study Guide

For: AP Biology candidates sitting AP Biology.

Covers: community structure, interspecific interactions, the competitive exclusion principle, Simpson’s diversity index, ecological succession, keystone species, and trophic cascades, aligned to all AP Biology CED Unit 8 Ecology learning objectives for this topic.

You should already know: Population growth models and carrying capacity, energy flow through trophic levels, evolutionary adaptation via natural selection.

A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the AP Biology style for educational use. They are not reproductions of past College Board / Cambridge / IB papers and may differ in wording, numerical values, or context. Use them to practise the technique; cross-check with official mark schemes for grading conventions.


1. What Is Community Ecology?

A biological community is defined as all the populations of different species that live and interact in the same discrete geographic area at the same time. Community ecology is the study of how interactions between species, and between species and their abiotic environment, shape the size, structure, diversity, and dynamics of these communities over time. Unlike population ecology (which focuses on dynamics of a single species population) or ecosystem ecology (which focuses on energy and nutrient cycling across the entire system), community ecology centers explicitly on interspecific interactions as the core driver of community properties. Aligned to the AP Biology CED, Unit 8 (Ecology) accounts for 10–15% of the total AP exam score, and community ecology makes up approximately one-third of that unit weight, translating to 3–4.5% of total exam points. Content from this topic appears regularly on both the multiple-choice (MCQ) and free-response (FRQ) sections of the exam: MCQs typically test classification of species interactions, interpretation of diversity data, and succession patterns, while FRQs often require analysis of experimental data on competition or keystone species, and connection of community diversity to ecosystem resilience.

2. Interspecific Interactions and Competitive Exclusion Principle

Interspecific interactions are any interactions between individuals of different species living in the same community, classified based on their net effect on the fitness of each interacting individual. The five core interaction types are: (1) Competition (-/-): both individuals experience reduced fitness because they require the same limiting resource; (2) Predation/parasitism (+/-): one individual gains fitness at the expense of the other, with parasitism being a subtype where the parasite lives on/in the host without killing it immediately; (3) Mutualism (+/+): both individuals gain increased fitness from the interaction, often via resource or service exchange; (4) Commensalism (+/0): one individual gains fitness while the other is entirely unaffected.

The competitive exclusion principle (first demonstrated by Gause’s Paramecium experiments) states that two species cannot occupy identical fundamental niches in the same environment indefinitely. A niche is the full set of biotic (e.g., food, habitat) and abiotic (e.g., temperature, pH) resources a species requires to survive and reproduce. The fundamental niche is the entire set of resources a species can use in the absence of competition, while the realized niche is the smaller set of resources it actually uses when competition is present. When niches overlap completely, one more efficient competitor will exclude the weaker competitor locally; coexistence occurs only via resource partitioning, where species evolve to use different subsets of limiting resources.

Worked Example

Problem: A researcher studies two species of wild sunflower that grow in the same prairie habitat. Species A can grow in soil pH ranging from 5.5 to 7.0 when grown alone, but when Species B is present, Species A only grows in pH 5.5 to 6.2. Identify the realized niche of Species A, and explain whether this supports competitive exclusion or resource partitioning.

  1. Recall: The realized niche is the actual range of resources an organism uses in the presence of competition, while the fundamental niche is the range without competition.
  2. Match to the data: When alone, Species A occupies a fundamental niche of 5.5–7.0 pH. With competition, it is restricted to 5.5–6.2 pH, so this range is its realized niche.
  3. Evaluate the outcome: Both species coexist, each restricted to a subset of their fundamental niche. Competitive exclusion would result in one species being eliminated entirely, which does not occur here.
  4. Conclusion: The realized niche of Species A is 5.5–6.2 pH, and this observation supports resource partitioning.

Exam tip: On FRQs asking to distinguish fundamental and realized niche, always explicitly mention the role of competition to earn full points.

3. Community Diversity: Simpson's Diversity Index

Community diversity has two core components: species richness (the total number of different species in the community) and relative abundance (the proportion of the total community that each species makes up). Simpson’s Diversity Index () is a metric that accounts for both richness and evenness (equality of relative abundance) to give a holistic measure of overall diversity, which makes it more useful than richness alone for comparing communities.

The AP Biology CED uses the standard formula for Simpson’s Diversity Index: Where = number of individuals of a single species, = total number of individuals across all species, and = the sum of across all species. ranges from 0 to 1: values closer to 1 indicate higher diversity, while values closer to 0 indicate lower diversity. A community with only one species will always have , and both higher species richness and more even abundance increase .

Worked Example

Problem: A researcher samples a 10m x 10m plot of a regenerating forest and counts 50 total individual trees, with the following species counts: Species 1 = 20, Species 2 = 18, Species 3 = 12. Calculate Simpson’s Diversity Index for this plot.

  1. Confirm total number of individuals: , which matches the given total.
  2. Calculate : .
  3. Calculate for each species: Species 1 = ; Species 2 = ; Species 3 = .
  4. Sum the values: .
  5. Plug into the formula: .

Exam tip: Always double-check that you subtract the fraction from 1. AP question writers frequently use the unsubtracted dominance value as a distractor for MCQs.

4. Ecological Succession and Keystone Species

Ecological succession is the predictable, sequential change in community structure over time following a disturbance that alters the existing community. There are two main types of succession, distinguished by the starting conditions after disturbance. Primary succession occurs when a disturbance removes all soil and nearly all living organisms, for example after a volcanic eruption creates new rock, or a glacier retreats leaving bare bedrock. The first colonizers are pioneer species (usually lichens and mosses) that break down rock to build soil, which allows grasses, then shrubs, then trees to colonize over hundreds of years until a stable climax community forms.

Secondary succession occurs when a disturbance removes most above-ground vegetation but leaves the soil profile intact. Examples include wildfires, hurricanes, or clear-cutting for timber. Secondary succession proceeds much faster than primary succession because soil is already present, and many seeds of early successional species persist in the soil. Keystone species are species that have a disproportionately large effect on community structure relative to their biomass or abundance; removing a keystone species causes a dramatic collapse of diversity, often via a trophic cascade, where indirect effects ripple through all lower trophic levels.

Worked Example

Problem: A wildfire burns through a Rocky Mountain conifer forest, removing 90% of above-ground vegetation but leaving the majority of the soil profile intact. Researchers measure tree community diversity 10, 50, and 100 years after the fire, leading up to the climax community. Is this primary or secondary succession? Justify your answer and describe the trend in Simpson’s Diversity Index over this period.

  1. Recall the key distinction between succession types: primary succession requires complete removal of soil, while secondary succession leaves intact soil after disturbance.
  2. Justify the classification: The scenario explicitly states soil remains intact, so this is secondary succession.
  3. Describe the diversity trend: 10 years after the fire, only a few fast-growing pioneer species are abundant, so diversity is low. As time passes, slower-growing climax species colonize and coexist with remaining pioneer species, increasing diversity.
  4. Conclusion: This is secondary succession, and Simpson’s D will increase from 10 to 100 years after the fire before stabilizing at a high level in the climax community.

Exam tip: Always explicitly mention the presence or absence of intact soil in your FRQ justification for succession type—this is almost always a required scoring point.

5. Common Pitfalls (and how to avoid them)

  • Wrong move: Calling interspecific competition a +/- interaction. Why: Students confuse competition with predation, or assume only the losing species is harmed. Correct move: Always classify competition as -/- because both species have reduced access to resources and lower fitness than they would without competition.
  • Wrong move: Reporting Simpson's Diversity Index as instead of 1 minus that value. Why: Some textbooks use this alternative value to measure species dominance, not diversity. Correct move: Remember AP uses the diversity version where higher values equal higher diversity, so always subtract the ratio from 1 before reporting.
  • Wrong move: Assuming higher species richness always means higher Simpson's diversity. Why: Students forget Simpson's D accounts for relative abundance as well as richness. Correct move: When comparing diversity, always check evenness: a community with 10 species dominated by one species has lower D than a community with 5 evenly distributed species.
  • Wrong move: Claiming primary succession happens "first" before secondary succession. Why: Students misinterpret the prefixes "primary" and "secondary" as order of events, not starting conditions. Correct move: Always distinguish the two based on whether intact soil remains after disturbance (secondary) or is completely removed (primary).
  • Wrong move: Labeling the most abundant species in a community as a keystone species. Why: Students confuse keystone species with dominant species, which are abundant and have large effects. Correct move: Remember keystone species are defined by their disproportionate effect relative to their abundance; rare top predators are keystone, abundant trees are dominant.
  • Wrong move: Stating that climax communities are permanent and unchanging. Why: Older textbooks describe climax communities as stable, but AP CED emphasizes that disturbance is a natural part of all ecosystems. Correct move: Describe climax communities as relatively stable over long periods, but still subject to future disturbances that restart succession.

6. Practice Questions (AP Biology Style)

Question 1 (Multiple Choice)

A marine ecologist compares two intertidal communities. Community 1 has 4 species with the following counts: 25, 25, 25, 25. Community 2 has 5 species with the following counts: 91, 2, 2, 2, 3. Which of the following correctly compares the species richness and Simpson's Diversity Index of the two communities? A) Community 2 has higher species richness and higher Simpson's D than Community 1 B) Community 2 has higher species richness, but Community 1 has higher Simpson's D than Community 2 C) Community 1 has higher species richness and higher Simpson's D than Community 2 D) Species richness is the same for both communities, but Community 1 has higher Simpson's D

Worked Solution: First, species richness is simply the number of species in the community. Community 1 has 4 species, Community 2 has 5 species, so Community 2 has higher richness, eliminating options C and D. Next, Simpson's D accounts for evenness of abundance: Community 1 has completely even abundance, while Community 2 is overwhelmingly dominated by one species. Calculations confirm: Community 1 D ≈ 0.758, Community 2 D ≈ 0.171, so Community 1 has higher D. The correct answer is B.


Question 2 (Free Response)

Sea otters are top predators that feed on sea urchins, which in turn feed on kelp—large brown algae that form dense kelp forests providing habitat for hundreds of fish and invertebrate species. When sea otters are removed, sea urchin populations explode, overgraze kelp, and the kelp forest collapses, leading to massive loss of species diversity. (a) Identify sea otters as a keystone species or a dominant species, and justify your identification in one sentence. (b) Draw a simple graph showing the predicted relationship between sea otter population density and kelp areal coverage. Label your axes, and explain the relationship. (c) Predict the effect of sea otter removal on Simpson's Diversity Index of the coastal community, and connect this observation to the concept of trophic cascades.

Worked Solution: (a) Sea otters are a keystone species. They have a disproportionately large effect on community structure relative to their biomass/abundance, which matches the definition of a keystone species. (b) X-axis: Sea otter population density (individuals per km²); Y-axis: Kelp areal coverage (% of area covered). The relationship is positive and increasing: as sea otter density increases, kelp coverage increases. This is because more sea otters mean higher predation rates on urchins, which reduces urchin grazing pressure on kelp, allowing more kelp to grow and persist. (c) Sea otter removal will cause a significant decrease in Simpson's Diversity Index. When sea otters are removed, this triggers a trophic cascade: an indirect effect that alters abundance across multiple trophic levels. Without top-down control from sea otters, urchin populations increase, overgraze kelp, and eliminate the kelp forest habitat that dozens of other species depend on. This reduces both species richness and evenness of the coastal community, lowering Simpson's D.


Question 3 (Application / Real-World Style)

Ecologists study the effect of invasive garlic mustard on understory plant communities in Midwestern deciduous forests. They sample two 100m² plots: one uninvaded, and one invaded by garlic mustard, with the count data below (both plots have 120 total individuals):

  • Uninvaded: Trillium (25), Trout lily (35), Wild geranium (20), Spring beauty (30), Garlic mustard (10)
  • Invaded: Garlic mustard (85), Trillium (10), Trout lily (15), Wild geranium (5), Spring beauty (5) Calculate Simpson's Diversity Index for both plots, and interpret your result in the context of invasive species impact.

Worked Solution: For the uninvaded plot: , so . Sum of . . For the invaded plot: , . Sum of . . Interpretation: Invasion by garlic mustard reduces overall understory plant diversity, with the uninvaded community having a much higher Simpson's D (0.781) than the invaded community (0.476). Garlic mustard outcompetes native species, reducing native richness and evenness to lower overall community diversity.

7. Quick Reference Cheatsheet

Category Formula / Rule Notes
Interspecific Interaction Classification Competition = (-/-); Predation/Parasitism = (+/-); Mutualism = (+/+); Commensalism = (+/0) Classified by net fitness impact on each interacting species
Competitive Exclusion Principle No two species with identical fundamental niches can coexist permanently One species will outcompete the other, leading to local extinction
Niche Definitions Fundamental = niche without competition; Realized = actual niche with competition AP exam tests this distinction more often than any other concept here
Simpson's Diversity Index = individuals per species, = total individuals; = low diversity, = high diversity
Primary Succession Occurs on bare substrate with no intact soil Starts with pioneer lichens/mosses, proceeds over hundreds of years
Secondary Succession Occurs after disturbance that leaves intact soil Proceeds much faster than primary, seeds often persist in soil
Keystone Species Effect on community ≫ proportional to abundance Removal causes large, permanent drop in community diversity
Trophic Cascade Indirect effect of top predators that alters abundance across multiple trophic levels Most often driven by keystone top predators

8. What's Next

Mastery of community ecology is a required prerequisite for the next core topics in AP Biology Unit 8 Ecology: ecosystem ecology, which focuses on energy flow, nutrient cycling, and how community properties shape overall ecosystem function and resilience. Without understanding species interactions, diversity, and community dynamics, you will not be able to correctly analyze how anthropogenic disturbances like climate change or invasive species alter whole ecosystem function, a common high-weight FRQ topic. Community ecology also connects to earlier topics across the course, including evolution by natural selection (where interspecific interactions drive coevolution) and population ecology (where interspecific interactions limit population growth and set carrying capacity for competing species). Next, you will build on this foundation to study related topics in Unit 8:

← Back to topic

Stuck on a specific question?
Snap a photo or paste your problem — Ollie (our AI tutor) walks through it step-by-step with diagrams.
Try Ollie free →