Starting with a system in continuous time:
In LTI systems, we could write an explicit solution for a given ; however, we cannot do this for the vast majority of non-linear systems.
Thus, we aim to simulate the system:
- Goal: Determine the trajectory for the system for some initial condition
- Challenge: Computers operate in discrete time
To solve, this we approximate continuous-time system with a related discrete time system.
Say we know the value of at time , then
This is still exact because is defined with the integral of a continuous-time function, but non-tractable. The idea is then to approximate using a finite number of discrete point.

Left-side rule - Euler Integration

Right side rule - Backwards Euler integration

Trapezoid Rule
