0:00:06.960,0:00:09.600 How can you play a Rubik's Cube? 0:00:09.600,0:00:13.226 Not play with it, [br]but play it like a piano? 0:00:13.226,0:00:15.911 That question doesn't [br]make a lot of sense at first, 0:00:15.911,0:00:20.640 but an abstract mathematical field[br]called group theory holds the answer, 0:00:20.640,0:00:22.609 if you'll bear with me. 0:00:22.609,0:00:26.719 In math, a group is a particular [br]collection of elements. 0:00:26.719,0:00:28.545 That might be a set of integers, 0:00:28.545,0:00:30.473 the face of a Rubik's Cube, 0:00:30.473,0:00:32.075 or anything, 0:00:32.075,0:00:36.571 so long as they follow [br]four specific rules, or axioms. 0:00:36.571,0:00:38.059 Axiom one: 0:00:38.059,0:00:43.677 all group operations must be closed[br]or restricted to only group elements. 0:00:43.677,0:00:46.601 So in our square, [br]for any operation you do, 0:00:46.601,0:00:48.748 like turn it one way or the other, 0:00:48.748,0:00:52.031 you'll still wind up with [br]an element of the group. 0:00:52.031,0:00:53.666 Axiom two: 0:00:53.666,0:00:57.996 no matter where we put parentheses[br]when we're doing a single group operation, 0:00:57.996,0:01:00.599 we still get the same result. 0:01:00.599,0:01:05.040 In other words, if we turn our square[br]right two times, then right once, 0:01:05.040,0:01:08.058 that's the same as once, then twice, 0:01:08.058,0:01:12.586 or for numbers, one plus two [br]is the same as two plus one. 0:01:12.586,0:01:14.254 Axiom three: 0:01:14.254,0:01:18.855 for every operation, there's an element[br]of our group called the identity. 0:01:18.855,0:01:21.290 When we apply it [br]to any other element in our group, 0:01:21.290,0:01:23.449 we still get that element. 0:01:23.449,0:01:26.857 So for both turning the square[br]and adding integers, 0:01:26.857,0:01:29.267 our identity here is zero, 0:01:29.267,0:01:31.777 not very exciting. 0:01:31.777,0:01:33.225 Axiom four: 0:01:33.225,0:01:38.302 every group element has an element [br]called its inverse also in the group. 0:01:38.302,0:01:42.253 When the two are brought together[br]using the group's addition operation, 0:01:42.253,0:01:45.111 they result in the identity element, zero, 0:01:45.111,0:01:48.843 so they can be thought of [br]as cancelling each other out. 0:01:48.843,0:01:52.439 So that's all well and good,[br]but what's the point of any of it? 0:01:52.439,0:01:55.303 Well, when we get beyond [br]these basic rules, 0:01:55.303,0:01:57.842 some interesting properties emerge. 0:01:57.842,0:02:03.041 For example, let's expand our square[br]back into a full-fledged Rubik's Cube. 0:02:03.041,0:02:06.643 This is still a group [br]that satisfies all of our axioms, 0:02:06.643,0:02:09.821 though now [br]with considerably more elements 0:02:09.821,0:02:12.073 and more operations. 0:02:12.073,0:02:16.664 We can turn each row [br]and column of each face. 0:02:16.664,0:02:19.035 Each position is called a permutation, 0:02:19.035,0:02:23.596 and the more elements a group has,[br]the more possible permutations there are. 0:02:23.596,0:02:28.222 A Rubik's Cube has more [br]than 43 quintillion permutations, 0:02:28.222,0:02:32.450 so trying to solve it randomly [br]isn't going to work so well. 0:02:32.450,0:02:35.864 However, using group theory[br]we can analyze the cube 0:02:35.864,0:02:41.004 and determine a sequence of permutations[br]that will result in a solution. 0:02:41.004,0:02:44.474 And, in fact, that's exactly [br]what most solvers do, 0:02:44.474,0:02:49.572 even using a group theory notation[br]indicating turns. 0:02:49.572,0:02:51.601 And it's not just good for puzzle solving. 0:02:51.601,0:02:56.575 Group theory is deeply embedded [br]in music, as well. 0:02:56.575,0:03:00.977 One way to visualize a chord[br]is to write out all twelve musical notes 0:03:00.977,0:03:03.642 and draw a square within them. 0:03:03.642,0:03:08.364 We can start on any note,[br]but let's use C since it's at the top. 0:03:08.364,0:03:12.605 The resulting chord is called[br]a diminished seventh chord. 0:03:12.605,0:03:17.193 Now this chord is a group[br]whose elements are these four notes. 0:03:17.193,0:03:21.881 The operation we can perform on it[br]is to shift the bottom note to the top. 0:03:21.881,0:03:24.357 In music that's called an inversion, 0:03:24.357,0:03:27.247 and it's the equivalent [br]of addition from earlier. 0:03:27.247,0:03:30.169 Each inversion changes [br]the sound of the chord, 0:03:30.169,0:03:33.899 but it never stops being[br]a C diminished seventh. 0:03:33.899,0:03:37.661 In other words, it satisfies axiom one. 0:03:37.661,0:03:41.582 Composers use inversions to manipulate[br]a sequence of chords 0:03:41.582,0:03:51.327 and avoid a blocky, [br]awkward sounding progression. 0:03:51.327,0:03:54.768 On a musical staff, [br]an inversion looks like this. 0:03:54.768,0:03:59.986 But we can also overlay it onto our square[br]and get this. 0:03:59.986,0:04:04.484 So, if you were to cover your entire[br]Rubik's Cube with notes 0:04:04.484,0:04:09.538 such that every face of the solved cube[br]is a harmonious chord, 0:04:09.538,0:04:13.098 you could express the solution[br]as a chord progression 0:04:13.098,0:04:16.949 that gradually moves [br]from discordance to harmony 0:04:16.949,0:04:20.581 and play the Rubik's Cube,[br]if that's your thing.