what is compensation in math