Mathematical representation of a complex system