1630s, "pertaining to function or office," from function (n.) + -al (1), or from Medieval Latin functionalis. Meaning "utilitarian" is by 1864; specific use in architecture is from 1928. Related: Functionally; functionality.
1530s, "one's proper work or purpose; power of acting in a specific proper way," from French fonction (16c.) and directly from Latin functionem (nominative functio) "a performance, an execution," noun of action from funct-, past-participle stem of fungi "perform, execute, discharge," from PIE *bhung- "be of use, be used" (source also of Sanskrit bhunjate "to benefit, make benefit, atone," Armenian bowcanem "to feed," Old Irish bongaid "to break, harvest"), which is perhaps related to root *bhrug- "to enjoy." Meaning "official ceremony" is from 1630s, originally in church use. Use in mathematics probably was begun by Leibnitz (1692). In reference to computer operations, 1947.