Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

SCIENCE · INVESTIGATE AND EXPLAIN

Distinguish drift from a selective advantage

Trace chance changes in finite populations with equal reproductive contribution.

Learning outcome: Explain how allele frequencies can change under neutral sampling and compare replicated simulations without cherry-picking.

Starting recap

A finite offspring sample can differ from its expected proportions. Here the next generation is sampled from the immediately preceding generation.

All lessons are open directly. Your saved experiments remain when you leave and return.

Try

A population begins half A and half a. All individuals have equal contribution, yet a sampled generation can contain more or fewer A copies.

Open the experiment

Predict

Can A reach 100% without a selective advantage? Will a larger population always fluctuate less in every individual run?

Experiment

Prespecify seeds 1, 2 and 3. Compare each at population sizes 10 and 50, retaining all trajectories. Inspect any fixation or loss and check later generations.

Follow finite-population sampling

Worked teaching model · synthetic values · Each population starts at 50% A. Twelve generations each draw N independent pseudorandom alleles from the preceding frequency. A and a have equal reproductive contribution. Mutation and migration are absent; fixation and loss are absorbing in this model.

Reset keeps your prediction, captures and practice history.

Frequency through generations

0255075100024681012A frequency (%)Generation

Each point records one generation; connecting lines do not model changes within a generation. A missing next-generation frequency is left undefined rather than drawn as zero.

Inspect the generation trace
GenerationA (%)
050.000
130.000
240.000
350.000
450.000
560.000
630.000
730.000
840.000
940.000
1070.000
1160.000
1260.000
025507510012345678910111213Row number · values in %
Calculated values on the same fixed scale
RowQuantityValue (%)
1A frequency at generation 050
2A frequency at generation 130
3A frequency at generation 240
4A frequency at generation 350
5A frequency at generation 450
6A frequency at generation 560
7A frequency at generation 630
8A frequency at generation 730
9A frequency at generation 840
10A frequency at generation 940
11A frequency at generation 1070
12A frequency at generation 1160
13A frequency at generation 1260

Generation 12: 6 of 10 carry A (60.0%).

Each next generation samples the preceding frequency, not the initial 50%. A changing frequency can arise here without a selective advantage. Seeds are reproducible synthetic runs; one trajectory cannot establish the population-size effect.

Captures preserve recipes and replay their calculated results. They are synthetic model evidence, not physical measurements.

Understand

Sampling compounds across generations

A neutral population of ten begins with five A copies. The next ten copies are drawn using probability 0.5 for A. If that generation contains six A copies, the following generation uses probability 0.6. It does not reset to the original 0.5.

The lab repeats this process for twelve generations. Every generation retains the same population size while allele counts fluctuate. Equal reproductive contribution removes the modeled selective difference, but it does not remove finite sampling.

Drift can alter allele frequencies and can be especially influential in small populations. A bottleneck changes which variants are represented among the survivors. Background: OpenStax, genetic drift.

Fixation is an endpoint under these assumptions

If all copies become A, sampling from frequency one always returns A. If A reaches zero, sampling cannot restore it. Both boundaries persist because mutation and migration are excluded. This does not mean real populations never regain variation.

The seed produces a reproducible pseudorandom trajectory. Repeating a seed checks reproducibility rather than adding independent evidence. A larger population tends to show smaller proportional fluctuations under the sampling model, but a single paired run is not guaranteed to demonstrate that tendency.

Choose comparisons before viewing outcomes

Use seeds 1, 2 and 3 at both sizes. Keep all six traces rather than selecting the most dramatic example. Compare changes from 50%, boundary events and variability across runs. Three runs illustrate variation; they are not a strong statistical study of the size effect.

Now compare these traces with the deterministic selection lesson. Both can show increasing A, but their mechanisms differ. A real population can experience both at once. To argue for selection, add reproductive evidence and a suitable neutral comparison rather than inferring advantage from one upward curve.

Apply

In a closed neutral population with no mutation or migration, A is lost. What does this model predict next?

Public practice checks a specific claim. It does not establish independent mastery.

Explain why one increasing trajectory does not prove selection. Propose a comparison that uses reproductive evidence and multiple independent populations.

Continue

Completion requires a saved prediction, at least one capture and a reflection. Presence checks do not grade your reasoning.

Skipping retains experiments and awards no mastery.

Save a science backup or import one

Science work is stored locally in this browser, separately from mathematics and AI. It does not sync automatically. Use this science-only backup; this checkout's older all-subject export does not include science.

A legacy file is available only when the complete snapshot fits the 36 MB limit. For larger snapshots, prepare a complete file set below; never discard notebooks to make a smaller file.

Matching imported notebook drafts replace their current drafts. Omitted lessons and known first attempts remain. Export your current work first if you want to retain both drafts.

Complete file sets and course backups

A file set can hold more work than one science file. Keep its manifest and every part together. Each file is limited to 36 MB. This format needs this version of LearnAI or a compatible newer version; older versions can use only the legacy single-file backup above.

The set includes every saved science course and global continuation at this moment. Later edits need a new export. A conflicting tab exports its own visible work, which may differ from saved work in another tab.

0 file(s) selected. File order and filenames do not determine identity. Missing, changed or conflicting parts block the entire restore; no good part is applied by itself.

Science storage: loading. No account or remote computation is required.