What you'll investigate
Fruit flies find food and places to lay eggs by responding to cues in their environment. In this lab you'll put 20–40 flies into a choice chamber made from two plastic bottles, give them a different stimulus at each end, and count where they go. A chi-square test will tell you whether the flies really prefer one end or are just spread out by chance.
First you'll learn to tell male and female flies apart and review the fly life cycle. Then you'll watch flies respond to gravity in a vial, run a structured set of choice-chamber trials with household substances, and finally design your own investigation of chemotaxis, phototaxis, or geotaxis.
- ENE-3.D Explain how the behavioral and/or physiological response of an organism is related to changes in its internal or external environment.
- IST-5.A Explain how the behavioral responses of organisms affect their overall fitness and may contribute to the success of the population.
- SYI-1.H Explain how the density of a population affects and is determined by resource availability in the environment.
- Science Practices 3.C Identify experimental procedures that are aligned to the question; 5.A Perform mathematical calculations (chi-square).
- Only add substances your teacher has approved, in small amounts (5–10 drops on a cotton ball).
- Ethanol is flammable. Keep it away from flames and heat sources. Wear goggles when handling liquids.
- Many test substances are foods. Do not eat any of them.
- Never release flies outdoors. When you finish, tap them through a funnel into the "morgue" (a beaker of salad oil or 70% alcohol).
The dew-loving, black-bellied fly
- Drosophila is a model organism: small, cheap, fast-breeding, with a fully sequenced genome.
- A taxis is oriented movement toward or away from a stimulus; a kinesis changes speed or turning but not direction.
- Adult flies show negative geotaxis (they climb) and move toward bright light.
- A chi-square test asks how likely your counts would be if flies had no preference.
- With 1 degree of freedom, χ² above 3.84 means p < 0.05: reject the null hypothesis.
Drosophila melanogaster has been a model organism since Thomas Hunt Morgan began breeding it in 1907. It is small, cheap to raise, has a short generation time, and its genome is fully sequenced. The genus name means "lover of dew," because adults tend to emerge from their pupal cases in the early morning. The species name means "black belly," after the dark abdomen of the males. In the wild it feeds on fruit and on the yeasts and other fungi that grow on fruit as it rots.
Life cycle
Fruit flies go through complete metamorphosis. At 25 °C the whole cycle takes about 9–10 days. Click a stage to learn more.
Taxis and kinesis
Animals move in response to stimuli. A taxis is oriented movement: the animal turns and moves directly toward (positive taxis) or away from (negative taxis) a stimulus. A chemotaxis is a response to a chemical, a phototaxis a response to light, and a geotaxis a response to gravity. Adult fruit flies show a negative geotaxis: they climb upward. Adults also move toward bright light, while larvae move away from it.
A kinesis is not oriented. The stimulus changes how fast an animal moves or how often it turns, but not its direction. Animals that slow down in good conditions and speed up in bad ones end up collecting in the good areas just by chance. Both mechanisms can put animals in the same place, so you have to watch how they get there.
Is the pattern real? The chi-square test
Even flies that don't care will rarely split exactly 15:15. The chi-square (χ²) test asks how likely your counts would be if the null hypothesis were true. For a choice chamber the null hypothesis is "flies have no preference," so the expected count at each end is half the flies.
With 1 degree of freedom, the critical value at p = 0.05 is 3.84. If χ² is greater than 3.84, a difference this large would happen by chance less than 5% of the time, so you reject the null hypothesis and conclude the flies show a preference. If χ² is smaller, you fail to reject the null hypothesis: your data do not show a preference.
What this simulation models
- Process: Animal behavior: taxis. Fruit flies move toward or away from odors, light and gravity in a two-bottle choice chamber.
- Included: Each fly walks, rests and flies at random but tends to keep steps toward stimuli it prefers. Odor strength by substance, Parafilm that blocks odor, lamp color or foil, chamber orientation (gravity), fly strain and age, a hidden room-light bias, and individual differences (about 1 in 10 flies ignores stimuli).
- Simplified or left out: Preference strengths are tuned to typical results, and combined stimuli simply add. Hunger, learning, temperature, fading odors and stuck flies are not modeled, so real counts vary more.
Try it: taxis versus kinesis
Controls
Full procedure
Left: each animal turns toward the light (taxis). Right: animals move in random directions but move slowly in the humid zone (kinesis).
Male or female?
Look at the abdomen. Females are larger, with a longer, pointed abdomen that has separate dark stripes all the way to a light tip. Males are smaller, with a rounded abdomen whose last segments are fused into one solid dark patch, and they have tiny dark sex combs on their front legs. Use the reference, then identify the flies.
Controls
Which way is up?
Before you begin: Observe where the flies are, then record the counts before explaining the pattern.
Need a quick science reminder?
Geotaxis is movement in response to gravity. Count what you observe before deciding whether flies show a preference.
Before you tap the vial: which way will the flies move, and how many of the flies will be in the top half after 30 s? Give a reason (1 to 2 sentences).
Controls
The clock runs at 2× speed.
Full procedure
Toss 10–20 flies into an empty vial (no anesthetic). Tap the vial on the table so the flies fall to the bottom, then stand it upright and watch. Record how many flies are in the top half after 15 and 30 seconds. Repeat a few times.
The choice chamber
Before you run any trial: which substances do you expect the flies to prefer or avoid compared with distilled water, and why?
Controls
More options
Full procedure
Two bottles with their bottoms cut off are taped together; end A and end B each have a cap holding a cotton ball with 5–10 drops of a test substance. Follow these steps:
- Start with distilled water at both ends, lay the chamber flat, and count after 5 minutes. This control tells you whether something other than your substances (light from a window, a tilt) is moving the flies.
- Predict what the flies will prefer, then test at least four substances, each against distilled water. Change caps between substances.
- Rotate the chamber (Swap ends) and repeat to check that position is not the cause.
- Count flies at each end at each time point, then use chi-square to test the final counts.
All trials
Each finished trial is tested with chi-square against a 50:50 null hypothesis (df = 1, critical value 3.84). Your own final counts are used when you entered them.
Your own fruit fly experiment
Now that you've seen how flies respond to single substances, ask your own question. Some starting points: Do preferred substances share an ingredient? Does a phototactic response override a chemotactic one? Does fly age change geotaxis? Do mutant flies choose differently? Does the flies' choice depend on smell or on sight (try Parafilm)?
Choose the stimuli, set up the chamber, and decide how many trials to run. Swapping ends between trials controls for position effects. Each run below adds one condition to your results so you can compare conditions.
Controls
More options
Patterns in fly behavior
Observed: flies you counted.
Expected: counts predicted by your null hypothesis.
Use a 50:50 expectation only when your null predicts equal choices. Significance does not identify the biological mechanism.
How do I interpret the choice-chamber results?
- Describe the behavior. Compare the observed counts at each end of the chamber and identify the tested environmental cue.
- Choose the expected counts. Use the null hypothesis to decide the expected distribution. Equal expected counts are appropriate only for a null of no preference.
- Interpret the statistic. Compare the calculated chi-square result with the appropriate significance criterion; distinguish a statistically detectable preference from its biological cause.
- Evaluate the design. Consider repeated trials, starting position, chamber conditions, and individual movement before drawing conclusions.
A significant distribution does not establish whether flies moved toward a cue or away from another condition.
Chi-square calculator
Enter observed counts at each end. Expected counts come from your null hypothesis of no preference (half the flies at each end).