An AI skill that turns books into animated, narrated, interactive web experiences
JavaScript ai-agentsai-educationanimationclaudeclaude-codeclaude-skillsedtecheducationinteractive-textbookscormtext-to-video
window.TIMINGS = {
"intro": {
"dur": 15.264,
"marks": {
"sub": 4.596,
"move": 9.883
},
"cues": [
[
0.104,
"Chapter twenty-six."
],
[
1.862,
"The inverse: undoing a matrix."
],
[
4.596,
"A matrix moves the plane."
],
[
6.576,
"In this chapter we look for the matrix that moves it back."
],
[
9.883,
"Watch: one matrix leans the plane over, and another one stands it up again."
]
]
},
"undo": {
"dur": 52.464,
"marks": {
"A": 4.05,
"go": 9.596,
"ask": 14.648,
"half": 18.411,
"back": 26.966,
"name": 34.206,
"num": 42.031
},
"cues": [
[
0.117,
"Here's the plain plane, with its grid and the little flag."
],
[
4.05,
"Take A equals two, zero in the first row, and zero, one in the second."
],
[
9.596,
"A stretches the plane sideways: everything becomes twice as wide."
],
[
14.648,
"Now the question of this chapter: which matrix moves it back?"
],
[
18.411,
"To undo twice as wide, we need half as wide: one half, zero in the first row, and zero, one in the second."
],
[
26.966,
"Watch it act on the stretched plane."
],
[
28.971,
"Every grid line slides back to where it started, and the flag is home again."
],
[
34.206,
"This matrix is called the inverse of A."
],
[
37.096,
"We write A with a small minus one up high, and we say: A inverse."
],
[
42.031,
"It works like numbers."
],
[
43.685,
"Three times one third is one: one third undoes three."
],
[
48.815,
"In the same way, A inverse undoes A."
]
]
},
"idef": {
"dur": 49.488,
"marks": {
"pt": 5.273,
"a1": 7.695,
"a2": 9.505,
"mult": 13.398,
"rc": 21.94,
"rc2": 27.201,
"rc3": 31.732,
"rc4": 32.839,
"I": 33.789,
"other": 41.615
},
"cues": [
[
0.104,
"Do A, then A inverse, and every point ends where it started."
],
[
5.273,
"Follow one point: three, one."
],
[
7.695,
"A sends it to six, one."
],
[
9.505,
"Then A inverse sends six, one back to three, one."
],
[
13.398,
"Doing A and then A inverse is the product A inverse times A."
],
[
18.503,
"A acts first, so it stands on the right, next to x."
],
[
21.94,
"Row times column: one half times two, plus zero times zero, is one."
],
[
27.201,
"One half times zero, plus zero times one, is zero."
],
[
31.732,
"Then zero, and one."
],
[
33.789,
"A inverse times A is the identity matrix I: the matrix that leaves every point where it is."
],
[
41.615,
"The other order works too."
],
[
43.255,
"Squeeze first, then stretch, and you're also home."
],
[
47.031,
"A times A inverse is I as well."
]
]
},
"turn": {
"dur": 55.368,
"marks": {
"A": 2.487,
"go": 11.523,
"ask": 12.865,
"inv": 16.953,
"back": 25.299,
"check": 27.5,
"c2": 38.763,
"c3": 43.529,
"c4": 48.529,
"I": 50.521
},
"cues": [
[
0.104,
"Second example: a turn."
],
[
2.487,
"A is zero, minus one in the first row, and one, zero in the second: a quarter turn, counterclockwise."
],
[
11.523,
"The flag turns up."
],
[
12.865,
"How do we undo a turn?"
],
[
14.245,
"Turn back by the same amount, clockwise."
],
[
16.953,
"From chapter ten, the clockwise quarter turn is zero, one in the first row, and minus one, zero in the second."
],
[
25.299,
"Turn back, and the plane is home."
],
[
27.5,
"Check by multiplying: A inverse times A."
],
[
31.237,
"Row one, which is zero, one, times column one, which is zero, one: zero plus one is one."
],
[
38.763,
"Row one times column two, minus one, zero: zero."
],
[
43.529,
"Row two, minus one, zero, times column one: zero."
],
[
48.529,
"And times column two: one."
],
[
50.521,
"The identity."
],
[
51.641,
"The clockwise turn undoes the counterclockwise turn."
]
]
},
"shear": {
"dur": 37.848,
"marks": {
"A": 1.706,
"go": 5.495,
"inv": 10.378,
"back": 20.065,
"minus": 20.951,
"flip": 26.888,
"flip2": 33.789
},
"cues": [
[
0.13,
"Third: a shear."
],
[
1.706,
"One, one in the first row, and zero, one in the second."
],
[
5.495,
"Every line slides to the right: the higher it is, the further it slides."
],
[
10.378,
"To undo it, slide every line back to the left by the same amount: one, minus one in the first row, and zero, one in the second."
],
[
20.065,
"Home again."
],
[
20.951,
"Notice: the inverse has minus one where A had one."
],
[
24.766,
"Slide right, then slide left."
],
[
26.888,
"And one more: a flip, minus one, zero, and zero, one."
],
[
32.292,
"The flag points left."
],
[
33.789,
"Flip it again, and it's back."
],
[
35.69,
"A flip is its own inverse."
]
]
},
"q1": {
"dur": 6.744,
"marks": {},
"cues": [
[
0.104,
"Your turn."
],
[
1.042,
"The plane has been sheared upward."
],
[
2.969,
"Drag the two tips to build the matrix that brings it home."
]
]
},
"formula": {
"dur": 28.776,
"marks": {
"gen": 7.24,
"swap": 12.604,
"sign": 15.521,
"div": 19.714,
"all": 24.44
},
"cues": [
[
0.104,
"Stretches, turns and shears are easy to undo by eye."
],
[
4.258,
"For any two by two matrix there's a formula."
],
[
7.24,
"Call the numbers a, b in the first row, and c, d in the second."
],
[
12.604,
"Step one: swap a and d."
],
[
15.521,
"Step two: put a minus sign in front of b and c."
],
[
19.714,
"Step three: divide everything by a d minus b c."
],
[
24.44,
"Swap, change two signs, divide."
],
[
27.37,
"That's the whole recipe."
]
]
},
"fex1": {
"dur": 35.208,
"marks": {
"A": 1.107,
"det": 5.911,
"sw": 11.823,
"sg": 14.505,
"res": 18.958,
"grid": 28.086
},
"cues": [
[
0.104,
"Let's use it."
],
[
1.107,
"A is two, one in the first row, and one, one in the second."
],
[
5.911,
"a d minus b c is two times one, minus one times one: one."
],
[
11.823,
"Swap the two and the one on the diagonal."
],
[
14.505,
"Put minus signs on the other two: minus one, and minus one."
],
[
18.958,
"Divide by one, which changes nothing."
],
[
21.849,
"A inverse is one, minus one in the first row, and minus one, two in the second."
],
[
28.086,
"Now let A inverse act on the moved plane."
],
[
31.263,
"Every grid line slides back, and the plane is home."
]
]
},
"fex1c": {
"dur": 23.112,
"marks": {
"c1": 4.388,
"c2": 8.307,
"c3": 12.604,
"c4": 16.979,
"I": 20.651
},
"cues": [
[
0.104,
"Is it right?"
],
[
1.055,
"Check by multiplying: A inverse times A."
],
[
4.388,
"One times two, plus minus one times one: one."
],
[
8.307,
"One times one, plus minus one times one: zero."
],
[
12.604,
"Minus one times two, plus two times one: zero."
],
[
16.979,
"Minus one times one, plus two times one: one."
],
[
20.651,
"The identity."
],
[
21.797,
"The formula worked."
]
]
},
"fex2": {
"dur": 34.392,
"marks": {
"A": 2.721,
"det": 8.125,
"sw": 17.135,
"sg": 19.219,
"div": 21.797,
"res": 24.492,
"home": 30.404
},
"cues": [
[
0.104,
"A second example, with a fraction."
],
[
2.721,
"A is three, one in the first row, and four, two in the second."
],
[
8.125,
"a d minus b c: three times two is six, minus one times four, which is four."
],
[
15.352,
"Six minus four is two."
],
[
17.135,
"Swap the three and the two."
],
[
19.219,
"Minus signs on the one and the four."
],
[
21.797,
"Now divide every number by two: one, minus one half in the first row, and minus two, three halves in the second."
],
[
30.404,
"And on the plane, A inverse takes the moved plane home."
]
]
},
"fex2c": {
"dur": 31.728,
"marks": {
"c1": 4.245,
"c2": 11.237,
"c3": 18.867,
"c4": 23.372,
"I": 27.565
},
"cues": [
[
0.104,
"Check, this time in the other order: A times A inverse."
],
[
4.245,
"Row three, one, times column one, minus two: three minus two is one."
],
[
11.237,
"Three times minus one half, plus one times three halves: minus three halves plus three halves is zero."
],
[
18.867,
"Row four, two, times column one: four minus four, zero."
],
[
23.372,
"And times column two: minus two plus three, one."
],
[
27.565,
"The identity again."
],
[
28.997,
"A inverse undoes A from either side."
]
]
},
"why": {
"dur": 43.896,
"marks": {
"mul": 1.732,
"e1": 7.63,
"e2": 14.388,
"e3": 19.557,
"e4": 25.469,
"out": 32.604,
"div": 37.891
},
"cues": [
[
0.104,
"Why does the formula work?"
],
[
1.732,
"Multiply the swapped matrix, d, minus b, minus c, a, by A."
],
[
7.63,
"Top left: d times a, plus minus b times c."
],
[
11.797,
"That's a d minus b c."
],
[
14.388,
"Top right: d times b, minus b times d."
],
[
18.398,
"That's zero."
],
[
19.557,
"Bottom left: minus c times a, plus a times c."
],
[
24.284,
"Zero again."
],
[
25.469,
"Bottom right: minus c times b, plus a times d."
],
[
30.065,
"a d minus b c once more."
],
[
32.604,
"So the product is a d minus b c, times the identity."
],
[
37.891,
"Divide by a d minus b c, and you get exactly I."
],
[
42.565,
"That's why we divide."
]
]
},
"live": {
"dur": 55.968,
"marks": {
"set": 3.438,
"b": 17.266,
"s4": 20.664,
"s3": 26.172,
"s2": 30.534,
"s1": 33.034,
"big": 40.091,
"zero": 46.536
},
"cues": [
[
0.104,
"Now let's change A, and watch its inverse follow."
],
[
3.438,
"Here is A, two, one, one, three, with its inverse beside it, built by the formula."
],
[
10.872,
"a d minus b c is six minus one, five, so the inverse has fifths in it."
],
[
17.266,
"Now push the top right number up, one step at a time."
],
[
20.664,
"Two: a d minus b c is four, and the inverse has quarters."
],
[
26.172,
"Three: a d minus b c is three, so thirds."
],
[
30.534,
"Four: it's two, so halves."
],
[
33.034,
"Five: it's one, and the inverse is whole numbers: three, minus five, minus one, two."
],
[
40.091,
"The numbers in the inverse grow."
],
[
42.044,
"The plane is getting thinner, so undoing it takes a bigger stretch."
],
[
46.536,
"At six, a d minus b c is zero."
],
[
50.365,
"The two columns lie on one line, the plane is flat, and there is no inverse."
]
]
},
"q2": {
"dur": 3.912,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.133,
"Use the formula on the matrix from the lecture."
]
]
},
"collapse": {
"dur": 54.888,
"marks": {
"A": 4.974,
"det": 8.893,
"go": 13.385,
"pts": 16.276,
"land": 21.302,
"undo": 30.13,
"line": 40.208,
"never": 45.651
},
"cues": [
[
0.104,
"What exactly goes wrong when a d minus b c is zero?"
],
[
4.974,
"Take one, two in the first row, and two, four in the second."
],
[
8.893,
"a d minus b c is four minus four: zero."
],
[
13.385,
"A squashes the whole plane onto one line."
],
[
16.276,
"Look at two points: zero, zero, and two, minus one."
],
[
21.302,
"Two, minus one goes to two minus two, and four minus four: zero, zero."
],
[
27.917,
"Both points land on the same spot."
],
[
30.13,
"An inverse would have to send zero, zero back where it came from."
],
[
34.115,
"But which one?"
],
[
35.156,
"Zero, zero, or two, minus one?"
],
[
38.919,
"It can't do both."
],
[
40.208,
"In fact the whole red line lands on zero, zero."
],
[
43.984,
"That's the lost direction."
],
[
45.651,
"Once the plane is flat, nothing can stand it up again."
],
[
49.036,
"No matrix undoes A."
],
[
51.706,
"Chapter twenty-eight looks at these matrices closely."
]
]
},
"q3": {
"dur": 3.792,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.146,
"Which of these matrices have an inverse?"
]
]
},
"solve": {
"dur": 52.248,
"marks": {
"eq": 2.109,
"x": 7.344,
"ex": 16.25,
"mul": 22.109,
"x2": 32.721,
"chk": 34.284,
"pic": 41.393,
"any": 47.956
},
"cues": [
[
0.104,
"One more use of the inverse."
],
[
2.109,
"To solve A x equals b, multiply both sides by A inverse."
],
[
7.344,
"On the left, A inverse times A is I, and I times x is just x."
],
[
13.333,
"So x equals A inverse times b."
],
[
16.25,
"Take A equals two, one, one, one, and b equals five, three."
],
[
22.109,
"A inverse is one, minus one, minus one, two."
],
[
25.846,
"Times five, three: five minus three is two, and minus five plus six is one."
],
[
32.721,
"So x is two, one."
],
[
34.284,
"Check: A times two, one is four plus one, five, and two plus one, three."
],
[
40.404,
"That's b."
],
[
41.393,
"In the picture: A sends x to b, and A inverse sends b straight back to x."
],
[
47.956,
"And it works for every b: one matrix answers them all."
]
]
},
"wrap": {
"dur": 28.512,
"marks": {
"w1": 1.003,
"w2": 5.938,
"w3": 10.221,
"w4": 19.492,
"end": 26.354
},
"cues": [
[
0.104,
"To sum up."
],
[
1.003,
"The inverse, A inverse, undoes A: it moves the plane back."
],
[
5.938,
"A inverse times A is I, and A times A inverse is I."
],
[
10.221,
"For a two by two matrix: swap a and d, change the signs of b and c, and divide by a d minus b c."
],
[
19.492,
"When a d minus b c is zero, the plane collapses onto a line, and there is no inverse."
],
[
26.354,
"Now try the chapter practice."
]
]
},
"final1": {
"dur": 3.072,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.523,
"Undo each move."
]
]
},
"final2": {
"dur": 2.304,
"marks": {},
"cues": [
[
0.104,
"Next, use the formula."
]
]
},
"final3": {
"dur": 4.584,
"marks": {},
"cues": [
[
0.104,
"Now: which matrices can be undone?"
],
[
2.904,
"And solve with the inverse."
]
]
},
"final4": {
"dur": 3.672,
"marks": {},
"cues": [
[
0.091,
"Last set."
],
[
1.237,
"Bring the plane home with your hands."
]
]
},
"play": {
"dur": 14.568,
"marks": {
"go": 4.128
},
"cues": [
[
0.117,
"Playground."
],
[
1.094,
"Nothing here is marked right or wrong."
],
[
4.128,
"Change A by dragging the columns or the numbers, and watch its inverse follow."
],
[
9.57,
"Try to make a d minus b c zero."
],
[
12.865,
"Press continue when you're done."
]
]
},
"finish": {
"dur": 11.28,
"marks": {},
"cues": [
[
0.091,
"Well done."
],
[
1.094,
"That's the end of chapter twenty-six, the inverse: undoing a matrix."
],
[
6.562,
"Next: finding the inverse by elimination, the Gauss\u2013Jordan way."
]
]
}
};