IB Biology • Skills in the study of biology

Mathematics

Quantitative skills that transform raw biological observations into meaningful, evidence-based conclusions.

IB Biology emblem with a DNA helix, microscope, and international globe
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

Biology was once considered a purely descriptive science—naturalists sketched organisms, catalogued species, and recorded observations in words rather than numbers. However, as the discipline matured, scientists realized that quantitative reasoning was essential for moving beyond subjective descriptions toward testable, reproducible knowledge. Mathematics became the bridge that connected careful observation to rigorous conclusions, enabling biologists to measure the strength of relationships, estimate population sizes, and determine whether experimental results were genuinely significant or merely due to chance.

1865 • Mendel's Ratios

Gregor Mendel used mathematical ratios (3:1, 9:3:3:1) to describe patterns of inheritance in pea plants, founding the science of genetics on a quantitative framework.

1900 • Chi-Squared Test Developed

Karl Pearson introduced the chi-squared (χ²) test, giving biologists a formal method to compare observed data against expected theoretical outcomes.

1920s • Population Genetics Emerges

Fisher, Haldane, and Wright fused Darwin's theory with Mendelian genetics using statistical models, showing that evolution could be described with equations predicting allele frequency change.

1953 • DNA Structure & Molecular Quantification

Watson and Crick relied on X-ray diffraction measurements—precise mathematical analysis of angles and distances—to deduce the double-helix structure of DNA.

2000s • Bioinformatics Revolution

The Human Genome Project and modern bioinformatics rely heavily on algorithms, statistics, and computational mathematics to analyze billions of data points from genomic sequences.

Today, the IB Biology course asks a central question: how can we use mathematical tools to design experiments, process data, and draw valid conclusions about living systems? This lesson covers the key mathematical skills you need—from calculating means and standard deviations to applying the chi-squared test—so you can think like a modern biologist.

SECTION 2

Core Mathematical Principles in Biology

Mathematics in IB Biology is not about abstract proofs or complex calculus. Instead, it focuses on a practical toolkit of skills that help you collect, summarize, and interpret biological data. The IB expects you to be comfortable with descriptive statistics (summarizing data), inferential statistics (drawing conclusions from samples), and the mathematical reasoning that underpins experimental design.

1

Measures of Central Tendency

The mean, median, and mode summarize a dataset with a single representative value. The mean (average) is most common in biology, but the median is more robust when outliers are present.
2

Measures of Spread

The range and standard deviation (SD) describe how spread out your data are. A small SD means values cluster tightly around the mean; a large SD means they are more scattered.
3

Statistical Testing (χ² Test)

The chi-squared test compares observed frequencies to expected frequencies. It answers the question: is the difference between what we observed and what we predicted significant, or could it be due to random variation?
4

Percentage Change & Ratios

Biologists frequently express results as percentage changes or ratios. These allow comparisons between groups of different sizes and are essential for growth rates, concentration changes, and genetic ratios.
5

Graphical Representation

Choosing the correct graph type—bar chart, histogram, scatter plot, or line graph—and including error bars is a mathematical skill that communicates data clearly and honestly.
✦

KEY TAKEAWAY

Think of these mathematical tools like a biologist's lab equipment. Just as you would not examine cells without a microscope, you cannot draw valid conclusions from data without statistics. The mean and standard deviation are your "lens" for seeing the center and spread of data, while the chi-squared test is your "filter" for separating real patterns from random noise.

SECTION 3

Visualizing Data Distribution & Error Bars

Understanding how data are distributed around the mean is one of the most important skills in IB Biology. The diagram below shows two hypothetical datasets from an experiment measuring plant height (in cm) under two different light conditions. Notice how the standard deviation visualized as error bars tells you much more than the mean alone. When error bars overlap substantially, the difference between groups may not be statistically significant.

Mean Plant Height ± Standard Deviation(Two Light Conditions, n = 30 per group)0510152025Height (cm)18.0Full Sunlight14.0Partial ShadeFull Sunlight (SD = 3.0)Partial Shade (SD = 4.0)Error bars represent ± 1 standard deviation from the mean
The cyan bar (Full Sunlight) shows a mean of 18.0 cm with a standard deviation of 3.0, while the violet bar (Partial Shade) shows a mean of 14.0 cm with an SD of 4.0. Because the error bars do not overlap, we have initial visual evidence that the difference may be statistically significant—though a formal test is needed to confirm.

When you present data in IB Biology, always include error bars on bar charts and graphs. Error bars can represent the standard deviation, the standard error of the mean, or a confidence interval. In IB Biology, you are most often expected to use ±1 SD. The overlap (or lack thereof) of error bars between two groups gives you a quick visual clue about whether a difference is likely meaningful before you even run a statistical test.

SECTION 4

Mathematical Framework

Descriptive Statistics

ARITHMETIC MEAN

xˉ=Σxi/nx̄ = Σxᵢ / n

Where x̄ = mean, Σxᵢ = sum of all individual data values, and n = total number of data values. Simply add up all your measurements and divide by how many you have.

STANDARD DEVIATION

SD=√[Σ(xi−xˉ)2/(n−1)]SD = √[ Σ(xᵢ − x̄)² / (n − 1) ]

Where xᵢ = each individual value, x̄ = mean, and n − 1 = degrees of freedom (we use n − 1 rather than n because our sample is an estimate of the population). This formula measures the average distance each data point sits from the mean.

Percentage Change

PERCENTAGE CHANGE

% change = [(new value − original value) / original value] × 100

A positive result indicates an increase; a negative result indicates a decrease. This is commonly used in biology to express changes in population size, enzyme activity, or mass.

The Chi-Squared (χ²) Test

CHI-SQUARED STATISTIC

χ2=Σ[(O−E)2/E]χ² = Σ [ (O − E)² / E ]

Where O = observed frequency (what you counted), E = expected frequency (what your hypothesis predicts), and the summation runs over all categories. A larger χ² value suggests a greater deviation from the expected result.

After calculating χ², you compare it to a critical value from the chi-squared distribution table at a significance level of p = 0.05 with the appropriate degrees of freedom (df = number of categories − 1). If your calculated χ² exceeds the critical value, you reject the null hypothesis—meaning the difference between observed and expected values is statistically significant and unlikely to be due to chance alone.

💡

IB Exam Tip

The IB always provides the chi-squared critical values table in exams. You do not need to memorize it. However, you must know how to determine degrees of freedom and how to read the table at p = 0.05.

SECTION 5

The Chi-Squared Test Step by Step

The chi-squared test is one of the most frequently assessed mathematical skills in IB Biology. It is used whenever you have categorical data (counts in categories) and want to determine whether the observed distribution matches a theoretical expectation. Common IB contexts include Mendelian genetics crosses, Hardy-Weinberg equilibrium tests, and ecology sampling.

Chi-Squared (χ²) Test Flowchart1. State the Null Hypothesis (H₀)"No significant difference between O and E"2. Calculate Expected Values (E)Based on theory (e.g., 3:1 Mendelian ratio)3. Apply χ² = Σ[(O − E)² / E]Sum across all categories4. Find Degrees of Freedomdf = number of categories − 15. Compare χ² to Critical Value (p = 0.05)Look up critical value in table for your dfχ² < Critical ValueAccept H₀ — no significant diff.χ² > Critical ValueReject H₀ — significant diff.
This flowchart summarizes the five steps of a chi-squared test. Start by stating the null hypothesis (H₀), then calculate expected values, compute χ², determine degrees of freedom, and compare to the critical value. If χ² exceeds the critical value at p = 0.05, you reject H₀ and conclude the difference is significant.
Degrees of Freedom (df)Critical Value (p = 0.05)
13.84
25.99
37.81
49.49
511.07

Excerpt of the chi-squared critical values table at p = 0.05

SECTION 6

Worked Example: Chi-Squared Test on a Monohybrid Cross

A student crosses two heterozygous pea plants (Tt × Tt) and expects a 3:1 phenotypic ratio of tall to short offspring. Out of 120 offspring observed, 82 are tall and 38 are short. Does the observed data fit the expected Mendelian ratio?

Chi-Squared Test: Tt × Tt Monohybrid Cross

  1. 1

    Step 1 — State the Null Hypothesis

    H₀: There is no significant difference between the observed phenotypic ratio and the expected 3:1 ratio. Any deviation is due to random chance.
  2. 2

    Step 2 — Calculate Expected Values

    Total offspring = 120. Expected ratio is 3:1, so expected tall = (3/4) × 120 = 90, and expected short = (1/4) × 120 = 30.
    E(tall) = 90, E(short) = 30
  3. 3

    Step 3 — Apply the Formula for Each Category

    For tall: (O − E)² / E = (82 − 90)² / 90 = (−8)² / 90 = 64 / 90 = 0.711. For short: (O − E)² / E = (38 − 30)² / 30 = (8)² / 30 = 64 / 30 = 2.133.
    χ² contributions: tall = 0.711, short = 2.133
  4. 4

    Step 4 — Sum to Get Total χ²

    χ² = 0.711 + 2.133 = 2.844. Degrees of freedom = number of categories − 1 = 2 − 1 = 1.
    χ² = 2.844, df = 1
  5. 5

    Step 5 — Compare to Critical Value and Conclude

    The critical value at p = 0.05 with df = 1 is 3.84. Our calculated χ² of 2.844 is less than 3.84. Therefore, we accept the null hypothesis. The deviation between observed and expected results is not statistically significant—it is consistent with a 3:1 Mendelian ratio, and the differences are likely due to chance.
    2.844 < 3.84 → Accept H₀ → Data fits 3:1 ratio

SECTION 7

Strengths & Limitations of Mathematical Tools in Biology

While mathematics provides powerful tools for analyzing biological data, each method has specific strengths and limitations. Understanding these helps you choose the right tool and interpret your results appropriately.

ToolStrengthsLimitations
MeanUses all data points; well understood; forms basis of further statistical tests.Heavily influenced by outliers; can misrepresent skewed distributions.
Standard DeviationQuantifies variability precisely; used for error bars; enables comparisons between datasets.Assumes roughly normal distribution; less meaningful for small sample sizes.
Chi-Squared TestSimple to calculate; works with categorical/frequency data; directly tests hypotheses.Requires expected values ≥ 5 in each category; does not measure strength of association; only works with frequencies, not measurements.
Percentage ChangeStandardizes comparisons; easy to interpret; works across different scales.Can be misleading if original value is very small; does not indicate absolute magnitude of change.

Comparison of key mathematical tools used in IB Biology

✦

KEY TAKEAWAY

No single statistical tool tells the whole story. Think of it like a doctor's toolkit—a thermometer can tell you whether someone has a fever, but it cannot tell you why. Similarly, the mean summarizes the center, the standard deviation measures the spread, and the chi-squared test tells you whether patterns are real or coincidental. You need all three to diagnose your data properly.

SECTION 8

Connections to Advanced Statistical Methods

The mathematical skills you learn in IB Biology are the foundation for more sophisticated analyses used in university-level biology and professional research. Understanding where each IB-level tool leads will give you context for why these skills matter beyond the exam.

IB Biology SkillAdvanced ExtensionWhere It's Used
Mean ± SDConfidence intervals, standard error of the mean, t-testsClinical drug trials, comparing treatment groups
Chi-squared testFisher's exact test, G-test, logistic regressionGenome-wide association studies, epidemiology
Percentage changeLogarithmic growth models, rate equationsPopulation ecology, enzyme kinetics (Michaelis-Menten)
Error bars on graphsANOVA, Bayesian analysis, multivariate statisticsEcological field studies, neuroscience data analysis

IB-level skills and their advanced counterparts

If you continue studying biology at university, you will encounter t-tests (for comparing two means), ANOVA (for comparing three or more means), and correlation/regression analyses (for measuring the strength and direction of relationships between variables). All of these build directly on the concepts of mean, standard deviation, and hypothesis testing that you are mastering right now. The key insight is the same: you are always asking whether a pattern in your data reflects a real biological phenomenon or merely random variation.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

A student calculates the mean heart rate of 10 classmates and finds it is 72 bpm. Another student points out that one classmate had just finished exercising and had a heart rate of 140 bpm. Explain how this outlier affects the mean and suggest a more appropriate measure of central tendency for this dataset.
Show answer
The outlier of 140 bpm pulls the mean upward, making it higher than the heart rate of most students in the group. In this case, the median would be a more appropriate measure of central tendency because it is not affected by extreme values. The median is the middle value when all data are ranked in order, so the exercising student's unusually high heart rate would not distort it. This situation illustrates why biologists should always examine their data distribution before choosing a summary statistic.

Question 2: BASIC CALCULATION

A population of bacteria grows from 500 cells to 3,200 cells over a 24-hour period. Calculate the percentage change in population size.
Show answer
Using the formula: % change = [(new value − original value) / original value] × 100 = [(3200 − 500) / 500] × 100 = [2700 / 500] × 100 = 540%. This means the bacterial population increased by 540% over the 24-hour period. This is a very large percentage increase, which is characteristic of exponential growth in microorganisms under favorable conditions. Notice that the percentage change captures both the direction (positive = increase) and the relative magnitude of the change.

Question 3: INTERMEDIATE

Five seedlings were measured (in cm): 12.3, 14.1, 11.8, 13.5, 13.3. Calculate the mean and standard deviation of these measurements. Show your working.
Show answer
First, calculate the mean: x̄ = (12.3 + 14.1 + 11.8 + 13.5 + 13.3) / 5 = 65.0 / 5 = 13.0 cm. Next, calculate each deviation from the mean: (12.3 − 13.0)² = 0.49, (14.1 − 13.0)² = 1.21, (11.8 − 13.0)² = 1.44, (13.5 − 13.0)² = 0.25, (13.3 − 13.0)² = 0.09. Sum of squared deviations = 3.48. Divide by (n − 1) = 4: 3.48 / 4 = 0.87. Take the square root: SD = √0.87 ≈ 0.93 cm. The mean height is 13.0 ± 0.93 cm. The relatively small SD indicates that the seedlings are fairly similar in height.

Question 4: APPLIED

A genetics student crosses two heterozygous plants (Rr × Rr) and observes the following F₂ generation: 68 red flowers and 20 white flowers (total = 88). Using the chi-squared test at p = 0.05 with df = 1 (critical value = 3.84), determine whether the observed data fit the expected 3:1 ratio.
Show answer
Expected values for a 3:1 ratio with 88 total: E(red) = (3/4) × 88 = 66, E(white) = (1/4) × 88 = 22. Applying the chi-squared formula: for red, (68 − 66)² / 66 = 4 / 66 = 0.061; for white, (20 − 22)² / 22 = 4 / 22 = 0.182. Total χ² = 0.061 + 0.182 = 0.243. Since 0.243 < 3.84 (the critical value at p = 0.05, df = 1), we accept the null hypothesis. The observed results are consistent with a 3:1 Mendelian ratio, and the small deviations are likely due to random sampling. This supports the conclusion that flower color follows a simple dominant-recessive inheritance pattern.

Question 5: CRITICAL THINKING

Two researchers conduct the same dihybrid cross (AaBb × AaBb). Researcher A counts 160 offspring and calculates χ² = 8.5. Researcher B counts 40 offspring and calculates χ² = 8.5. Both compare to the critical value at p = 0.05 with df = 3, which is 7.81. Both reject the null hypothesis. Discuss whether both conclusions are equally reliable, and explain how sample size affects the interpretation of chi-squared results.
Show answer
Both researchers correctly reject H₀ because χ² = 8.5 exceeds 7.81. However, their conclusions are not equally reliable. Researcher B's sample of 40 offspring is problematic because the expected values for a 9:3:3:1 ratio would include categories with expected counts below 5 (for example, 40 × 1/16 = 2.5), which violates a key assumption of the chi-squared test. When expected values are too small, the test becomes unreliable and can produce misleading results. Researcher A's larger sample of 160 produces expected values well above 5 in every category, making the test valid. This illustrates a critical principle: larger sample sizes produce more reliable statistical conclusions, and the chi-squared test should only be used when all expected values are 5 or greater.

SUMMARY

Lesson Summary

Summary

Mathematics transforms biology from a descriptive discipline into a rigorous, evidence-based science. In IB Biology, the essential mathematical skills include calculating the mean (x̄ = Σxᵢ / n) to find central tendency, the standard deviation to quantify how spread out data are, and percentage change to express relative differences. These descriptive statistics should always be displayed with error bars on graphs to communicate the reliability of your data.

The chi-squared (χ²) test is the key inferential tool: state a null hypothesis, calculate expected values, apply χ² = Σ[(O − E)² / E], determine degrees of freedom (categories − 1), and compare your result to the critical value at p = 0.05. If χ² exceeds the critical value, reject H₀—the difference is statistically significant. Remember: the chi-squared test requires expected values of at least 5 in each category, and larger sample sizes always produce more reliable results.

Varsity Tutors • IB Biology • Mathematics