Introduction

Social behavior can be defined broadly as the interaction between individuals of the same species that changes their subsequent behavior and can affect traits such as courtship, mating, aggression, parenting, foraging, learning, and memory as well as non-behavioral phenotypes such as development and mortality (Sokolowski 2010). Many effects of social isolation have been shown in studies of invertebrates. In Drosophila social isolation leads to reduced lifespan (Ruan and Wu 2008), increased aggression (Hoffmann 1987, 1990; Zhou et al. 2008), reduced need for sleep (Ganguly-Fitzgerald et al. 2006; Donlea et al. 2009) and a decrease in the fiber number of the mushroom bodies (Technau 2007). In spiderlings, maternal and sibling social isolation appears to hinder the spiderling’s capability in exploring new environments, learning and hunting skills (Punzo and Alvarez 2002). These behavioral effects were associated with retarded development of the central nervous system (Punzo and Ludwig 2002), which has also been found in Caenorhabditis elegans (Rose et al. 2005) and Apis mellifera (Maleszka et al. 2009). Work on gregarious cockroaches has shown that isolation has a significant effect on their physiology, for instance by reducing developmental rates and egg production (Lihoreau and Rivault 2008; Lihoreau et al. 2012). In Blattella germanica, individuals kept in isolation show reduced willingness to interact with others, reduced ability to asses mating partner quality and reduced foraging activity collectively described as “isolation syndromes” (Lihoreau et al. 2009). It is suggested that all domiciliary species suffer from the effects of isolation which have significant impacts on their rate of maturity and reproductive capability (Lihoreau et al. 2012).

The housefly, Musca domestica, is associated with humans, particularly waste and animal husbandry (Malik et al. 2007) and can reach population increase rates of 1.25-2.82 per day (Imai 1984). Given the high densities that populations can reach, social interactions may have strong consequences on the expression of individual behavior. Male houseflies show preferences in females during courtship (Shin et al. 2003), depending on past experience of female reciprocation. They show learning within courtship behavior (Hagenbuch 2005) and differences are intricate enough that divergence in courtship behavior and premating isolation are observed in bottleneck lines (Meffert and Bryant 1991). Mating also influences female behavior considerably because of the quantitative effect of the male accessory seminal fluid transferred during copulation which stimulates oviposition and reduce females receptiveness to further mating. This is enforced by a nutritional effect which enhances female fitness (Riemann and Thorson 1969; Arnqvist and Andrés 2006). Thus, the housefly has evolved a complex courtship repertoire (Meffert and Hagenbuch 2005) which selection acts upon and makes it suitable for studies on communication, social interactions, and learning.

Here we explored the effect of isolation on locomotor activity of houseflies as locomotion is an integral part of many behaviors and high basal locomotor activity has been shown to be correlated with fitness (Patterson 1957; Murvosh et al. 1964; Partridge et al. 1987; Long and Rice 2007). We hypothesized that socially deprived houseflies show reduced locomotor activity as has been found for exploratory and foraging behavior in other species (Lihoreau et al. 2009). Females are known to be more sedentary than males (Patterson 1957; Murvosh et al. 1964) and have been shown to have lower basal levels of locomotor activity (Bahrndorff et al. 2012) so the observational effect of isolation may be less pronounced in females than males.

Material and Methods

Rearing

The houseflies used in the present study were from a Spanish field population collected in 2011 at Centre de Recerca en Sanitat Animal, Barcelona (41.30°N, 2.05°E) (Kjærsgaard et al. 2013). The population was kept in rearing cages (30 × 30 × 30 cm) (MegaView Science Co., Ltd., Taiwan) at a population size of approximately 1000 individuals for 10 generations and maintained at 25 °C before being used. Larvae were kept in larval medium consisting of wheat bran (24.6 %), alfalfa (12.3 %), yeast (0.6 %), malted sugar (0.9 %) and tap water (61.6 %) until 75 % were puparia. Puparia used in the experiment were separated from the medium into 250 ml glass flasks with foam stoppers, with one individual per vial to ensure that all flies used were virgins. Emerging adults were fed on 8 % sugar (sucrose) solution in 2 ml Eppendorf tubes sealed with cotton. Flies experienced a photoperiod of 16:8 h light:dark (L:D) and were kept in separate vials before being sexed and assorted into treatment groups.

Experimental Design

The effect of behavioral isolation of males and females were carried out in two independent experiments. In both experiments the virgin flies were sorted into two groups 24 h after eclosion – 16 vials with either one male or female fly (socially isolated), and another 16 vials with either two male or two female flies together (socially maintained). As mating could have a confounding effect on locomotor activity there were no mixed sex treatments. During the treatment all the flies were fed ad libitum to an 8 % sugar solution and were kept at 25 °C and a photoperiod of 16:8 h (L:D). The treatment lasted for 8 days.

After terminating the isolation treatment locomotor activity, comprising primarily walking but also jumping and brief flight in the vial, was measured in a locomotor activity monitor (LAM, TriKinetics). The activity was estimated as the number of times in a 5 s interval that a photocell in the middle of the vial was crossed, thereby monitoring the frequency with which a fly crossed the sensors in the vial (see Bahrndorff et al. 2012 for details). One fly was placed in each vial – 16 vials with a male or female from the isolation treatment and 16 vials with a single male or female of the socialized treatment. The flies were anaesthetized using brief carbon dioxide exposure twice during the experiment – for dividing flies into vials for social maintenance treatments and for placing flies in vials prior to the experiment in the LAM. Tests on Drosophila melanogaster have shown that there is little effect of CO2 anesthesia on locomotor activity specifically (Van Dijken et al. 1977) and on performance in general (MacAlpine et al. 2011).

Vials were placed horizontally into the LAM by random assignment to one of the 32 slots. Food in the form of the sugar solution described above was placed at both ends of the vial in lidless 1.5 mL Eppendorf tubes placed inside foam stoppers. A piece of cotton prevented the solution from spilling and provided a moist substrate where flies could feed. Flies spent 3 days in the machine. The first 24 h of recording were not included in the analysis due to the potential effect of handling the flies. Two full days and nights of recordings were collected and used for analysis. The light program followed a photoperiod of 16:8 h (L:D) (16 h of light from 07.00 a.m. to 11.00 p.m. and 8 h of complete darkness (0 lux) from 11.00 p.m. to 07.00 a.m.).

Data Analysis

The activity registered in each vial was divided into activity recorded during two light and dark periods. Prior to analysis the activity was summed into 1 h bins. R statistical software version 2.14.1 (R Development Core Team 2011) was used for all analyses. Data were tested for normality (Shapiro-Wilk’s test) and equal variances (variance ratio F tests). Day time activity data were normally distributed with equal variances so differences were tested with generalized linear mixed models (lmer, lme4 library). Wald χ 2 tests (type II) were applied on the restricted maximum likelihood (REML) estimates and errors testing for differences in locomotor activity as an effect of treatment (isolated or socially maintained), time of day (hourly intervals) and day (day 1 or day 2). REML is an alternative to maximum likelihood offering less biased standard deviations by averaging the random effect parameters over the fixed effect parameters (Bolker et al. 2009). Treatment, time of day and day were entered as fixed effects including their first order interactions and vial nested in time of day as a random effect to account for the repeated hourly activity measurements (Everitt 2010). Sexes were tested in separate models because they were not tested simultaneously. Since visual inspection of the data indicated that a difference between treatments in the males would be confined to day 1, we also ran a model testing only day 1. Night time activity was low and did not meet assumptions for a parametric test so we summed the total activity and log10 transformed the data before analysis. Because of the nature of the data with usually only high activity in the first hour interval of the night period this approach seems appropriate in determining if there are differences in activity between treatments. Similar to the daytime models we included treatment (isolated or socially maintained) and night (1 or 2) as fixed effects and vial as a random effect to account for the repeated measure on consecutive nights. Graphs depicting the locomotor activity over time were produced by smoothing the raw data for graphical presentation, taking the average activity of all replicates across hourly intervals.

Results

The daytime activity of socially maintained male flies was significantly higher than that of isolated male flies only on day 1 when analyzed separately (isolated vs. socially housed males, day 1: Wald χ 2 1 = 2.88, P = 0.045, one-tailed test; Fig. 1, Table 1). The difference declined on the second day giving a significant effect of day (Wald χ 2 1 = 41.42, P < 0.001) and treatment by day interaction (Wald χ 2 1 = 14.62, P < 0.01; Table 1). Daytime activity of the female flies showed a different pattern. The effect of isolation did not significantly reduce activity compared to socially maintained females (Wald χ 2 1 = 0.28, P = 0.59) (Fig. 1). There was a significant effect of day (Wald χ 2 1 = 122.36, P < 0.001) and time of day (Wald χ 2 1 = 6.31, P = 0.012) but no significant interactions (Table 1). Night time activity did not differ between treatments for both sexes (Table 1) although there was a significant effect of night on activity of the females which were less active on the second night (Wald χ 2 1 = 3.42, P = 0.007; Table 1). This was mainly due to lower activity of the isolation treatment females giving a marginally non-significant interaction (Wald χ 2 1 = 7.32, P = 0.06).

Fig. 1
figure 1

The influence of isolation on locomotor activity in Musca domestica. Hourly locomotor activity (mean ± SE) during daytime and nighttime of (a) male flies (day1), (b) female flies (day 1), (c) male flies (day2) and (d) female flies (day 2), previously isolated or socially maintained. N = 16 replicates per treatment. Arrow indicates change from light to dark

Table 1 Wald χ 2 tests (type II) on the REML estimates testing for differences in locomotor activity as an effect of treatment (isolated or socially maintained) and day (day 1 or day 2)

Discussion

Male houseflies that were kept isolated for 8 days without the stimulation of other conspecifics showed reduced locomotor activity throughout daytime on day 1, but not at night time (Fig. 1a). The effect of isolation was most apparent in the first day where the isolated flies were less active than the socially maintained flies. With time, activity of the control decreased towards the level of the isolation treatment males (Fig. 1c). Females on the other hand did not show any effect of isolation on locomotor activity on day 1 or 2 (Fig. 1b and d) and were noticeably less active in the first 2 h of the first day. Similar results have been obtained on mice, where males were more easily affected by isolation (Guo et al. 2004). In Drosophila studies have shown gender-selective patterns of aggressive behaviour (Nilsen et al. 2004) and that isolation can affect aggression (Ueda and Kidokoro 2002).

Male flies of M. domestica differ substantially from female flies with respect to behavior and show both higher activity and different circadian rhythm patterns (Buchan and Sohal 1981; Bahrndorff et al. 2012). This sexual dimorphism in behavioral activity patterns could explain why we only observed an effect of isolation on male flies. Male houseflies optimize fitness by fertilizing as many eggs as possible (Hosken et al. 2009), and in the presence of another male will still attempt mating strikes (Murvosh et al. 1964). Thus, other than light and food, mating can be considered a main motivator for male activity and stimuli such as conspecifics that might trigger mating strikes would consequently result in higher activity. Females are monogamous mating usually only once (Riemann et al. 1967) and have not been observed initiating mating (Murvosh et al. 1964). High activity may attract unwanted male attention which could explain the lack of effect of isolation on female locomotor activity. Females also invest much energy in egg production, which could result in a trade-off with activity levels to save energy. However, in this experiment the flies had unlimited access to food so the observed sex differences in activity probably do not reflect physiological needs or requirements, which is in agreement with earlier studies (Schou et al. 2013). Behavioral differences may instead be genetically determined. The genes of the neurons controlling sexually dimorphic behaviour have recently been mapped and it was shown that males expressing a dominant feminizing transgene in a small cluster of neurons in the pars intercerebralis had a female-like pattern of locomotor activity (Gatti et al. 2000).

At night time there was no difference between isolated or socially maintained flies of either sex. In Drosophila isolation leads to reduced need for sleep (Ganguly-Fitzgerald et al. 2006; Donlea et al. 2009). However, in houseflies isolation does not seem to affect night time activity, as the activity levels of the treatments largely overlap for both sexes. Male houseflies appear to anticipate the darkness as there is a clear decline in activity in the hours leading up to the night interval and a further rapid drop in activity the first 2 h of darkness (Fig. 1a and c). These changes are not as distinct in females (Fig. 1b and d).

It is not clear whether the behavioral differences seen between treatments in males in this experiment were caused by early ontogenetic neurodevelopment caused by lack of social stimuli or if it is due to behavioral plasticity. The lack of responsiveness or reactivity of the isolated male flies to the test environment (i.e., lower activity on day 1 compared to the controls) suggests that it could be irreversibly fixed developmentally. On the other hand, the decline of the social male activity towards the lower activity of the isolated males on the second day, suggests that it could be reversible behavioral plasticity showing a beginning effect of isolation or acclimation to the test settings of the previously socially maintained flies. In order to disentangle these possibilities a second test could be conducted on the same flies reversing the treatments although it would require marking the flies of the social treatment that had initially been maintained in isolation. In Apis mellifera, the mushroom body sizes of adult bees has been shown to be highly plastic in response to social experience (Maleszka et al. 2009) suggesting that effects of isolation can be countered by subsequent socialization.

Locomotor activity is widely used for studying behavior in invertebrates (Zordan et al. 2007; Schou et al. 2013). In such studies the importance of social stimuli should be taken into consideration. As we have shown here, individuals kept in isolation may not reflect natural conditions, which could be problematic depending on the context of the experiment. The observed effect of isolation on housefly behavior indicates that this organism could be a good candidate for further studies investigating the effects of isolation.