Mathematics of musical scales
   HOME

TheInfoList



OR:

Music theory Music theory is the study of the practices and possibilities of music. ''The Oxford Companion to Music'' describes three interrelated uses of the term "music theory". The first is the " rudiments", that are needed to understand music notation (k ...
analyzes the pitch, timing, and structure of music. It uses mathematics to study elements of music such as
tempo In musical terminology, tempo ( Italian, 'time'; plural ''tempos'', or ''tempi'' from the Italian plural) is the speed or pace of a given piece. In classical music, tempo is typically indicated with an instruction at the start of a piece (ofte ...
,
chord progression In a musical composition, a chord progression or harmonic progression (informally chord changes, used as a plural) is a succession of chords. Chord progressions are the foundation of harmony in Western musical tradition from the common practice ...
,
form Form is the shape, visual appearance, or configuration of an object. In a wider sense, the form is the way something happens. Form also refers to: *Form (document), a document (printed or electronic) with spaces in which to write or enter data * ...
, and
meter The metre (British spelling) or meter (American spelling; see spelling differences) (from the French unit , from the Greek noun , "measure"), symbol m, is the primary unit of length in the International System of Units (SI), though its pref ...
. The attempt to structure and communicate new ways of composing and hearing music has led to musical applications of
set theory Set theory is the branch of mathematical logic that studies sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory, as a branch of mathematics, is mostly concern ...
,
abstract algebra In mathematics, more specifically algebra, abstract algebra or modern algebra is the study of algebraic structures. Algebraic structures include groups, rings, fields, modules, vector spaces, lattices, and algebras over a field. The ter ...
and
number theory Number theory (or arithmetic or higher arithmetic in older usage) is a branch of pure mathematics devoted primarily to the study of the integers and integer-valued functions. German mathematician Carl Friedrich Gauss (1777–1855) said, "Ma ...
. While music theory has no
axiomatic An axiom, postulate, or assumption is a statement that is taken to be true, to serve as a premise or starting point for further reasoning and arguments. The word comes from the Ancient Greek word (), meaning 'that which is thought worthy or ...
foundation in modern mathematics, the basis of musical
sound In physics, sound is a vibration that propagates as an acoustic wave, through a transmission medium such as a gas, liquid or solid. In human physiology and psychology, sound is the ''reception'' of such waves and their ''perception'' by ...
can be described mathematically (using
acoustics Acoustics is a branch of physics that deals with the study of mechanical waves in gases, liquids, and solids including topics such as vibration, sound, ultrasound and infrasound. A scientist who works in the field of acoustics is an acousticia ...
) and exhibits "a remarkable array of number properties".


History

Though ancient Chinese, Indians, Egyptians and Mesopotamians are known to have studied the mathematical principles of sound, the
Pythagoreans Pythagoreanism originated in the 6th century BC, based on and around the teachings and beliefs held by Pythagoras and his followers, the Pythagoreans. Pythagoras established the first Pythagorean community in the ancient Greek colony of Kroton, ...
(in particular
Philolaus Philolaus (; grc, Φιλόλαος, ''Philólaos''; ) was a Greek Pythagorean and pre-Socratic philosopher. He was born in a Greek colony in Italy and migrated to Greece. Philolaus has been called one of three most prominent figures in the Pyt ...
and
Archytas Archytas (; el, Ἀρχύτας; 435/410–360/350 BC) was an Ancient Greek philosopher, mathematician, music theorist, astronomer, statesman, and strategist. He was a scientist of the Pythagorean school and famous for being the reputed found ...
) of ancient Greece were the first researchers known to have investigated the expression of
musical scale In music theory, a scale is any set of musical notes ordered by fundamental frequency or pitch. A scale ordered by increasing pitch is an ascending scale, and a scale ordered by decreasing pitch is a descending scale. Often, especially in the ...
s in terms of numerical
ratio In mathematics, a ratio shows how many times one number contains another. For example, if there are eight oranges and six lemons in a bowl of fruit, then the ratio of oranges to lemons is eight to six (that is, 8:6, which is equivalent to the ...
s, particularly the ratios of small integers. Their central doctrine was that "all nature consists of
harmony In music, harmony is the process by which individual sounds are joined together or composed into whole units or compositions. Often, the term harmony refers to simultaneously occurring frequencies, pitches ( tones, notes), or chords. Howeve ...
arising out of numbers". From the time of
Plato Plato ( ; grc-gre, Πλάτων ; 428/427 or 424/423 – 348/347 BC) was a Greek philosopher born in Athens during the Classical period in Ancient Greece. He founded the Platonist school of thought and the Academy, the first institution ...
, harmony was considered a fundamental branch of
physics Physics is the natural science that studies matter, its fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. "Physical science is that department of knowledge which ...
, now known as
musical acoustics Musical acoustics or music acoustics is a multidisciplinary field that combines knowledge from physics, psychophysics, organology (classification of the instruments), physiology, music theory, ethnomusicology, signal processing and instrument build ...
. Early
Indian Indian or Indians may refer to: Peoples South Asia * Indian people, people of Indian nationality, or people who have an Indian ancestor ** Non-resident Indian, a citizen of India who has temporarily emigrated to another country * South Asia ...
and Chinese theorists show similar approaches: all sought to show that the mathematical laws of
harmonic A harmonic is a wave with a frequency that is a positive integer multiple of the ''fundamental frequency'', the frequency of the original periodic signal, such as a sinusoidal wave. The original signal is also called the ''1st harmonic'', t ...
s and
rhythm Rhythm (from Greek , ''rhythmos'', "any regular recurring motion, symmetry") generally means a " movement marked by the regulated succession of strong and weak elements, or of opposite or different conditions". This general meaning of regular re ...
s were fundamental not only to our understanding of the world but to human well-being.
Confucius Confucius ( ; zh, s=, p=Kǒng Fūzǐ, "Master Kǒng"; or commonly zh, s=, p=Kǒngzǐ, labels=no; – ) was a Chinese philosopher and politician of the Spring and Autumn period who is traditionally considered the paragon of Chinese sages. C ...
, like Pythagoras, regarded the small numbers 1,2,3,4 as the source of all perfection.


Time, rhythm, and meter

Without the boundaries of rhythmic structure – a fundamental equal and regular arrangement of
pulse In medicine, a pulse represents the tactile arterial palpation of the cardiac cycle (heartbeat) by trained fingertips. The pulse may be palpated in any place that allows an artery to be compressed near the surface of the body, such as at the n ...
repetition Repetition may refer to: * Repetition (rhetorical device), repeating a word within a short space of words *Repetition (bodybuilding), a single cycle of lifting and lowering a weight in strength training *Working title for the 1985 slasher film '' ...
, accent,
phrase In syntax and grammar, a phrase is a group of words or singular word acting as a grammatical unit. For instance, the English expression "the very happy squirrel" is a noun phrase which contains the adjective phrase "very happy". Phrases can consi ...
and duration – music would not be possible. Modern musical use of terms like
meter The metre (British spelling) or meter (American spelling; see spelling differences) (from the French unit , from the Greek noun , "measure"), symbol m, is the primary unit of length in the International System of Units (SI), though its pref ...
and measure also reflects the historical importance of music, along with astronomy, in the development of counting, arithmetic and the exact measurement of time and
periodicity Periodicity or periodic may refer to: Mathematics * Bott periodicity theorem, addresses Bott periodicity: a modulo-8 recurrence relation in the homotopy groups of classical groups * Periodic function, a function whose output contains values tha ...
that is fundamental to physics. The elements of musical form often build strict proportions or hypermetric structures (powers of the numbers 2 and 3).


Musical form

Musical form is the plan by which a short piece of music is extended. The term "plan" is also used in architecture, to which musical form is often compared. Like the architect, the composer must take into account the function for which the work is intended and the means available, practicing economy and making use of repetition and order. The common types of form known as
binary Binary may refer to: Science and technology Mathematics * Binary number, a representation of numbers using only two digits (0 and 1) * Binary function, a function that takes two arguments * Binary operation, a mathematical operation that ta ...
and ternary ("twofold" and "threefold") once again demonstrate the importance of small integral values to the intelligibility and appeal of music.


Frequency and harmony

A
musical scale In music theory, a scale is any set of musical notes ordered by fundamental frequency or pitch. A scale ordered by increasing pitch is an ascending scale, and a scale ordered by decreasing pitch is a descending scale. Often, especially in the ...
is a discrete set of pitches used in making or describing music. The most important scale in the Western tradition is the diatonic scale but many others have been used and proposed in various historical eras and parts of the world. Each pitch corresponds to a particular frequency, expressed in hertz (Hz), sometimes referred to as cycles per second (c.p.s.). A scale has an interval of repetition, normally the octave. The octave of any pitch refers to a frequency exactly twice that of the given pitch. Succeeding superoctaves are pitches found at frequencies four, eight, sixteen times, and so on, of the fundamental frequency. Pitches at frequencies of half, a quarter, an eighth and so on of the fundamental are called suboctaves. There is no case in musical harmony where, if a given pitch be considered accordant, that its octaves are considered otherwise. Therefore, any note and its octaves will generally be found similarly named in musical systems (e.g. all will be called doh or A or Sa, as the case may be). When expressed as a frequency bandwidth an octave A2–A3 spans from 110 Hz to 220 Hz (span=110 Hz). The next octave will span from 220 Hz to 440 Hz (span=220 Hz). The third octave spans from 440 Hz to 880 Hz (span=440 Hz) and so on. Each successive octave spans twice the frequency range of the previous octave. Because we are often interested in the relations or
ratio In mathematics, a ratio shows how many times one number contains another. For example, if there are eight oranges and six lemons in a bowl of fruit, then the ratio of oranges to lemons is eight to six (that is, 8:6, which is equivalent to the ...
s between the pitches (known as
intervals Interval may refer to: Mathematics and physics * Interval (mathematics), a range of numbers ** Partially ordered set#Intervals, its generalization from numbers to arbitrary partially ordered sets * A statistical level of measurement * Interval e ...
) rather than the precise pitches themselves in describing a scale, it is usual to refer to all the scale pitches in terms of their ratio from a particular pitch, which is given the value of one (often written 1/1), generally a note which functions as the tonic of the scale. For interval size comparison, cents are often used. :


Tuning systems

There are two main families of tuning systems: equal temperament and just tuning. Equal temperament scales are built by dividing an octave into intervals which are equal on a logarithmic scale, which results in perfectly evenly divided scales, but with ratios of frequencies which are
irrational number In mathematics, the irrational numbers (from in- prefix assimilated to ir- (negative prefix, privative) + rational) are all the real numbers that are not rational numbers. That is, irrational numbers cannot be expressed as the ratio of two inte ...
s. Just scales are built by multiplying frequencies by
rational number In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all rat ...
s, which results in simple ratios between frequencies, but with scale divisions that are uneven. One major difference between equal temperament tunings and just tunings is differences in acoustical beat when two notes are sounded together, which affects the subjective experience of consonance and dissonance. Both of these systems, and the vast majority of music in general, have scales that repeat on the interval of every octave, which is defined as frequency ratio of 2:1. In other words, every time the frequency is doubled, the given scale repeats. Below are
Ogg Vorbis Vorbis is a free and open-source software project headed by the Xiph.Org Foundation. The project produces an audio coding format and software reference encoder/decoder (codec) for lossy audio compression. Vorbis is most commonly used in conjun ...
files demonstrating the difference between just intonation and equal temperament. You might need to play the samples several times before you can detect the difference. * Two sine waves played consecutively – this sample has half-step at 550 Hz (C in the just intonation scale), followed by a half-step at 554.37 Hz (C in the equal temperament scale). * Same two notes, set against an A440 pedal – this sample consists of a "
dyad Dyad or dyade may refer to: Arts and entertainment * Dyad (music), a set of two notes or pitches * ''Dyad'' (novel), by Michael Brodsky, 1989 * ''Dyad'' (video game), 2012 * ''Dyad 1909'' and ''Dyad 1929'', ballets by Wayne McGregor Other uses ...
". The lower note is a constant A (440 Hz in either scale), the upper note is a C in the equal-tempered scale for the first 1", and a C in the just intonation scale for the last 1".
Phase Phase or phases may refer to: Science *State of matter, or phase, one of the distinct forms in which matter can exist *Phase (matter), a region of space throughout which all physical properties are essentially uniform * Phase space, a mathematic ...
differences make it easier to detect the transition than in the previous sample.


Just tunings

5-limit tuning Five-limit tuning, 5-limit tuning, or 5-prime-limit tuning (not to be confused with 5-odd-limit tuning), is any system for tuning a musical instrument that obtains the frequency of each note by multiplying the frequency of a given reference note ...
, the most common form of just intonation, is a system of tuning using tones that are
regular number Regular numbers are numbers that evenly divide powers of 60 (or, equivalently, powers of 30). Equivalently, they are the numbers whose only prime divisors are 2, 3, and 5. As an example, 602 = 3600 = 48 ×&nb ...
harmonic A harmonic is a wave with a frequency that is a positive integer multiple of the ''fundamental frequency'', the frequency of the original periodic signal, such as a sinusoidal wave. The original signal is also called the ''1st harmonic'', t ...
s of a single
fundamental frequency The fundamental frequency, often referred to simply as the ''fundamental'', is defined as the lowest frequency of a periodic waveform. In music, the fundamental is the musical pitch of a note that is perceived as the lowest partial present. I ...
. This was one of the scales Johannes Kepler presented in his Harmonices Mundi (1619) in connection with planetary motion. The same scale was given in transposed form by Scottish mathematician and musical theorist, Alexander Malcolm, in 1721 in his 'Treatise of Musick: Speculative, Practical and Historical', and by theorist Jose Wuerschmidt in the 20th century. A form of it is used in the music of northern India. American composer Terry Riley also made use of the inverted form of it in his "Harp of New Albion". Just intonation gives superior results when there is little or no
chord progression In a musical composition, a chord progression or harmonic progression (informally chord changes, used as a plural) is a succession of chords. Chord progressions are the foundation of harmony in Western musical tradition from the common practice ...
: voices and other instruments gravitate to just intonation whenever possible. However, it gives two different whole tone intervals (9:8 and 10:9) because a fixed tuned instrument, such as a piano, cannot change key. To calculate the frequency of a note in a scale given in terms of ratios, the frequency ratio is multiplied by the tonic frequency. For instance, with a tonic of A440 (pitch standard), A4 (A natural above middle C), the frequency is 440 hertz, Hz, and a justly tuned fifth above it (E5) is simply 440×(3:2) = 660 Hz. Pythagorean tuning is tuning based only on the perfect consonances, the (perfect) octave, perfect fifth, and perfect fourth. Thus the major third is considered not a third but a ditone, literally "two tones", and is (9:8)2 = 81:64, rather than the independent and harmonic just 5:4 = 80:64 directly below. A whole tone is a secondary interval, being derived from two perfect fifths minus an octave, (3:2)2/2 = 9:8. The just major third, 5:4 and minor third, 6:5, are a syntonic comma, 81:80, apart from their Pythagorean equivalents 81:64 and 32:27 respectively. According to Carl Dahlhaus, Carl , "the dependent third conforms to the Pythagorean, the independent third to the harmonic tuning of intervals." Western common practice period, common practice music usually cannot be played in just intonation but requires a systematically tempered scale. The tempering can involve either the irregularities of well temperament or be constructed as a regular temperament, either some form of equal temperament or some other regular meantone, but in all cases will involve the fundamental features of meantone temperament. For example, the root of chord ii, if tuned to a fifth above the dominant, would be a major whole tone (9:8) above the tonic. If tuned a just minor third (6:5) below a just subdominant degree of 4:3, however, the interval from the tonic would equal a minor whole tone (10:9). Meantone temperament reduces the difference between 9:8 and 10:9. Their ratio, (9:8)/(10:9) = 81:80, is treated as a unison. The interval 81:80, called the syntonic comma or comma of Didymus, is the key comma of meantone temperament.


Equal temperament tunings

In equal temperament, the octave is divided into equal parts on the logarithmic scale. While it is possible to construct equal temperament scale with any number of notes (for example, the 24-tone Arab tone system), the most common number is 12, which makes up the equal-temperament chromatic scale. In western music, a division into twelve intervals is commonly assumed unless it is specified otherwise. For the chromatic scale, the octave is divided into twelve equal parts, each semitone (half-step) is an interval of the twelfth root of two so that twelve of these equal half steps add up to exactly an octave. With fretted instruments it is very useful to use equal temperament so that the frets align evenly across the strings. In the European music tradition, equal temperament was used for lute and guitar music far earlier than for other instruments, such as musical keyboards. Because of this historical force, twelve-tone equal temperament is now the dominant intonation system in the Western, and much of the non-Western, world. Equally tempered scales have been used and instruments built using various other numbers of equal intervals. The 19 equal temperament, first proposed and used by Guillaume Costeley in the 16th century, uses 19 equally spaced tones, offering better major thirds and far better minor thirds than normal 12-semitone equal temperament at the cost of a flatter fifth. The overall effect is one of greater consonance. Quarter tone, Twenty-four equal temperament, with twenty-four equally spaced tones, is widespread in the pedagogy and Arabic maqam#Notation, notation of Arabic music. However, in theory and practice, the intonation of Arabic music conforms to Rational number, rational ratios, as opposed to the Irrational number, irrational ratios of equally tempered systems. While any analog to the equally tempered quarter tone is entirely absent from Arabic intonation systems, analogs to a three-quarter tone, or neutral second, frequently occur. These neutral seconds, however, vary slightly in their ratios dependent on Arabic maqam, maqam, as well as geography. Indeed, Arabic music historian Habib Hassan Touma has written that "the breadth of deviation of this musical step is a crucial ingredient in the peculiar flavor of Arabian music. To temper the scale by dividing the octave into twenty-four quarter-tones of equal size would be to surrender one of the most characteristic elements of this musical culture." 53 equal temperament arises from the near equality of 53 perfect fifths with 31 octaves, and was noted by Jing Fang and Nicholas Mercator.


Connections to mathematics


Set theory

Musical set theory uses the language of mathematical
set theory Set theory is the branch of mathematical logic that studies sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory, as a branch of mathematics, is mostly concern ...
in an elementary way to organize musical objects and describe their relationships. To analyze the structure of a piece of (typically atonal) music using musical set theory, one usually starts with a set of tones, which could form motives or chords. By applying simple operations such as transposition (music), transposition and Melodic inversion, inversion, one can discover deep structures in the music. Operations such as transposition and inversion are called isometries because they preserve the intervals between tones in a set.


Abstract algebra

Expanding on the methods of musical set theory, some theorists have used abstract algebra to analyze music. For example, the pitch classes in an equally tempered octave form an abelian group with 12 elements. It is possible to describe just intonation in terms of a free abelian group. Transformational theory is a branch of music theory developed by David Lewin. The theory allows for great generality because it emphasizes transformations between musical objects, rather than the musical objects themselves. Theorists have also proposed musical applications of more sophisticated algebraic concepts. The theory of regular temperaments has been extensively developed with a wide range of sophisticated mathematics, for example by associating each regular temperament with a rational point on a Grassmannian. The chromatic scale has a free and transitive action of the cyclic group \mathbb/12\mathbb, with the action being defined via transposition (music), transposition of notes. So the chromatic scale can be thought of as a torsor for the group.


Numbers and series

Some composers have incorporated the golden ratio and Fibonacci numbers into their work.


Category theory

The mathematician and musicologist Guerino Mazzola has used category theory (topos theory) for a basis of music theory, which includes using topology as a basis for a theory of
rhythm Rhythm (from Greek , ''rhythmos'', "any regular recurring motion, symmetry") generally means a " movement marked by the regulated succession of strong and weak elements, or of opposite or different conditions". This general meaning of regular re ...
and Motif (music), motives, and differential geometry as a basis for a theory of musical phrasing,
tempo In musical terminology, tempo ( Italian, 'time'; plural ''tempos'', or ''tempi'' from the Italian plural) is the speed or pace of a given piece. In classical music, tempo is typically indicated with an instruction at the start of a piece (ofte ...
, and Intonation (music), intonation.


Musicians who were or are also mathematicians

* Albert Einstein - Accomplished pianist and violinist. * Art Garfunkel (Simon & Garfunkel) – Masters in Mathematics Education, Columbia University * Brian May (Queen (band), Queen) - Bachelor_of_Science, BSc (Hons) in Mathematics and Physics, Doctor of Philosophy, PhD in Astrophysics, both from Imperial College London. * Dan Snaith – PhD Mathematics, Imperial College London * Delia Derbyshire - Bachelor of Arts, BA in mathematics and music from University of Cambridge, Cambridge. * Jonny Buckland (Coldplay) - Studied astronomy and mathematics at University College London. * Kit Armstrong - Degree in music and MSc in mathematics. * Manjul Bhargava - Plays the tabla, won the Fields Medal in 2014. * Phil Alvin (The Blasters) – Mathematics, University of California, Los Angeles * Philip Glass - Studied mathematics and philosophy at the University of Chicago. * Tom Lehrer - BA mathematics from Harvard University. * William Herschel - Astronomer and played the oboe, violin, harpsichord and organ. He composed 24 symphonies and many concertos, as well as some church music. * Jerome Hines - Five articles published in ''Mathematics Magazine'' 1951-6. * Donald Knuth - Knuth is an organist and a composer. In 2016 he completed a musical piece for organ titled Fantasia Apocalyptica. It was premièred in Sweden on January 10, 2018


See also

*Computational musicology *Equal temperament *Euclidean rhythms (traditional musical rhythms that are generated by Euclid's algorithm) *Harmony search *Interval (music) *List of music software *Mathematics and art *Musical tuning *Non-Pythagorean scale *Piano key frequencies *Rhythm *''The Glass Bead Game'' *3rd bridge (harmonic resonance based on equal string divisions) *Tonality diamond *Tonnetz *Utonality and otonality


References

* * Ivor Grattan-Guinness (1995) "Mozart 18, Beethoven 32: Hidden shadows of integers in classical music", pages 29 to 47 in ''History of Mathematics: States of the Art'', Joseph W. Dauben, Menso Folkerts, Eberhard Knobloch and Hans Wussing editors, Academic Press


External links


''Axiomatic Music Theory'' by S.M. Nemati''Music and Math'' by Thomas E. FioreSonantometry or music as math discipline.Music: A Mathematical Offering by Dave Benson

Nicolaus Mercator use of Ratio Theory in Music
a
Convergence''The Glass Bead Game''
Hermann Hesse gave music and mathematics a crucial role in the development of his Glass Bead Game.


"Linear Algebra and Music"Notefreqs
— A complete table of note frequencies and ratios for midi, piano, guitar, bass, and violin. Includes fret measurements (in cm and inches) for building instruments.
Mathematics & Music
BBC Radio 4 discussion with Marcus du Sautoy, Robin Wilson & Ruth Tatlow (''In Our Time'', May 25, 2006)
Measuring note similarity with positive definite kernels
Measuring note similarity with positive definite kernels {{DEFAULTSORT:Music And Mathematics Mathematics of music, Mathematics and art Mathematics and culture