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