A mathematical introduction to economics