AP® Biology exam preparation · Unit 8: Ecology

Behaviour: Responding and Communicating

Checked by AI : 1 of 3 steps of checking
  1. Checked by AI. Drafted with AI, then checked claim by claim against sources by AI models from more than one company.
  2. Reviewed by a scientist. Not yet. Do you work on this topic? Offer to review this lesson and your name goes here.
  3. Used in a class. Not yet.

How lessons are checked

Under review One part of this lesson is still being checked.

What is being checked
  • This AP® Biology exam-preparation lesson is a draft and has not yet passed its accuracy and clarity checks.

The text stays up while the check is done. If you spot a problem, report it. All lessons under review.

Does the sound alone steer them, and how does natural selection shape a behaviour?Wild vervet monkeys give three different alarm calls, mainly to leopards, eagles and pythons, and listeners make three different escapes.

The main idea, the figures and what the films show. Under each heading, "Read this part" opens it.

Three Side Hops to read alongside this lesson.

Both films, 7 minutes, with three Side Hops to read in about 3 minutes.

The whole lesson: about 16 minutes of reading, 7 of film and 3 of stories.

This idea at other levels

This lesson teaches instinct and learning at high school level. Simpler: read a short high school version here.

The high school version · about 1 minute to read

Living things detect changes inside and around them and respond through their behaviour or body processes. Animals also exchange signals using sight, sound, touch, electricity or chemicals to warn of predators, find food, hold territory or find mates. Behaviours that help individuals survive and leave more offspring are favoured by natural selection, whether they are inherited directly, refined by learning or carried out by cooperating in a group.

See nearby ideasHide nearby ideas

This lesson also teaches two more ideas; their ladders are below.

Innate and learned behaviour

Some behaviours work from birth without practice, while others change with experience, and genes can set the limits of learning.

Taught at one level so far: high school.

  1. High school

    Behaviour: Responding and Communicating · this lesson

    Infant vervets sharpen alarm calls; sparrows learn local dialects, not other species.

    AP® Biology exam preparation · about 26 min in all, films included · film 3:26

Next door to instinct and learning

Everything on instinct and learning, films included

Cooperative behaviour

Animals of one species work together for food, safety or care, helping themselves or close relatives leave more offspring.

Taught at one level so far: high school.

  1. High school

    Behaviour: Responding and Communicating · this lesson

    Wolf packs, fish schools and bees raise fitness directly or through relatives.

    AP® Biology exam preparation · about 26 min in all, films included · film 3:36

Next door to cooperative behaviour

Everything on cooperative behaviour, films included

Animal communication

An animal sends a signal by sight, sound, touch, smell or electricity that changes how another animal behaves.

Taught at one level so far: high school.

  1. High school

    Behaviour: Responding and Communicating · this lesson

    Vervet alarm playbacks without predators trigger three escapes; five channels do four jobs.

    AP® Biology exam preparation · about 26 min in all, films included · film 3:26

Next door to animal communication

  • Natural selectionAlarm calls and courtship displays change who survives and mates, so see how natural selection keeps helpful inherited traits.Nearest lesson: Variation and Survival (high school)
  • HearingBird song and vervet alarm calls travel as sound waves, so see how ears turn vibrations into nerve signals.Nearest lesson: The Listening Walk (ages 5 to 10)

Everything on animal communication, films included

Find an idea: every idea, searchable

Which lessons teach an idea, and the notes on each level, were written by AI models from the lessons and checked by a second model. A person has not yet read every one. How we use AI

About this lesson goals, parts

What you'll learn

  • Explain how behavioural and physiological responses relate to internal and external changes, and distinguish directed taxis from undirected kinesis.
  • Classify animal signals across five communication channels (visual, audible, tactile, electrical and chemical) and four jobs (dominance, finding food, territory and reproductive success).
  • Explain how natural selection favours both innate and learned behaviours that raise survival and reproduction, using vervet alarm calls and white-crowned sparrow dialects.
  • Explain how cooperative behaviour can raise individual fitness and population survival.
  • Identify independent variables, dependent variables and justified controls in behaviour and transpiration investigations, calculate transpiration rate per unit leaf area, and run a pooled chi-square test.

The main idea. An organism detects an internal or external change and responds through its behaviour or its physiology; responses that raise survival and reproduction in that environment tend to be passed on, and a signal is information one organism sends that changes another organism's behaviour.

The films

▶ Watch Cue, Response, Consequence · 3:26
Cue, Response, Consequence · 3:26
Read the transcript of “Cue, Response, Consequence”

Film transcript: Cue, Response, Consequence

A shadow passes over a monkey troop. Moments later, the monkeys look up. Who told them? Every response follows one chain. An organism detects a change, inside or around it, called a cue. It responds, and that response can affect whether it survives and leaves offspring. A behavioural response changes what an organism does or where it moves. A desert iguana shuttles between sun and shade to manage heat. Other animals time activity to night, day, or passing seasons. A physiological response changes how a body functions or grows. A plant shoot lit from one side bends toward the light. Leaf pores narrow during drought, and damaged leaves trigger defences.

Sometimes the cue comes from another animal. A signal is information one organism sends that changes another's behaviour. Wild vervet monkeys give three distinct alarm calls, mainly to leopards, martial eagles, and pythons. In the field, listeners might simply spot the predator themselves. To test the calls alone, researchers played recordings from a speaker with no predator nearby. That no-predator setup is the control. Now the speaker plays a recorded eagle alarm into an empty sky. No eagle is anywhere near the troop. What do the monkeys do, and what does that show?

They look up into the empty sky. Play a leopard alarm, and they bolt into the trees. Play a snake alarm, and they look down into the grass. The sound alone steers them. A cue triggers a response, and selection keeps responses that raise fitness. Looking down during a leopard attack could be deadly. Monkeys whose responses match the threat would tend to survive and leave more offspring. Now watch a young vervet. A harmless bird glides overhead, and the infant gives an eagle alarm anyway.

Infants already make all three calls, yet they fire them at broad groups of animals. With age and experience, their aim sharpens onto real predators. That pattern fits in an innate starting point refined by learning. Adults call mainly to leopards, martial eagles, and pythons. White-crowned sparrows show the same pairing. Young males learn their local song dialect from older males early in life. In lab tests, they did not copy recorded songs of other sparrow species. Experience is not copied into DNA, yet the inherited capacity and limits of learning are. So behaviour is a trait shaped by natural selection. Some responses are innate, and others sharpen through experience.

Either way, selection keeps the responses that help organisms survive and reproduce.

From the film: five take-homes
  • Every response follows one chain: a cue is detected, the organism responds, and survival and reproduction are the consequence.
  • Vervet alarm calls are signals: playback of a recorded call from a hidden speaker, with a no-predator control, shows the sound alone can trigger the escape.
  • Young vervets call at broad groups of animals and sharpen their aim with experience: an innate starting point refined by learning.
  • White-crowned sparrows learn their local dialect, but not other species' songs: the capacity and limits of learning are inherited.
  • Behaviour is a trait shaped by natural selection, which keeps the responses that help organisms survive and reproduce.

Wild vervet monkeys give three different alarm calls, mainly to leopards, martial eagles and pythons. Monkeys that hear a call respond with one of three different escapes, one for each call.

When the troop reacts, are the monkeys reacting to the predator itself, or does the call alone steer them? And how does natural selection shape a behaviour? Hold your answers: this AP® Biology lesson settles both with field and laboratory evidence.

The one idea. An organism detects an internal or external change and responds through behaviour or physiology. Responses that raise survival and reproduction (fitness) in that environment tend to be passed on, either as an inherited tendency or as an inherited ability to learn. A signal is information one organism sends that changes another’s behaviour.

Scope: every example runs from a detected change to a response to its effect on fitness. Specific internal mechanisms of sensing or signalling, and details such as honeybee dance codes or colony regulation, are not tested.

Where this sits. Daily and Seasonal Rhythms and Competition and Cooperation introduce timing and group living. Auxin and Plant Hormones and Heat Balance and Body Temperature open the internal mechanisms this lesson leaves out. The Chi-Square Test teaches the test used at the end.

Two kinds of response: behaviour and physiology

Every response begins with a stimulus (also called a cue): a detectable internal or external change. A behavioural response changes what an organism does or where it moves. A physiological response changes how its body functions or grows.

  • Timing. Many animals act mainly at night (nocturnal) or by day (diurnal) in step with light and dark. Seasonal cues time migration, hibernation, leaf drop and dormancy.
  • Managing heat. A desert iguana is an ectotherm, an animal whose body temperature follows its surroundings. Shuttling between sun and shade is a behavioural response that keeps its body within a workable range.
  • Plant cues. A shoot lit from one side bends toward light (phototropism). Many plants time flowering to day and night length (photoperiodism). Plants also respond to herbivory by activating defences after leaf damage. Auxin and Plant Hormones covers the internal pathways behind tropisms and photoperiodism.

Signals: changing another organism’s behaviour

Organisms also exchange information in response to internal changes and external cues. Communication occurs when a signal changes another organism’s behaviour. When that shift alters who survives or mates, signals cause differential reproductive success: some individuals leave more offspring than others.

Animals signal across five channels. Of the many jobs signals do, four recur: showing dominance (group rank), finding food, establishing territory (defended space), and ensuring reproductive success (mates).

ChannelSense usedExample: signal, response and job
VisualSight (colour, posture, motion)Bright colouration or courtship displays attract mates (reproductive success); threat postures settle rank (dominance).
AudibleSoundBird song defends territory and attracts mates; alarm calls warn of predators.
TactilePhysical touchGrooming or parent-offspring contact supports care and survival.
ElectricalElectric fields in waterSome aquatic animals emit electrical signals for territory or mating.
ChemicalScent or taste moleculesTerritorial scent markings deter rivals (territory); bees share information about food sources (finding food).

Evidence: vervet monkey alarm calls

Return to the opening vervets. In 1980, Robert Seyfarth, Dorothy Cheney and Peter Marler tested whether alarm calls alone steer the troop.

Predict. Researchers play a recorded eagle alarm from a speaker with no eagle anywhere. What do the monkeys do, and what does that show?

Check your prediction

They look up. No eagle was present to cause the response. The playback shows that the call itself carries information that changes listeners’ behaviour.

With no predator present, playbacks of the three alarm types brought three different escapes. Leopard alarms sent monkeys into trees; eagle alarms made them look up; snake alarms made them look down.

With no predator present, playing recorded alarm calls sent monkeys into trees for a leopard call, made them look up for an eagle call and look down for a snake call, so the call alone changes what listeners do. AI-generated illustration

Notice the control, a condition that rules out a competing cause. During a real attack, a monkey might look up because it saw the eagle. Playing a recording with no predator nearby removes the predator and isolates the call. Back to the one idea: one monkey detects a threat, and its signal changes what the listeners do.

Innate and learned behaviour

Natural selection shapes any heritable trait affecting fitness, including behaviour. An innate behaviour is genetically programmed and works without prior practice. A learned behaviour changes through experience during a lifetime.

Predict 2. An infant vervet gives an eagle alarm to a harmless bird. Is this alarm behaviour innate or learned?

Check your prediction

Both. Infants already give all three alarm types, though to broad classes of animals, which suggests an inherited starting point. Matching each call to the right predators improves with age and experience, which is learning.

Many behaviours pair an inherited starting point with learning. The same playback study gives the vervet evidence. Adults called mainly to leopards, martial eagles and pythons. Infants gave leopard alarms to various mammals, eagle alarms to many birds, and snake alarms to snake-like objects, and their classification improved with age and experience.

Songbirds show a parallel pattern in white-crowned sparrows, whose song differs from place to place as local dialects. Young males learned the local dialect during about their first 100 days from older males. In the lab, males could learn a different white-crowned dialect, and once set, the song did not change. Yet they did not copy recorded songs of other sparrow species.

Misconception check. “Learned behaviour is not inherited, so natural selection cannot act on it.” Experience is not copied into DNA, but the capacity, timing and limits of learning are inherited. The sparrows’ refusal to copy other species’ songs suggests such an inherited limit. Selection favours both innate behaviours and the inherited ability to learn useful ones.

Cooperation and fitness

Cooperative behaviour is interaction among population members that works toward a shared benefit, such as food, safety or raising young. Examples include wolf packs, fish schools, bird flocks, mammal herds, and bees sharing information about food sources.

Cooperative behaviour in three populations: bees sharing food and hive work, a wolf pack hunting large prey together, and a tight fish school lowering each fish's capture risk. AI-generated illustration

If natural selection favours individuals leaving more offspring, why cooperate? Two routes raise fitness:

  • Direct fitness benefit. Cooperating often raises the helper’s own survival and reproduction. A wolf pack can capture prey too large for one wolf. A fish in a tight school lowers its risk of being singled out. Group vigilance can let each individual spend more time feeding while keeping early warning.
  • Benefit through relatives. Helping close relatives survive and reproduce can pass on shared alleles, even at a short-term cost (see Going deeper).

When cooperation raises individual fitness, it also tends to raise population survival.

Misconception check. “Animals cooperate for the good of the species” (or “helping others always lowers fitness”). Selection acts on individuals and their alleles, not for the good of a species. Cooperation persists when it raises the helper’s fitness directly or through relatives.

Watch Testing a Response · 3:36
Read the transcript of “Testing a Response”

Film transcript: Testing a Response

Woodlice gather under damp log. Did they choose it? Or can wandering without steering build the very same crowd? Animals move in response to a cue in two ways. Directed steering toward or away from a cue is taxis. A change in speed or turning without steering is kinesis. Watch a simulated tray with no steering at all. Every woodlouse picks a random direction on every step. It walks fast on dry ground and slowly on damp ground. Slower steps hold woodlice on the damp side longer, so a crowd forms anyway. Now test a response cleanly in a choice chamber. Fruit flies enter a horizontal tube, lit at one end and shaded at the other. The light difference is the independent variable.

The number of flies at each end, counted once, is the dependent variable. Most flies finished at the lit end. Is that result enough to blame light for the cluster? Or does the test still need a control run with both ends shaded?

Yes, the control is essential. A tilted tube, stray airflow, or lingering scent could pull flies to one side without light. Running a matching tube with both ends shaded checks for that bias. Here, the control run splits evenly. Next, test the null hypothesis that light had no effect. Under the null, both runs share the same split between ends, and any gap is chance. Pooling both runs gives the expected count for each box, using the control honestly. Each box compares its observed count with that pooled expectation, building the chi-square statistic. With one degree of freedom, the value lands well past the cutoff, so reject the null hypothesis. The control checks for tube bias, and the test shows chance alone is a poor fit.

Stay honest about what the test shows. Rejecting the null shows chance is a poor fit; it cannot tell whether flies used taxis or kinesis. And counting each fly once keeps one fly from becoming two observations. Responses also link individuals into groups. Fish in a tight school lower each fish's capture risk. Wolf packs bring down large prey, and group vigilance spots predators early. Selection keeps cooperation when it raises individual fitness, directly or through relatives. Across nature, signals travel through five channels: visual, audible, tactile, electrical, and chemical.

Sight, sound, touch, electric fields in water, and scent each change another animal's behaviour. They handle four recurring jobs: settling dominance, finding food, holding territory, and raising reproductive success. Testing a response takes a clear cue, a fair control, and honest counts. From wandering woodlice to signalling troops, every response starts from a detected cue and can affect survival and reproduction.

From the film

  • Taxis is a directed movement toward or away from a cue; kinesis is a change in speed or turning with no steering. A simulation with no steering at all still builds a crowd on the damp side, because slow steps there hold individuals longer.
  • In a choice chamber the light difference is the independent variable and the single count of flies at each end is the dependent variable.
  • A control run with both ends shaded checks for tube bias such as tilt, airflow or scent, so a 70 to 30 split alone is not enough.
  • Under the null hypothesis both runs share one pooled expected split (60 to 40); the chi-square of 8.33 with one degree of freedom is past the 3.84 cutoff, so the null is rejected.
  • Chi-square shows chance is a poor fit but cannot tell taxis from kinesis, and each fly must be counted once.
  • Cooperation can raise an individual's fitness directly or through relatives; signals travel by five channels (visual, audible, tactile, electrical, chemical) that do four recurring jobs.

Measuring a response: movement and water loss

Testing whether an organism responds to a cue uses AP science practice 3.C, identifying experimental procedures. Every fair test names an independent variable (what is changed), a dependent variable (what is measured), and a control that rules out competing causes. Two simulated tests come first: where woodlice gather, and how fast leaves lose water.

Taxis versus kinesis

An animal can move in response to a stimulus in two ways. Taxis is movement directed toward or away from a stimulus. Kinesis is an undirected change in speed or turning rate in response to a stimulus.

Predict 3. Woodlice start scattered across a tray that is dry on the left and humid on the right. Minutes later, most cluster on the humid side. Did they steer toward humidity?

Check your prediction

Not necessarily. A cluster forms with zero steering if woodlice walk faster in dry air and slow down in humid air. Slower movement keeps them in the humid half longer, so numbers build up by kinesis alone.

Test this in a simulated arena (100 by 50 units, with walls that bounce animals back). Fifty woodlice start scattered at random across the dry and humid halves. Each step, every animal heads off in a random direction, with no steering: step length is 2.0 units in dry air and 0.8 in humid air.

Simulated runs in 100 replicate arenas track the humid-half share. The standard deviation is the typical spread of that share from one arena to the next:

StepMean in humid half (%)Standard deviation (%)
049.66.6
10055.76.9
30061.16.4
1,00069.46.7
3,00080.35.7

With zero steering, the humid share rises from 49.6% to 61.1% by step 300 and 80.3% by step 3,000. Think of shoppers in a corridor with one display: people striding past bare walls and slowing at the display pile up there. The analogy’s limit is choice: shoppers aim for the display, whereas the model woodlice have no awareness of humidity.

Misconception check. “An animal on the humid side chose it and steered there.” An end count alone cannot tell taxis from kinesis; separating them takes tracking each animal’s path or speed.

A physiological response: transpiration

Transpiration is the loss of water vapour from leaves, mainly through pores called stomata. Narrowing stomata during drought slows water loss. This simulated set stands in for the hands-on transpiration investigation and supports, rather than replaces, bench work.

Predict 4. One leafy cutting sits in still air; a matching cutting sits in front of a fan. Will water loss per square centimetre of leaf go up or down in front of the fan?

Check your prediction

Up. Moving air clears humid air from the leaf surface, so evaporation speeds up. Dividing by leaf area puts cuttings of different sizes on one fair scale.

Cuttings rarely match in leaf size, so trace leaves on grid paper to measure area.

Leafy cuttings in still air (the control), in front of a fan, under bright light and in a humid plastic bag are compared, and leaf area traced on grid paper puts water loss on one fair per-area scale. AI-generated illustration
What it is for Compare water loss across cuttings of different leaf sizes.
= / ( × )

In words Rate equals the water mass lost divided by the product of leaf area and time.

rate“rate”
transpiration rate per unit leaf areag cm⁻² h⁻¹
Δm“delta m”
water mass lostg
A“A”
total leaf areacm²
t“t”
elapsed timeh

Sanity check At one rate per square centimetre, twice the leaf area loses twice the water.

Try one number

A 50 cm² cutting loses 0.25 g in 1.0 h.

rate = 0.25 g / (50 cm² × 1.0 h) = 0.0050 g cm⁻² h⁻¹ (read “grams per square centimetre per hour”).

Need a refresher? units and prefixes · rates and “per”

This simulated dataset tests four treatments, three cuttings each, for 60 minutes (1.0 h). Still-air cuttings happen to have larger leaves:

Treatment (3 cuttings)Mean leaf area (cm²)Mean water lost in 1.0 h (g)Mean rate (g cm⁻² h⁻¹)
Still air (control)600.2830.0047
Fan (moving air)300.2950.0098
Bright light400.2960.0074
Plastic bag (humid)500.0990.0020

Raw mass lost looks nearly identical across still air (0.283 g), fan (0.295 g) and bright light (0.296 g). Dividing by leaf area separates them. The fan rate (0.0098 g cm⁻² h⁻¹) is over twice the still-air control (0.0047 g cm⁻² h⁻¹). Light sits near 1.6 times the control, and the humid bag drops below half. The still-air group is the control, giving a room-air baseline with the same species and time. The simulation built each rate from a base of 0.0050 g cm⁻² h⁻¹ multiplied by a treatment factor (2.0 fan, 1.6 light, 0.4 humid bag), with random noise of standard deviation 8%.

TranspirationLab: Comparing Water Loss per Unit Leaf Area ⚙ original · interactive

In this sketch (simulated): 3 cuttings per treatment over 1.0 h; each rate = 0.0050 g cm⁻² h⁻¹ × treatment factor (1.0 still air, 2.0 fan, 1.6 bright light, 0.4 humid bag) with random noise (SD 8%, assumed Gaussian); each cutting is given its group’s mean leaf area, and the grid shapes are illustrative, not to scale.

focused mean other groups simulated cutting (n = 3)

Treatment condition
Comparison scale
Simulated sample (8% SD random noise)
Lesson dataset (seed 81)
rate = Δm / (A × t) Δm: water mass lost (g) · A: total leaf area (cm²) · t: elapsed time (1.0 h) · rate in g cm⁻² h⁻¹ (grams per square centimetre per hour)
Still air (control) — simulated cuttings (n = 3) A = 60 cm² · t = 1.0 h
Cutting Δm (g) Rate calculation, Δm / (A × t)

Mean water lost (Δm)
0.283 g
Observed mean rate
Switch to rate view
Model expected rate
Switch to rate view
Ratio to still-air control
Switch to rate view
Identify procedures (AP 3.C)

All values in this sketch are simulated and support, rather than replace, bench work; always divide water mass lost by leaf area and elapsed time (rate = Δm / (A × t)) to compare cuttings of different sizes on one fair scale.

Testing a behaviour: the choice chamber

This simulated test stands in for the hands-on fruit fly behaviour investigation, supporting rather than replacing real lab work.

In the treatment run, 100 fruit flies enter a tube with one end lit and one shaded. Counted once at the end, 70 are at the lit end and 30 at the shaded end.

Predict 5. Seventy of 100 flies ended at the lit end. Do you still need a control run with both ends shaded, and what does a 50:50 control run change?

Check your prediction

Yes. Without a control run, tube bias (tilt, airflow or scent) cannot be ruled out. The control also sets the expected counts, so the test no longer assumes a perfect 50:50 split. With the control pooled in, the 70:30 split is still too large to blame on chance.

Name the experimental procedures first:

  • Independent variable: light versus shade at the two ends.
  • Dependent variable: fly count at each end at the close of the trial.
  • Control and justification: a matching tube with both ends shaded (ends A and B), using 100 flies from the same source for the same time. Clustering in end A without light would show tube bias.
Pairing a lit-versus-shaded tube with a matching both-ends-shaded control isolates light as the independent variable, because clustering in end A without light would show tube bias. AI-generated illustration

Simulated counts (100 flies per run, counted once):

RunEnd A (lit in treatment; shaded in control)End B (shaded)Total
Treatment (lit vs shaded)7030100
Control (both shaded)5050100
Pooled total12080200

Run the five-step routine from The Chi-Square Test with pooled expected counts:

  1. Null hypothesis. Light has no effect; both runs share the same end-A and end-B proportions, and any gap is chance.
  2. Pooled expected counts. Across 200 flies, 120/200 (60%) ended in A and 80/200 (40%) in B, so each 100-fly run expects 60 in A and 40 in B.
  3. Chi-square (χ², read “chi-square”). Sum (o − e)² / e across all four boxes, where o is the observed count and e the expected count. Treatment gives (70 − 60)²/60 + (30 − 40)²/40 = 1.67 + 2.50 = 4.17; control gives the same 4.17. Total: χ² = 8.33.
  4. Degrees of freedom (df, read “d f”). Two categories (A and B), so df = 2 − 1 = 1.
  5. Compare with the critical value. At df = 1, the cutoff is 3.84 at p = 0.05 and 6.63 at p = 0.01. Here p (read “p”) is the chance of a gap at least this large under the null. Because 8.33 > 6.63, p < 0.01 (p ≈ 0.004): reject the null hypothesis.

Skip the shortcut of testing 70 and 30 against fixed 50 and 50. That gives (70 − 50)²/50 + (30 − 50)²/50 = 16.0, treating 50:50 as error-free. Pooling uses both runs honestly. Also count each fly once. Counting a fly twice makes the counts non-independent: one fly’s position would be recorded as two observations.

Testing fruit fly behaviour in a choice chamber⚙ original · interactive

This simulated test stands in for the hands-on fruit fly behaviour investigation, supporting rather than replacing real lab work.

Simulated condition

Sample 1 — lesson simulated data

Independent variable: light versus shade at the two ends.

Dependent variable: fly count at each end at the close of the trial.

Control: matching tube with both ends shaded (100 flies, same source, same time).

In this sketch: simulated choice-chamber counts; 100 fruit flies per run, released in the centre and counted once at the close of the trial; pooled chi-square test at df = 1 (cutoffs 3.84 at p = 0.05, 6.63 at p = 0.01); tube and fly dots not to scale.

Simulated fly counts; o = observed, e = pooled expected (flies)
RunEnd A
(o / e)
End B
(o / e)
Total
Treatment———
Control———
Pooled total———

Simulated counts (100 flies per run, counted once; counting a fly twice makes counts non-independent).

1. Null hypothesis. Light has no effect; both runs share the same end-A and end-B proportions, and any gap is chance.

2. Pooled expected counts. e = (pooled end count / 200) × 100 flies per run.

End A: —
End B: —

3. Chi-square. χ² = Σ (o − e)² / e across all four boxes.

Treatment subtotal: —
Control subtotal: —
Total χ²: — (dimensionless)

4. Degrees of freedom. df = 2 − 1 = 1 (End A and End B).

5. Compare with the critical value. At df = 1: 3.84 at p = 0.05; 6.63 at p = 0.01.

χ² = —; record both runs to compare.

χ² cutoff bar (dimensionless)

In this sketch, 100 fruit flies wait in the centre of each choice-chamber tube (simulated data; light versus shade is the independent variable, and the single count at each end is the dependent variable). Run the treatment tube (end A lit, end B shaded) and the matching shaded control tube, counting each fly once.

In this simulated sketch (tube and fly dots not to scale), count each fly once, pair the treatment run with a matching both-ends-shaded control run to check for tube bias and set pooled expected counts, and remember that rejecting the null hypothesis by chi-square shows only that chance is a poor fit—it cannot separate taxis from kinesis or prove why light mattered.

Misconception check. “Rejecting the null proves flies steered toward light by taxis.” Chi-square shows only that chance is a poor fit. It cannot separate taxis from kinesis, nor prove why light mattered.

Before the exam

  • The opening vervet troop. No-predator playbacks show that the call alone changes what listeners do. Infants sharpen which animals they call at as they grow, which suggests an innate base refined by learning.
  • Signals and cooperation. Match signals to five channels (visual, audible, tactile, electrical, chemical) and four recurring jobs (dominance, food, territory, mates). Selection shapes innate behaviours and the capacity to learn, and it keeps cooperation that raises fitness directly or through relatives.
  • Responses and rates. Separate taxis (directed) from kinesis (speed change forming clusters). Divide transpiration loss by leaf area and time to compare cuttings fairly.
  • Testing behaviour. Justify controls isolating the independent variable, count each animal once, and pool runs for χ².

Going deeper

Beyond the AP® exam.

Kin selection and alarm calling

Alarm calls can attract a predator to the caller while warning nearby listeners. One hypothesis is kin selection: warning close relatives that share alleles with the caller can raise how often those alleles pass on. Testing this in wild groups requires tracking relatedness and survival across many encounters.

Inside the response: mechanisms

This lesson stopped at the point where a cue is detected. Auxin and Plant Hormones traces how shoots bend toward light and measure night length. Heat Balance and Body Temperature models heat exchange in ectotherms and endotherms.

Side Hops

The idea underneath them. An organism detects an internal or external change and responds through its behaviour or its physiology; responses that raise survival and reproduction in that environment tend to be passed on, and a signal is information one organism sends that changes another organism's behaviour.

Your notes

Select any text in the lesson to highlight it or add a note to it. Your highlights and notes are saved in this browser and collected in your notebook.

    Open your notebook →

    Try the Predict questions again

    Five Predict questions from this lesson, on their own. Answer each one first, then open its check.

    1. Researchers play a recorded eagle alarm from a speaker with no eagle anywhere. What do the monkeys do, and what does that show?

      From: Signals: changing another organism's behaviour

      Check your prediction

      They look up. No eagle was present to cause the response. The playback shows that the call itself carries information that changes listeners’ behaviour.

    2. An infant vervet gives an eagle alarm to a harmless bird. Is this alarm behaviour innate or learned?

      From: Innate and learned behaviour

      Check your prediction

      Both. Infants already give all three alarm types, though to broad classes of animals, which suggests an inherited starting point. Matching each call to the right predators improves with age and experience, which is learning.

    3. Woodlice start scattered across a tray that is dry on the left and humid on the right. Minutes later, most cluster on the humid side. Did they steer toward humidity?

      From: Measuring a response: movement and water loss

      Check your prediction

      Not necessarily. A cluster forms with zero steering if woodlice walk faster in dry air and slow down in humid air. Slower movement keeps them in the humid half longer, so numbers build up by kinesis alone.

    4. One leafy cutting sits in still air; a matching cutting sits in front of a fan. Will water loss per square centimetre of leaf go up or down in front of the fan?

      From: Measuring a response: movement and water loss

      Check your prediction

      Up. Moving air clears humid air from the leaf surface, so evaporation speeds up. Dividing by leaf area puts cuttings of different sizes on one fair scale.

    5. Seventy of 100 flies ended at the lit end. Do you still need a control run with both ends shaded, and what does a 50:50 control run change?

      From: Testing a behaviour: the choice chamber

      Check your prediction

      Yes. Without a control run, tube bias (tilt, airflow or scent) cannot be ruled out. The control also sets the expected counts, so the test no longer assumes a perfect 50:50 split. With the control pooled in, the 70:30 split is still too large to blame on chance.

    How we measure it

    Audio playback experiment

    A recorded signal is played from a speaker with no natural cue, such as a predator, present. Watching how listeners react separates the effect of the signal itself from the event that normally accompanies it.

    Controlled choice chamber

    Animals are released in the centre of a tube with two conditions, such as light and shade, and counted once at the end. A control run with identical conditions at both ends checks for tube bias, and both runs are compared by pooled chi-square.

    Transpiration rate per unit leaf area

    Water mass lost by a leafy cutting over a set time is divided by its leaf area, traced on grid paper, and by elapsed time. Expressing loss per square centimetre per hour puts cuttings of different sizes on the same scale.

    That is the skim: you have the shape of it.

    Those are the stories. The idea under them is the one the lesson builds.

    That is both films: the lesson in pictures.

    The rest of the lesson is here when you want it.

    Finish line

    Test yourself

    8 questions

    Practice and MCAT-style, with explained answers.

    Next · Lesson 34

    Energy Budgets, from One Animal to an Ecosystem

    Caterpillars eat 1.50 g of dry leaf and gain only 0.15 g of dry mass. Where did the other 1.35 g go, and why would a mouse keep an even smaller share of its food as growth?

    Continue →

    ← Lesson 32 · How Life May Have Begun

    ↑ Top