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

IA idea · Fractals & chaos

How fractal is a fern? Box-counting dimension from photographs

AI SLAA SLAI HLAA HL Solid Also in: Modelling, Health & biology

Research question

What box-counting dimension do photographs of a fern, a tree's branches and a cauliflower give, how consistent is the estimate across box sizes, and does it differ between species?

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

Box counting turns a vague claim ('nature is fractal') into a measurement with an uncertainty, using logarithms and regression from the syllabus.

The mathematics you'll need

  • Counting boxes at several scales
  • Log-log transformation and linear regression
  • Gradient as the dimension
  • Range of scales over which a straight line fits; residuals
  • Uncertainty from repeated counts

Where the data comes from

Photograph plants against a plain background, overlay grids in GeoGebra (or print with grids) and count boxes at five or more scales.

  • GeoGebra — Free geometry and graphing software — Voronoi diagrams, loci and regression built in.
  • Desmos graphing calculator — Free graphing and regression (y₁ ~ ax₁ + b) — fit models to your data and show residuals.

A possible outline

  1. Explain box-counting with a shape of known dimension (a line, a square).
  2. Count boxes for each photo at several scales.
  3. Fit log-log lines and compare gradients.
  4. Investigate where the straight line breaks down.
  5. Reflect on photo resolution and the limits of self-similarity.

Pitfalls that cost marks

  • Too few scales for a meaningful gradient.
  • Counting inconsistently between scales.
  • Ignoring the range where the plant isn't self-similar.

Showing personal engagement

  • Use plants from your garden or school grounds.
  • Validate the method on a shape with known dimension.
  • Compare plants that look 'more' and 'less' fractal.

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

Which course is it for?

CourseFitMaths to lean on
AA SLGood fitCounting boxes at several scales; Log-log transformation and linear regression
AA HLGood fitCounting boxes at several scales; Log-log transformation and linear regression
AI SLGood fitCounting boxes at several scales; Log-log transformation and linear regression
AI HLGood fitCounting boxes at several scales; Log-log transformation and linear regression

Level: Solid. Needs some independent work beyond class examples. 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: too few scales for a meaningful gradient; and counting inconsistently between scales. Say how each one affects your answer.

Use of mathematics (E)

SL: counting boxes at several scales; log-log transformation and linear regression; gradient as the dimension; range of scales over which a straight line fits; residuals; uncertainty from repeated counts, each explained in your own words and carried out correctly.

How fractals & chaos explorations reach the top bands in general: Fractals & chaos IA ideas. Guides: A · B · C · D · E · self-grade sheet.

Taking it further

Compare box counting with a different method (for example the divider method used for coastlines) on the same image.

Extending it for HL

Add an HL technique the question genuinely needs: what an HL fractals & chaos exploration adds.

Frequently asked questions

Which IB Maths course is this IA idea for?

It works for AI SL, AA SL, AI HL and AA HL. We rate it Solid: it needs some independent work beyond class examples.

What mathematics does this IA use?

Counting boxes at several scales, log-log transformation and linear regression, gradient as the dimension, range of scales over which a straight line fits; residuals and uncertainty from repeated counts.

Where can I get data for this IA?

Photograph plants against a plain background, overlay grids in GeoGebra (or print with grids) and count boxes at five or more scales. Checked sources and tools: GeoGebra and Desmos graphing calculator.

Turn this idea into your IA

The planner opens with “How fractal is a fern? Box-counting dimension from photographs” 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 · annotated exemplars, marked on every criterion

Similar ideas

All fractals & chaos ideas · AI SL ideas · AA SL ideas · AI HL ideas · AA HL ideas · All 239 IA ideas