📘 CodingMarble Learn

Behavioural Ecology: Why Animals Behave as They Do

Behavioural ecology asks why a behaviour helps an animal survive and leave offspring. A behaviour spreads when its benefit is bigger than its cost. Fitness has a direct part (own young) and an indirect part (relatives’ young, weighted by relatedness r); together they are inclusive fitness. Optimal foraging picks the feeding time that gives most food per minute. Helping others (altruism) can evolve when r × B > C. Signals such as alarm calls, dances and displays pass information.

🎬 Step-by-step story

  1. Every behaviour has a benefit and a cost. Raise the benefit from 1 to 6. The seesaw tips when benefit is bigger than the cost of 2.
  2. Fitness counts young that survive. My own young are my direct fitness. My sister’s young also carry my genes, so they add indirect fitness.
  3. A bird eats berries in a bush. The first berries come fast, later ones slowly. Stay about 5 minutes and you get the most berries per minute, counting the trip.
  4. A helper bird feeds its sibling’s chicks. The gain is multiplied by relatedness 0.5. If r × B is bigger than the cost C, helping can evolve.
  5. Animals pass messages: an alarm call (red rings) makes others take cover. The rings spread and the listeners react.
  6. Free play. Choose a view. Change benefit, cost, relatedness, time in the patch or the signal and read the verdict.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Do animals really weigh costs and benefits?

No, they do not calculate. Animals whose habits paid off left more young, so those habits became common. Move the benefit slider in the 3D and see when the seesaw tips.

Why do relatives’ young count towards my fitness?

They carry some of the same genes. A sister shares half of your genes on average, so each of her young counts for part of one of yours. The indirect part is shown in purple under "Sister".

Why leave a patch that still has berries?

Because the berries left are harder to find, and the rate of food per minute is falling. Moving to a fresh bush may give more per minute. See the "Best" line on the graph.

Why is r multiplied by B and not by C?

The helper pays the cost itself (so full cost), but the benefit goes to a relative who shares only a fraction r of its genes. Watch the left pan shrink when r drops from 1 to 0.5.

Why does a caller risk itself with an alarm call?

Listeners are often relatives, so the call helps copies of its own genes. The cost of calling is small compared with the lives it saves. Watch how all three listeners react to one call.

What if the benefit is high but the relative is distant?

Lower r shrinks r × B. Try cousin (⅛) and raise B until the verdict turns green.

Adaptive value of behaviour

A behaviour is what an animal does: feeding, fleeing, mating, calling, caring. Behavioural ecology asks two questions about each one: how does it work (the nerves and hormones), and why does it exist (what does it do for survival and reproduction).

A behaviour has adaptive value if animals that do it leave more surviving young than those that do not. Part of the behaviour comes from genes and part from learning. Genes that build helpful behaviour become more common over many generations by natural selection.

Behaviour is always a trade-off: energy and risk (cost) against food, safety or young (benefit).

Direct and indirect fitness

Fitness here means how many copies of your genes reach the next generation. It has two parts.

Relatedness (r) is the chance that two animals share a gene by common descent. Parent–child 0.5, full siblings 0.5, grandchild 0.25, first cousin 0.125, an unrelated animal about 0.

Inclusive fitness = direct fitness + indirect fitness. This explains why helping relatives can pass on your genes.

Cost-benefit and optimal foraging

Cost-benefit thinking says an animal should do an action when benefit minus cost is positive, in units such as energy or number of young.

Optimal foraging asks how long to feed in one patch of food. The patch gives diminishing returns: the first berries are easy, later ones are scarce. Leaving too early wastes the trip; staying too long wastes time. The best choice is the stay time that gives the largest energy per minute including travel. In the 3D model the patch gives 20 × (1 − e−t/4) berries and a trip costs 4 minutes, so the best stay is about 4.6 minutes (1.6 berries a minute). If travel takes longer, the best stay becomes longer.

Real animals also weigh danger from predators and their own need for food.

Cooperation and altruism

Cooperation means animals work together and both gain, like lionesses hunting together. Altruism means one animal pays a cost (C) to give a benefit (B) to another. Helper birds, worker bees and alarm-calling squirrels are examples.

Kin selection and Hamilton’s rule: an altruistic gene can spread when r × B > C. Example: r = 0.5 (sibling), B = 4, C = 1: 0.5 × 4 = 2 > 1, so helping evolves. For a cousin (r = 0.125) with B = 4, C = 1: 0.5 < 1, so helping does not pay.

Help between non-relatives can evolve too, through reciprocity: you help me today, I help you tomorrow, and cheats are punished or avoided.

Animal communication signals

A signal is an act or structure that changes another animal’s behaviour and was shaped for that job. Signals use sound, sight, smell or touch.

A signal evolves when both sender and receiver gain on average.

Try it: the helper at the nest

  1. Open the last story step and choose the Cost–benefit view.
  2. Set relatedness to sibling (½), benefit 4, cost 1. What is the verdict?
  3. Change relatedness to cousin (⅛). Does helping still pay? Raise B until it does.
  4. Switch to Foraging and move the time slider to find the best stay.

Key formulas and definitions

Worked examples

1. A bird helps feed a sibling’s chicks. B = 4 chicks gained, C = 1 chick lost, r = 0.5. Does helping pay?

r × B = 0.5 × 4 = 2. This is more than C = 1, so helping pays.

2. Same helper but the chicks belong to a first cousin (r = 0.125), B = 4, C = 1. Does helping pay?

r × B = 0.125 × 4 = 0.5, which is less than C = 1. Helping does not pay.

3. A bird raises 2 chicks of its own and, by helping, 4 extra chicks of its full sister survive. Find its inclusive fitness (in chick-equivalents).

Direct = 2. Indirect = r × 4 = 0.5 × 4 = 2. Inclusive fitness = 2 + 2 = 4.

4. A forager gets 12.6 berries from a patch in 4 minutes and the trip to the patch takes 4 minutes. What is the rate?

Rate = 12.6 ÷ (4 + 4) = 12.6 ÷ 8 = about 1.6 berries per minute.

5. Staying 8 minutes gives 17.3 berries, travel is 4 minutes. Is staying 8 minutes better than 4.6 minutes (1.6 berries a minute)?

Rate = 17.3 ÷ (8 + 4) = 17.3 ÷ 12 = about 1.44 berries a minute. This is less than 1.6, so 8 minutes is too long.

6. A meerkat’s alarm call gives a benefit B = 6 to relatives with average r = 0.25 and costs C = 1. Is calling favoured?

r × B = 0.25 × 6 = 1.5 > 1, so calling is favoured.

Common mistakes

Practice quiz

1. Inclusive fitness is:
2. Hamilton’s rule says altruism can evolve if:
3. Relatedness between full siblings is:
4. Optimal foraging chooses the stay time that gives the most:
5. A honeybee waggle dance is an example of:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is behavioural ecology in simple words?

It studies why animals behave as they do by looking at the benefits and costs of each behaviour for survival and reproduction in the animal’s habitat.

What is the difference between direct and indirect fitness?

Direct fitness comes from your own surviving young. Indirect fitness comes from extra young that your relatives raise because you helped, counted by how related they are.

Why do animals help others at a cost to themselves?

Often the others are relatives who carry the same genes (kin selection, r × B > C), or the help is returned later (reciprocity).

Where this is taught

Germany (Bavaria)Jahrgangsstufe 12Behavioural ecology: evolution of behaviour

Learn first

Learn next

Related lessons

All Biology lessons