The Complexity of Songs - Article Summary

Article Summary

Knuth writes, with a grain of truth, 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 the factor c < 1.

Knuth further demonstrates a way of producing songs with O complexity, an approach "further improved by a Scottish farmer named O. MacDonald".

More ingenious approaches yield songs of complexity O, 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

'That's the way,' 'I like it,', for all
'uh huh,' 'uh huh'

Read more about this topic:  The Complexity Of Songs

Famous quotes containing the words article and/or summary:

    Books constitute capital. A library book lasts as long as a house, for hundreds of years. It is not, then, an article of mere consumption but fairly of capital, and often in the case of professional men, setting out in life, it is their only capital.
    Thomas Jefferson (1743–1826)

    Product of a myriad various minds and contending tongues, compact of obscure and minute association, a language has its own abundant and often recondite laws, in the habitual and summary recognition of which scholarship consists.
    Walter Pater (1839–1894)