Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Ackermann function
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Inverse == Since the function {{nowrap|1=''f''(''n'') = ''A''(''n'', ''n'')}} considered above grows very rapidly, its [[inverse function]], ''f''{{i sup|β1}}, grows very slowly. This '''inverse Ackermann function''' ''f''<sup>β1</sup> is usually denoted by '''''Ξ±'''''. In fact, ''Ξ±''(''n'') is less than 5 for any practical input size ''n'', since {{nowrap|''A''(4, 4)}} is on the order of <math>2^{2^{2^{2^{16}}}}</math>. This inverse appears in the time complexity of some algorithms, such as the [[disjoint-set data structure]] and [[Bernard Chazelle|Chazelle]]'s algorithm for [[minimum spanning tree]]s. Sometimes Ackermann's original function or other variations are used in these settings, but they all grow at similarly high rates. In particular, some modified functions simplify the expression by eliminating the β3 and similar terms. A two-parameter variation of the inverse Ackermann function can be defined as follows, where <math>\lfloor x \rfloor</math> is the [[floor function]]: <math display="block">\alpha(m,n) = \min\{i \geq 1 : A(i,\lfloor m/n \rfloor) \geq \log_2 n\}.</math> This function arises in more precise analyses of the algorithms mentioned above, and gives a more refined time bound. In the disjoint-set data structure, ''m'' represents the number of operations while ''n'' represents the number of elements; in the minimum spanning tree algorithm, ''m'' represents the number of edges while ''n'' represents the number of vertices. Several slightly different definitions of {{nowrap|''Ξ±''(''m'', ''n'')}} exist; for example, {{nowrap|log<sub>2</sub> ''n''}} is sometimes replaced by ''n'', and the floor function is sometimes replaced by a [[ceiling function|ceiling]]. Other studies might define an inverse function of one where m is set to a constant, such that the inverse applies to a particular row.{{sfn|Pettie|2002}} The inverse of the Ackermann function is primitive recursive, since it is graph primitive recursive, and it is upper bounded by a primitive recursive function.{{sfn|Matos|2014}}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)