Mathematics for Economics: A Statistical Mechanics Perspective