Updated · By Pete Bromfield, former Head of Maths with IB examining experience

IA idea · Matrices, transformations & Markov chains

Projecting a country's age structure with a Leslie matrix

AI HL Ambitious Also in: Environment, Modelling

Research question

Using UN birth and survival rates by age group, what age structure does a Leslie matrix predict for a country in 50 years, what long-run growth rate does its dominant eigenvalue give, and how do the projections compare with the UN's own?

Make it yours, then agree it with your teacher.

Next step: plan this IA free — the planner opens with this question filled in. For feedback on your own draft, the IA package (€39 once) gives you 5 AI feedback credits and every annotated exemplar in full.

Why it makes a good exploration

Leslie matrices are a real demographic tool. Real UN data, a clear long-run answer from eigenvalues and a published projection to compare with make a complete investigation.

The mathematics you'll need

  • Building a Leslie matrix from fertility and survival rates
  • Matrix powers for projections
  • Eigenvalues and eigenvectors for long-run growth and age structure
  • Comparing projections with published ones
  • Sensitivity to fertility changes

Where the data comes from

Download fertility and survival (or mortality) by age group from UN World Population Prospects for a country you choose; state the version and variant.

Real data for this idea

  1. Primary source: UN World Population Prospects: World Population Prospects data portal. Choose total population, or population by five-year age group, for one country and export CSV. Licence: Check the terms on the UN site.
  2. Readable chart: Our World in Data: Population by age group. Use it to see the pattern; download your numbers from the primary source or the chart's own download. Cite as: Our World in Data, ‘Population by age group’, CC BY 4.0. Original source: UN, World Population Prospects (2024).

Links checked October 2026; we link to the data and never copy it. More free data sets.

A possible outline

  1. Explain the Leslie model with a three-age-group example.
  2. Build the matrix for your country from UN data.
  3. Project forward and compare with the UN projection.
  4. Find the dominant eigenvalue and stable age structure.
  5. Reflect on migration and changing rates.

Pitfalls that cost marks

  • Mixing age-group widths with time steps.
  • Ignoring migration without comment.
  • Using eigenvalues from software without interpreting them.

Showing personal engagement

  • Choose a country you have a connection to.
  • Compare two countries with very different structures.
  • Find the fertility rate that gives zero long-run growth.

See Criterion C: personal engagement for what examiners look for.

Which course is it for?

CourseFitMaths to lean on
AA SLNot a natural fitThe core technique sits in the AI course or at HL; an AA SL student could use it only as clearly explained new mathematics.
AA HLNot a natural fitThe mathematics is mainly from the AI course; at AA HL the exploration would need an AA-level approach (calculus, proof or probability theory) to reach the top of Criterion E.
AI SLNot a natural fitThe mathematics is mainly AA or HL (calculus or proof beyond AI SL); an AI SL version would need a data-driven, technology-based approach.
AI HLGood fitBuilding a Leslie matrix from fertility and survival rates; Matrix powers for projections

Level: Ambitious. Suits confident students; expect to learn some mathematics on your own. See how the IA differs between AA and AI, SL and HL.

How this idea reaches the top bands

Reflection (D)

For this idea, start with the weak points: mixing age-group widths with time steps; and ignoring migration without comment. Say how each one affects your answer.

Use of mathematics (E)

HL: building a Leslie matrix from fertility and survival rates; matrix powers for projections; eigenvalues and eigenvectors for long-run growth and age structure; comparing projections with published ones; sensitivity to fertility changes, each explained in your own words and carried out correctly.

How matrices & markov explorations reach the top bands in general: Matrices, transformations & Markov chains IA ideas. Guides: A · B · C · D · E · self-grade sheet.

Taking it further

Add migration as a vector term, or compare female-only and two-sex models.

Extending it for HL

Add an HL technique the question genuinely needs: what an HL matrices & markov exploration adds.

Frequently asked questions

Which IB Maths course is this IA idea for?

It works for AI HL. We rate it Ambitious: it suits confident students, who should expect to learn some mathematics on their own.

What mathematics does this IA use?

Building a Leslie matrix from fertility and survival rates, matrix powers for projections, eigenvalues and eigenvectors for long-run growth and age structure, comparing projections with published ones and sensitivity to fertility changes.

Where can I get data for this IA?

Download fertility and survival (or mortality) by age group from UN World Population Prospects for a country you choose; state the version and variant. Checked sources and tools: UN World Population Prospects, Our World in Data, UN World Population Prospects 2024 and Desmos graphing calculator.

Turn this idea into your IA

The planner opens with “Projecting a country's age structure with a Leslie matrix” filled in: the question, the maths and the data sources.

Plan this IA free

Your plan is kept in this browser. A free account keeps it with your drafts on any device: Join free · Sign in

Also: free IA self-check · A–E checklist (PDF) · have a draft? AI feedback or a review with Pete (€100)

Writing it up: how to write a Maths IA, step by step · structure and format · mistakes that cost marks · IA modelling, step by step

Similar ideas

All matrices & markov ideas · AI HL ideas · All 239 IA ideas