Quadrivium: Arithmetic, Geometry, Music, Astronomy.

DigiMat fills new school curricula for mathematics+programming with concrete meaning and content, which can be seen as a realisation of the classical Quadrivium now in the age of the computer, along the following principles:

  • Mathematics is constructed by the student in short computer codes with rich output.
  • Properties of mathematical objects follow by construction and as such can be understood and used by the student.
  • Text programming starts early along with learning to read and write.
  • The material is unified over all levels differing only in scope and depth.

Here is a School Syllabus which with increasing depth and width has the same formulation for basic school and high school into University Syllabus, thus expressing unity over levels. Detailed Syllabuses follow below. Each Syllabus is filled with concrete meaning by its Course Material, which mainly takes the form of self-explicatory computer codes supported by menu-listed Pages with full account under Books. 

In mathematics, as a deductive science built on axioms of simple form, the most basic directly connects to the most advanced, which is an essential feature of DigiMat. As an example, the three-line code of Cosmic Interaction can be written and understood by a 10-year old, while it captures the essence of the Millennium Simulation as frontier research. It illustrates the short code – rich output principle of DigiMat as digital mathematics. 

On the other end of the spectrum representing long proof – short output, you find Fermat’s Last Theorem as an example of formal/symbolic mathematics, the statement of which again can be understood by a 10 year old, but which requires a proof of 500 pages which is understood by very few. (No three positive integers a, b, and c satisfy the equation a^n + b^n = c^n for any integer value of n greater than 2).

School Syllabus

Goal: Interactive digital simulation of real and imagined worlds  = computer games.

Language: Formal mathematics + programming.

Tools: Fantasy, brain, eyes, fingers and computer/table/mobile.

Course Material: Basics,  Model Workshop,  JavaScript Workshop, Game Workshop. Key idea: Follow the Code. See Detailed Syllabus below.


  1. Programming language such as JavaScript, Python, Lua. Data types (variable, list, tabell, array, class, objekt), function, procedure, operator, sequense, repetition, condition, logic.
  2. Construction av natural numbers by iteration x = x+1 with start x=0. Properties of natural numbers by construction.
  3. Computation with natural numbers: addition, subtraction, multiplication, division.
  4. Programming av operations according to 2. Digital representation in different bases.
  5. Digital construction av rational numbers as solutions x to the equation px=q with p and q natural numbers. Properties by construction.
  6. Programming av operations for rational numbers: addition, subtraction, multiplication och division.
  7. Digital representation of spatial position x: coordinate system, computer screen/pixels.
  8. Motion: change of position: x=x+vdt (or dx=vdt) with v velocity and dt time step.
  9. Change of velocity: v = v+a*dt (or dv=a*dt) with a acceleration.
  10. Newton’s 2nd law: a = f/m where f is force and m mass.
  11. Digital construction av elementary functions (polynomials, sin, cos, exp, log, et cet) by programming of time stepping of a=f/m, v=v+adt, x=x+vdt with simple f. Properties by construction.
  12. Generalisation to more complex forces, e. g. Newton’s law of gravitation.
  13. Digital representation of and operation on geometrical objects i 2d och 3d.
  14. Digital representation of and operation on image and sound, or other data.
  15. Calculus as solution of dx=f(x)dt.
  16. Linear algebra as generalisation av 13.
  17. Construction/programming av computer games building on 1-16.

Compare with

University Syllabus

Goal: Digital simulation and control of multi-physics systems (the World) (fluid-structure-gravitation-electromagnetics-biology-chemistry-quantum).

Method:  Symbolic + Digital Calculus:

  1. Mathematical modeling of multi-physics as systems of PDE (geometry, calculus in 3d)
  2. Discretisation of systems of PDE (finite elements)
  3. Digital solution of discretised systems of PDEs  (time-stepping, linear algebra)
  4. Applications to simulation of given systems, parameter identification in systems, control of systems, robotics, automated modeling of systems, machine learning, AI.

Course Material: Model Workshop,  DigiMat Pro, Key PDE Models.

Detailed Syllabus 

Here follows more detailed specifications for different levels. The Course Material defining the syllabus takes the form of self-explicatory computer programs from very simple to more complex building on a few basic principles of counting and time-stepping in a user-friendly p5.js web browser setting.

  1. Pre-School into grade 1-3.
  2. School grade 1-12.
  3. University: DigiMat Pro.

The unification over levels is expressed e g by short codes for Poisson’s equation in simple geometry (5-point scheme), which can be mastered by students from grade 4. This is followed by using FEniCS for complex geometry, then not as black box but with understanding and experience from simple geometry. This brings top level into school to give inspiration, motivation and meaning to learning.