What Ecology Is

Ecology and Ecosystems Fundamentals 🏆

Course 1 · Chapter 1 · What Ecology Is

Walk through any Scottish glen, London park or Norfolk reedbed and you are walking through a web of relationships: the bird eating the berry that carries the seed, the fungus feeding on the fallen branch, the rain that fills the burn that feeds the trout. Ecology is the science of those relationships: how living things interact with each other and with their surroundings, and so where they live, how many there are and why. This first chapter sets out the map for the whole course. You will meet the six levels at which ecologists work, learn how they count things they can never count completely, and try two real field methods in a few lines of Python. The maths is light: an average and a ratio.

What to trust in this chapter
The Python snippets in this chapter and in the three exercise solutions were run, and the output in the comments is what Python printed. The ecological ideas (the levels of organisation, quadrats, mark-recapture) are standard textbook material written from general knowledge, not fetched from a source for this chapter; check them against a current ecology textbook before relying on them. Every number inside the code is invented to show a method and is not a measurement of any real place.

Ecology Is Not the Same as Environmentalism

People use “ecology” to mean recycling, green politics or being kind to nature. Those are worthy, but they are actions and values. Ecology itself is a science, like physics or chemistry: it asks questions, collects evidence and tests explanations. The word comes from the Greek oikos (house) and logos (study), coined by the German biologist Ernst Haeckel in the 1860s: the study of nature’s household. The science tells us how nature works; what we choose to do about it is a separate decision, which Ecology and Ecosystems Fundamentals 11 and Ecology and Ecosystems Fundamentals 12 come to at the end of the course.

Six Levels, from One Animal to the Whole Planet

Ecologists work at several scales, each one containing the one before it. Choosing the right level matters, because each asks a different kind of question.

LevelWhat it isExampleA question asked here
1. OrganismOne individual living thingOne red squirrelHow does it find food and survive winter?
2. PopulationAll individuals of one species in one placeAll red squirrels in Kielder ForestIs the number rising or falling, and why?
3. CommunityAll the species living together in one placeEvery plant, animal and fungus in the forestWhich species compete, eat or help each other?
4. EcosystemThe community plus its non-living surroundingsThe forest with its soil, water and climateHow do energy and nutrients move through it?
5. BiomeA large region defined by its climate and typical lifeTemperate coniferous forest, tundra, desertWhy do similar climates grow similar vegetation?
6. BiosphereAll life on Earth and the places it livesThe planet’s living layerHow does life change the air and oceans?

The same animal can be studied at any of them. A grey seal off the Moray coast is an organism (how deep does it dive?), part of a population (is the colony growing?), part of a marine community (what does it eat, and what eats its pups?) and part of an ecosystem (how does it move nutrients from the open sea to the coast?). A useful habit is to ask, whenever you read an ecological claim, which level is this about? The code below lists the levels with one example each, the sort of lookup table you will reuse in Exercise 1.

# The six levels of ecology, smallest to largest, with an example of each. levels = ["organism", "population", "community", "ecosystem", "biome", "biosphere"] examples = { "organism": "one red squirrel", "population": "all red squirrels in Kielder Forest", "community": "every species living in Kielder Forest", "ecosystem": "the forest community plus its soil, water and climate", "biome": "temperate coniferous forest", "biosphere": "all life on Earth and where it lives", } for i, lv in enumerate(levels, 1): print(f"{i}. {lv:11s} {examples[lv]}") # Output: # 1. organism one red squirrel # 2. population all red squirrels in Kielder Forest # 3. community every species living in Kielder Forest # 4. ecosystem the forest community plus its soil, water and climate # 5. biome temperate coniferous forest # 6. biosphere all life on Earth and where it lives
Habitat and niche
Two more words you will meet often. A species’ habitat is where it lives (its address: a peat bog, a rocky shore). Its niche is what it does and needs there (its job: what it eats, when it is active, what conditions it tolerates). Ecology and Ecosystems Fundamentals 7 is all about niches.

What Ecologists Actually Study

Whatever the level, most ecological questions boil down to a handful of themes, and these are the chapters of the rest of the course:

ThemeQuestionWhere we meet it
EnergyWhere does the energy come from and where does it go?Ecology and Ecosystems Fundamentals 2
Feeding linksWho eats whom, and what happens if one species vanishes?Ecology and Ecosystems Fundamentals 3
MatterHow are carbon, nitrogen and water recycled?Ecology and Ecosystems Fundamentals 4
DistributionWhy are different places home to different life?Ecology and Ecosystems Fundamentals 5
NumbersWhy do populations rise, level off and crash?Ecology and Ecosystems Fundamentals 6
InteractionsHow do species compete, hunt and help one another?Ecology and Ecosystems Fundamentals 7 and 8
ChangeHow do communities recover, and what do people do to them?Ecology and Ecosystems Fundamentals 9 to 12

How Ecologists Ask Questions

Ecology is a field science, and its great difficulty is that nature is big, messy and mostly hidden. You cannot count every daisy on a hillside or every fish in the North Sea. Instead ecologists follow the usual scientific cycle: observe something, form a hypothesis (a testable explanation), measure carefully, and compare the result with what the hypothesis predicted. A good question is specific. “Why are there so few wildflowers?” is vague; “Do wildflowers grow more densely in the meadow than under the hedgerow, and is the difference bigger than chance?” can be tested with a tape measure and an afternoon.

Three habits protect ecologists from fooling themselves. They sample (measure a small, fair part and scale up), they replicate (repeat the measurement many times) and they use controls (compare with a similar place where the thing being tested is absent). The next two sections show the two classic sampling tools.

Counting Plants: the Quadrat

A quadrat is a square frame, often one metre by one metre, dropped at random positions on the ground. You count what is inside each frame, find the average, and multiply by the area of the whole site. The word “random” is doing real work: if you throw the frame only where the flowers look nicest, the answer is biased. Here are counts from ten quadrats in a 2,000 square metre field (invented numbers).

# Estimate the number of plants in a field from ten one-metre quadrats (invented data). counts = [3, 0, 5, 2, 4, 1, 6, 2, 3, 4] quadrat_area = 1.0 # square metres per frame field_area = 2_000.0 # square metres in the whole field n = len(counts) mean = sum(counts) / n density = mean / quadrat_area estimate = density * field_area print(f"quadrats: {n}, total plants counted: {sum(counts)}") print(f"mean per quadrat: {mean:.2f}") print(f"density: {density:.2f} per square metre") print(f"estimated plants in the field: {estimate:,.0f}") # Output: # quadrats: 10, total plants counted: 30 # mean per quadrat: 3.00 # density: 3.00 per square metre # estimated plants in the field: 6,000

Six thousand is an estimate, not a fact. A different set of ten frames would give a different answer. How much that matters depends on how many quadrats you use. The simulation below builds an imaginary field of 2,000 one-metre squares whose true average we know, then samples it with more and more quadrats.

import random random.seed(1) # fixed seed so the run is repeatable field = [random.choice([0, 0, 1, 2, 3, 5]) for _ in range(2000)] true_mean = sum(field) / len(field) print(f"true mean per square metre: {true_mean:.3f}") for n in [5, 20, 80, 320]: sample = random.sample(field, n) m = sum(sample) / n print(f"{n:4d} quadrats: estimate {m:.3f} (error {abs(m-true_mean):.3f})") # Output: # true mean per square metre: 1.885 # 5 quadrats: estimate 2.400 (error 0.515) # 20 quadrats: estimate 2.200 (error 0.316) # 80 quadrats: estimate 2.138 (error 0.253) # 320 quadrats: estimate 1.856 (error 0.028)

The errors shrink as the sample grows, though not perfectly smoothly: a small sample can be lucky or unlucky, so one run proves nothing on its own. That is exactly why ecologists replicate.

Counting Animals: Mark and Recapture

Animals move, hide and will not stay inside a frame, so a different trick is used. Catch a number of animals, mark them harmlessly (a dab of paint, a ring on a bird’s leg, a tag on a fish), release them and let them mix back in. Later catch a second sample and see what fraction already carries a mark. If one in five of the second catch is marked, the marked animals must be about one fifth of the whole population. That gives the Lincoln-Petersen estimate:

Population ≈ (number marked × size of second catch) ÷ number recaptured

# Lincoln-Petersen estimate (invented numbers). marked = 40 # caught, marked and released the first time second = 50 # size of the second catch recaptured = 8 # of the second catch, how many carried a mark est = marked * second / recaptured print(f"Lincoln-Petersen estimate: {est:.0f}") for r in [4, 8, 16]: print(f"recaptured {r:2d}: estimate {marked * second / r:6.0f}") # Output: # Lincoln-Petersen estimate: 250 # recaptured 4: estimate 500 # recaptured 8: estimate 250 # recaptured 16: estimate 125

Notice how sensitive the answer is to the number recaptured: halve it and the estimate doubles. The method rests on assumptions, and each is a way it can go wrong.

MethodBest forKey assumptionHow it can mislead
QuadratPlants and animals that stay put (daisies, limpets, barnacles)Frames are placed at randomChoosing “typical” spots biases the count; too few frames give a noisy answer
Mark-recaptureAnimals that move (voles, fish, butterflies)Marks last, animals mix, population is closedTrap-shy or trap-happy animals, lost tags, animals moving in or out
Common mistakes
Do not confuse ecology (the science) with environmentalism (a set of values and actions). Do not treat a population, a community and an ecosystem as the same thing: a population is one species, a community is all the species, and an ecosystem adds the non-living surroundings. Do not take one sample as the truth; an estimate always has uncertainty. And never place quadrats “where it looks representative”: pick positions at random.

Challenges

Exercise 1

Make a list of eight (description, level) pairs covering all six levels, for example one oak tree, all the oaks in a wood, and the wood with its soil and rainfall. Write a short Python loop that prints each description with its level number and name. Include one pair for a marine animal.

📄 View solution
Exercise 2

Two habitats each have eight one-metre quadrat counts (invented): a meadow with 12, 9, 15, 11, 8, 14, 10, 13 and a hedgerow with 4, 7, 2, 5, 6, 3, 5, 4. Each covers 400 square metres. Compute the mean, the standard error (the standard deviation divided by the square root of n), and the estimated total for each, with a rough plus-or-minus of two standard errors. Do the ranges overlap?

📄 View solution
Exercise 3

Estimate the population in three invented mark-recapture studies (marked, second catch, recaptured): A 30, 40, 6; B 100, 80, 10; C 25, 30, 15. Also compute Chapman’s version, (marked + 1) × (second + 1) ÷ (recaptured + 1) − 1, which is less biased when recaptures are few. Which study do you trust most, and name two assumptions that could break.

📄 View solution

Quick Reference

  • Ecology: the science of how living things interact with each other and their surroundings; not the same as environmentalism
  • Six levels: organism, population, community, ecosystem, biome, biosphere
  • Habitat and niche: where a species lives, and what it does and needs there
  • Sampling: measure a fair, random part, replicate, and scale up; estimates carry uncertainty
  • Quadrat: mean count per frame × (site area ÷ frame area)
  • Lincoln-Petersen: marked × second catch ÷ recaptured
Coming next
Ecology and Ecosystems Fundamentals 2 follows the energy: how sunlight becomes sugar, how it passes along food chains, and why top predators are so rare.