Skip to content

An AI skill that turns books into animated, narrated, interactive web experiences

13.1 KB
Raw Blame
window.TIMINGS = {
 "intro": {
  "dur": 13.704,
  "marks": {
   "sub": 4.271,
   "move": 8.411
  },
  "cues": [
   [
    0.091,
    "Chapter twenty-five."
   ],
   [
    1.914,
    "Rules for matrix arithmetic."
   ],
   [
    4.271,
    "Most rules from ordinary numbers still work for matrices."
   ],
   [
    8.411,
    "But one famous rule breaks: A times B is usually not B times A."
   ]
  ]
 },
 "order": {
  "dur": 47.664,
  "marks": {
   "A": 2.161,
   "B": 4.935,
   "ab": 10.247,
   "abr": 20.104,
   "ba": 25.404,
   "bar": 33.997,
   "diff": 38.815
  },
  "cues": [
   [
    0.104,
    "Let's start with the rule that breaks."
   ],
   [
    2.161,
    "A is one, two, three, four."
   ],
   [
    4.935,
    "B is zero, one, one, zero: chapter twenty-two's swap."
   ],
   [
    10.247,
    "A times B."
   ],
   [
    11.432,
    "By columns: column one of B, zero, one, takes column two of A."
   ],
   [
    17.773,
    "Column two of B takes column one of A."
   ],
   [
    20.104,
    "So A B is A with its columns swapped: two, one, four, three."
   ],
   [
    25.404,
    "Now B times A."
   ],
   [
    26.94,
    "By rows: row one of B, zero, one, takes row two of A."
   ],
   [
    31.667,
    "Row two of B takes row one of A."
   ],
   [
    33.997,
    "So B A is A with its rows swapped: three, four, one, two."
   ],
   [
    38.815,
    "A B is not B A."
   ],
   [
    40.964,
    "With numbers, two times three equals three times two."
   ],
   [
    45.039,
    "With matrices, the order matters."
   ]
  ]
 },
 "motion": {
  "dur": 57.48,
  "marks": {
   "x": 5.716,
   "first": 8.672,
   "ex": 13.737,
   "b": 20.651,
   "a": 25.039,
   "c1": 28.802,
   "c2": 35.286,
   "ab": 42.07,
   "rule": 52.422
  },
  "cues": [
   [
    0.104,
    "To see why, think of a matrix as a motion of the plane, as in chapter ten."
   ],
   [
    5.716,
    "A B times x is A times B x."
   ],
   [
    8.672,
    "B stands next to x, so B acts first."
   ],
   [
    11.849,
    "Then A acts on what B made."
   ],
   [
    13.737,
    "Let B be a shear, one, one, zero, one, and A a quarter turn, zero, minus one, one, zero."
   ],
   [
    20.651,
    "First B: the plane shears, and the flag leans over."
   ],
   [
    25.039,
    "Then A: the whole sheared plane turns a quarter turn."
   ],
   [
    28.802,
    "Follow the point one, zero."
   ],
   [
    30.859,
    "The shear leaves it where it is."
   ],
   [
    32.552,
    "The turn carries it up to zero, one."
   ],
   [
    35.286,
    "And zero, one: the shear moves it to one, one, and the turn carries that to minus one, one."
   ],
   [
    42.07,
    "So A B has columns zero, one and minus one, one."
   ],
   [
    46.55,
    "Work it out by entries, and you get the same: zero, minus one, one, one."
   ],
   [
    52.422,
    "A B means: first B, then A."
   ],
   [
    55.898,
    "Read right to left."
   ]
  ]
 },
 "two": {
  "dur": 37.896,
  "marks": {
   "left": 3.75,
   "right": 8.06,
   "go": 11.979,
   "mid": 13.359,
   "end": 19.974,
   "nums": 24.557,
   "rule": 31.602
  },
  "cues": [
   [
    0.104,
    "Now do the two motions in the other order, side by side."
   ],
   [
    3.75,
    "On the left, A B: first the shear, then the turn."
   ],
   [
    8.06,
    "On the right, B A: first the turn, then the shear."
   ],
   [
    11.979,
    "Watch both at once."
   ],
   [
    13.359,
    "After the first step the pictures already differ: one plane has leaned, the other has turned."
   ],
   [
    19.974,
    "After both steps they still differ."
   ],
   [
    22.539,
    "The flags point different ways."
   ],
   [
    24.557,
    "A B is zero, minus one, one, one."
   ],
   [
    27.891,
    "B A is one, minus one, one, zero."
   ],
   [
    31.602,
    "A B is not B A: putting on socks then shoes is not shoes then socks."
   ]
  ]
 },
 "q1": {
  "dur": 3.408,
  "marks": {},
  "cues": [
   [
    0.104,
    "Quick check."
   ],
   [
    1.094,
    "Work out A B and B A."
   ]
  ]
 },
 "some": {
  "dur": 32.664,
  "marks": {
   "eye": 2.865,
   "same": 6.393,
   "stretch": 11.172,
   "turns": 21.224,
   "but": 28.164
  },
  "cues": [
   [
    0.104,
    "Sometimes the order happens not to matter."
   ],
   [
    2.865,
    "The identity: A times I and I times A are both A."
   ],
   [
    6.393,
    "A matrix with itself: A times A is A times A, of course."
   ],
   [
    11.172,
    "Two stretches along the axes: two, zero, zero, three times four, zero, zero, five is eight, zero, zero, fifteen, in either order."
   ],
   [
    21.224,
    "And two turns: turning by one angle and then another is the same as the other way round."
   ],
   [
    28.164,
    "But these are special."
   ],
   [
    29.544,
    "Unless you know, never swap the order of a product."
   ]
  ]
 },
 "identity": {
  "dur": 33.0,
  "marks": {
   "A": 2.044,
   "I": 4.57,
   "c1": 6.823,
   "c2": 14.714,
   "ai": 17.708,
   "ia": 19.193,
   "pic": 27.448
  },
  "cues": [
   [
    0.104,
    "A closer look at the identity."
   ],
   [
    2.044,
    "Take A equals two, one, one, three, times I, one, zero, zero, one."
   ],
   [
    6.823,
    "By columns: column one of I is one, zero."
   ],
   [
    10.052,
    "One of column one of A, plus none of column two: just column one of A."
   ],
   [
    14.714,
    "Column two of I picks out column two of A."
   ],
   [
    17.708,
    "So A I is A."
   ],
   [
    19.193,
    "On the left, by rows: row one of I, one, zero, picks row one of A, and row two picks row two."
   ],
   [
    26.237,
    "I A is A too."
   ],
   [
    27.448,
    "As a motion, I moves nothing."
   ],
   [
    29.714,
    "Doing nothing before or after A changes nothing."
   ]
  ]
 },
 "assoc": {
  "dur": 47.16,
  "marks": {
   "three": 2.109,
   "left": 6.146,
   "ab": 9.831,
   "abc": 12.565,
   "right": 15.469,
   "bc": 19.023,
   "abc2": 21.536,
   "rule": 25.143,
   "why": 35.156,
   "e": 40.846
  },
  "cues": [
   [
    0.117,
    "Here is a rule that does hold."
   ],
   [
    2.109,
    "Take three matrices, A, B and C."
   ],
   [
    6.146,
    "We can multiply A B first, and then times C."
   ],
   [
    9.831,
    "A B is two, one, zero, one."
   ],
   [
    12.565,
    "Times C: three, one, one, one."
   ],
   [
    15.469,
    "Or B C first, and then A times that."
   ],
   [
    19.023,
    "B C is two, zero, one, one."
   ],
   [
    21.536,
    "A times B C: three, one, one, one."
   ],
   [
    24.18,
    "The same."
   ],
   [
    25.143,
    "A B, then C, equals A, then B C."
   ],
   [
    29.688,
    "Where you put the brackets doesn't matter, as long as the order stays A, B, C."
   ],
   [
    35.156,
    "As motions, both mean: first C, then B, then A."
   ],
   [
    40.846,
    "We used this in chapter twenty-one: E three two times E two one A could be done in either grouping."
   ]
  ]
 },
 "assoc2": {
  "dur": 42.408,
  "marks": {
   "left": 3.984,
   "ab": 18.477,
   "abc": 24.01,
   "right": 27.552,
   "bc": 29.453,
   "abc2": 31.536,
   "same": 36.771
  },
  "cues": [
   [
    0.104,
    "One more time, with the swap, a stretch and the shear."
   ],
   [
    3.984,
    "A is the swap: zero, one, one, zero."
   ],
   [
    8.516,
    "B stretches sideways: two, zero, zero, one."
   ],
   [
    12.878,
    "And C is the shear: one, one, zero, one."
   ],
   [
    17.109,
    "A B first."
   ],
   [
    18.477,
    "The swap on the left swaps the rows of B: zero, one, and two, zero."
   ],
   [
    24.01,
    "Times C: zero, one, and two, two."
   ],
   [
    27.552,
    "Now B C first."
   ],
   [
    29.453,
    "Two, two, and zero, one."
   ],
   [
    31.536,
    "And the swap on the left swaps its rows: zero, one, and two, two."
   ],
   [
    36.771,
    "The same matrix again."
   ],
   [
    38.281,
    "The brackets moved, but the order A, B, C did not."
   ]
  ]
 },
 "dist": {
  "dur": 48.216,
  "marks": {
   "add": 2.865,
   "bc": 7.37,
   "lhs": 17.096,
   "ab": 21.224,
   "ac": 25.443,
   "sum": 28.359,
   "rule": 33.047,
   "why": 37.357,
   "keep": 42.383
  },
  "cues": [
   [
    0.104,
    "One more rule: multiplying a sum."
   ],
   [
    2.865,
    "To add two matrices of the same size, add them number by number."
   ],
   [
    7.37,
    "B plus C: one plus zero is one, zero plus one is one, two plus one is three, one plus zero is one."
   ],
   [
    17.096,
    "A times B plus C is seven, three, three, one."
   ],
   [
    21.224,
    "Now separately: A B is five, two, two, one."
   ],
   [
    25.443,
    "A C is two, one, one, zero."
   ],
   [
    28.359,
    "Add them: seven, three, three, one."
   ],
   [
    32.096,
    "The same."
   ],
   [
    33.047,
    "A times B plus C equals A B plus A C."
   ],
   [
    37.357,
    "Column by column, A times a sum of two vectors is the sum of A times each one."
   ],
   [
    42.383,
    "Keep A on the left in every term: A B plus A C, never B A."
   ]
  ]
 },
 "dist2": {
  "dur": 43.44,
  "marks": {
   "add": 3.177,
   "bc": 9.609,
   "lhs": 18.451,
   "ab": 25.299,
   "ac": 30.794,
   "sum": 35.677,
   "same": 39.492
  },
  "cues": [
   [
    0.104,
    "Once more, with two matrices we know well."
   ],
   [
    3.177,
    "A is two, one, zero, one."
   ],
   [
    5.69,
    "B is the identity, and C is the swap."
   ],
   [
    9.609,
    "B plus C: one plus zero, zero plus one, zero plus one, one plus zero."
   ],
   [
    17.357,
    "All ones."
   ],
   [
    18.451,
    "A times all ones: each row of A just adds up its two numbers."
   ],
   [
    23.229,
    "Three, three, and one, one."
   ],
   [
    25.299,
    "Now A times the identity is A itself: two, one, zero, one."
   ],
   [
    30.794,
    "A times the swap swaps the columns of A: one, two, one, zero."
   ],
   [
    35.677,
    "Add them: three, three, and one, one."
   ],
   [
    39.492,
    "The same as A times B plus C, just as the rule says."
   ]
  ]
 },
 "q2": {
  "dur": 7.272,
  "marks": {},
  "cues": [
   [
    0.104,
    "Quick check."
   ],
   [
    1.107,
    "Check the rule A times B plus C equals A B plus A C on these numbers."
   ]
  ]
 },
 "powers": {
  "dur": 51.408,
  "marks": {
   "sq": 1.068,
   "s": 4.557,
   "s2": 7.474,
   "s3": 14.323,
   "t": 19.023,
   "t2": 21.094,
   "warn": 27.096,
   "t3": 37.031,
   "t4": 39.974,
   "order": 43.984
  },
  "cues": [
   [
    0.091,
    "Powers."
   ],
   [
    1.068,
    "A squared means A times A: do the motion twice."
   ],
   [
    4.557,
    "The shear, one, one, zero, one."
   ],
   [
    7.474,
    "Shear twice: S squared is one, two, zero, one."
   ],
   [
    12.07,
    "The flag leans twice as far."
   ],
   [
    14.323,
    "Three times: S cubed is one, three, zero, one."
   ],
   [
    19.023,
    "Now the quarter turn T."
   ],
   [
    21.094,
    "T squared is a half turn: minus one, zero, zero, minus one."
   ],
   [
    27.096,
    "Careful: that's not each number squared."
   ],
   [
    30.0,
    "Squaring each number of T would give zero, one, one, zero, a flip, not a turn."
   ],
   [
    37.031,
    "T cubed is three quarter turns."
   ],
   [
    39.974,
    "And T to the fourth is a full turn: back to the identity."
   ],
   [
    43.984,
    "Powers of the same matrix can go in any order: A squared times A is A times A squared."
   ],
   [
    50.247,
    "Both are A cubed."
   ]
  ]
 },
 "q3": {
  "dur": 8.04,
  "marks": {},
  "cues": [
   [
    0.104,
    "Your turn."
   ],
   [
    1.029,
    "A is a quarter turn."
   ],
   [
    2.435,
    "Change B until A B equals B A, so both pictures land the same way."
   ]
  ]
 },
 "wrap": {
  "dur": 27.024,
  "marks": {
   "w1": 1.042,
   "w2": 6.719,
   "w3": 12.826,
   "w4": 18.177,
   "end": 24.961
  },
  "cues": [
   [
    0.104,
    "Let's sum up."
   ],
   [
    1.042,
    "Usually A B is not B A."
   ],
   [
    3.815,
    "A B means first B, then A."
   ],
   [
    6.719,
    "Brackets can move: A B, then C, equals A, then B C."
   ],
   [
    12.826,
    "Sums spread out: A times B plus C equals A B plus A C."
   ],
   [
    18.177,
    "A I equals I A equals A, and A squared is A times A: the motion done twice."
   ],
   [
    24.961,
    "Now try the chapter practice."
   ]
  ]
 },
 "final1": {
  "dur": 2.64,
  "marks": {},
  "cues": [
   [
    0.104,
    "Chapter practice."
   ],
   [
    1.484,
    "Both orders."
   ]
  ]
 },
 "final2": {
  "dur": 4.416,
  "marks": {},
  "cues": [
   [
    0.104,
    "True or false: which rules hold for every matrix?"
   ]
  ]
 },
 "final3": {
  "dur": 1.872,
  "marks": {},
  "cues": [
   [
    0.104,
    "Powers and brackets."
   ]
  ]
 },
 "final4": {
  "dur": 3.576,
  "marks": {},
  "cues": [
   [
    0.104,
    "Last set."
   ],
   [
    1.198,
    "Make A B equal B A."
   ]
  ]
 },
 "play": {
  "dur": 10.584,
  "marks": {
   "go": 3.919
  },
  "cues": [
   [
    0.117,
    "Playground."
   ],
   [
    1.081,
    "Nothing here is marked right or wrong."
   ],
   [
    3.919,
    "Change A or B, and compare the two motions: first B then A, and first A then B."
   ]
  ]
 },
 "finish": {
  "dur": 9.936,
  "marks": {},
  "cues": [
   [
    0.104,
    "Well done."
   ],
   [
    1.146,
    "That's the end of chapter twenty-five, rules for matrix arithmetic."
   ],
   [
    5.703,
    "Next: the inverse, the matrix that undoes a motion."
   ]
  ]
 }
};