Explaining Hamilton's rule and haplodiploidy
Hamilton's rule states altruism evolves if the genetic relatedness (r) times the benefit to the recipient (B) exceeds the cost to the altruist (C), or rB > C. Eusocial insects exhibit extreme altruism because, under haplodiploid sex determination, female workers are more related to their sisters (r ≈ 0.75) than to their own offspring (r = 0.5), so helping raise sisters increases inclusive fitness more than reproducing individually. In haplodiploidy, males develop from unfertilized haploid eggs, passing identical genes to all daughters, while mothers contribute half of their genes, explaining the elevated relatedness among sisters. This genetic system predisposes eusociality by favoring altruistic worker behavior, though other ecological factors also play roles.
One of the central insights of W.D. Hamilton's work in the 1960s was that natural selection does not have to act only on an individual's direct production of offspring, it can also favour behaviours that increase the replication of copies of an individual's genes carried by relatives. He expressed the conditions under which a costly act will be favoured as:
[r \times B > C,]
where (C) is the fitness cost to the actor, (B) is the fitness benefit to the recipient, and (r) is the coefficient of relatedness between actor and recipient. An “altruistic” behaviour – one that reduces the actor’s own expected reproductive output – can be favoured if, when weighted by relatedness, the benefit to kin outweighs the cost. This is kin selection, and the sum of an individual's direct and indirect contributions to the next generation is its inclusive fitness.
Eusocial insects such as ants, many bees and wasps, fit this framework. Workers in these societies forego reproduction and devote themselves to helping the queen. They still transmit their genes because the individuals they help raise are close kin. In the Hymenoptera, sex is determined in an unusual way: males develop from unfertilised eggs and are haploid, females develop from fertilised eggs and are diploid. In a monogamous colony, a female worker inherits all of her father's single set of chromosomes and, on average, half of her mother's. Full sisters therefore share all of their paternal genes (r = 1.0 for that half of the genome) and half of their maternal genes (r = 0.5 for that half), giving an average relatedness of 0.75 between sisters. By contrast, a female is related to her own sons or daughters by only 0.5.
Under these conditions, Hamilton's rule can be satisfied by helping the mother produce additional sisters: the cost of not breeding oneself can be outweighed by the indirect fitness gained through rearing siblings who carry a larger fraction of one's genes. This helps to explain why extreme altruism and sterile worker castes have evolved repeatedly in haplodiploid lineages, although ecological factors and mating system also matter, and haplodiploidy alone is not sufficient to produce eusociality.