Mathematics encompasses the study of abstract structures and their inherent relations. It is divided into the two major areas of pure mathematics and applied mathematics. Pure mathematics includes algebra, analysis, geometry, topology and number theory, while applied mathematics includes numerics, optimisation and stochastics.