Symmetry
Symmetry
Music theory is full of patterns
- While all of mathematics could be said to be about structure and pattern, the field of abstract algebra, which is the study of algebraic structures, is particularly well suited to exploring the relationships among a given set of objects and the operations that can be performed on them.
- That said, abstract algebra can provide a great framework for analyzing music and abstracting the relationships found in modern (Western) music theory to uncover other possible musics. Let’s start with a basic introduction to Abstract Algebra.
Some Preliminaries
Definition: What is a set?
A set is an unordered collection of mathematical objects, without repetition.
- We can have finite sets like the numbers 1 - 10
- We can have infinite sets like all odd numbers
- We can have a set of functions like all quadratic functions
Notation
- Representation
- We’ll represent sets with curly braces .
- Naming
- We’ll name sets with single letters, just like regular variables.
- Examples
Applying our definition
- In our definition, we said two important things:
- Sets aren’t ordered
- Sets don’t have repeated elements
- Examples:
-
- We’ve changed the order, but the set is the same set.
-
- Repeated elements “don’t count”
-
Elements
- We’ll refer to the objects that make up a set as elements.
- E.g., is an element of the set
- Writing “…is an element of the set…” would get tedious, so we’ll introduce some new notation.
- = “…is an element of…”
- E.g.,
- But,
Special Sets
Some sets come up often, so they get dedicated names.
- Integers:
- Natural Numbers:
- Rational Numbers:
- Real Numbers:
Hard-to-write sets
- How do we write out the set of rational numbers?
- We can’t list them and use ellipses (…) like we did with integers and natural numbers because for any two rational numbers, there’s always another one in between them. How do we know?
- Go halfway between.
- Consider and . Between them we have .
- With the reals, this gets even worse!
Set-builder notation
- Say we want to write out the set of even natural numbers
- So, we want all the non-negative even numbers
- We could write
- That’s okay, but it leaves it to the reader to figure out the pattern we’re trying to convey.
- Here’s a better, much less ambiguous way, to write it:
- Huh?
Unpacking set-builder notation
- What does mean?
- The colon (
:
) means “such that” - Left of (
:
) tells us what kinds things are in the set or what form they take- In this case, is a natural number
- Right of the (
:
) gives us constraints- is a natural number such that for some other natural number , .
- Put it all together…
- is the set of even natural numbers.
Examples (Finite Sets)
Let’s look at some finite sets in set-builder notation and see if we can list their elements.
-
- is an integer such that
-
- is a natural number such that
One more finite example
-
- This one’s a little trickier!
- The elements all take the form , where is a natural numbers and is between 1 and 4
Example (Infinite Sets)
Now let’s do the same for some infinite sets.
-
- All the elements in our set take the form where is a natural number.
- Simplified:
Subsets
- We say that is a subset of provided that every element of is an element of .
- You can think of this as meaning is contained within
- is a subset of if for all , .
- Notation:
- (if might be equal to )
- (if is definitely not equal to )
Examples
- .
-
- The empty set is a subset of any set. Why?
- means that if then . This is vacuously true.
Power Set
- Given a set , the power set of , written , is the set of all subsets of .
- Example: Let
How big is the power set?
- Question: for a finite set , how many elements are in ? Or, what is ?
- Answer:
- Why?
- To write any subset of , we have to make a choice for each element of : “include” or “don’t include”. That’s two choices for each element.
- So, for many elements, we get
Cardinality
- The cardinality of a set is the number of elements it contains, or its size.
- Notation: we denote cardinality with absolute value bars
- E.g., If , then (the cardinality of is 4)
- Recall: repeated elements don’t count! So, if someone writes a set like , we still only have two distinct elements, so . —
Infinite Sets
- Many sets have infinite cardinality:
- E.g., , ,
- It’s possibly to categorize infinites, but that’s for another course.
- You might consider why is in a different category of infinite-ness than .
- E.g., , ,
Operations on Sets
Unions and Intersections
- The first two operations we’ll define are union () and intersection ()
- Union:
- The union of and is the set of all elements that are in wither or in .
- Intersection:
- The intersection of and is the set of all elements that are in both and >
—
Venn Diagrams
—
Example
- Let and
-
- Each of these elements is in either or .
-
- Each of these elements is in both and
-
Example
- Let and
- What is ?
- is the set of all natural numbers less than or equal to :
- is the set of all natural numbers that are prime.
- The intersection of and is all natural numbers that are less than or equal to AND are also prime.
Clocks, Triangles, and Integers
- What do clocks, triangles, and the set of integers have in common?
- The branch of mathematics known as abstract algebra looks at the common features of seemingly very different mathematical objects.
- The foundational concept in that of the group.
- Might go back to the 17th century but its genesis is usually attributed to Cauchy and Galois in the mid 1800s
- Applications in quantum physics, cryptography, computer science…
Clock Arithmetic
- Suppose we have a clock with only 5 hours on it.
- Number the hours 0 - 4
- What happens when we do addition with the hours on the clock?
- We “wrap around.”
- 3 + 4 = 2
- 4 + 1 = 0
- 2 + 5 = 2
- 1 + 2 = 3
- This is called modular arithmetic (mod 5)
Notation
- We write if is divisible by .
- : ” divides ”
- On the previous slide, it would be better to write…
Congruence/Residue Classes
-
- For example, if we consider , what is ?
- How many distinct congruence classes do we get with arithmetic?
- For example, if we consider , what is ?
- Can we prove that if , then ?
- Hint: show and
Features of Modular Arithmetic
- Inverses: For any number , we can find it’s additive inverse, such that
- Examples?
- Identity: The additive identity is because for any ,
- Associativity:
MIDI Modular Arithmetic
C | C# | D | D# | E | F | F# | G | G# | A | A# | B | C |
---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 0 |
Symmetry
- What is symmetry?
- … symmetric means something like well-proportioned, well-balanced, and symmetry denotes that sort of concordance of several parts by which they integrate into a whole. Beauty is bound up with symmetry. - Hermann Weyl
- In mathematics, we define a symmetry to be an undetectable motion of a geometric object.
- E.g., consider a rectangle. How many ways can we move, flip, rotate a rectangle so that someone looking at the before-and-after wouldn’t be able to tell anything was done?
Multiplication (Cayley) Table
In each cell, enter the result of performing the operation in the row followed by the operation in the column (row • col)
Symmetries of an Equilateral Triangle
- Let’s define the symmetries of an equilateral triangle.
- How many distinct symmetries can you think of?
- : no motion
- : rotation by 120 deg
- : rotation by 240 deg
- : flip over vertical axis
- : flip over left vertex axis
- : flip over right vertex axis
What do you notice?
- Notice, each row contains each of the six elements. So does each column.
- The symmetries are not commutative
- for all and .
- E.g., but
- How about associativity?
- Sure!
Only Two Basic Motions
- We could have worked with two basic motions (and the non motion, e)
- Rotation:
- Flipping over the vertical axis:
- Rotation:
- Why are these enough?
- Def: relabel vertices starting at
- Ex:
- Ex:
Dihedral Groups
- For an n-sided polygon, the dihedral group of order 2n is generated by two elements (operations/motions), r and f, such that…
- (identity)
- (try this one)
- So, the symmetries of all regular polygons can be characterized in the same way
Integers Under Addition
- Let (the set of all integers)
- What happens when we add any two integers?
- We get another integer.
- We have an identity element:
- for all (or )
- Every integer has an additive inverse: for any .
- We have associativity since
Groups
- We’ve looks at three examples of a group.
- Modular arithmetic
- Symmetries of an equilateral triangle
- Integers under addition
- Properties in common:
- A set with an operation
- Closure: we always get elements in the set
- Identity: there’s an element that “doesn’t do anything” when added/multiplied
- Inverses: every element has an inverse
- Associativity: we can group operations however we like (in same order)
More Examples
- The positive real numbers, with multiplication as the operation.
- The integers under subtraction.
- (under multiplication)
Musical Actions of Dihedral Groups
- The dihedral group of order 24 is the group of symmetries of a regular 12-sided polygon. Algebraically, the dihedral group of order 24 is generated by two elements, and , such that
- Let’s take some time to make sense of these properties in terms of symmetries.
- The operation , is rotation by
- The operation is reflection about an axis.
First Musical Action
- The first musical action of the dihedral group of order 24 we consider arises via the familiar compositional techniques of transposition and inversion.
- A transposition moves a sequence of pitches up or down.
- When singers decide to sing a song in a higher register, for example, they do this by transposing the melody.
- An inversion, on the other hand, reflects a melody about a fixed axis, just as the face of a clock can be reflected about the 0-6 axis.
- Often, musical inversion turns upward melodic motions into downward melodic motions.