Mathematics in Bach's music
Introduction
Bach wasn't explicitly interested in mathematics but his music reveals a harmonic beauty which can be expressed in mathematical terms. Following article was posted by me on the newsgroup alt.music.j-s-bach in reply to someone's request to express some views on Bach's music. (More on accessing and posting articles on the Usenet here).
Usenet Article
Here's a scientific take on the issue:
Our Western musical language (and most of the ethnic music I know) is
based on the circle of fifths. The circle of fifths can be closely approached
using division by 3 and multiplication with 2 ... I actually wrote about
this topic: see Constructing Scales.
Many don't see the significance of this, but I've come to see number as one of the most fundamental concepts in the universe (with the help of Plato, Pytagoras, etc...), virtually all else in the universe is 'fuzzy'.
I think it amazing that the interaction of these numbers (creating harmony and rhythm) creates such beautiful and intricate music. Not unlike the beautiful Mandelbrot images that can be gotten by iterating a very simple equation.
Bach's music is somewhat mathematical because in some ways, he thinks like a mathematician, that is, he can see patterns, see works in their totality. He also applied number to issues such like the number of bars a work had, etc ... A great book that explores this issue is Godel, Escher and Bach.
More significantly, he was able to apply rules to aesthetic issues, such as the well-known 'consecutive fifths and octaves' rules. I think this combination of aesthetics and his ability of seeing patterns is what makes Bach's music great.
I think that by listening or playing Bach, the mind is given a taste of the totality of the universe (I know, big words), but to my mind this accounts for the spiritual experience that Bach's music brings.