Skip to content

Maths Primer

This section builds up the mathematics behind MODA's algorithms from GCSE/A-level foundations up to what's needed to understand eigenvalues, Fourier analysis, wavelets, and Bayesian inference as MODA uses them. Each page assumes only the previous pages in this section (plus standard GCSE maths) and links forward to the Algorithms pages that use each concept.

Every page states its prerequisites and ends with a pointer to the next, so the section reads straight through — but each also stands alone if you only need one idea.

Suggested reading order

  1. Foundations — trigonometric/periodic functions, complex numbers, vectors. Start here if it's been a while since A-level maths.
  2. Fourier & Convolution — how any signal can be built from sine waves, and what convolution means.
  3. Wavelets — why MODA mostly doesn't just use plain sine waves.
  4. Linear Algebra & Eigenvalues — matrices, eigenvalues/eigenvectors, and where they show up in MODA's Bayesian inference code.
  5. Probability & Bayesian Inference — priors/posteriors, significance testing, and the logic behind surrogate testing.
  6. Worked Example: Heartbeat Profiling — all of the above applied end-to-end to a synthetic physiological signal.

Who this is for

Written for readers comfortable with GCSE maths who want to understand why MODA's algorithms work, not just how to click the buttons — e.g. a student or researcher using MODA for the first time. If you just want to run an analysis, see Getting Started instead; you don't need any of this section to use the software.