{"id":2315,"date":"2015-09-28T14:28:20","date_gmt":"2015-09-28T18:28:20","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/pamphlet\/?p=2315"},"modified":"2015-09-28T14:28:20","modified_gmt":"2015-09-28T18:28:20","slug":"whence-function-notation","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/2015\/09\/28\/whence-function-notation\/","title":{"rendered":"Whence function notation?"},"content":{"rendered":"<p><br \/>\nI begin &#8212; in <a href=\"http:\/\/blogs.law.harvard.edu\/groundtruth\/2004\/10\/08\/three-styles-for-writing-a-paper\/\">continental style<\/a>, unmotivated and, frankly, gratuitously &#8212; by defining Ackerman&#8217;s function \\(A\\) over two integers:<\/p>\n<p>\\[ A(m, n) = \\left\\{ \\begin{array}{l}<br \/>\nn + 1 &amp; \\mbox{ if $m=0$ } \\\\<br \/>\nA(m-1, 1) &amp; \\mbox{ if $m &gt; 0$ and $n = 0$ } \\\\<br \/>\nA(m-1, A(m, n-1)) &amp; \\mbox{ if $m &gt; 0$ and $n &gt; 0$ }<br \/>\n\\end{array} \\right. \\]<\/p>\n<table style=\"margin-left: 20px\" width=\"200\" align=\"right\" bgcolor=\"#F7EFE5\">\n<tbody>\n<tr>\n<td align=\"center\"><a title=\"\u2026drawing their equations evanescently in dust and sand\u2026\" href=\"http:\/\/blogs.law.harvard.edu\/pamphlet\/files\/2015\/09\/archimedes.jpg\"><img decoding=\"async\" src=\"http:\/\/blogs.law.harvard.edu\/pamphlet\/files\/2015\/09\/archimedes-300x235.jpg\" alt=\"\u2026 drawing their equations evanescently in dust and sand\u2026\" width=\"200\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center\"><span style=\"color: #999999\">\u2026drawing their equations evanescently in dust and sand\u2026<\/span><br \/>\n<span style=\"color: #999999;font-size: 85%\">Image of &#8220;<a href=\"https:\/\/www.gutenberg.org\/files\/26423\/26423-h\/26423-h.htm#img021\">Death of Archimedes<\/a>&#8221; from Charles F. Horne, editor, <em><a href=\"https:\/\/www.gutenberg.org\/files\/26423\/26423-h\/26423-h.htm\">Great Men and Famous Women<\/a><\/em>, Volume 3, 1894. Reproduced by <a href=\"https:\/\/www.gutenberg.org\/\">Project Gutenberg<\/a>. Used by permission.<\/p>\n<p><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You&#8217;ll have appreciated (unconsciously no doubt) that this definition makes repeated use of a notation in which a symbol precedes a parenthesized list of expressions, as for example \\(f(a, b, c)\\). This configuration represents the application of a function to its arguments. But you knew that. And why? Because <em>everyone who has ever gotten through eighth grade math has been taught this notation<\/em>. It is inescapable in high school algebra textbooks. It is a standard notation in the most widely used programming languages. It is the very archetype of common mathematical knowledge. It is, for God&#8217;s sake, in the <a href=\"http:\/\/www.corestandards.org\/Math\/Content\/HSF\/introduction\/\">Common Core<\/a>. It is to mathematicians <a href=\"https:\/\/www.goodreads.com\/quotes\/97082-there-are-these-two-young-fish-swimming-along-and-they\">as water is to fish<\/a> &#8212; so encompassing as to be invisible.<\/p>\n<p>Something so widespread, so familiar &#8212; it&#8217;s hard to imagine how it could be otherwise. It&#8217;s difficult to un-see it as anything but function application. But it was not always thus. Someone must have invented this notation, some time in the deep past. Perhaps it came into being when mathematicians were still <a href=\"https:\/\/www.gutenberg.org\/files\/26423\/26423-h\/26423-h.htm#img021\">drawing their equations evanescently in dust and sand<\/a>. Perhaps all record has been lost of that ur-application that engendered all later function application expressions. Nonetheless, <em>someone<\/em> must have come up with the idea.<\/p>\n<table style=\"margin-left: 20px\" width=\"200\" align=\"right\" bgcolor=\"#F7EFE5\">\n<tbody>\n<tr>\n<td align=\"center\"><a title=\"\u2026that ur-application\u2026\" href=\"http:\/\/blogs.law.harvard.edu\/pamphlet\/files\/2015\/09\/IMG_2574.jpg\"><img decoding=\"async\" src=\"http:\/\/blogs.law.harvard.edu\/pamphlet\/files\/2015\/09\/IMG_2574-300x225.jpg\" alt=\"\u2026 that ur-application\u2026\" width=\"200\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center\"><span style=\"color: #999999\">\u2026that ur-application\u2026<\/span><br \/>\n<span style=\"color: #999999;font-size: 85%\">Photo from the author.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Surprisingly, the origins of the notation are not shrouded in mystery. The careful and exhaustive scholarship of mathematical historian <a href=\"https:\/\/en.wikipedia.org\/wiki\/Florian_Cajori\">Florian Cajori<\/a> (1929, page 267) argues for a particular instance as originating the use of this now ubiquitous notation. <a href=\"https:\/\/en.wikipedia.org\/wiki\/Leonhard_Euler\">Leonhard Euler<\/a>, the legendary mathematician and perhaps the greatest innovator in successful mathematical notations, proposed the notation first in 1734, in Section 7 of his paper &#8220;<a href=\"https:\/\/books.google.com\/books?id=MMwVAAAAYAAJ&amp;pg=PA190-IA4#v=onepage&amp;q&amp;f=false\">Additamentum ad Dissertationem de Infinitis Curvis Eiusdem Generis<\/a>&#8221; [&#8220;An Addition to the Dissertation Concerning an Infinite Number of Curves of the Same Kind&#8221;]. <\/p>\n<p>The paper was published in 1740 in <em>Commentarii Academiae Scientarium Imperialis Petropolitanae<\/em> [<em>Memoirs of the Imperial Academy of Sciences in St. Petersburg<\/em>], Volume VII, covering the years 1734-35. A visit to the Widener Library stacks produced <a href=\"http:\/\/id.lib.harvard.edu\/aleph\/003823017\/catalog\">a copy of the volume<\/a>, letterpress printed on crisp rag paper, from which I took the image shown above of the notational innovation.<\/p>\n<p>Here is the pertinent sentence (with <a href=\"http:\/\/17centurymaths.com\/contents\/euler\/e045tr.pdf\">translation by Ian Bruce<\/a>.):<\/p>\n<blockquote><p>\nQuocirca, si \\(f\\left(\\frac{x}{a} +c\\right)\\) denotet functionem quamcunque ipsius \\(\\frac{x}{a} +c\\) fiet quoque \\(dx \u2212 \\frac{x\\, da}{a}\\) integrabile, si multiplicetur per \\(\\frac{1}{a} f\\left(\\frac{x}{a} + c\\right)\\).<br \/>[On account of which, if \\(f\\left(\\frac{x}{a} +c\\right)\\) denotes some function of \\(\\frac{x}{a} +c\\), it also makes \\(dx \u2212 \\frac{x\\, da}{a}\\) integrable, if it is multiplied by \\(\\frac{1}{a} f\\left(\\frac{x}{a} + c\\right)\\).]\n<\/p><\/blockquote>\n<p>There is the function symbol &#8212; the archetypal \\(f\\), even then, to evoke the concept of <em>f<\/em>unction &#8212; followed by its argument corralled within simple curves to make clear its extent. <\/p>\n<p>It&#8217;s seductive to think that there is an inevitability to the notation, but this is an illusion, following from habit. There are alternatives. <a href=\"https:\/\/en.wikipedia.org\/wiki\/Gottfried_Wilhelm_Leibniz\">Leibniz<\/a>  for instance used a boxy square-root-like diacritic over the arguments, with numbers to pick out the function being applied: \\( \\overline{a; b; c\\,} \\! | \\! \\lower .25ex {\\underline{\\,{}^1\\,}} \\! | \\), and even Euler, in other later work, experimented with interposing a colon between the function and its arguments: \\(f : (a, b, c)\\). In the computing world, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Reverse_Polish_notation\">&#8220;reverse Polish&#8221; notation<\/a>, found on HP calculators and the programming languages Forth and Postscript, has the function symbol following its arguments: \\(a\\,b\\,c\\,f\\), whereas the quintessential functional programming language Lisp <a href=\"https:\/\/xkcd.com\/297\/\">parenthesizes<\/a> the function <em>and<\/em> its arguments: \\((f\\ a\\ b\\ c)\\).<\/p>\n<p>Finally, <a href=\"https:\/\/en.wikipedia.org\/wiki\/ML_(programming_language)\">ML<\/a> and its dialects follow <a href=\"https:\/\/en.wikipedia.org\/wiki\/Alonzo_Church\">Church<\/a>\u2019s <a href=\"https:\/\/en.wikipedia.org\/wiki\/Lambda_calculus\">lambda calculus<\/a> in merely concatenating the function and its (single) argument &#8212; \\(f \\, a\\) &#8212; using parentheses only to disambiguate structure. But even here, Euler&#8217;s notation stands its ground, for the single argument of a function might itself have components, a &#8216;tuple&#8217; of items \\(a\\), \\(b\\), and \\(c\\) perhaps. The tuples might be indicated using an infix comma operator, thus \\(a,b,c\\). Application of a function to a single tuple argument can then mimic functions of multiple arguments, for instance, \\(f (a, b, c)\\) &#8212; the parentheses required by the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Order_of_operations\">low precedence<\/a> of the tuple forming operator &#8212; and we are back once again to Euler&#8217;s notation. Clever, no? Do you see the lengths to which people will go to adhere to Euler&#8217;s invention? As much as we might try new notational ideas, this one has staying power.<\/p>\n<h4>References<\/h4>\n<p>Florian Cajori. 1929. <em>A History of Mathematical Notations<\/em>, Volume II. Chicago: Open Court Publishing Company.<\/p>\n<p>Leonhard Euler. 1734. Additamentum ad Dissertationem de Infinitis Curvis Eiusdem Generis<\/a>. In <em>Commentarii Academiae Scientarium Imperialis Petropolitanae<\/em>, Volume VII (1734&#8211;35), pages 184&#8211;202, 1740.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I begin &#8212; in continental style, unmotivated and, frankly, gratuitously &#8212; by defining Ackerman&#8217;s function \\(A\\) over two integers: \\[ A(m, n) = \\left\\{ \\begin{array}{l} n + 1 &amp; \\mbox{ if $m=0$ } \\\\ A(m-1, 1) &amp; \\mbox{ if $m &gt; 0$ and $n = 0$ } \\\\ A(m-1, A(m, n-1)) &amp; \\mbox{ if $m [&hellip;]<\/p>\n","protected":false},"author":2110,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[380,1903],"tags":[],"class_list":["post-2315","post","type-post","status-publish","format-standard","hentry","category-computer-science","category-writing"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5pLfN-Bl","jetpack-related-posts":[{"id":1538,"url":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/2012\/10\/16\/for-ada-lovelace-day-2012-karen-sparck-jones\/","url_meta":{"origin":2315,"position":0},"title":"For Ada Lovelace Day 2012: Karen Sp\u00e4rck Jones","author":"Stuart Shieber","date":"Tuesday, October 16, 2012","format":false,"excerpt":"Karen Sp\u00e4rck Jones, 1935-2007 In honor of Ada Lovelace Day\u00a02012, I write about the only female winner of the Lovelace Medal awarded by the British Computer Society for \"individuals who have made an outstanding contribution to the understanding or advancement of Computing\". Karen Sp\u00e4rck Jones was the 2007 winner of\u2026","rel":"","context":"In &quot;computational linguistics&quot;","block_context":{"text":"computational linguistics","link":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/category\/linguistics\/computational-linguistics\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1561,"url":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/2012\/11\/06\/how-not-to-entice-an-author\/","url_meta":{"origin":2315,"position":1},"title":"How not to entice an author","author":"Stuart Shieber","date":"Tuesday, November 6, 2012","format":false,"excerpt":"...There's a \"tree\" in it... \"Fall New England\" image by flickr user BrtinBoston. Used by permission. I received the attached email, inviting a contribution to a journal called\u00a0Advances in Forestry Letter. Yes, that's \"Letter\" in the singular, which is even still optimistic given the number of papers they've published so\u2026","rel":"","context":"In &quot;open access&quot;","block_context":{"text":"open access","link":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/category\/scholarly-communication\/open-access\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":382,"url":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/2014\/03\/28\/a-true-transitional-open-access-business-model\/","url_meta":{"origin":2315,"position":2},"title":"A true transitional open-access business model","author":"Stuart Shieber","date":"Friday, March 28, 2014","format":false,"excerpt":"\u2026provide a transition path\u2026 \"The Temple of Transition, Burning Man 2011\" photo by flickr user Michael Holden, used by permission David Willetts, the UK Minister for Universities and Research, has written a letter to Janet Finch responding to her committee\u2019s \u201cA Review of Progress in Implementing the Recommendations of the\u2026","rel":"","context":"In &quot;open access&quot;","block_context":{"text":"open access","link":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/category\/scholarly-communication\/open-access\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":858,"url":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/2011\/06\/07\/the-nih-responds-to-my-letter\/","url_meta":{"origin":2315,"position":3},"title":"The NIH responds to my letter","author":"Stuart Shieber","date":"Tuesday, June 7, 2011","format":false,"excerpt":"Front steps of National Library of Medicine, 2008, photo courtesy of NIH Image Bank Imagine my surprise when I actually received a response to my letters in recognition of the NIH public access policy, a form letter undoubtedly, but nonetheless gratefully received. And as a side effect, it allows us\u2026","rel":"","context":"In &quot;open access&quot;","block_context":{"text":"open access","link":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/category\/scholarly-communication\/open-access\/"},"img":{"alt_text":"Front steps of National Library of Medicine, 2008, photo courtesy of NIH Image Bank","src":"https:\/\/i0.wp.com\/blogs.law.harvard.edu\/pamphlet\/files\/2011\/06\/nlm-203x300.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":41,"url":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/2009\/05\/29\/what-percentage-of-open-access-journals-charge-publication-fees\/","url_meta":{"origin":2315,"position":4},"title":"What percentage of open-access journals charge publication fees?","author":"Stuart Shieber","date":"Friday, May 29, 2009","format":false,"excerpt":"In the popular conception, open-access journals generate revenue by charging publication fees. The popular conception turns out to be false. Various studies have explored the extent to which OA journals charge publication fees. The results have been counterintuitive to many, indicating that far fewer OA journals charge publication fees than\u2026","rel":"","context":"In &quot;open access&quot;","block_context":{"text":"open access","link":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/category\/scholarly-communication\/open-access\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":797,"url":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/2011\/04\/13\/letters-in-recognition-of-the-nih-public-access-policy-anniversary\/","url_meta":{"origin":2315,"position":5},"title":"Letters in recognition of the NIH Public Access Policy anniversary","author":"Stuart Shieber","date":"Wednesday, April 13, 2011","format":false,"excerpt":"In recognition of the third anniversary of the establishment of the NIH Public Access Policy on April 7, 2008, I've sent letters to John Holdren, Director of the\u00a0Office of Science and Technology Policy;\u00a0Francis Collins., Director of the National Institutes of Health; and Kathleen Sebelius, Secretary of Health and Human Services.\u2026","rel":"","context":"In &quot;open access&quot;","block_context":{"text":"open access","link":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/category\/scholarly-communication\/open-access\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/wp-json\/wp\/v2\/posts\/2315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/wp-json\/wp\/v2\/users\/2110"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/wp-json\/wp\/v2\/comments?post=2315"}],"version-history":[{"count":66,"href":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/wp-json\/wp\/v2\/posts\/2315\/revisions"}],"predecessor-version":[{"id":2383,"href":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/wp-json\/wp\/v2\/posts\/2315\/revisions\/2383"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/wp-json\/wp\/v2\/media?parent=2315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/wp-json\/wp\/v2\/categories?post=2315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/pamphlet\/wp-json\/wp\/v2\/tags?post=2315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}