Why it is mathematics invented