1530s, from M.Fr. fonction, from O.Fr. function, from L. functio (gen. functionis) "performance, execution," from functus, pp. of fungi "perform, execute, discharge." Use in mathematics probably begun by Leibnitz (1692). As a verb, from 1856. Related: Functioned; functioning.