The Complexity of Songs

The Complexity of Songs

"The Complexity of Songs" was an article published by Donald Knuth, an example of an in-joke in computer science, namely, in computational complexity theory. The article capitalizes on the tendency of popular songs to evolve from long and content-rich ballads to highly repetitive texts with little or no meaningful content.[1]

Contents

Article summary

With a grain of truth, Knuth writes that "our ancient ancestors invented the concept of refrain" to reduce the space complexity of songs, which becomes crucial when a large number of songs is to be committed to one's memory. Knuth's Lemma 1 states that if N is the length of a song, then the refrain decreases the song complexity to cN, where c < 1.[2]

Knuth further demonstrates a way of producing songs with O(\sqrt N) complexity, an approach "further improved by a Scottish farmer named O. MacDonald".[2]

More ingenious approaches yield songs of complexity O(log N), a class known as "m bottles of beer on the wall".

Finally, the progress during the 20th century—stimulated by the fact that "the advent of modern drugs has led to demands for still less memory"—leads to the ultimate improvement: Arbitrarily long songs with space complexity O(1), e.g. for a song to be defined by the recurrence relation[2]

S_0=\epsilon, S_k = V_kS_{k-1},\, k\ge 1,
Vk = 'That's the way,' U 'I like it,' U, for all k > 0
U = 'uh huh, uh huh'

Further results

Prof. Kurt Eisemann of San Diego State University in his letter to the Communications of the ACM[3] further improves the latter seemingly unbeatable estimate. He begins with an observation that for practical applications the value of the "hidden constant" c in the Big Oh notation may be crucial in making the difference between the feasibility and unfeasibility: for example a constant value of 1080 would exceed the capacity of any known device. He further notices that a technique has already been known in Mediaeval Europe whereby textual content of an arbitrary tune can be recorded basing on the recurrence relation Sk = C2Sk − 1, where C2 = 'la', yielding the value of the big-Oh constant c equal to 2. However it turns out that a culture more advanced than the European one achieved the absolute lower bound of O(0)! As Prof. Eisermann puts it:

When the Mayflower voyagers first descended on these shores, the native Americans, proud of their achievement in the theory of information storage and retrieval, at first welcomed the strangers with the complete silence. This was meant to convey their peak achievement in the complexity of songs, namely the demonstration that a limit as low as c=0 is indeed obtainable.

However the Europeans were unprepared to grasp this notion and the Indian chiefs, in order to establish a common ground to convey their achievements later proceeded to demonstrate an approach described by the recurrent relation Sk = C1Sk − 1, where C1 = 'i', with a suboptimal complexity given by c=1.[1][3]

References

  1. ^ a b Steven Krantz (2005) "Mathematical Apocrypha Redux", ISBN 0883855542, pp.2, 3.
  2. ^ a b c Knuth, D. "The Complexity of Songs", SIGACT News, Summer 1977, 17–24.
  3. ^ a b Kurt Eisemann, "Further Results on the Complexity of Songs", Comm. ACM, vol 28 (1985), no. 3, p. 235

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • The Complexity of Songs — (en, de: Über die Komplexität von Liedern) ist ein im Jahre 1977 von dem Informatiker Donald Ervin Knuth veröffentlichter Fachartikel und wissenschaftlicher Witz. Er analysiert darin die Länge von Liedern in Abhängigkeit des zu lernenden Textes… …   Deutsch Wikipedia

  • The Mars Volta — on stage at the Vegoose Festival. Background information Origin El Paso, Texas, United States …   Wikipedia

  • The Marshall Mathers LP — Studio album by Eminem Released Ma …   Wikipedia

  • The Appleseed Cast — in concert Background information Origin Lawrence, Kansas, United States …   Wikipedia

  • The Sound of Girls Aloud: The Greatest Hits — Greatest hits album by Girls Aloud Released …   Wikipedia

  • The Circus Starring Britney Spears — The Circus Starring Britney Spears …   Wikipedia

  • The Maxes — are a Manhattan based musical duo headed by Josh Max and Julie James. Max is the guitarist, singer, songwriter and arranger of music for the group and James is vocalist. Live, the act is usually comprised of four pieces; standup bass, drums,… …   Wikipedia

  • The Dark Knight (soundtrack) — The Dark Knight: Original Motion Picture Soundtrack Film score by Hans Zimmer and James Newton Howard Released …   Wikipedia

  • The Legend of Zelda: Oracle of Seasons and Oracle of Ages — The Legend of Zelda: Oracle of Seasons The Legend of Zelda: Oracle of Ages The cover for Oracle of Seasons Developer(s) Capcom …   Wikipedia

  • The Canterville Ghost — is a popular 1887 novella by Oscar Wilde, widely adapted for the screen and stage.Overview“The Canterville Ghost” is a parody featuring a dramatic spirit named Sir Simon and the United States minister (ambassador) to the Court of St. James s,… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”