IA ideas library

Simulation and Monte Carlo IA ideas: when the exact answer is too hard

Some questions are too messy to answer exactly: a queue with impatient customers, a board game with special rules, a disease spreading through a year group. A simulation answers them by running the random process thousands of times and measuring what happens. A Monte Carlo IA is strongest when it also does some exact mathematics, to check the simulation, or to find a simpler case where theory and simulation should agree.

You can simulate in a spreadsheet with RAND(), in a few lines of Python or on a GDC. Code is a tool, not the mathematics: explain in words and notation what each run does, and how many runs you need for the answer to be reliable.

Next step: shortlist ideas with the free IA topic explorer, which filters starting points by course, interest and how easy the data is to get. For feedback on your own draft, the IA package (€39 once) gives you 5 AI feedback credits and every annotated exemplar in full.

Monte Carlo estimate of pi: 400 points spread over a unit square, coloured by whether they fall inside a quarter circle, with the resulting estimate
A Monte Carlo estimate: the proportion of points inside the quarter circle estimates π/4.

How simulation explorations reach the top bands

Personal engagement (C)

Design the simulation yourself: choose the rules, test them on a small case you can check by hand, and change one rule at a time to answer a question you care about.

Reflection (D)

Compare simulation with exact theory or real data, say how many runs you used and how much the answer varies between batches, and question the random-number assumptions.

Use of mathematics (E)

SL: A probability model described precisely, simulated correctly, with the simulated answer compared with an exact calculation for at least one simple case and the results summarised with appropriate statistics.

HL: An estimate of the simulation's error (standard error, or a confidence interval for the estimate), a distribution fitted to the results and tested, or an exact result proved for the general case that the simulation confirms.

An HL version

Give a confidence interval for each simulated estimate and show how it narrows as the number of runs grows, or prove a general result that the simulation confirms.

Simulation & Monte Carlo methods ideas (8)

Also relevant (9)

Frequently asked questions

Is a simulation enough mathematics for an IA?

Not on its own. Pair it with exact calculation for a simple case, a probability distribution that explains the results, or an estimate of the simulation's error. The simulation then tests and extends the mathematics rather than replacing it.

Do I have to write code?

No. A spreadsheet with RAND() or RANDBETWEEN() can run thousands of trials. If you do write code, put it in an appendix and describe the algorithm in the body.

Start your IA plan, free

Answer the planning questions: your question, the maths, the data and milestones back from your deadline. Then take it to your first teacher meeting.

Plan my IA free

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

Related types of IA: Probability & chance · Games & puzzles

Other topics: Modelling · Calculus · Differential equations · Statistics · Probability · Geometry & Voronoi · Finance · Sport · Environment · Health & biology · Networks & graphs · Pure maths · Art & music · Games & puzzles · Optimisation · Cryptography · Numerical methods · Fractals & chaos · Matrices & Markov · Trig & navigation · Kinematics · Voting & game theory · Surveys

By interest: Computer science · Physics and engineering · Psychology and social sciences · Geography and travel · Chemistry · Biology · Economics · Business management · Sports, exercise and health science · Environmental systems and societies · Music · Visual arts · Design technology · By course: AA SL · AA HL · AI SL · AI HL