mathematical methods