I've recently been introduced to the error function:
$$\operatorname{erf}(z) =\frac{2}{\sqrt{\pi}}\int_0^z e^{-t^2}dt$$
Naturally, I wondered about the origin of its name: The error of... what? I'm so used to uncertainty analysis in scientific experimentation that my mind went there first. It seems like the name sprung up in the context of statistical analysis. Here's what I found on Quora:
In the course of the 19th century the function from the theory of errors appeared in several contexts unrelated to probability, e.g. refraction and heat conduction. In 1871 J. W. Glaisher wrote that "Erf(x) may fairly claim at present to rank in importance next to the trigonometrical and logarithmic functions." Glaisher introduced the symbol Erf and the name error function for a particular form of the law as follows:
As it is necessary that the function should have a name, and as I do not know that any has been suggested, I propose to call it the Error-function ...
("On a Class of Definite Integrals, Philosophical Magazine, 42, 1871, p. 296)
But this quote sounds like Glaisher arbitrarily picked the name. He must have had some motivation in dubbing it error.
Anyway, what does error represent? Does this measure some deviation from the related Gaussian integral from $\int_0^\infty$?
EDIT The link provided by Dilip is useful, yet still did not explain the depth of this name to me. I am wholly unfamiliar with probability and error theory - where $erf(z)$ seems to have arisen - so excuse me if the answer should have been more obvious. (In fact, error theory sounds vaguely alien to me.) Is the function just commonplace in error theory, and for that reason named $erf$? This reasoning just seems a little, well, lackluster to me, but maybe it's true. Does $erf$ have a specific role that reflects its name?