By Kurnia · Published November 10, 2026 · Revised November 11, 2026 · Version 2 · 21 min read
Evolution and natural selection
Darwin and Wallace, variation and inheritance, how natural selection works, evidence for evolution, the Wallace Line, and evolution visible in bacteria and pests
Cockroaches in a hotel kitchen reappear the day after routine spraying, and the cook says they have gotten used to the poison. This chapter explains the theory of evolution by natural selection: the ideas of Darwin and Wallace, variation and inheritance, the three conditions for natural selection, evidence from fossils, anatomy, embryos, geographic distribution, and DNA, and the Wallace Line in the Indonesian archipelago. The final part uses a simple selection model to show why antibiotic-resistant bacteria and insecticide-resistant insects increase, why repeated exposure speeds this up, and when the technician stops and hands the decision over to the pest control service provider, the infection prevention team, or a doctor. The chapter discusses only evidence and how science works, without judging religious beliefs.
Suppose a hotel kitchen uses a pest control service provider that comes every month for cockroaches. For a year, spraying with the same product seemed to work. In the last few months, cockroaches have been seen again between the shelves and under the dishwasher the day after the service staff leave. A cook says the cockroaches have “gotten used to” the poison, like a person who gradually becomes able to drink bitter coffee, and suggests raising the dose. The building technician who accompanies the service staff wants to know whether that explanation is right. The same question comes up in a hospital when the infection prevention team mentions germs that are resistant to antibiotics. The answer is in the section on how natural selection works and in Examples 1 to 3.
Scope
This chapter covers natural selection as a mechanism of evolution, the history of the idea, the evidence for evolution, the distribution of animals in the Indonesian archipelago, and resistance as observable evolution. The mechanisms of microbial resistance to disinfectants and antibiotics are covered in Chapter 13, their genetic side (mutation and gene transfer) in Chapter 30, DNA structure in Chapter 29, and pest control in kitchens and buildings in Chapter 12. Allele frequencies, the Hardy-Weinberg principle, genetic drift, and the formation of species are covered in Chapter 43 on population evolution; the tree of life and the geologic time scale in Chapter 44; the origin of life in Chapter 45; and human evolution in Chapter 46.
This chapter discusses only evidence and how science works. The chapter does not judge, endorse, or fault any religious belief.
The idea of evolution before and after Darwin
Evolution is the change in the genetic makeup of a population from generation to generation. The idea that living things change was debated long before Darwin. Plato considered species fixed and unchanging, while in the 18th century the naturalist Buffon noted that regions with similar environments can be inhabited by different animals and plants. The Scottish geologist James Hutton proposed that the Earth’s surface changes slowly through the same processes that operate today, and Charles Lyell popularized that view in the 19th century. A long age for the Earth gave time for gradual change in species. In the early 19th century Jean-Baptiste Lamarck proposed the inheritance of characteristics acquired during life, for example a body part that is used often becoming stronger and then being passed on; this mechanism was later rejected, but the idea still influenced evolutionary thinking.
In the mid-19th century Charles Darwin and Alfred Russel Wallace each discovered the same mechanism. Darwin sailed around the world on H.M.S. Beagle from 1831 to 1836, including a stop at the Galápagos Islands, where Darwin saw finches on different islands that resembled one another but had beaks of different shapes suited to their food. Wallace collected insects in the Amazon forest from 1848 to 1852, then explored the Malay Archipelago, most of which is now Indonesian territory, from 1854 to 1862. Both were influenced by an essay by the economist Thomas Malthus, who explained that the human capacity to reproduce outstrips the available resources. In 1858 papers by Darwin and Wallace were read together at the Linnean Society in London, and a year later Darwin’s book On the Origin of Species was published.
The Wallace essay that prompted the joint reading is dated Ternate, February 1858. The original manuscript has never been found; according to some historians the essay was written on Gilolo (Halmahera) and then sent from Ternate. Darwin received it on June 18, 1858, and Wallace asked that the essay be forwarded to Lyell. So one of the key documents of the theory of natural selection was written in North Maluku.
In everyday language “theory” means a guess. In science, a theory is a body of explanation that has been tested repeatedly and fits many observations, such as atomic theory and the theory of gravity. What comes closest to the meaning “guess” in science is a hypothesis. The theory of evolution became the framework of all of biology; the geneticist Theodosius Dobzhansky wrote that nothing in biology makes sense except in the light of evolution.
Variation and inheritance
Variation is the genetic difference between individuals in one population. Natural selection works only when there is variation, and that variation must have a genetic basis. If a person is taller because of better nutrition, their offspring do not inherit that extra height, so selection on that trait does not change the next generation.
Genetic diversity in a population comes from two sources. Mutation, a change in the DNA sequence, is the ultimate source of new alleles. A mutation has three possible effects on fitness: harmful, beneficial, or neutral, and the size of its effect also ranges from small to large. Sexual reproduction adds diversity because each offspring receives a new combination of alleles from both parents. In bacteria, which reproduce by dividing, gene transfer between cells adds a source of variation, as in Chapter 30 on mutation and gene exchange.
Darwin and Wallace did not yet know how traits are inherited. The theory accepted at the time, blending inheritance, held that the traits of the two parents merge like two paints stirred together, so variation should disappear quickly. Gregor Mendel’s work on plant crosses was published in 1866 but was unknown to Darwin and Wallace, and it was rediscovered in the early 20th century. The unification of genetics and natural selection, called the modern synthesis, took shape around the 1940s and is still accepted today. The details are covered in Chapter 43 on population evolution.
One point is decisive for the opening case: the variation that natural selection picks out is already present in the population before the environment changes. When bacteria are given an antibiotic, resistance genes do not appear because of that antibiotic. Those genes are already present in a small fraction of the bacteria, and the antibiotic kills the cells that lack them. Experiments have shown that antibiotic resistance mutations do not arise as a result of antibiotic treatment.
How natural selection works
Natural selection is the greater reproduction of individuals that have favorable, heritable traits, so that those traits increase in the next generation. According to Darwin, natural selection inevitably occurs when three conditions are met. First, most traits are passed from parent to offspring. Second, more offspring are born than can survive, so individuals compete for resources. Third, offspring vary in their traits, and those differences are inherited. Individuals whose traits are better suited for competing will survive and have more offspring, so the population changes from generation to generation. Darwin called this descent with modification. Natural selection is the only known mechanism for evolution that produces adaptation.
An adaptation is a heritable trait that helps an organism survive and reproduce in its present environment, for example the webbed feet of the platypus for swimming and the thick fur of the snow leopard for living in cold places. Which trait is favorable depends on the environment at the time. Broad-leaved plants are favored in a wet climate, but if the climate becomes dry, small-leaved plants that use water more sparingly become more common.
Natural selection acts on individuals, but its result is seen in the population. Peter and Rosemary Grant and their colleagues have observed medium ground finches on the island of Daphne Major, Galápagos, every year since 1976. In the wet years caused by El Niño, large, hard seeds became scarce while small, soft seeds were plentiful, so birds with small beaks survived and reproduced in greater numbers. The average beak size of the population in the following years became smaller. When conditions improved in 1987 and large seeds became available again, that trend stopped. No individual bird’s beak changed; what changed was the population average, because new birds were born from the parents that survived.
To calculate the effect of a single round of selection, suppose a small fraction of the population carries a resistant trait. After one exposure, the resistant fraction becomes
where is the fraction of resistant individuals before exposure, the fraction of resistant individuals among the survivors, the fraction of resistant individuals that survive, and the fraction of susceptible individuals that survive. All quantities are dimensionless and range from 0 to 1. If the survivors reproduce equally fast and the resistant trait is inherited intact, the ratio of resistant to susceptible is multiplied by with each exposure:
where is the number of exposures. This model ignores new mutations, gene transfer, and the fitness cost of the resistant trait; it shows only the direction and speed of change and does not predict the situation in a particular kitchen or hospital.
Evidence for evolution
Evidence for evolution comes from many levels of biological organization, and the different kinds of evidence agree with one another.
Fossils. The fossil record shows that past organisms are not the same as those living today and displays gradual changes in form over millions of years, for example in horses and humans.
Anatomy and embryos. Homologous structures are body parts in different organisms that share the same basic arrangement because they come from a common ancestor. The bones of the human arm, a dog’s foreleg, a bird’s wing, and a whale’s flipper are made of the same bones even though their shape and function differ. A vestigial structure is a body part that appears to have no function and derives from a part that functioned in a distant ancestor, for example the wings of flightless birds, the leaves on some cacti, and the hind leg bones in whales. All vertebrate embryos, including humans, have pharyngeal slits (often called gill slits) and a tail at an early stage.
Not every similarity shows kinship. Convergent evolution is the separate appearance of similar traits in groups that are not closely related, because their selection pressures are similar. Bat wings and insect wings are both used for flight but come from entirely different structures; they are analogous, not homologous. The arctic fox and the ptarmigan both turn white in winter because that color hides them in the snow. Conversely, divergent evolution is the development of groups that come from one point of origin in different directions, like flowers that share the same basic form but look very different because their pollinators differ.
Geographic distribution. Groups that evolved before the supercontinent Pangaea broke apart about 200 million years ago are spread throughout the world, while younger groups are found only in particular regions. Long-isolated Australia is rich in marsupials and endemic species, that is, species not found anywhere else. Islands separated by wide stretches of sea prevent movement, so their inhabitants gradually become different from their relatives on the mainland.
Molecular biology. DNA is used by all living things, and the similarity of DNA sequences between groups matches how closely they are related, exactly the pattern expected if all living things come from a common ancestor. DNA sequences also show that new protein functions often arise after a gene is duplicated, so one copy is free to change while the other copy keeps working.
The Wallace Line in the Indonesian archipelago
Wallace spent eight years in the Malay Archipelago, and the observations made there produced one of the best-known patterns of animal distribution. The Wallace Line is the boundary between the Oriental (Asian) faunal region and the Australian faunal region. The line is drawn from the Indian Ocean through the Lombok Strait between Bali and Lombok, north through the Makassar Strait between Kalimantan and Sulawesi, then east south of Mindanao toward the Philippine Sea. Many zoogeographers no longer use it as a regional boundary, but the line still marks a sharp distributional boundary for many groups of larger animals: many groups of fish, birds, and mammals are common on one side but rare or absent on the other.
The line lies at the eastern edge of the Sunda Shelf, the edge of the Southeast Asian continent that is now submerged by the sea. The biological explanation follows the pattern of geographic distribution above. The islands on the shelf are part of the edge of the Asian continent, while the straits to the east separate islands that do not belong to that shelf. Animals that cannot fly or swim far are held on one side, and the populations on the two sides evolve separately. Kalimantan and Sulawesi, or Bali and Lombok, lie close together on the map, but the histories of their inhabitants differ.
Distance alone does not explain this pattern, because the islands on both sides of the line are close together. The pattern is easy to explain if species spread from their place of origin and change while they are separated. The pattern lies in the archipelago that Wallace explored for eight years, the same region where Wallace wrote the essay on natural selection.
Visible evolution: bacteria and pests
Most evolutionary change takes thousands to millions of years. In organisms with very short generations and very large numbers, change can be seen within a matter of years.
Bacteria and antibiotics. One of the main causes of antibiotic resistance is overexposure to antibiotics. Antibiotics kill most of the susceptible bacteria, so what remains are the resistant forms; these forms reproduce and their proportion rises. Resistance genes can also spread quickly to other bacteria through plasmids. Using antibiotics for viral infections such as colds and flu, which antibiotics cannot treat, is among the main forms of misuse. Methicillin-resistant Staphylococcus aureus (MRSA) is resistant to many common antibiotics, including methicillin, amoxicillin, and penicillin, and its first case was detected in 1961. Details of the mechanisms are in Chapter 13 on microbial resistance.
According to WHO, antimicrobial resistance in bacteria is estimated to have been directly responsible for 1.27 million deaths worldwide in 2019 and to have contributed to 4.95 million deaths.
Moths and aphids. A classic example of directional selection is the moth Biston betularia in England in the 18th and 19th centuries. Before the Industrial Revolution most of the moths were light-colored and camouflaged on lichen-covered tree trunks. Factory soot darkened the tree trunks, so light moths became easier for predatory birds to see and the dark form became more common. Some scientists later questioned the details of this story, so this example is used to show the direction of selection, not as exact figures. In aphids, the red form is easier for predators to see, but there is evidence that the red form is more resistant to insecticides than the green form, so in certain environments the red form is fitter.
Mosquitoes and insecticides. The WHO world malaria report for 2025 states that resistance of malaria vector mosquitoes to pyrethroid insecticides was confirmed in 48 of the 53 countries that reported their monitoring for 2020 to 2024. This resistance reduces the effectiveness of insecticide-treated nets, and new-generation nets with an additional active ingredient are increasingly being used.
The pattern of the opening case is the same as in these examples. If a small fraction of the cockroaches in the kitchen carries a resistant trait, each spraying with the same product kills the susceptible ones and leaves the resistant ones, and their offspring fill the kitchen again. The cockroaches have not “gotten used to it”; their population has changed. However, returning cockroaches can also come from spraying that does not reach their harborage, sanitation that leaves food residues, or cockroaches entering from outside, as in Chapter 12. The technician cannot tell these causes apart just by looking; the authorized service provider assesses them.
What the theory of evolution does not say
The theory of evolution is often misunderstood, and some of those misunderstandings affect work decisions.
Individuals do not evolve. A cockroach or a finch can change during its lifetime, but that is development, not evolution. Evolution is the change in the average value or composition of a population from generation to generation.
Evolution has no goal. The sentence “organisms evolve to adapt” is shorthand; a changing environment makes certain individuals have more offspring, not individuals try to change. Species do not become “better” or “more advanced” over time; a trait that suits one environment can become harmful if the environment changes. The statement that monkeys are more evolved than mice is wrong, because both are adapted to their own environments.
The theory of evolution does not explain the origin of life. It explains how populations change and life diversifies, not how the first cell arose. The origin of life is discussed as an open field of research in Chapter 45.
Natural selection also does not produce perfect organisms. It only selects from variation that already exists and does not create anything from scratch.
Worked example
The numbers in the examples below are practice numbers unless their source is stated.
Example 1: a single exposure. A kitchen surface carries bacteria, and the resistant fraction is , that is, 10 cells. A treatment kills 99.9 percent of susceptible cells () and half of the resistant cells (). The surviving susceptible cells number , or about 1,000 cells, and the surviving resistant cells . The resistant fraction among the survivors is , or about 0.50 percent. Before treatment that fraction was 0.001 percent, so it rose times, almost 500 times, in one exposure.
Example 2: repeated exposure. The survivors of Example 1 grow back and then receive the same treatment. The initial ratio of resistant to susceptible is , and each exposure multiplies it by . After two exposures the ratio is , so the resistant fraction is , or 71 percent. After three exposures the ratio is 1,250 and the resistant fraction , or 99.92 percent. In three exposures, a population that was at first almost entirely susceptible flips to almost entirely resistant. This is why Chapter 13 names repeated exposure at low concentrations as the situation most to be avoided.
Example 3: regrowth time. The roughly 1,005 survivors from Example 1 grow back to cells with a generation time of 30 minutes, using the formula from Chapter 1 on microbial growth. The number of generations is , about 10 generations, or minutes, that is, 5 hours. The population recovers within one work shift, but its composition has already changed.
Example 4: a shifting average beak. A finch population contains 60 birds with 8 mm beaks and 40 birds with 10 mm beaks. The average is mm. In a wet season, 60 percent of the small-beaked birds and 30 percent of the large-beaked birds survive to breed: and birds. The average of the remaining parents is mm, down 0.3 mm. If beak size is inherited intact, the offspring average approaches 8.5 mm, even though no individual bird’s beak changed.
Example 5: generations in ten years. Bacteria with a generation time of 30 minutes go through generations a day, or generations a year, so generations in ten years. An insect with one generation a month goes through 120 generations in ten years. Humans, with a generation interval of about 25 years, go through only generations. That is why evolution is seen fastest in bacteria and insect pests.
Example 6: reading official figures. Pyrethroid resistance was confirmed in 48 of the 53 reporting countries (WHO report 2025), that is, , or 90.6 percent. For antimicrobial resistance in 2019, 1.27 million direct deaths compared with 4.95 million associated deaths is , or 25.7 percent. The 4.95 million already includes those 1.27 million, so the two are not added together.
Stop conditions
This chapter covers concepts, but the following workplace decisions are not made by the technician alone. Stop the work and hand over when:
- Pests keep appearing after routine control. Do not raise the dose, mix products, or change the pesticide yourself; report to the person responsible for the building and the licensed pest control service provider, who assesses the cause as in Chapter 12.
- A disinfectant appears not to be working, for example surface swab test results stay high or biofilm slime returns quickly. Do not guess the concentration or add product; check the concentration and contact time according to the label and Chapter 4, then hand over to the sanitation supervisor and the product supplier, as in Chapter 13.
- Someone offers or asks for antibiotics without a prescription, including someone else’s leftover medicine, for a cold, flu, or a wound. Refuse and direct them to a doctor or the company doctor; antibiotic use is decided by a doctor.
- Work in a patient room flagged for an antibiotic-resistant organism, for example MRSA. Enter only with the permission and instructions of the hospital infection prevention and control team, wearing PPE according to Chapter 11.
- The technician is asked to interpret antibiotic susceptibility test results or insect resistance test results. Interpretation is handed over to the laboratory, the infection prevention team, or a pest control expert.
Common misinterpretations
Guess what’s wrong first, then open the explanation.
Common misconception
The cockroaches have gotten used to the poison, so just raise the dose.
Why is it wrong?
Individual cockroaches do not become resistant by getting used to it; spraying leaves the cockroaches that were already resistant, and their offspring fill the kitchen. Raising the dose yourself can endanger people and food, and the control decision belongs to the authorized service provider.
Common misconception
Evolution is only a theory.
Why is it wrong?
In science, a theory is an explanation that has been tested repeatedly and fits many observations, on a par with atomic theory and the theory of gravity. The everyday meaning “guess” is closer to a hypothesis.
Common misconception
Bacteria mutate to become resistant because they are exposed to antibiotics.
Why is it wrong?
Experiments show that resistance mutations are not caused by antibiotics; antibiotics select bacteria that already carry the resistant trait. Resistance genes can also come from other bacteria through plasmids.
Common misconception
Monkeys are more evolved than mice.
Why is it wrong?
Evolution has no goal and does not move toward the “more advanced.” Both are adapted to their own environments.
Common misconception
The theory of evolution claims to explain the origin of life.
Why is it wrong?
The theory of evolution explains population change and the diversity of life once inheritance exists. The origin of the first cell is a separate research question.
Links to other chapters
Chapter 43 on population evolution continues this chapter with allele frequencies, the Hardy-Weinberg principle, genetic drift, types of selection, and the formation of species. Chapter 44 on the tree of life and Earth’s history, Chapter 45 on the origin of life, and Chapter 46 on human evolution complete the evolution series. Chapter 13 explains the mechanisms of microbial resistance to disinfectants and antibiotics, Chapter 30 mutation and gene transfer, Chapter 29 DNA and genes, and Chapter 12 pest control in kitchens and buildings. Chapter 1 gives the formula for microbial growth, Chapter 4 how disinfectants work, and Chapter 11 standard precautions in hospitals.
Exercises and worked solutions
Try to answer first, then open the worked solution.
In a population, the fraction of resistant bacteria is . A treatment kills 99 percent of susceptible cells and does not kill resistant cells. What is the resistant fraction after treatment?
Check my answer
See the worked solution
With the single-selection formula, , about 1 percent. The resistant fraction rose almost 100 times in one treatment because only the susceptible cells were killed.
A cook says the cockroaches became resistant because their bodies adjusted to the poison and then passed that trait on. Whose idea does this explanation resemble, and what is the natural selection explanation?
Check my answer
See the worked solution
That explanation resembles Lamarck’s inheritance of acquired characteristics, which has been rejected. According to natural selection, resistant cockroaches already existed before the spraying; the spraying kills the susceptible ones, so the offspring of resistant cockroaches become an ever larger part of the population.
Are bat wings and insect wings homologous or analogous? What about a whale’s flipper and a human arm?
Check my answer
See the worked solution
Bat wings and insect wings are analogous, because they serve the same function but come from different structures and evolved separately. A whale’s flipper and a human arm are homologous, because they are made of the same bones inherited from a common ancestor.
Bali and Lombok are close together on the map. Why are many animal groups different on the two islands?
Check my answer
See the worked solution
The Lombok Strait is part of the Wallace Line at the eastern edge of the Sunda Shelf, so it is a barrier for land animals that cannot fly or swim far. The populations on the two sides come from different regions and evolved separately, so their distribution follows the history of separation, not the distance on the map.
A total of 100 surviving bacteria grow back to cells with a generation time of 20 minutes. How long does it take?
Check my answer
See the worked solution
The number of generations is , about 10 generations. The time is minutes, about 3.3 hours, so the population recovers within one work shift.
After factories in England became cleaner and soot decreased, in which direction would the color of the moth population be expected to shift, and why?
Check my answer
See the worked solution
The color of the population would be expected to shift back toward the light form, because cleaner tree trunks make dark moths easier for birds to see. The direction of selection reverses with the environment, which shows that a “superior” trait depends on the conditions at the time.
References
External sources
- Biology 2eopenstax.org
- Alfred Russel Wallace's essay on varietiesdarwinproject.ac.uk
- Wallace Linebritannica.com
- Antimicrobial resistancewho.int
- World malaria report 2025 Executive summarycdn.who.int
- Insular biogeographic origins and high phylogenetic distinctiveness for a recently depleted lizard fauna from Christmas Island, Australiancbi.nlm.nih.gov
Revision history
| Date | Version | Change |
|---|---|---|
| November 11, 2026 | 2 | Sentences rechecked against sources and calculations corrected |
| November 10, 2026 | 1 | First published |
How to cite
Kurnia (2026). Evolution and natural selection: Darwin and Wallace, variation and inheritance, how natural selection works, evidence for evolution, the Wallace Line, and evolution visible in bacteria and pests. ARSTEMA Academy. Revised November 11, 2026. arstema.com/en/academy/konsep/evolusi-dan-seleksi-alam-darwin-dan-wallace-variasi-dan-pewarisan-cara-kerja-seleksi-alam-bukti-evolusi-garis-wallace-serta-evolusi-yang-terlihat-pada-bakteri-dan-hama
Self-check · 3 questions
Check your understanding before moving on
Write your answer in your own words, then compare it with the worked solution from this chapter’s exercises. The system doesn’t judge open answers as right or wrong; you decide which parts you’ve understood.
In a population, the fraction of resistant bacteria is . A treatment kills 99 percent of susceptible cells and does not kill resistant cells. What is the resistant fraction after treatment?
A cook says the cockroaches became resistant because their bodies adjusted to the poison and then passed that trait on. Whose idea does this explanation resemble, and what is the natural selection explanation?
Are bat wings and insect wings homologous or analogous? What about a whale’s flipper and a human arm?
Nearby chapters
Reading order by shelf: Biology & Microbiology · Chapter 43.
Reading order by shelf: Biology & Microbiology · Chapter 41.
Another chapter in Biology & Microbiology.