Nonlinear dynamics and chaos, part I: a geometrical approach