Introduction

Rotting vegetable matter with fungal and microbial colonies offers all of the known resources required for the livelihood of Drosophila melanogaster (Throckmorton 1975). A single vegetable rot provides the nutrients needed for the growth and development of both larvae and adults, a source of protein for egg maturation, a site suitable for oviposition, and a location for pupariation. Moreover, staying near a rot increases the potential for finding mates and may grant shelter from predators and at least some adverse environmental conditions (but see (Feder 1997)). Because Drosophila obtain multiple resources from a single location, it would seem logical that they would stay at a resource patch indefinitely, but even under a constant physiological state with constant stimuli from ambient environmental conditions they often disperse. Presumably, cues from the flies’ internal and local environment combine to influence the probability that flies disperse rather than remain on a patch (Dethier 1964; Kennedy 1978). The dispersal of Drosophila provides a promising model for studies of decision making because of the extensive literature on this species (Dobzhansky 1973; Grossfield 1978), and the potential for using the available genetic approaches to examine the underlying physiological mechanisms (Callaway 2005; Luo et al. 2008; Zhang et al. 2007).

In addition to needing food and water, most female insects require a mate and an oviposition site for successful reproduction. The relative priority for food, mates, and egg-laying sites has been shown to depend on both the level of hunger and the mating status of the individual (Barton Browne 1993). Many studies suggest that hungry insects modify their behavior to increase their probability of finding food (see within (Barton Browne 1993)). It is also known that mating status affects the movement of many insects (Johnson 1969), although the polarity of this influence does not appear to follow an obvious trend (see Table 1). After mating, females of some fly species shift their preference from sex pheromones to food odors (Cornelius et al. 2000; Jang et al. 1998). Mediterranean fruit flies, Ceratits capitata, have been shown to shift their behavioral priority from mating to oviposition (Jang et al. 1999). In Drosophila it has been reported that mated females require more food (Carvalho et al. 2006), shift their preference to a high-protein diet (Ribeiro and Dickson 2010; Vargas et al. 2010), emigrate at a lower rate between chambers containing food (Mikasa 1998), and exhibit a higher level of general activity (Isaac et al. 2010). To our knowledge, the effects of mating on the dispersal behavior of male Drosophila have not been investigated.

Table 1 Known effects of mating on movement for a sample of arthropods

The primary goal of this work is to investigate if and to what extent mating experience influences the dispersal of male and female Drosophila from food. Additionally, we considered whether changes in the general locomotor activity of flies is sufficient to explain any effects on their dispersal. To address these questions, we carried out studies using a custom-built system of connected chambers and automated counters. The modular nature of this technology allowed us to quantify the movement of large numbers of flies between controlled sensory environments.

Materials and methods

Animals

We performed experiments on 3- to 4-day-old adults from four laboratory colonies of the fruit fly, Drosophila melanogaster (Meigen). The first colony descended from 200 wild-caught females. The second colony came from the Canton-S stock of the late Ed Lewis. The third (for R) and fourth (for s) colonies came from stocks possessing the natural-polymorphic variants of the foraging gene from the laboratory of Marla Sokolowski. We reared, entrained, and tested all flies on a set light-dark cycle (LD16:8). Transitions between light and dark were immediate, with the subjective dawn starting at 07:00 and the subjective dusk at 23:00. We maintained fly stocks at 25°C and at a relative humidity of either 30 or 60% on Lewis medium in standard 250-mL bottles (Lewis 1960).

Animal handling

Unless otherwise noted, we housed groups of 50 flies in vials (AS-515; Thermo Fisher Scientific, Inc., Waltham, MA, USA), on a 2-mL aliquot of food from a medium (Ralph Greenspan, personal communication) consisting of 30 mL Karo® dark corn syrup, 15 g sucrose, 15 g Torula yeast (Lake States, Wisconsin, USA), 10 g agar, and 1.0 L distilled water.

In order to compare mated and virgin flies of a similar age and rearing condition, we collected virgins <7 h post-eclosion and divided the collected individuals into three groups: 50 males per vial, 50 females per vial, and a mixture of 25 males and 25 females per vial. To keep housing densities equivalent, 3 days later we combined vials containing the mixture of 25 males and 25 females (providing ample time for them to mate) and then sorted them by sex into two new vials. The result was two vials, the first containing 50 mated males and the second containing 50 mated females. The following day, we tested these mated flies along with the previously collected virgins. To help with counting and sorting, we immobilized flies by cooling them to 4°C on a Peltier stage (Marlow Industries, Inc., Dallas, TX, USA).

Experimental test chambers

We developed a system of hardware and software to help automate studying the movement of flies between controlled sensory environments. The building blocks of this system were opaque, white cylindrical chambers, 9 cm high and 9.5 cm in diameter (inner dimensions), which interconnected in a modular fashion (Fig. 1a). Flies placed within a pair of connected chambers moved between adjoining chambers through 5.5-cm-long narrow tubes with an inner diameter of 0.55 cm. Tubes from pairs of chambers were connected via a 3.5-cm passageway within an acrylic block that ran through a solenoid-controlled gate and directional IR counter (Fig. 1b). The cross-sectional diameter of this channel narrowed to 0.20 cm. This diameter was large enough to allow a single female to pass through, but small enough to prevent the simultaneous passage of two males.

Fig. 1
figure 1

Instrument devised to study the movement of Drosophila between controlled sensory environments. a Illustration showing two experimental chambers connected by tubes feeding into the opposite sides of a counter block. For dispersal experiments, we either did or did not provide a patch of food in the middle of the chamber floor. b Schematic of a gate and bi-directional counting block. We drove each gate with a solenoid (push-pull type) motor and monitored the transition of flies through a channel within the counting blocks with two pairs of infrared emitter/detector diodes, denoted as 1 and 2. Note that the second pair of diodes is offset from the first pair by 0.226 cm (measured between diode centers) and are not shown in the drawing. The second set of diodes would project normal to the plane of the drawing (gray dot)

We designed and built circuit boards with programmable ATmega8 microcontrollers (Atmel, Inc., California, USA) to control the gates and monitor the movement of flies passing through the detectors. Figure 2 illustrates the operational logic of the detector system. We configured a computer to control the opening or closing of the gates and to detect when flies passed though the detectors. Each local microcontroller stored crossing events at a rate of 100 kHz. The number of crossing events were stored locally by each counter circuit and subsequently queried by the main computer at a lower rate. For typical experiments using an array of 16 pairs of chambers, we downloaded the accumulated count values to the computer every 26 s.

Fig. 2
figure 2

Diagram of the operational logic and examples of behavior near the counter. a Block diagram illustrating how the counter detects and assigns the bi-directional movement of flies. As a fly walks through the channel, it triggers two pairs of emitter/detector diodes, each pair producing an analog signal, denoted as Analog 1 and Analog 2. We used Schmitt triggers to create an all-or-none pulse based on a threshold of these analog signals. The coincidence of these two inputs and a time input pass into a state machine. In order to avoid registering false crossing events, if no additional signal from either of the emitter/detector pairs reached the state machine within 0.13 s after a previous signal, then the progression towards registering a crossing event was stopped and the timer was reset. This window of time between signals captured true crossing events, but minimized false signals from two flies approaching the counter from opposing directions (see i, j below). A counter tallied the forward and reverse crossing events registered from the state machine. b Illustration showing a typical crossing event. A fly moves through the channel from left to right, first triggering emitter/detector diode 1 and then 2. c, d Corresponding signals from a typical crossing event passing into the state machine. A specific pair of signals may pass into the state machine independently (as shown in c) or together (as shown in d), depending on the size and angle of the fly and the intensity/sensitivity of the emitter/detector diodes. The state machine registered crossings of flies from the opposite direction, from 2 to 1, similarly. e Illustration of the shortest movement of a fly along the channel that registers a crossing event. A fly moves through the detector far enough to completely pass through and trigger 1, but only transiently triggers 2 before reversing its direction and returning to where it originated. f Corresponding signals from ‘in and out’ that register a crossing event. g Illustration of the farthest movement of a fly along the channel that does not register a crossing event. A fly moves through the detector far enough to trigger a continuous signal in 1, but triggers only a transient signal in 2. h Corresponding signals from ‘nose poke’ that do not register a crossing event. i Illustration of two flies coming from opposite sides, both flies triggering the emitter/detector diode that they pass through coming from their respective directions before they reverse their direction and return to where they originated. j Corresponding signals from the combination of two flies approaching from adjacent chambers

To test the accuracy of our counters, we introduced groups of 50 flies to the first of two connected chambers, each containing only water, and monitored their movement between chambers for 30 h. At the end of this test, we counted the number of flies observed in the second chamber and compared this number to the number of flies as determined by our automated system. On two separate occasions, we tested each of the 16 counters. The average accumulated errors after 30 h were 7.2 and 6.7%, with 80% of these errors being undercounts. To minimize the interference of this counter error in our experiments, we report rates of dispersal, a measure that is more resilient to the accumulation of error over time than absolute counts of flies.

The entire array of chambers sat undisturbed within a temperature-, light-, and humidity-controlled room. Average light levels inside chambers were around 360 lux. (See Table 2 for the measures of temperature and humidity from specific experiments.) We configured the specific protocols of each experiment (e.g., when or which door opens and closes) and collected data with custom software written in C and Matlab (Mathworks Natick, MA, USA). We designed this system to be flexible so that it would be possible to reconfigure the experimental chambers for further studies.

Table 2 Ambient environmental conditions from experiments within this study and from a representative sample of studies published from the 1970s until present on the behavior of Drosophila melanogaster

Dispersal assay

In each set of trials, we introduced single flies or groups of 50 individuals into the first of two connected chambers. Here it is worth noting that we did not observe an abrupt increase in dispersal at a critical threshold density, a “mass migration,” as reported previously (Sakai et al. 1958), but rather observed that dispersal scales with density; the fraction of individuals dispersing over a given period of time was comparable for groups over the range of <10 to 1000 individuals (Simon 2010). In all experiments we deprived flies of food, but not water, by transferring 50 flies into single vials containing 2 mL of 0.5% agar for 12 h preceding a given trial. If an experiment included food, we placed a small patch of food (identical to that used for rearing) on top of a 2-mL plug of 0.5% agar that was embedded into the center of the floor within each chamber. All chambers provided access to similar plugs of agar to prevent dehydration. We introduced flies into chambers at 09:00 and waited 1 h for the flies to settle down before starting each trial. We programmed the solenoid-controlled gates to open precisely at 10:00 and monitored the movements of flies until 16:00. In these and all subsequent experiments, we ran trials during a 6 h time window in the middle of the subjective day to avoid confounding interactions with the morning and evening peaks in activity.

After approximately 4 h, the dispersal rate of the flies reached a state of equilibrium between chambers that both contained only water (see Fig. 3 for sample data, equilibrium denoted by arrowhead in c). The flies reached an equilibrium sooner if we decreased the length of the channel connecting the chambers or widened the diameter of the exit hole leading into this channel (Simon 2010). Conversely, if we increased the length of the channel or narrowed the diameter of the exit hole leading into the channel, we could lengthen the time required to reach equilibrium (Simon 2010). We chose a length of channel connecting the chambers as well as a width of exit hole leading into this channel that would minimize instances of cross traffic.

Fig. 3
figure 3

Sample data showing the movement of flies between two connected chambers containing either a patch of food or only water. a, b Cumulative forward counts and corresponding forward rates from independent trials for transitions from water (blue, 2 mL 0.5% agar) and a patch of food (red, 65 μL on 2 mL of 0.5% agar) contained in a first chamber to a second chamber containing water. c Means ± SEM for forward (blue solid) and reverse (black dashed) rates each hour from trials where both chambers contained water. Flies reached equilibrium movement between chambers in this particular experiment after 4 h (arrowhead). d Means ± SEM for forward (red solid) and reverse (black dashed) rates from trials where the first chambers contained a patch of food and the second chamber contained water. e, f Flies introduced to the first of two connected chambers moved comparably from the first to a second chamber whether or not the lid to the second chamber was closed or open (compare c, d to e, f)

To demonstrate that the level of cross traffic for the chosen channel length and exit hole width would not appreciably interfere with our measurements of the flies’ movement, we ran experiments similar to those described in Fig. 3a–d, but modified the experiments by removing the lid covering the second chamber (Fig. 3e, f), allowing the flies to escape into the room. Removing the lid of the second chamber increased the level of dispersal (ANOVA, lid condition, P < 0.05), but did not alter the relative difference in dispersal from chambers containing food or water (Fig. 3; compare c, d to e, f; ANOVA, interaction between food and lid condition, P = 0.856).

Flies that had moved to the second chamber returned to the first chamber at a similar rate irrespective of the presence of food in the first chamber. (For an example, see Fig. 3c, d; Mann–Whitney U, P = 0.147.) Also, the mean rates for flies dispersing from water towards chambers containing only water (9.4 ± 1.3 exit h−1n = 14), 65 μL of food and water (10.3 ± 0.9 exit h−1, n = 14), and 100 μL of food and water (10.1 ± 0.9 exit h−1, n = 15) were similar over the first hour (ANOVA, P = 0.816). This indicates that the presence of food in a chamber did not attract flies from adjoining chambers. However, once flies found food in the second chamber, their return to the adjoining chamber was inhibited. Compared to water alone, both 65- and 100-μL patches of food inhibited the return movement of the flies (65 μL, Mann–Whitney U, P = 0.002; 100 μL, Mann–Whitney U, P < 0.0001). From these observations we conclude that the flies could not perceive food in adjoining chambers and responded only to food in the chamber they were in. For all experiments, we ran simultaneous trials in 16 pairs of connected chambers. Within a given experiment, we pooled results from trials run over several days. Unless otherwise indicated, all data are reported as mean ± SEM exit rates per hour, were averaged over 6 h for statistical analyses, and when appropriate were corrected (Bonferroni corrections are noted throughout the text as BF; SPSS, SPSS, Inc., Chicago, Illinois, USA).

Activity experiments

To test whether a change in the intensity of a fly’s general activity might have contributed to the differences we observed in their dispersal, we measured the effects of sex, weight, and mating status on their general locomotor activity using Drosophila Activity Monitors (DAM2, TriKinetics, Inc., Waltham, Massachusetts, USA). Unless otherwise specified, we reared, housed, entrained, and handled flies, as well as ran experiments over the same midday, 6-h time window, as in the dispersal experiments. After weighing flies, we placed them for 12 h into separate vials containing food. The following day, after allowing flies to settle for 1 h, we measured their activity using the TriKinetics monitors. Unless noted, flies were sated at the start of each trial, and during trials had access only to water. When the signal from a monitor for a particular fly stopped registering events, and continued not registering events throughout the rest of the experiment, we assumed that this indicated the death of the fly. We adjusted the calculation for mean activity for each 5-min period throughout the experiment, taking into account the death of any individuals during the trial period.

Results

To examine sex differences in dispersal, we introduced groups composed of only males or only females into chambers with either food or water and monitored their dispersal. The most obvious result is that mated males dispersed from water at a much higher rate than mated females (Males, 29.2 ± 3.0 exits h−6; Females, 18.0 ± 3.0 exits h−6; Fig. 4a, b and Fig. 5a–c; i t-test, P = 0.036BF). This was not an emergent property of being in a group. When tested individually, single mated males also dispersed from water at a higher rate than single mated females (Males, n = 43; Females, n = 51; Mann–Whitney U, P = 0.023).

Fig. 4
figure 4

Food inhibits the dispersal of mated flies to a greater extent for males relative to females. a, b Food (red, 65 μL on 2 mL 0.5% agar) placed in model environments inhibits the dispersal of both male and female flies with previous mating experience relative to dispersal from only water (blue, 2 mL 0.5% agar). c The difference in dispersal between from food and the collective mean rate from water was greater for mated males than the difference for mated females (i). Mean ± SEM differences between the dispersal from food and the collective mean average hourly rates from water over 6 h (Males, 29.2 exits h−1; Females, 18.0 exits h−1)

Fig. 5
figure 5

Mating increases the dispersal of flies from water to a greater extent for males relative to females. a, b From model environments containing only water (2 mL 0.5% agar), groups of previously mated (solid) males and females dispersed at a higher rate than virgin (dashed) males and females. c Mated males dispersed from water at a higher rate than mated females (i). c, d Mating increased the dispersal of males (ii) and females (iii) from water. Median hourly rates over 6 h. The top and bottom edges of the boxes represent 75th and 25th percentiles; the whiskers extend to the most extreme point not considered outliers, and outliers are plotted individually (+)

The second result to note is that the presence of food drastically reduced the dispersal of both mated males and females. (Fig. 4a, All-male group, Mann–Whitney U, P < 0.0001BF; b, For all-female group, inhibition was statistically significant for only the first 3 h: first and second, Mann–Whitney U, P < 0.0001BF; P < 0.0001BF; third, t-test, P = 0.028BF). Again, this result was true whether the flies were tested in groups or as single individuals. Single flies never left chambers containing food during 12 h of observation (12 males and 12 females). Because chambers containing food also contained water, the influence of food itself is best estimated by subtracting the dispersal rate from food from the dispersal rate from water (Fig. 4c). This difference is larger for mated males than mated females (ione-sample t-test, P < 0.0001), presumably because in the absence of food mated males exhibit such a high dispersal rate.

To test the influence of mating status on dispersal from both food and water, we compared the dispersal of both males and females with prior mating experience to that of virgin flies. Mating had a very strong effect on the dispersal of flies from water, particularly in males (Fig. 5a–d; iiAll-male group, Mann–Whitney U, P = 0.009BF; iiiAll-female group, ANOVA, P = 0.003BF). The influence of mating on dispersal from food (Fig. 6) was much subtler, possibly because the strong inhibitory effect of food on dispersal rate obscures any further influence of mating. After being introduced to chambers containing food, mated males dispersed at a lower rate than virgin males during the first hour (Fig. 6a; i t-test, P = 0.037BF) and mated females dispersed at a lower rate during the first and second hours than virgin females (Fig. 6b; ii t-test, P = 0.015; iiiMann–Whitney UP = 0.058BF, 1-tailed).

Fig. 6
figure 6

Mating inhibits the immediate dispersal of flies from food. a, b From model environments containing food (65 μL 2 mL 0.5% agar), groups of previously mated (solid) males and females dispersed at a lower rate than virgin (dashed) males and females. Mating inhibited the dispersal of males during the first hour (i) and females during the first 2 h (ii, iii) from food, but not thereafter. c, d Median hourly rates over 6 h. The top and bottom edges of the boxes represent 75th and 25th percentiles; the whiskers extend to the most extreme point not considered outliers, and outliers are plotted individually (+)

The data plotted in Figs. 5 and 6 may be replotted to examine the influence of food on the dispersal of virgins, just as Fig. 4 illustrates the influence of food on mated flies. The data indicate that the presence of food inhibits the dispersal of virgin males (Fig. 7a, c; i t-test, P = 0.003BF), so that the resulting rate is lower than that for virgin females (Fig. 7a–d; ii t-test, P = 0.045BF), whereas food does not alter the dispersal rate of virgin females (Fig. 7b, d; Mann–Whitney U, P = 0.543).

Fig. 7
figure 7

Virgin females disperse similarly from food or only water. a, b The presence of food (red, 65 μL on 2 mL 0.5% agar) in a model environment inhibited the rate of dispersal for virgin male flies, but had no affect on the rate of dispersal for virgin females relative to dispersal from only water (blue, 2 mL 0.5% agar). c Virgin males dispersed from food at a lower rate than from water (i). c, d Virgin males dispersed from food at a lower rate than virgin females (ii). Median hourly rates over 6 h. The top and bottom edges of the boxes represent 75th and 25th percentiles; the whiskers extend to the most extreme point not considered outliers, and outliers are plotted individually (+)

We reported above that mated males dispersed at a higher rate than mated females from chambers containing only water. One possible explanation for this observation is that it represents a fundamental difference in the levels of general activity rather than a difference in locomotory behaviors related to dispersal per se. This is not an easy distinction to make based on any locomotor assay, but to gain some additional insight we introduced individual flies fed ad libitum into simple beam crossing activity monitors and measured their behavior until all flies had died from starvation. We found that males did exhibit a higher level of activity than females throughout the same 6-h period we had tested in our dispersal assay. During the fourth hour, on average, males (8.25 ± 0.29 beam crosses 5 min−1, n = 96) were twice as active as females (4.14 ± 0.21 beam crosses 5 min−1, n = 96; Fig. 8a, b; t-test, P < 0.0001).

Fig. 8
figure 8

A fly’s sex and not weight explains why males are more active than females. We measured the activity of individual flies using the commercially available Drosophila Activity Monitor (DAM2). a Male flies (blue) exhibited a greater mean activity level than females (red) during the same time window as the experiments on dispersal carried out in this study (horizontal black bar). b During the fourth hour (vertical green line in a), males were approximately twice as active as females. c Females weighed nearly twice that of males. d By comparing the activity and weight of individual males (open circles) and females (closed circles) we show that the contribution of weight to the activity of flies was minimal and insignificant. By adjusting the measures of activity for weight (dashed lines near respective mean activity), we illustrate that the sex of a fly contributes to why males are more active than females

Males in our laboratory colony weighed nearly half that of females (0.73 ± 0.1 vs. 1.16 ± 1.0 mg; Fig. 8c; Mann–Whitney U, P < 0.0001). Thus, one possible explanation for why males are more active than females is that activity is correlated with body size. To test whether the difference in activity between males and females might be due to body size, we weighed individual flies and then subsequently measured their activity in the beam crossing monitors. We found no relationship between weight and activity in either male or female flies (Fig. 8d), and report that the contribution of weight to the activity of flies was minimal and insignificant (Regression; Males, P = 0.082; Females, P = 0.326). We conclude that the difference in general activity is due to factors relating to sex (ANCOVA; Sex, P = 0.01; Weight, P = 0.064), and suggest that this sex-specific effect also underlies their difference in dispersal.

It is possible that a change in the general level of activity could explain the increased rates of dispersal observed in flies with mating experience (Fig. 5). To test this hypothesis, we introduced individual flies, which were either mated or virgin, into the beam-crossing monitors and measured their activity for 22 h. These flies were deprived of food, but not water, for 12 h preceding a given trial. Although there was a slight trend for mated males to be more active than virgin males, this result was not consistent across all trials. We also observed comparable levels of activity between mated and virgin females (5.4 ± 0.7 beam crosses h−6, n = 22 vs. 4.2 ± 0.4 beam crosses h−6, n = 23; Wilcoxon rank sum test, P = 0.223). From these experiments, we suggest that a change in general activity, as measured with widely utilized Drosophila activity monitors, cannot directly explain the influence of mating experience on dispersal as measured with our automated chambers.

Many studies on the behavior of Drosophila have been carried out using derivatives of the standard laboratory wild-type Canton-S strain (CS). We report a large difference in the dispersal behavior between our natural isolate (NI) and CS from a chamber containing food to a second chamber containing no food, and a subtle difference in dispersal from chambers containing only water (Fig. 9). The dispersal rate for NI from food was greater than 1 exit per hour by the third hour of the experiment (open diamond, one-sample t-test, P = 0.003), but did not exceed this level until the ninth hour for CS (open square, one-sample t-test, P = 0.048, 1-tailed). From chambers containing only water, the dispersal rate for the NI (13.4 ± 1.4 exit h−1) was higher than that from CS (7.5 ± 1.0 exit h−1) during the first hour (*t-test, P = 0.001), but not for the remainder of the experiment. Dispersal rates during the second hour, for example, were 6.2 ± 0.7 exits h−1 (NI) and 8.1 ± 1.0 exits h−1 (CS), and were not statistically different (t-test, P = 0.127). We chose to continue our experiments using our NI stock because it is likely to be less affected by genetic bottlenecks.

Fig. 9
figure 9

Genetic background is a significant factor in the dispersal of Drosophila from food. The figure shows the dispersal rates of the natural isolate (NI, solid) used throughout this report and Canton-S (CS, dashed) from chambers that contained a patch of food (red, 65 μL on 2 mL of 0.5% agar) and chambers containing only water (blue, 2 mL of 0.5% agar). From food, the mean dispersal rates were greater than 1 exit per hour for the NI by the third hour (open diamond) and did not exceed this level until the ninth hour for CS (open square). For the first hour, groups of the NI dispersed at a higher rate than groups of CS from water (asterisks). The gray rectangles indicate subjective dawn and dusk. We started experiments 1 h after introducing flies (arrowhead) into chambers, allowing the flies time to settle

Flies possessing sitter or rover, allelic forms of the foraging gene (Osborne et al. 1997), have been shown to exhibit significant differences in their movement on and around food (Pereira and Sokolowski 1993). Therefore, one possible explanation for the large difference in dispersal that we observed between the NI and the CS strains is that the sitter allele has been selected for over the last 80 years and has become fixed in the CS stock used within this study (or vice versa the rover allele has come to dominate the NI). This does not appear to be the case, however, for we observed flies homogeneous for sitter or rover to disperse at comparable rates from food (Fig. 10). Flies with the naturally occurring sitter polymorphism exhibited a sometimes similar, but overall higher rate of dispersal from food (3.1 ± 0.4 exit h−6, n = 16) than rover (1.5 ± 0.4 exit h−6, n = 15) (t-test, P = 0.003). Consistent with a non-significant trend reported previously (Pereira and Sokolowski 1993), we observed that flies with the sitter polymorphism dispersed at a lower rate (Forward, 4.9 ± 0.5 exit h−6, Return, 2.9 ± 0.4 exit h−6, n = 20) between chambers containing only water than rover (Forward, 7.9 ± 0.9 exit h−6, Return, 4.9 ± 0.8 exit h−6, n = 20) (Forward, t-test, P = 0.005; Return, t-test, P = 0.038).

Fig. 10
figure 10

Allelic fixation cannot explain the difference in dispersal observed between the natural isolate and laboratory strain used within this report. The figure shows the dispersal rates of flies possessing the naturally occurring polymorphic alleles that are known for restricted (for s, dashed) and active (for R, solid) searching behavior near food, from chambers that contained a patch of food (red, 65 μL on 2 mL of 0.5% agar) and chambers containing only water (blue, 2 mL of 0.5% agar). Over the first 6 h, flies dispersed at a comparable rate irrespective the allele they possessed (see text for details). The gray rectangles indicate subjective dawn and dusk. We started experiments 1 h after introducing flies (arrowhead) into chambers, allowing the flies time to settle

Discussion

The act of mating changes the resources required for an individual (Markow et al. 1999), potentially making the decision to stay on a resource or to leave in search of superior resources critically important. We therefore set out to investigate the influence of a fly’s prior mating experience on its dispersal. Based on a laboratory assay, we suggest that prior mating experience enhances the dispersal of both male and female Drosophila, increasing the dispersal of males to a greater extent than females. In contrast, if we introduced flies into environments containing food, males dispersed at a lower rate than females, with prior mating experience further inhibiting dispersal. For males, the increase in dispersal may be due to a change in the general level of their activity. However, for females the increase in dispersal appears to be independent of a change in their level of activity. In general, flies with mating experience behave as if they are hungrier than virgin flies, leaving at a greater rate when food is unavailable and staying longer when it is available.

Laboratory studies of the dispersive movements of Drosophila are not new. After the development of a series of connected chambers by Sakai and colleagues (Sakai et al. 1958), many studies have been carried out within a laboratory setting attempting to identify the various abiotic and biotic factors contributing to the movement patterns of Drosophila (for a review see (Grossfield 1978)). For the studies carried out within this report we have built we have built an automated modular system akin to the simple system developed by Sakai and colleagues (Sakai et al. 1958), with the added features of being able to regulate and continually quantify the back and forth movements of flies among distinct model environments without disruption.

The high level of variability seen in laboratory and field studies on the sexual dimorphism of Drosophila migration (see (Iliadi et al. 2002)) presumably reflects the experimental conditions of each particular study, might be specific to the particular species, and is likely to be attributed to the inherent breeding and nutritional needs required by each sex. For resource specialists, such as the cactophilic Drosophila, it has been shown that the differences in dispersal among various species is related to the spatial distribution and the predictability of the specific host patches utilized by each species (Markow and Castrezana 2000). For generalists, such as the “cosmopolitan” Drosophila that are found to coexist world-wide, these species show a consistent species-specific progression of colonization that is driven by the state of microbial decay of a resource (Nunney 1990, Nunney 1996). Inorganic nutrient availability has been shown to limit fertility (Sang 1978) and field studies measuring the ratio of phosphorus to nitrogen found in females and males support the hypothesis that females may seek resources containing phosphorus more than males (Markow et al. 1999). It is therefore reasonable to believe that the breeding site selected by females is governed by the nutrient content of a resource (Jaenike and Markow 2003). In addition to the specific nutrient contents required by gametogenesis (Markow et al. 1999), the amount (Magwere et al. 2004) and type (Andersen et al. 2010) of nutrients required by females has also been shown to differ from those required by males for supporting various life history traits (e.g., tolerance to stress, longevity, reproduction). Whereas we have yet to determine the specific components of a resource that inhibit the dispersal of males, our observation that males dispersed from food at a lower rate than females is consistent with previous findings for natural isolates tested at the optimum temperature for these flies (Iliadi et al. 2002; Mikasa and Narise 1980) (however, see Mckenzie 1974; Mikasa 1992).

The results from our activity studies indicate that the greater dispersal observed in males may reflect an intrinsic difference in the locomotor activity between males and females. Males exhibiting a higher level of activity than females has been shown before, first observing individuals over the period of minutes (Burnet et al. 1988), then hours (Martin 2004) and more recently in a social context (Branson et al. 2009). We add to this prior knowledge that the difference in activity cannot merely be explained by the disparity among the weight of flies, and suggest that the differences we observed in dispersal result from intrinsic differences between males and females of this species (however, see Belgacem and Martin (2007)). Results from measuring the general locomotor activity of mated and virgin flies suggest that a change in the general locomotor activity alone was insufficient to explain the effect of mating on the dispersal of females, and further indicate that the influence of activity on dispersal of males is dependent on their mating status. The discrepancy between our findings on the activity of mated females and those reported by Isaac et al. (2010) presumably reflects that they tested females taken directly off food and given access to 5% sugar throughout their activity trials.

Variation in dispersal within a population is most probably due to the interaction between genetic and environmental causes (Dingle 1991) making it difficult to attribute a causative role for either. The system of experimental chambers described within this study provides a method for parallel “common garden” experiments where we can hold constant specified abiotic conditions with the hope of quantifying the genetic components contributing to the variation. In side-by-side experiments, we observed a considerable difference in the dispersal between the Canton-S strain and the natural isolate used throughout this study. This observation was not surprising, for it has been shown previously that laboratory strains exhibit lower levels of dispersal than wild strains (Mikasa and Narise 1980; Tantawy et al. 1975). A possible explanation for this striking variability is that the NI and the CS stocks exhibit allelic partitioning at the foraging locus, with the genetic constitution of the NI being entirely, or mostly, that of the rover allele and the CS stock the sitter allele. This explanation seems unlikely for we observed comparable dispersal between flies homogeneous for these polymorphic alleles. This experiment does, however, illustrate the feasibility of this line of study, provides evidence that these types of experiments may help to clarify the relative contribution of genes and environment for this trait, and should uncover additional unexpected findings such as the striking increase in the dispersal of flies possessing the sitter allele from food as they near subjective dusk (see Fig. 10). Finally, the magnitude of the difference between CS and our NI raises concern when evaluating studies carried out with Canton-S (or any stocks derived from this stock) and perhaps any stock cultivated too long within the laboratory.

From these studies, we suggest that prior mating experience is a significant and likely important factor modulating the dispersal of Drosophila. We believe we are the first to demonstrate an influence of prior mating experience on the dispersal of males, and as well, to directly compare their dispersal to that of females from distinct environments with and without food. Variability in dispersal is a significant factor driving the change of genetic structure within a population, however, a richer description of dispersal is required before making conclusions regarding the mechanisms underlying the various factors contributing to this complex behavior. It would be informative to directly observe both the movement of single flies and individual flies behaving within groups as they disperse from patches of food. This is a direction of research that we are currently pursuing.