<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=5.151.0.0%2F16</id>
	<title>formulasearchengine - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=5.151.0.0%2F16"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/wiki/Special:Contributions/5.151.0.0/16"/>
	<updated>2026-08-11T07:15:50Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.47.0-wmf.7</generator>
	<entry>
		<id>https://en.formulasearchengine.com/w/index.php?title=Archimedes%27_principle&amp;diff=228635</id>
		<title>Archimedes&#039; principle</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/w/index.php?title=Archimedes%27_principle&amp;diff=228635"/>
		<updated>2014-03-03T15:16:34Z</updated>

		<summary type="html">&lt;p&gt;5.151.78.32: Undid revision 597966613 by 74.107.65.212 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Catrina Le is what&#039;s written on her birth diploma though she doesn&#039;t [http://Www.Bing.com/search?q=essentially&amp;amp;form=MSNNWS&amp;amp;mkt=en-us&amp;amp;pq=essentially essentially] like being [http://Search.About.com/?q=called+prefer called prefer] that. Her job would be a cashier but rather quickly her husband and her will start their own home based business. To drive is something which will she&#039;s been doing not that long ago. For years she&#039;s been living with Vermont. Go to the female website to find to choose from more: http://Prometeu.net&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
my web site :: [http://Prometeu.net clash of clans cheats]&lt;/div&gt;</summary>
		<author><name>5.151.78.32</name></author>
	</entry>
	<entry>
		<id>https://en.formulasearchengine.com/w/index.php?title=Atomic_mass_unit&amp;diff=1371</id>
		<title>Atomic mass unit</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/w/index.php?title=Atomic_mass_unit&amp;diff=1371"/>
		<updated>2014-02-02T12:37:29Z</updated>

		<summary type="html">&lt;p&gt;5.151.194.14: /* Terminology */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{distinguish|Hundredth monkey effect}}&lt;br /&gt;
{{refimprove|date=January 2012}}&lt;br /&gt;
[[Image:monkey-typing.jpg|thumb|A [[chimpanzee]] (rather than the usual monkey) sitting at a typewriter. Given enough time, a hypothetical monkey (or in this case ape) typing at random would, as part of its output, [[almost surely]] produce all of [[William Shakespeare|Shakespeare&#039;s]] plays.]]&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;infinite monkey theorem&#039;&#039;&#039; states that a monkey hitting keys at [[randomness|random]] on a [[typewriter keyboard]] for an infinite amount of time will [[almost surely]] type a given text, such as the complete works of [[William Shakespeare]].&lt;br /&gt;
&lt;br /&gt;
In this context, &amp;quot;almost surely&amp;quot; is a mathematical term with a precise meaning, and the &amp;quot;monkey&amp;quot; is not an actual [[monkey]], but a [[metaphor]] for an abstract device that produces an endless [[random sequence]] of letters and symbols. One of the earliest instances of the use of the &amp;quot;monkey metaphor&amp;quot; is that of French mathematician [[Émile Borel]] in 1913,&amp;lt;ref name=&amp;quot;:0&amp;quot; /&amp;gt; but the earliest instance may be even earlier. The relevance of the theorem is [[#Applications and criticisms|questionable]]—the [[probability]] of a universe full of monkeys typing a complete work such as Shakespeare&#039;s &#039;&#039;[[Hamlet]]&#039;&#039; is so tiny that the chance of it occurring during a period of time hundreds of thousands of orders of magnitude longer than the [[age of the universe]] is &#039;&#039;extremely&#039;&#039; low (but technically not zero).&lt;br /&gt;
&lt;br /&gt;
Variants of the theorem include multiple and even infinitely many typists, and the target text varies between an entire library and a single sentence. The history of these statements can be traced back to [[Aristotle]]&#039;s &#039;&#039;[[On Generation and Corruption]]&#039;&#039; and [[Cicero]]&#039;s &#039;&#039;[[De natura deorum]]&#039;&#039; (On the Nature of the Gods), through [[Blaise Pascal]] and [[Jonathan Swift]], and finally to modern statements with their iconic simians and typewriters. In the early 20th century, [[Émile Borel]] and [[Arthur Eddington]] used the theorem to illustrate the timescales implicit in the foundations of [[statistical mechanics]].&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;br /&gt;
&lt;br /&gt;
===Direct proof===&lt;br /&gt;
There is a straightforward proof of this theorem. As an introduction, recall that if two events are [[statistically independent]], then the probability of both happening equals the product of the probabilities of each one happening independently. For example, if the chance of rain in [[Moscow]] on a particular day in the future is 0.4 and the chance of an [[earthquake]] in [[San Francisco]] on that same day is 0.00003, then the chance of both happening on that day is {{nowrap|1=0.4 × 0.00003 = 0.000012}}, assuming that they are indeed independent.&lt;br /&gt;
&lt;br /&gt;
Suppose the typewriter has 50 keys, and the word to be typed is &#039;&#039;banana&#039;&#039;. If the keys are pressed randomly and independently, it means that each key has an equal chance of being pressed. Then, the chance that the first letter typed is &#039;b&#039; is 1/50, and the chance that the second letter typed is &#039;&#039;a&#039;&#039; is also 1/50, and so on. Therefore, the chance of the first six letters spelling &#039;&#039;banana&#039;&#039; is&lt;br /&gt;
:(1/50) × (1/50) × (1/50) × (1/50) × (1/50) × (1/50) = (1/50)&amp;lt;sup&amp;gt;6&amp;lt;/sup&amp;gt; = 1/15&amp;amp;nbsp;625&amp;amp;nbsp;000&amp;amp;nbsp;000&amp;amp;nbsp;,&lt;br /&gt;
less than one in 15 billion, but not zero, hence a possible outcome.&lt;br /&gt;
&lt;br /&gt;
From the above, the chance of &#039;&#039;not&#039;&#039; typing &#039;&#039;banana&#039;&#039; in a given block of 6 letters is 1&amp;amp;nbsp;−&amp;amp;nbsp;(1/50)&amp;lt;sup&amp;gt;6&amp;lt;/sup&amp;gt;. Because each block is typed independently, the chance &#039;&#039;X&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt; of not typing &#039;&#039;banana&#039;&#039; in any of the first &#039;&#039;n&#039;&#039; blocks of 6 letters is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;X_n=\left(1-\frac{1}{50^6}\right)^n.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As &#039;&#039;n&#039;&#039; grows, &#039;&#039;X&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt; gets smaller. For an &#039;&#039;n&#039;&#039; of a million, &#039;&#039;X&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt; is roughly 0.9999, but for an &#039;&#039;n&#039;&#039; of 10 billion &#039;&#039;X&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt; is roughly 0.53 and for an &#039;&#039;n&#039;&#039; of 100 billion it is roughly 0.0017. As &#039;&#039;n&#039;&#039; approaches infinity, the probability &#039;&#039;X&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt; [[limit of a function|approaches]] zero; that is, by making &#039;&#039;n&#039;&#039; large enough, &#039;&#039;X&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt; can be made as small as is desired,&amp;lt;ref name=&amp;quot;Isaac1995&amp;quot;&amp;gt;{{cite book |last=Isaac |first=Richard E. |title=The Pleasures of Probability |year=1995 |publisher=Springer | isbn = 0-387-94415-X |pages=48–50}} Isaac generalizes this argument immediately to variable text and alphabet size; the common main conclusion is on p.50.&amp;lt;/ref&amp;gt;&amp;lt;ref group=&amp;quot;note&amp;quot;&amp;gt;This shows that the probability of typing &amp;quot;banana&amp;quot; in one of the predefined non-overlapping blocks of six letters tends to 1. In addition the word may appear across two blocks, so the estimate given is conservative.&amp;lt;/ref&amp;gt; and the chance of typing &#039;&#039;banana&#039;&#039; approaches 100%.&lt;br /&gt;
&lt;br /&gt;
The same argument shows why at least one of infinitely many monkeys will produce a text as quickly as it would be produced by a perfectly accurate human typist copying it from the original. In this case &#039;&#039;X&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt; = (1&amp;amp;nbsp;−&amp;amp;nbsp;(1/50)&amp;lt;sup&amp;gt;6&amp;lt;/sup&amp;gt;)&amp;lt;sup&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sup&amp;gt; where &#039;&#039;X&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt; represents the probability that none of the first &#039;&#039;n&#039;&#039; monkeys types &#039;&#039;banana&#039;&#039; correctly on their first try. When we consider 100 billion monkeys, the probability falls to 0.17%, and as the number of monkeys &#039;&#039;n&#039;&#039; increases, the value of &#039;&#039;X&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sub&amp;gt; – the probability of the monkeys failing to reproduce the given text – approaches zero arbitrarily closely. The limit, for &#039;&#039;n&#039;&#039; going to infinity, is zero.&lt;br /&gt;
&lt;br /&gt;
However, for physically meaningful numbers of monkeys typing for physically meaningful lengths of time the results are reversed. If there are as many monkeys as there are atoms in the [[observable universe]] typing extremely fast for trillions of times the life of the universe, the probability of the monkeys replicating even a &#039;&#039;single page&#039;&#039; of Shakespeare is effectively zero. See [[#Probabilities|Probabilities]], below.&lt;br /&gt;
&lt;br /&gt;
===Infinite strings===&lt;br /&gt;
The two statements above can be stated more generally and compactly in terms of [[string (computer science)|strings]], which are sequences of characters chosen from some finite alphabet:&lt;br /&gt;
* Given an infinite string where each character is chosen [[Uniform distribution (discrete)|uniformly at random]], any given finite string almost surely occurs as a substring at some position.&lt;br /&gt;
* Given an infinite sequence of infinite strings, where each character of each string is chosen uniformly at random, any given finite string almost surely occurs as a prefix of one of these strings.&lt;br /&gt;
&lt;br /&gt;
Both follow easily from the second [[Borel–Cantelli lemma]]. For the second theorem, let &#039;&#039;E&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sub&amp;gt; be the [[event (probability theory)|event]] that the &#039;&#039;k&#039;&#039;th string begins with the given text. Because this has some fixed nonzero probability &#039;&#039;p&#039;&#039; of occurring, the &#039;&#039;E&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sub&amp;gt; are independent, and the below sum diverges,&lt;br /&gt;
:&amp;lt;math&amp;gt;\sum_{k=1}^\infty P(E_k) = \sum_{k=1}^\infty p = \infty,&amp;lt;/math&amp;gt;&lt;br /&gt;
the probability that infinitely many of the &#039;&#039;E&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sub&amp;gt; occur is 1. The first theorem is shown similarly; one can divide the random string into nonoverlapping blocks matching the size of the desired text, and make &#039;&#039;E&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sub&amp;gt; the event where the &#039;&#039;k&#039;&#039;th block equals the desired string.&amp;lt;ref group=&amp;quot;note&amp;quot;&amp;gt;The first theorem is proven by a similar if more indirect route in {{cite book |last=Gut |first=Allan |title=Probability: A Graduate Course |year=2005 |publisher=Springer |isbn=0-387-22833-0 |pages=97–100}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Probabilities===&lt;br /&gt;
Ignoring punctuation, spacing, and capitalization, a monkey typing letters uniformly at random has a chance of one in 26 of correctly typing the first letter of &#039;&#039;[[Hamlet]].&#039;&#039; It has a chance of one in 676 (26&amp;amp;nbsp;×&amp;amp;nbsp;26) of typing the first two letters. Because the probability shrinks [[exponential growth|exponentially]], at 20 letters it already has only a chance of one in 26&amp;lt;sup&amp;gt;20&amp;lt;/sup&amp;gt; = 19,928,148,895,209,409,152,340,197,376 (almost 2&amp;amp;nbsp;×&amp;amp;nbsp;10&amp;lt;sup&amp;gt;28&amp;lt;/sup&amp;gt;). In the case of the entire text of &#039;&#039;Hamlet&#039;&#039;, the probabilities are so vanishingly small they can barely be conceived in human terms. The text of Hamlet contains approximately 130,000 letters.&amp;lt;ref group=&amp;quot;note&amp;quot;&amp;gt;Using the Hamlet text [http://www.gutenberg.org/dirs/etext99/1ws2611.txt from gutenberg], there are 132680 alphabetical letters and 199749 characters overall&amp;lt;/ref&amp;gt; Thus there is a probability of one in 3.4&amp;amp;nbsp;×&amp;amp;nbsp;10&amp;lt;sup&amp;gt;183,946&amp;lt;/sup&amp;gt; to get the text right at the first trial. The average number of letters that needs to be typed until the text appears is also 3.4&amp;amp;nbsp;×&amp;amp;nbsp;10&amp;lt;sup&amp;gt;183,946&amp;lt;/sup&amp;gt;,&amp;lt;ref group=&amp;quot;note&amp;quot;&amp;gt;For any required string of 130,000 letters from the set a-z, the average number of letters that needs to be typed until the string appears is (rounded) 3.4&amp;amp;nbsp;×&amp;amp;nbsp;10&amp;lt;sup&amp;gt;183,946&amp;lt;/sup&amp;gt;, except in the case that all letters of the required string are equal, in which case the value is about 4% more, 3.6&amp;amp;nbsp;×&amp;amp;nbsp;10&amp;lt;sup&amp;gt;183,946&amp;lt;/sup&amp;gt;. In that case failure to have the correct string starting from a particular position reduces with about 4% the probability of a correct string starting from the next position (i.e., for overlapping positions the events of having the correct string are not independent; in this case there is a positive correlation between the two successes, so the chance of success after a failure is smaller than the chance of success in general). The figure 3.4&amp;amp;nbsp;×&amp;amp;nbsp;10&amp;lt;sup&amp;gt;183,946&amp;lt;/sup&amp;gt; is derived from &#039;&#039;n&#039;&#039; =&amp;amp;nbsp;26&amp;lt;sup&amp;gt;130000&amp;lt;/sup&amp;gt; by taking the logarithm of both sides: log&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;(&#039;&#039;n&#039;&#039;) = 1300000×log&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;(26) =&amp;amp;nbsp;183946.5352, therefore &#039;&#039;n&#039;&#039; =&amp;amp;nbsp;10&amp;lt;sup&amp;gt;0.5352&amp;lt;/sup&amp;gt;&amp;amp;nbsp;×&amp;amp;nbsp;10&amp;lt;sup&amp;gt;183946&amp;lt;/sup&amp;gt; =&amp;amp;nbsp;3.429&amp;amp;nbsp;×&amp;amp;nbsp;10&amp;lt;sup&amp;gt;183946&amp;lt;/sup&amp;gt;.&amp;lt;/ref&amp;gt; or including punctuation, 4.4&amp;amp;nbsp;×&amp;amp;nbsp;10&amp;lt;sup&amp;gt;360,783&amp;lt;/sup&amp;gt;.&amp;lt;ref group=&amp;quot;note&amp;quot;&amp;gt;26 letters ×2 for capitalisation, 12 for punctuation characters = 64, 199749×log&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;(64) =&amp;amp;nbsp;4.4&amp;amp;nbsp;×&amp;amp;nbsp;10&amp;lt;sup&amp;gt;360,783&amp;lt;/sup&amp;gt; (assuming capital letters are separate keys, as opposed to a key combination, which would make the problem vastly harder).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Even if every atom in the observable universe were a monkey with a typewriter, typing from the [[Big Bang]] until the [[end of the universe]], they would still need a ridiculously longer time - more than three hundred and sixty thousand &#039;&#039;orders of magnitude&#039;&#039; longer - to have even a 1 in 10&amp;lt;sup&amp;gt;500&amp;lt;/sup&amp;gt; chance of success. To put it another way, for a one in a trillion chance of success, there would need to be 10&amp;lt;sup&amp;gt;360,641&amp;lt;/sup&amp;gt; universes full of atomic monkeys.&amp;lt;ref group=&amp;quot;note&amp;quot;&amp;gt;Assume all atoms are hydrogen, there are ~10&amp;lt;sup&amp;gt;80&amp;lt;/sup&amp;gt; [[Observable universe#Matter content - number of atoms|atoms in the universe]] (the actual number would be lower since only 74% of atoms are hydrogen). Assume the monkeys write for 10&amp;lt;sup&amp;gt;38&amp;lt;/sup&amp;gt; years (10&amp;lt;sup&amp;gt;20&amp;lt;/sup&amp;gt; years is when [[Future of an expanding universe#Stellar remnants escape galaxies or fall into black holes|all stellar remnants will have either been ejected from their galaxies or fallen into black holes]], 10&amp;lt;sup&amp;gt;38&amp;lt;/sup&amp;gt; years is when all but 0.1% of [[Future of an expanding universe#All nucleons decay|protons have decayed]]). Assuming the monkeys type non-stop at a blisteringly fast 400 words per minute, that&#039;s about 2000 characters per minute (Shakespeare&#039;s average word length is a bit under 5 letters). There are about half a million minutes in a year, this means each monkey types a billion characters per year. This gives a total of 10&amp;lt;sup&amp;gt;80&amp;lt;/sup&amp;gt;×10&amp;lt;sup&amp;gt;38&amp;lt;/sup&amp;gt;×10&amp;lt;sup&amp;gt;9&amp;lt;/sup&amp;gt;=10&amp;lt;sup&amp;gt;127&amp;lt;/sup&amp;gt; letters typed - which is still zero in comparison to 10&amp;lt;sup&amp;gt;360,783&amp;lt;/sup&amp;gt;. For a one in a trillion chance, multiply the letters typed by a trillion: 10&amp;lt;sup&amp;gt;127&amp;lt;/sup&amp;gt;×10&amp;lt;sup&amp;gt;15&amp;lt;/sup&amp;gt;=10&amp;lt;sup&amp;gt;145&amp;lt;/sup&amp;gt;. 10&amp;lt;sup&amp;gt;360,783&amp;lt;/sup&amp;gt;/10&amp;lt;sup&amp;gt;145&amp;lt;/sup&amp;gt;=10&amp;lt;sup&amp;gt;360,641&amp;lt;/sup&amp;gt;.&amp;lt;/ref&amp;gt; As [[Charles Kittel|Kittel]] and [[Herbert Kroemer|Kroemer]] put it, &amp;quot;The probability of &#039;&#039;Hamlet&#039;&#039; is therefore zero in any operational sense of an event...&amp;quot;, and the statement that the monkeys must eventually succeed &amp;quot;gives a misleading conclusion about very, very large numbers.&amp;quot; This is from their textbook on [[thermodynamics]], the field whose statistical foundations motivated the first known expositions of typing monkeys.&amp;lt;ref name=&amp;quot;KK&amp;quot;&amp;gt;{{cite book | author=[[Charles Kittel|Kittel, Charles]] and [[Herbert Kroemer]] | title=Thermal Physics (2nd ed.) | publisher=W. H. Freeman Company | year=1980 | isbn=0-7167-1088-9 |page=53}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In fact there is less than a one in a trillion chance of success that such a universe full of monkeys could type any particular document a mere 79 characters long.&amp;lt;ref group=&amp;quot;note&amp;quot;&amp;gt;As explained at http://www.nutters.org/docs/more-monkeys, the problem can be approximated further. 10&amp;lt;sup&amp;gt;145&amp;lt;/sup&amp;gt;/log&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;(64)=78.9 characters.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Almost surely===&lt;br /&gt;
{{See also|Almost surely}}&lt;br /&gt;
&lt;br /&gt;
The probability that an infinite randomly generated string of text will contain a particular finite substring is 1. However, this does not mean the substring&#039;s absence is &amp;quot;impossible&amp;quot;, despite the absence having a prior probability of 0. For example, the immortal monkey &#039;&#039;could&#039;&#039; randomly type G as its first letter, G as its second, and G as every single letter thereafter, producing an infinite string of Gs; at no point must the monkey be &amp;quot;compelled&amp;quot; to type anything else. (To assume otherwise implies the [[gambler&#039;s fallacy]].) However long a randomly generated finite string is, there is a small but nonzero chance that it will turn out to consist of the same character repeated throughout; this chance approaches zero as the string&#039;s length approaches infinity. There is nothing special about such a monotonous sequence except that it is easy to describe; the same fact applies to any nameable specific sequence, such as &amp;quot;RGRGRG&amp;quot; repeated forever, or &amp;quot;a-b-aa-bb-aaa-bbb-...&amp;quot;, or &amp;quot;Three, Six, Nine, Twelve…&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If the hypothetical monkey has a typewriter with 90 equally likely keys that include numerals and punctuation, then the first typed keys might be &amp;quot;3.14&amp;quot; (the first three [[digits of pi]]) with a probability of (1/90)&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;, which is 1/65,610,000. Equally probable is any other string of four characters allowed by the typewriter, such as &amp;quot;GGGG&amp;quot;, &amp;quot;mATh&amp;quot;, or &amp;quot;q%8e&amp;quot;. The probability that 100 randomly typed keys will consist of the first 99 digits of pi (including the separator key), or any other &#039;&#039;particular&#039;&#039; sequence of that length, is much lower: (1/90)&amp;lt;sup&amp;gt;100&amp;lt;/sup&amp;gt;. If the monkey&#039;s allotted length of text is infinite, the chance of typing only the digits of pi is 0, which is just as &#039;&#039;possible&#039;&#039; as typing nothing but Gs (also probability 0).&lt;br /&gt;
&lt;br /&gt;
The same applies to the event of typing a particular version of &#039;&#039;Hamlet&#039;&#039; followed by endless copies of itself; or &#039;&#039;Hamlet&#039;&#039; immediately followed by all the digits of pi; these specific strings are [[infinite set|equally infinite]] in length, they are not prohibited by the terms of the thought problem, and they each have a prior probability of 0. In fact, &#039;&#039;any&#039;&#039; particular infinite sequence the immortal monkey types will have &#039;&#039;had&#039;&#039; a prior probability of 0, even though the monkey must type something.&lt;br /&gt;
&lt;br /&gt;
This is an extension of the principle that a finite string of random text has a lower and lower probability of &#039;&#039;being&#039;&#039; a particular string the longer it is (though all specific strings are equally unlikely). This probability approaches 0 as the string approaches infinity. Thus, the probability of the monkey typing an endlessly long string, such as all of the digits of pi in order, on a 90-key keyboard is (1/90)&amp;lt;sup&amp;gt;∞&amp;lt;/sup&amp;gt; which equals (1/∞) which is essentially 0. At the same time, the probability that the sequence &#039;&#039;contains&#039;&#039; a particular subsequence (such as the word MONKEY, or the 12th through 999th digits of pi, or a version of the King James Bible) increases as the total string increases. This probability approaches 1 as the total string approaches infinity, and thus the original theorem is correct.&lt;br /&gt;
&lt;br /&gt;
=== Correspondence between strings and numbers ===&lt;br /&gt;
In a simplification of the thought experiment, the monkey could have a typewriter with just two keys: 1 and 0. The infinitely long string thusly produced would correspond to the [[Binary numeral system|binary]] digits of a particular [[real number]] between 0 and 1. A countably infinite set of possible strings end in infinite repetitions, which means the corresponding real number is [[rational number|rational]]. Examples include the strings corresponding to one-third (010101…), five-sixths (11010101…) and five-eighths (1100000…).  Only a subset of such strings (albeit a countably infinite subset) contains the entirety of &#039;&#039;Hamlet&#039;&#039; (if the text is translated from [[ASCII]] to binary).&lt;br /&gt;
&lt;br /&gt;
Meanwhile, there is an &#039;&#039;[[uncountably]]&#039;&#039; infinite set of strings which do not end in such repetition; these correspond to the [[irrational numbers]]. These can be sorted into two uncountably infinite subsets: those which contain &#039;&#039;Hamlet&#039;&#039; and those which do not. However, the &amp;quot;largest&amp;quot; subset of all the real numbers are those which not only contain &#039;&#039;Hamlet&#039;&#039;, but which contain every other possible string of any length, and with equal distribution of such strings. These irrational numbers are called [[normal number|normal]]. Because almost all numbers are normal, almost all possible strings contain all possible finite substrings. Hence, the probability of the monkey typing a normal number is 1. The same principles apply regardless of the number of keys from which the monkey can choose; a 90-key keyboard can be seen as a generator of numbers written in base 90.&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
&lt;br /&gt;
===Statistical mechanics===&lt;br /&gt;
In one of the forms in which probabilists now know this theorem, with its &amp;quot;dactylographic&amp;quot; [i.e., typewriting] monkeys ({{lang-fr|singes dactylographes}}; the French word &#039;&#039;singe&#039;&#039; covers both the monkeys and the apes), appeared in [[Émile Borel]]&#039;s 1913 article &amp;quot;&#039;&#039;Mécanique Statistique et Irréversibilité&#039;&#039;&amp;quot; (&#039;&#039;[[Statistical mechanics]] and irreversibility&#039;&#039;),&amp;lt;ref name=&amp;quot;:0&amp;quot;&amp;gt;{{cite journal | author=Émile Borel | title=Mécanique Statistique et Irréversibilité | journal=J. Phys. 5e série | volume=3 | year=1913 | pages=189–196}}&amp;lt;/ref&amp;gt; and in his book &amp;quot;Le Hasard&amp;quot; in 1914. His &amp;quot;monkeys&amp;quot; are not actual monkeys; rather, they are a metaphor for an imaginary way to produce a large, [[random sequence]] of letters. Borel said that if a million monkeys typed ten hours a day, it was extremely unlikely that their output would exactly equal all the books of the richest libraries of the world; and yet, in comparison, it was even more unlikely that the laws of statistical mechanics would ever be violated, even briefly.&lt;br /&gt;
&lt;br /&gt;
The physicist [[Arthur Eddington]] drew on Borel&#039;s image further in &#039;&#039;The Nature of the Physical World&#039;&#039; (1928), writing:&lt;br /&gt;
&lt;br /&gt;
{{quote|If I let my fingers wander idly over the keys of a typewriter it might happen that my screed made an intelligible sentence. If an army of monkeys were strumming on typewriters they might write all the books in the British Museum. The chance of their doing so is decidedly more favourable than the chance of the molecules returning to one half of the vessel.&amp;lt;ref name=&amp;quot;Arthur1928&amp;quot;&amp;gt;{{cite book | author=Arthur Eddington | title=The Nature of the Physical World: The [[Gifford Lectures]] | publisher=Macmillan | location=New York | year=1928 | page=72 | isbn=0-8414-3885-4}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&#039;Arthur1927&#039;&amp;gt;{{cite web | url = http://www.giffordlectures.org/Browse.asp?PubID=TPNOPW&amp;amp;Volume=0&amp;amp;Issue=0&amp;amp;ArticleID=6 | title = Chapter IV: The Running-Down of the Universe | accessdate = 2012-01-22 | last = Eddington | first = Arthur | work = The Nature of the Physical World 1926–1927: The [[Gifford Lectures]]}}&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
These images invite the reader to consider the incredible improbability of a large but finite number of monkeys working for a large but finite amount of time producing a significant work, and compare this with the even greater improbability of certain physical events. Any physical process that is even less likely than such monkeys&#039; success is effectively impossible, and it may safely be said that such a process will never happen.&amp;lt;ref name=&amp;quot;KK&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Origins and &amp;quot;The Total Library&amp;quot;===&lt;br /&gt;
In a 1939 essay entitled &amp;quot;The Total Library&amp;quot;, Argentine writer [[Jorge Luis Borges]] traced the infinite-monkey concept back to [[Aristotle]]&#039;s &#039;&#039;Metaphysics.&#039;&#039; Explaining the views of [[Leucippus]], who held that the world arose through the random combination of [[atom]]s, Aristotle notes that the atoms themselves are homogeneous and their possible arrangements only differ in shape, position and ordering. In &#039;&#039;[[On Generation and Corruption]]&#039;&#039;, the Greek philosopher compares this to the way that a tragedy and a comedy consist of the same &amp;quot;atoms&amp;quot;, &#039;&#039;i.e.&#039;&#039;, alphabetic characters.&amp;lt;ref&amp;gt;Aristotle, &#039;&#039;Περὶ γενέσεως καὶ φθορᾶς&#039;&#039; (&#039;&#039;On Generation and Corruption&#039;&#039;), 315b14.&amp;lt;/ref&amp;gt; Three centuries later, [[Cicero]]&#039;s &#039;&#039;De natura deorum&#039;&#039; (&#039;&#039;On the Nature of the Gods&#039;&#039;) argued against the atomist worldview:&lt;br /&gt;
&lt;br /&gt;
{{quote|He who believes this may as well believe that if a great quantity of the one-and-twenty letters, composed either of gold or any other matter, were thrown upon the ground, they would fall into such order as legibly to form the &#039;&#039;Annals&#039;&#039; of Ennius. I doubt whether fortune could make a single verse of them.&amp;lt;ref&amp;gt;Marcus Tullius Cicero, &#039;&#039;De natura deorum&#039;&#039;, 2.37. Translation from &#039;&#039;Cicero&#039;s Tusculan Disputations; Also, Treatises On The Nature Of The Gods, And On The Commonwealth&#039;&#039;, C. D. Yonge, principal translator, New York, Harper &amp;amp; Brothers Publishers, Franklin Square. (1877). [http://www.gutenberg.org/etext/14988 Downloadable text].&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Borges follows the history of this argument through [[Blaise Pascal]] and [[Jonathan Swift]],&amp;lt;ref&amp;gt;The English translation of &amp;quot;The Total Library&amp;quot; lists the title of Swift&#039;s essay as &amp;quot;Trivial Essay on the Faculties of the Soul.&amp;quot;  The appropriate reference is, instead: Swift, Jonathan, Temple Scott et al. &amp;quot;A Tritical Essay upon the Faculties of the Mind.&amp;quot; The Prose Works of Jonathan Swift, Volume 1. London: G. Bell, 1897, pp. 291-296. [http://books.google.com/books?id=FctEAAAAYAAJ&amp;amp;printsec=frontcover&amp;amp;dq=The+Prose+Works+of+Jonathan+Swift&amp;amp;hl=en&amp;amp;ei=JdyDTb-yM8u3tweNmcy8BA&amp;amp;sa=X&amp;amp;oi=book_result&amp;amp;ct=result&amp;amp;resnum=1&amp;amp;ved=0CC4Q6AEwAA#v=onepage&amp;amp;q&amp;amp;f=false Google Books]&amp;lt;/ref&amp;gt; then observes that in his own time, the vocabulary had changed. By 1939, the idiom was &amp;quot;that a half-dozen monkeys provided with typewriters would, in a few eternities, produce all the books in the British Museum.&amp;quot; (To which Borges adds, &amp;quot;Strictly speaking, one immortal monkey would suffice.&amp;quot;) Borges then imagines the contents of the Total Library which this enterprise would produce if carried to its fullest extreme:&lt;br /&gt;
&lt;br /&gt;
{{quote|Everything would be in its blind volumes. Everything: the detailed history of the future, [[Aeschylus]]&#039; &#039;&#039;The Egyptians&#039;&#039;, the exact number of times that the waters of the Ganges have reflected the flight of a falcon, the secret and true nature of Rome, the encyclopedia Novalis would have constructed, my dreams and half-dreams at dawn on August 14, 1934, the proof of [[Pierre Fermat]]&#039;s [[Fermat&#039;s last theorem|theorem]], the unwritten chapters of &#039;&#039;[[Edwin Drood]]&#039;&#039;, those same chapters translated into the language spoken by the [[Garamantes]], the paradoxes Berkeley invented concerning Time but didn&#039;t publish, Urizen&#039;s books of iron, the premature epiphanies of [[Stephen Dedalus]], which would be meaningless before a cycle of a thousand years, the Gnostic [[Gospel of Basilides]], the song the sirens sang, the complete catalog of the Library, the proof of the inaccuracy of that catalog. Everything: but for every sensible line or accurate fact there would be millions of meaningless cacophonies, verbal farragoes, and babblings. Everything: but all the generations of mankind could pass before the dizzying shelves—shelves that obliterate the day and on which chaos lies—ever reward them with a tolerable page.&amp;lt;ref&amp;gt;[[Jorge Luis Borges|Borges, Jorge Luis]]. &amp;quot;&#039;&#039;La biblioteca total&#039;&#039;&amp;quot; (The Total Library), &#039;&#039;Sur&#039;&#039; No. 59, August 1939. Trans. by [[Eliot Weinberger]]. In &#039;&#039;Selected Non-Fictions&#039;&#039; (Penguin: 1999), ISBN 0-670-84947-2.&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Borges&#039; total library concept was the main theme of his widely read 1941 short story &amp;quot;[[The Library of Babel]]&amp;quot;, which describes an unimaginably vast library consisting of interlocking hexagonal chambers, together containing every possible volume that could be composed from the letters of the alphabet and some punctuation characters.&lt;br /&gt;
&lt;br /&gt;
==Real monkeys==&lt;br /&gt;
In 2003, lecturers and students from the [[University of Plymouth]] MediaLab Arts course used a £2,000 grant from the [[Arts Council]] to study the literary output of real monkeys. They left a computer keyboard in the enclosure of six [[Celebes Crested Macaque]]s in [[Paignton Zoo]] in [[Devon]] in [[England]] for a month, with a radio link to broadcast the results on a website.&amp;lt;ref name=&amp;quot;BBC News&amp;quot;&amp;gt;{{cite news | title= No words to describe monkeys&#039; play | date= 2003-05-09 | publisher= BBC News | url= http://news.bbc.co.uk/2/hi/3013959.stm | accessdate = 2009-07-25}} {{Dead link|date=March 2013}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Not only did the monkeys produce nothing but five pages&amp;lt;ref&amp;gt;{{cite web | title = Notes Towards the Complete Works of Shakespeare | url= http://www.vivaria.net/experiments/notes/publication/NOTES_EN.pdf | format = PDF | publisher = vivaria.net | year= 2002 | accessdate = 2006-06-13}}{{dead link|date=September 2013}}&amp;lt;/ref&amp;gt; consisting largely of the letter [[S]], the lead male began by bashing the keyboard with a stone, and the monkeys continued by urinating and defecating on it. Phillips said that the artist-funded project was primarily performance art, and they had learned &amp;quot;an awful lot&amp;quot; from it. He concluded that monkeys &amp;quot;are not random generators. They&#039;re more complex than that. ... They were quite interested in the screen, and they saw that when they typed a letter, something happened. There was a level of intention there.&amp;quot;&amp;lt;ref name=&amp;quot;BBC News&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;Associated2003&amp;quot;&amp;gt;{{cite news |url=http://www.wired.com/news/culture/0,1284,58790,00.html |title=Monkeys Don&#039;t Write Shakespeare |agency=Associated Press |publisher=Wired News |date= 2003-05-09| accessdate = 2007-03-02}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Applications and criticisms==&lt;br /&gt;
&lt;br /&gt;
===Evolution===&lt;br /&gt;
[[Image:Thomas Henry Huxley - Project Gutenberg eText 16935.jpg|thumb|upright|[[Thomas Huxley]] is sometimes misattributed with proposing a variant of the theory in his debates with [[Samuel Wilberforce]].]]&lt;br /&gt;
In his 1931 book &#039;&#039;The Mysterious Universe&#039;&#039;, Eddington&#039;s rival [[James Hopwood Jeans|James Jeans]] attributed the monkey parable to a &amp;quot;Huxley&amp;quot;, presumably meaning [[Thomas Henry Huxley]]. This attribution is incorrect.&amp;lt;ref name=&amp;quot;Padmanabhan2005&amp;quot;&amp;gt;{{cite journal |first=Thanu |last=Padmanabhan |title=The dark side of astronomy |journal=Nature |volume=435 |pages=20–21 |year=2005 |doi=10.1038/435020a |issue=7038}} {{cite book |author=Platt, Suzy; Library of Congress Congressional Research Service |title=Respectfully quoted: a dictionary of quotations |year=1993 |publisher=Barnes &amp;amp; Noble |isbn=0-88029-768-9|pages=388–389}}&amp;lt;/ref&amp;gt; Today, it is sometimes further reported that Huxley applied the example in a [[1860 Oxford evolution debate|now-legendary debate]] over [[Charles Darwin]]&#039;s &#039;&#039;[[On the Origin of Species]]&#039;&#039; with the Anglican Bishop of Oxford, [[Samuel Wilberforce]], held at a meeting of the [[British Association for the Advancement of Science]] at Oxford on June 30, 1860. This story suffers not only from a lack of evidence, but the fact that in 1860 the typewriter itself had yet to emerge.&amp;lt;ref name=&amp;quot;Rescher2006&amp;quot;&amp;gt;{{cite book |first=Nicholas |last=Rescher |title=Studies in the Philosophy of Science |year=2006 |publisher=ontos verlag |isbn=3-938793-20-1 |page=103}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Despite the original mix-up, monkey-and-typewriter arguments are now common in arguments over evolution. For example, Doug Powell argues as a [[Christian apologist]] that even if a monkey accidentally types the letters of &#039;&#039;Hamlet&#039;&#039;, it has failed to produce &#039;&#039;Hamlet&#039;&#039; because it lacked the intention to communicate. His parallel implication is that natural laws could not produce the information content in [[DNA]].&amp;lt;ref name=&amp;quot;Powell2006&amp;quot;&amp;gt;{{cite book |last=Powell |first=Doug |title=Holman Quicksource Guide to Christian Apologetics |year=2006 |publisher=Broadman &amp;amp; Holman | isbn = 0-8054-9460-X |pages=60, 63}}&amp;lt;/ref&amp;gt; A more common argument is represented by Reverend [[John F. MacArthur]], who claims that the genetic mutations necessary to produce a tapeworm from an amoeba are as unlikely as a monkey typing Hamlet&#039;s soliloquy, and hence the odds against the evolution of all life are impossible to overcome.&amp;lt;ref name=&amp;quot;MacArthur2003&amp;quot;&amp;gt;{{cite book |first=John |last=MacArthur |title=Think Biblically!: Recovering a Christian Worldview |year=2003 |publisher=Crossway Books |isbn=1-58134-412-0 |pages=78–79}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Evolutionary biology|Evolutionary biologist]] [[Richard Dawkins]] employs the typing monkey concept in his book &#039;&#039;[[The Blind Watchmaker]]&#039;&#039; to demonstrate the ability of [[natural selection]] to produce biological [[complexity]] out of random [[mutation]]s. In a simulation experiment Dawkins has his [[weasel program]] produce the Hamlet phrase &#039;&#039;METHINKS IT IS LIKE A WEASEL&#039;&#039;, starting from a randomly typed parent, by &amp;quot;breeding&amp;quot; subsequent generations and always choosing the closest match from progeny that are copies of the parent, with random mutations. The chance of the target phrase appearing in a single step is extremely small, yet Dawkins showed that it could be produced rapidly (in about 40 generations) using cumulative selection of phrases.  The random choices furnish raw material, while cumulative selection imparts information.  As Dawkins acknowledges, however, the weasel program is an imperfect analogy for evolution, as &amp;quot;offspring&amp;quot; phrases were selected &amp;quot;according to the criterion of resemblance to a &#039;&#039;distant ideal&#039;&#039; target.&amp;quot;  In contrast, Dawkins affirms, evolution has no long-term plans and does not progress toward some distant goal (such as humans).  The weasel program is instead meant to illustrate the difference between [[non-random]] cumulative selection, and [[random]] single-step selection.&amp;lt;ref name=&amp;quot;Dawkins1996&amp;quot;&amp;gt;{{cite book |last=Dawkins |first=Richard |year=1996 |title=The Blind Watchmaker |publisher=W.W. Norton &amp;amp; Co. |isbn=0-393-31570-3  |pages=46–50}}&amp;lt;/ref&amp;gt;  In terms of the typing monkey analogy, this means that &#039;&#039;Romeo and Juliet&#039;&#039; could be produced relatively quickly if placed under the constraints of a nonrandom, Darwinian-type selection, by freezing in place any letters that happened to match the target text, and making that the template for the next generation of typing monkeys.&lt;br /&gt;
&lt;br /&gt;
A different avenue for exploring the analogy between evolution and an unconstrained monkey lies in the problem that the monkey types only one letter at a time, independently of the other letters. Hugh Petrie argues that a more sophisticated setup is required, in his case not for biological evolution but the evolution of ideas:&lt;br /&gt;
&lt;br /&gt;
{{quote|In order to get the proper analogy, we would have to equip the monkey with a more complex typewriter. It would have to include whole Elizabethan sentences and thoughts. It would have to include Elizabethan beliefs about human action patterns and the causes, Elizabethan morality and science, and linguistic patterns for expressing these. It would probably even have to include an account of the sorts of experiences which shaped Shakespeare&#039;s belief structure as a particular example of an Elizabethan. Then, perhaps, we might allow the monkey to play with such a typewriter and produce variants, but the impossibility of obtaining a Shakespearean play is no longer obvious. What is varied really does encapsulate a great deal of already-achieved knowledge.&amp;lt;ref name=&amp;quot;Blachowicz1998&amp;quot;&amp;gt;As quoted in {{cite book |first=James |last=Blachowicz |title=Of Two Minds: Nature of Inquiry |year=1998 |publisher=SUNY Press |isbn=0-7914-3641-1 |page=109}}&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
[[James W. Valentine]], while admitting that the classic monkey&#039;s task is impossible, finds that there is a worthwhile analogy between written English and the [[metazoa]]n genome in this other sense: both have &amp;quot;combinatorial, hierarchical structures&amp;quot; that greatly constrain the immense number of combinations at the alphabet level.&amp;lt;ref name=&amp;quot;Valentine2004&amp;quot;&amp;gt;{{cite book |first=James |last=Valentine |title=On the Origin of Phyla |year=2004 |publisher=University of Chicago Press |isbn=0-226-84548-6 |pages=77–80}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Literary theory===&lt;br /&gt;
[[R. G. Collingwood]] argued in 1938 that art cannot be produced by accident, and wrote as a sarcastic aside to his critics,&lt;br /&gt;
&lt;br /&gt;
{{quote|...some ... have denied this proposition, pointing out that if a monkey played with a typewriter ... he would produce ... the complete text of Shakespeare. Any reader who has nothing to do can amuse himself by calculating how long it would take for the probability to be worth betting on. But the interest of the suggestion lies in the revelation of the mental state of a person who can identify the &#039;works&#039; of Shakespeare with the series of letters printed on the pages of a book...&amp;lt;ref name=&amp;quot;Sclafani1975&amp;quot;&amp;gt;p.126 of &#039;&#039;The Principles of Art&#039;&#039;, as summarized and quoted by {{cite journal |first=Richard J. |last=Sclafani |title=The logical primitiveness of the concept of a work of art |journal=British Journal of Aesthetics |year=1975 |volume=15 |issue=1 |doi=10.1093/bjaesthetics/15.1.14 |page=14}}&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
[[Nelson Goodman]] took the contrary position, illustrating his point along with Catherine Elgin by the example of Borges&#039; &amp;quot;[[Pierre Menard, Author of the Quixote]]&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
{{quote|What Menard wrote is simply another inscription of the text. Any of us can do the same, as can printing presses and photocopiers. Indeed, we are told, if infinitely many monkeys ... one would eventually produce a replica of the text. That replica, we maintain, would be as much an instance of the work, &#039;&#039;Don Quixote&#039;&#039;, as Cervantes&#039; manuscript, Menard&#039;s manuscript, and each copy of the book that ever has been or will be printed.&amp;lt;ref name=&amp;quot;John2004&amp;quot;&amp;gt;{{cite book |author=John, Eileen and Dominic Lopes, editors |title=The Philosophy of Literature: Contemporary and Classic Readings: An Anthology |year=2004 |publisher=Blackwell |isbn=1-4051-1208-5 |page=96}}&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
In another writing, Goodman elaborates, &amp;quot;That the monkey may be supposed to have produced his copy randomly makes no difference. It is the same text, and it is open to all the same interpretations....&amp;quot; [[Gérard Genette]] dismisses Goodman&#039;s argument as [[begging the question]].&amp;lt;ref name=&amp;quot;Genette1997&amp;quot;&amp;gt;{{cite book |first=Gérard |last= Genette |title=The Work of Art: Immanence and Transcendence |year=1997 |publisher=Cornell UP |isbn=0-8014-8272-0}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For [[Jorge J. E. Gracia]], the question of the identity of texts leads to a different question, that of author. If a monkey is capable of typing &#039;&#039;Hamlet&#039;&#039;, despite having no intention of meaning and therefore disqualifying itself as an author, then it appears that texts do not require authors. Possible solutions include saying that whoever finds the text and identifies it as &#039;&#039;Hamlet&#039;&#039; is the author; or that Shakespeare is the author, the monkey his agent, and the finder merely a user of the text. These solutions have their own difficulties, in that the text appears to have a meaning separate from the other agents: what if the monkey operates before Shakespeare is born, or if Shakespeare is never born, or if no one ever finds the monkey&#039;s typescript?&amp;lt;ref name=&amp;quot;Gracia1996&amp;quot;&amp;gt;{{cite book |last=Gracia |first=Jorge |title=Texts: Ontological Status, Identity, Author, Audience |year=1996 |publisher=SUNY Press |isbn=0-7914-2901-6 |pages=1–2, 122–125}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Random document generation===&lt;br /&gt;
The theorem concerns a [[thought experiment]] which cannot be fully carried out in practice, since it is predicted to require prohibitive amounts of time and resources. Nonetheless, it has inspired efforts in finite random text generation.&lt;br /&gt;
&lt;br /&gt;
One computer program run by Dan Oliver of Scottsdale, Arizona, according to an article in &#039;&#039;[[The New Yorker]]&#039;&#039;, came up with a result on August 4, 2004: After the group had worked for 42,162,500,000 billion billion monkey-years, one of the &amp;quot;monkeys&amp;quot; typed, &amp;quot;&amp;lt;tt&amp;gt;VALENTINE. Cease toIdor:eFLP0FRjWK78aXzVOwm)-‘;8.t&amp;lt;/tt&amp;gt;&amp;quot; The first 19 letters of this sequence can be found in &amp;quot;The Two Gentlemen of Verona&amp;quot;. Other teams have reproduced 18 characters from &amp;quot;Timon of Athens&amp;quot;, 17 from &amp;quot;Troilus and Cressida&amp;quot;, and 16 from &amp;quot;Richard II&amp;quot;.&amp;lt;ref name=&amp;quot;ja&amp;quot;&amp;gt;[http://www.newyorker.com/arts/critics/books/2007/04/09/070409crbo_books_acocella?currentPage=all Newyorker.com] Acocella, Joan &amp;quot;The Typing Life: How writers used to write&amp;quot; &#039;&#039;[[The New Yorker]]&#039;&#039; April 9, 2007, a review of &#039;&#039;The Iron Whim: A Fragmented History of Typewriting&#039;&#039; (Cornell) 2007, by Darren Wershler-Henry&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A website entitled &#039;&#039;The Monkey Shakespeare Simulator&#039;&#039;, launched on July 1, 2003, contained a [[Java applet]] that simulates a large population of monkeys typing randomly, with the stated intention of seeing how long it takes the virtual monkeys to produce a complete Shakespearean play from beginning to end. For example, it produced this partial line from &#039;&#039;[[Henry IV, Part 2]]&#039;&#039;, reporting that it took &amp;quot;2,737,850 million billion billion billion monkey-years&amp;quot; to reach 24 matching characters:&lt;br /&gt;
:&amp;lt;tt&amp;gt;RUMOUR. Open your ears; 9r&amp;quot;5j5&amp;amp;?OWTY Z0d&amp;lt;/tt&amp;gt;...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Due to processing power limitations, the program uses a probabilistic model (by using a [[random number generator]] or RNG) instead of actually generating random text and comparing it to Shakespeare. When the simulator &amp;quot;detects a match&amp;quot; (that is, the RNG generates a certain value or a value within a certain range), the simulator simulates the match by generating matched text.&lt;br /&gt;
&lt;br /&gt;
More sophisticated methods are used in practice for [[natural language generation]]. If instead of simply generating random characters one restricts the generator to a meaningful vocabulary and conservatively following grammar rules, like using a [[context-free grammar]], then a random document generated this way can even fool some humans (at least on a cursory reading) as shown in the experiments with [[SCIgen]], [[snarXiv]], and the [[Postmodernism Generator]].&lt;br /&gt;
&lt;br /&gt;
===Testing of random number generators===&lt;br /&gt;
{{main|Diehard tests}}&lt;br /&gt;
Questions about the statistics describing how often an ideal monkey is [[expected value|expected]] to type certain strings translate into [[Randomness tests|practical tests for random number generators]]; these range from the simple to the &amp;quot;quite sophisticated&amp;quot;. Computer science professors [[George Marsaglia]] and [[Arif Zaman]] report that they used to call one such category of tests &amp;quot;overlapping m-[[tuple]] tests&amp;quot; in lecture, since they concern overlapping m-tuples of successive elements in a random sequence. But they found that calling them &amp;quot;monkey tests&amp;quot; helped to motivate the idea with students. They published a report on the class of tests and their results for various RNGs in 1993.&amp;lt;ref name=&amp;quot;Marsaglia1993&amp;quot;&amp;gt;{{Cite journal | title = Monkey tests for random number generators | journal = Computers &amp;amp; mathematics with applications | issn = 0898-1221 | year = 1993 | volume = 26 | pages = 1–10 | publisher = Elsevier, Oxford | author = Marsaglia G. and Zaman A. | doi = 10.1016/0898-1221(93)90001-C | postscript = [http://stat.fsu.edu/pub/diehard/cdrom/pscript/monkey.ps PostScript version] | issue = 9}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Popular culture==&lt;br /&gt;
{{Main|Infinite monkey theorem in popular culture}}&lt;br /&gt;
The infinite monkey theorem and its associated imagery is considered a popular and proverbial illustration of the mathematics of probability, widely known to the general public because of its transmission through popular culture rather than through formal education.&amp;lt;ref group=&amp;quot;note&amp;quot;&amp;gt;Examples of the theorem being referred to as proverbial include: Why Creativity Is Not like the Proverbial Typing Monkey. Jonathan W. Schooler, Sonya Dougal, &#039;&#039;Psychological Inquiry&#039;&#039;, Vol. 10, No. 4 (1999); and &#039;&#039;The Case of the Midwife Toad&#039;&#039; ([[Arthur Koestler]], New York, 1972, page 30): &#039;&#039;&amp;quot;Neo-Darwinism does indeed carry the nineteenth-century brand of materialism to its extreme limits—to the proverbial monkey at the typewriter, hitting by pure chance on the proper keys to produce a Shakespeare sonnet.&amp;quot;&#039;&#039; The latter is sourced from [http://www.angelfire.com/in/hypnosonic/Parable_of_the_Monkeys.html Parable of the Monkeys], a collection of historical references to the theorem in various formats.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In his 1978 radio play, &#039;&#039;[[The Hitchhiker&#039;s Guide to the Galaxy]]&#039;&#039;, [[Douglas Adams]] invoked the theorem to illustrate the power of the ‘Infinite Improbability Drive’ that powered a spaceship. From Episode 2: &#039;&#039;&amp;quot;[[Ford Prefect (character)|Ford]], there’s an infinite number of monkeys outside who want to talk to us about this script for [[Hamlet (play)|Hamlet]] they’ve worked out.&amp;quot;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A quotation attributed &amp;lt;ref&amp;gt;{{cite web|author=Robert Wilensky, speech at a 1996 conference |url=http://www.quotationspage.com/quote/27695.html |title=Quote Details: Robert Wilensky: We&#039;ve heard that a... |publisher=The Quotations Page |date= |accessdate=2012-01-18}}{{Verify credibility|date=August 2012}}&amp;lt;/ref&amp;gt; to a 1996 speech by Robert Wilensky stated, &#039;&#039;&amp;quot;We’ve heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.&amp;quot;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The enduring, widespread popularity of the theorem was noted in the introduction to a 2001 paper, &#039;&#039;&amp;quot;Monkeys, Typewriters and Networks: The Internet in the Light of the Theory of Accidental Excellence&amp;quot;&#039;&#039; (Hoffmann &amp;amp; Hofmann, 2001).&amp;lt;ref&amp;gt;[http://skylla.wz-berlin.de/pdf/2002/ii02-101.pdf Monkeys, Typewriters and Networks], Ute Hoffmann &amp;amp; Jeanette Hofmann, Wissenschaftszentrum Berlin für Sozialforschung gGmbH (WZB), 2001.&amp;lt;/ref&amp;gt; In 2002, an article in the [[Washington Post]] said, &#039;&#039;&amp;quot;Plenty of people have had fun with the famous notion that an infinite number of monkeys with an infinite number of typewriters and an infinite amount of time could eventually write the works of Shakespeare.&amp;quot;&#039;&#039;&lt;br /&gt;
&amp;lt;ref&amp;gt;[http://www.washingtonpost.com/ac2/wp-dyn/A28521-2002Oct27?language=printer &amp;quot;Hello? This is Bob&amp;quot;], Ken Ringle, &#039;&#039;Washington Post&#039;&#039;, 28 October 2002, page C01.&amp;lt;/ref&amp;gt; In 2003, the previously mentioned [[Arts Council England|Arts Council]] funded experiment involving real monkeys and a computer keyboard received widespread press coverage.&amp;lt;ref&amp;gt;[http://www.vivaria.net/experiments/notes/documentation/press/ Notes Towards the Complete Works of Shakespeare] – some press clippings.&amp;lt;/ref&amp;gt; In 2007, the theorem was listed by &#039;&#039;[[Wired (magazine)|Wired]]&#039;&#039; magazine in a list of eight classic [[thought experiment]]s.&amp;lt;ref&amp;gt;[http://www.wired.com/science/discoveries/magazine/15-06/st_best The Best Thought Experiments: Schrödinger&#039;s Cat, Borel’s Monkeys], Greta Lorge, Wired Magazine: Issue 15.06, May 2007.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Normal number]]&lt;br /&gt;
* [[Hilbert&#039;s paradox of the Grand Hotel]], another thought experiment involving infinity&lt;br /&gt;
* &#039;&#039;[[The Hidden Reality: Parallel Universes and the Deep Laws of the Cosmos]]&#039;&#039;, explains the multiverse in which every possible event will occur an infinite amount of times&lt;br /&gt;
* [[The Engine]]&lt;br /&gt;
* [[Infinite Monkeys]]&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{Reflist|30em|group=&amp;quot;note&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist|35em}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://mathforum.org/library/drmath/view/55871.html Ask Dr. Math article], August 1998, Adam Bridge&lt;br /&gt;
* [http://www.angelfire.com/in/hypnosonic/Parable_of_the_Monkeys.html The Parable of the Monkeys], a bibliography with quotations&lt;br /&gt;
* [http://azureworld.blogspot.com/2007/04/planck-monkeys.html Planck Monkeys], on populating the cosmos with monkey particles&lt;br /&gt;
* [http://www.pixelmonkeys.org/ PixelMonkeys.org] - Artist, Matt Kane&#039;s application of the Infinite Monkey Theorem on pixels to create images.&lt;br /&gt;
* [http://tools.ietf.org/html/rfc2795 RFC 2795] - Humorous RFC on the implementation of the Infinite monkey theorem.&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Infinite Monkey Theorem}}&lt;br /&gt;
[[Category:Articles containing proofs]]&lt;br /&gt;
[[Category:Fictional monkeys]]&lt;br /&gt;
[[Category:Infinity]]&lt;br /&gt;
[[Category:Literary theory]]&lt;br /&gt;
[[Category:Metaphors referring to animals]]&lt;br /&gt;
[[Category:Probability theory]]&lt;br /&gt;
[[Category:Randomness]]&lt;br /&gt;
[[Category:Random text generation]]&lt;br /&gt;
[[Category:Thought experiments]]&lt;br /&gt;
&lt;br /&gt;
{{Link GA|de}}&lt;br /&gt;
{{Link FA|pl}}&lt;br /&gt;
{{Link FA|tr}}&lt;/div&gt;</summary>
		<author><name>5.151.194.14</name></author>
	</entry>
	<entry>
		<id>https://en.formulasearchengine.com/w/index.php?title=Relativistic_Euler_equations&amp;diff=7132</id>
		<title>Relativistic Euler equations</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/w/index.php?title=Relativistic_Euler_equations&amp;diff=7132"/>
		<updated>2012-11-20T03:53:35Z</updated>

		<summary type="html">&lt;p&gt;5.151.82.75: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Refimprove|date=July 2011}}&lt;br /&gt;
{{Infobox toy&lt;br /&gt;
|name       = Spirograph&lt;br /&gt;
|image      = [[File:Spirograph3.jpg|thumb]]&lt;br /&gt;
|othernames =&lt;br /&gt;
|type       =&lt;br /&gt;
|inventor   = [[Denys Fisher]]&lt;br /&gt;
|country    = [[United Kingdom]]&lt;br /&gt;
|company    = [[Hasbro]]&lt;br /&gt;
|from       = 1965&lt;br /&gt;
|to         = present&lt;br /&gt;
|materials  = [[Plastic]]&lt;br /&gt;
|slogan     =&lt;br /&gt;
|website    = http://www.hasbro.com/search/_/Ntt-SPIROGRAPH?Ntk=All&amp;amp;Ntx=mode+matchallpartial&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;Spirograph&#039;&#039;&#039; is a [[geometric]] drawing toy that produces mathematical [[roulette (curve)|roulette]] curves of the variety technically known as [[hypotrochoid]]s and [[epitrochoid]]s. It was developed by British engineer [[Denys Fisher]] and first sold in 1965.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Spirograph&amp;quot; has also been used to describe a variety of software applications that display similar curves. It has also been applied to the class of curves that can be produced with the drawing equipment, and therefore may be regarded as a synonym of [[hypotrochoid]]. The name has been a registered [[trademark]] of [[Hasbro]], Inc., since it bought the Denys Fisher company.&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
The mathematician [[Bruno Abakanowicz]] invented the spirograph between 1881 and 1900. It was used for calculating an area delimited by curves.&amp;lt;ref&amp;gt;{{cite book |url= http://books.google.com/books?id=Ri46VxE7Pc0C&amp;amp;pg=PA293 |title=L&#039;Europe mathématique: histoires, mythes, identités|page=293|first1= Cathérine |last1=Goldstein |first2= Jeremy |last2= Gray |first3=Jim |last3=Ritter |publisher= Editions MSH |year= 1996 |accessdate=17 July 2011}}&amp;lt;/ref&amp;gt; Drawing toys based on gears have been around since at least 1908, when &#039;&#039;&#039;The Marvelous Wondergraph&#039;&#039;&#039; was advertised in the [[Sears]] catalog.&amp;lt;ref&amp;gt;{{cite web |url= http://digitallibrary.imcpl.org/cdm4/document.php?CISOROOT=/tcm&amp;amp;CISOPTR=787&amp;amp;REC=4 |title=CONTENTdm Collection : Compound Object Viewer |last=Kaveney | first=Wendy  |work=digitallibrary.imcpl.org |date= |accessdate=17 July 2011}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |url= http://www.artslant.com/chi/articles/show/16968 |title=ArtSlant - Spirograph? No, MAGIC PATTERN! |first=Jim |last=Linderman |work=artslant.com  |accessdate=17 July 2011}}&amp;lt;/ref&amp;gt; An article describing how to make a Wondergraph drawing machine appeared in the &#039;&#039;Boys Mechanic&#039;&#039; publication in 1913.&amp;lt;ref&amp;gt;{{cite web |url= http://www.marcdatabase.com/~lemur/lemur.com/library-of-antiquarian-technology/philosophical-instruments/boy-mechanic-1913/index.html#introduction |title=From &#039;&#039;The Boy Mechanic&#039;&#039; (1913) - A Wondergraph  |work=marcdatabase.com |year=2004 |accessdate=17 July 2011}}&amp;lt;/ref&amp;gt; The Spirograph itself was developed by the British engineer [[Denys Fisher]], who exhibited at the 1965 [[Nuremberg International Toy Fair]]. It was subsequently produced by his company. US distribution rights were acquired by [[Kenner Products|Kenner]], Inc., which introduced it to the United States market in 1966 and promoted it as a creative children&#039;s toy.&lt;br /&gt;
&lt;br /&gt;
In 1968, Kenner introduced &#039;&#039;&#039;Spirotot&#039;&#039;&#039;, a less complex version of Spirograph, for preschool-age children too young for Spirograph.&lt;br /&gt;
&lt;br /&gt;
==Operation==&lt;br /&gt;
[[Image:Various Spirograph Designs.jpg|thumb|left|Several Spirograph designs drawn with a Spirograph set]]&lt;br /&gt;
The original US-released Spirograph consisted of two different-sized plastic rings, with gear teeth on both the inside and outside of their circumferences.  They were pinned to a [[cardboard (paper product)|cardboard]] backing with pins, and any of several provided gearwheels, which had holes provided for a [[ballpoint pen]] to extend through them to an underlying paper writing surface. It could be spun around to make geometric shapes on the underlying paper medium.  Later, the &lt;br /&gt;
Super-Spirograph consisted of a set of plastic [[gear]]s and other interlocking shape-segments such as rings, triangles, or straight bars.  It has several sizes of gears and shapes, and all edges have teeth to engage any other piece.  For instance, smaller gears fit inside the larger rings, but also can engage the outside of the rings in such a fashion that they rotate around the inside or along the outside edge of the rings.&lt;br /&gt;
&lt;br /&gt;
To use it, a sheet of paper is placed on a heavy cardboard backing, and one of the plastic pieces—known as a [[stator]]—is secured via pins or reusable adhesive to the paper and cardboard.  Another plastic piece—called the [[wikt:rotor|rotor]]—is placed so that its teeth engage with those of the pinned piece.  For example, a ring may be pinned to the paper and a small gear placed inside the ring. The number of arrangements possible by combining different gears is very large. The point of a pen is placed in one of the holes of the rotor. As the rotor is moved, the pen traces out a curve.  The pen is used both to draw and to provide locomotive force; some practice is required before the Spirograph can be operated without disengaging the stator and rotor, particularly when using the holes close to the edge of the larger rotors.  More intricate and unusual-shaped patterns may be made through the use of both hands, one to draw and one to guide the pieces.  It is possible to move several pieces in relation to each other (say, the triangle around the ring, with a circle &amp;quot;climbing&amp;quot; from the ring onto the triangle), but this requires concentration or even additional assistance from other artists.&lt;br /&gt;
&lt;br /&gt;
==Mathematical basis==&lt;br /&gt;
&lt;br /&gt;
[[File:resonance Cascade.svg|thumb|300px|right]]&lt;br /&gt;
Consider a fixed outer circle &amp;lt;math&amp;gt;C_o&amp;lt;/math&amp;gt; of radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; centered at the origin. A smaller inner circle &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; of radius &amp;lt;math&amp;gt;r&amp;lt;R&amp;lt;/math&amp;gt; is rolling inside &amp;lt;math&amp;gt;C_o&amp;lt;/math&amp;gt; and is continuously tangent to it. &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; will be assumed never to slip on &amp;lt;math&amp;gt;C_o&amp;lt;/math&amp;gt; (in a real Spirograph, teeth on both circles prevent such slippage). Now assume that a point &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; lying somewhere inside &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; is located a distance &amp;lt;math&amp;gt;\rho&amp;lt;r&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt;&#039;s center. This point &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; corresponds to the pen-hole in the inner disk of a real Spirograph. Without loss of generality it can be assumed that at the initial moment the point &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; was on the &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;-axis. In order to find the trajectory created by a Spirograph, follow point &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; as the inner circle is set in motion.&lt;br /&gt;
&lt;br /&gt;
Now mark two points &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt;C_o&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt;. The point &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; always indicates the location where the two circles are tangent. Point &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; however will travel on &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; and its initial location coincides with &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt;. After setting &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; in motion counterclockwise around &amp;lt;math&amp;gt;C_o&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; has a clockwise rotation with respect to its center. The distance that point &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; traverses on &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; is the same as that traversed by the tangent point &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt;C_o&amp;lt;/math&amp;gt;, due to the absence of slipping.&lt;br /&gt;
&lt;br /&gt;
Now define the new (relative) system of coordinates &amp;lt;math&amp;gt;(\hat{X},\hat{Y})&amp;lt;/math&amp;gt; with its origin at the center of &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; and its axes parallel to &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;. Let the parameter &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; be the angle by which the tangent point &amp;lt;math&amp;gt;T &amp;lt;/math&amp;gt; rotates on &amp;lt;math&amp;gt;C_o&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\hat{t}&amp;lt;/math&amp;gt; be the angle by which &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; rotates (i.e. by which &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; travels) in the relative system of coordinates. Because there is no slipping, the distances traveled by &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; along their respective circles must be the same, therefore&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;tR=(t-\hat{t})r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or equivalently&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\hat{t}=-\frac{R-r}{r}t.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is common to assume that a counterclockwise motion corresponds to a positive change of angle and a clockwise one to a negative change of angle. A minus sign in the above formula (&amp;lt;math&amp;gt;\hat{t}&amp;lt;0&amp;lt;/math&amp;gt;) accommodates this convention.&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;(x_c,y_c)&amp;lt;/math&amp;gt; be the coordinates of the center of &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; in the absolute system of coordinates. Then &amp;lt;math&amp;gt;R-r&amp;lt;/math&amp;gt; represents the radius of the trajectory of the center of &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt;, which (again in the absolute system) undergoes circular motion thus:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{array}{rcl}&lt;br /&gt;
x_c&amp;amp;=&amp;amp;(R-r)\cos t,\\&lt;br /&gt;
y_c&amp;amp;=&amp;amp;(R-r)\sin t.&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As defined above, &amp;lt;math&amp;gt;\hat{t}&amp;lt;/math&amp;gt; is the angle of rotation in the new relative system. Because point &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; obeys the usual law of circular motion, its coordinates in the new relative coordinate system &amp;lt;math&amp;gt;(\hat{x},\hat{y})&amp;lt;/math&amp;gt; obey:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{array}{rcl}&lt;br /&gt;
\hat{x}&amp;amp;=&amp;amp;\rho\cos \hat{t},\\&lt;br /&gt;
\hat{y}&amp;amp;=&amp;amp;\rho\sin \hat{t}.&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to obtain the trajectory of &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; in the absolute (old) system of coordinates, add these two motions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{array}{rcrcl}&lt;br /&gt;
x&amp;amp;=&amp;amp;x_c+\hat{x}&amp;amp;=&amp;amp;(R-r)\cos t+\rho\cos \hat{t},\\&lt;br /&gt;
y&amp;amp;=&amp;amp;y_c+\hat{y}&amp;amp;=&amp;amp;(R-r)\sin t+\rho\sin \hat{t},\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; is defined above.&lt;br /&gt;
&lt;br /&gt;
Now, use the relation between &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\hat{t}&amp;lt;/math&amp;gt; as derived above to obtain equations describing the trajectory of point &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; in terms of a single parameter &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{array}{rcrcl}&lt;br /&gt;
x&amp;amp;=&amp;amp;x_c+\hat{x}&amp;amp;=&amp;amp;(R-r)\cos t+\rho\cos \frac{R-r}{r}t,\\[4pt]&lt;br /&gt;
y&amp;amp;=&amp;amp;y_c+\hat{y}&amp;amp;=&amp;amp;(R-r)\sin t-\rho\sin \frac{R-r}{r}t.\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(using the fact that function &amp;lt;math&amp;gt;\sin&amp;lt;/math&amp;gt; is odd).&lt;br /&gt;
&lt;br /&gt;
It is convenient to represent the equation above in terms of the radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;C_o&amp;lt;/math&amp;gt; and dimensionless&lt;br /&gt;
parameters describing the structure of the Spirograph. Namely, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;l=\frac{\rho}{r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k=\frac{r}{R}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parameter &amp;lt;math&amp;gt;0\le l \le 1&amp;lt;/math&amp;gt; represents how far the point &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is located from the center of &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt;. At the same time, &amp;lt;math&amp;gt;0\le k \le 1&amp;lt;/math&amp;gt; represents how big the inner circle &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; is with respect to the outer one &amp;lt;math&amp;gt;C_o&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
It is now observed that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\rho}{R}=lk,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and therefore the trajectory equations take the form&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{array}{rcl}&lt;br /&gt;
x(t)&amp;amp;=&amp;amp;R\left[(1-k)\cos t+lk\cos \frac{1-k}{k}t\right],\\[4pt]&lt;br /&gt;
y(t)&amp;amp;=&amp;amp;R\left[(1-k)\sin t-lk\sin \frac{1-k}{k}t\right].\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Parameter &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; is a scaling parameter and does not affect the structure of the Spirograph. Different values of &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; would yield [[similarity (geometry)|similar]] Spirograph drawings.&lt;br /&gt;
&lt;br /&gt;
It is interesting to note that the two extreme cases &amp;lt;math&amp;gt;k=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k=1&amp;lt;/math&amp;gt; result in degenerate trajectories of the Spirograph. In the first extreme case when &amp;lt;math&amp;gt;k=0&amp;lt;/math&amp;gt; we have a simple circle of radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt;, corresponding to the case where &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; has been shrunk into a point. (Division by &amp;lt;math&amp;gt;k=0&amp;lt;/math&amp;gt; in the formula is not a problem since both &amp;lt;math&amp;gt;\sin&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\cos&amp;lt;/math&amp;gt; are bounded functions).&lt;br /&gt;
&lt;br /&gt;
The other extreme case &amp;lt;math&amp;gt;k=1&amp;lt;/math&amp;gt; corresponds to the inner circle &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt;&#039;s radius &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; matching the radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; of the outer circle &amp;lt;math&amp;gt;C_o&amp;lt;/math&amp;gt;, ie &amp;lt;math&amp;gt;r=R&amp;lt;/math&amp;gt;. In this case the trajectory is a single point. Intuitively, &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; is too large to roll inside the same-sized &amp;lt;math&amp;gt;C_o&amp;lt;/math&amp;gt; without slipping.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;l=1&amp;lt;/math&amp;gt; then the point &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is on the circumference of &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt;. In this case the trajectories are called [[hypocycloid]]s and the equations above reduce to those for a hypocycloid.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Guilloché]]&lt;br /&gt;
* [[Harmonograph]]&lt;br /&gt;
* [[Spirograph Nebula]], a [[planetary nebula]] that displays delicate, spirograph-like filigree.&lt;br /&gt;
* [[List of periodic functions]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://www.hasbro.com/search/_/Ntt-SPIROGRAPH?Ntk=All&amp;amp;Ntx=mode+matchallpartial Hasbro Spirograph site] &lt;br /&gt;
*[http://www.artbylogic.com/spirographart/spirograph.htm HTML5 Interactive Spirograph Creator]&lt;br /&gt;
*[http://www.mathiversity.com/spirograph/ A Spirograph software for MS Windows]&lt;br /&gt;
&lt;br /&gt;
{{Hasbro}}&lt;br /&gt;
{{Use dmy dates|date=July 2011}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Art and craft toys]]&lt;br /&gt;
[[Category:Curves]]&lt;br /&gt;
[[Category:Products introduced in 1965]]&lt;br /&gt;
[[Category:Hasbro products]]&lt;br /&gt;
[[Category:1970s toys]]&lt;/div&gt;</summary>
		<author><name>5.151.82.75</name></author>
	</entry>
</feed>