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": 14.64,
"marks": {
"sub": 3.425,
"move": 9.362
},
"cues": [
[
0.104,
"Chapter thirty-two."
],
[
1.576,
"A equals L D U."
],
[
3.425,
"After elimination, the pivots sit on the diagonal of U, while L has ones on its diagonal."
],
[
9.362,
"Pull the pivots out into a matrix of their own, and L and U look alike."
]
]
},
"recall": {
"dur": 52.464,
"marks": {
"A": 5.195,
"L": 9.18,
"U": 14.036,
"mult": 19.857,
"diag": 21.849,
"ones": 24.44,
"piv": 25.69,
"lop": 28.581,
"sys": 32.383,
"elim": 43.529
},
"cues": [
[
0.104,
"Chapter thirty factored the matrix two, one, eight, seven."
],
[
5.195,
"Elimination takes four times row one away from row two."
],
[
9.18,
"L keeps that multiplier, four, below a diagonal of ones."
],
[
14.036,
"U is what elimination leaves: two, one, and zero, three."
],
[
19.857,
"And L times U gives back A."
],
[
21.849,
"Now compare the two diagonals."
],
[
24.44,
"L has one and one."
],
[
25.69,
"U has the pivots, two and three."
],
[
28.581,
"The factors are lopsided: every pivot sits in U."
],
[
32.383,
"Here is A in a system: two x plus y equals three, and eight x plus seven y equals fifteen, as in chapter thirty."
],
[
41.745,
"The lines meet at one, one."
],
[
43.529,
"Elimination gives U's system: two x plus y equals three, and three y equals three."
],
[
50.247,
"The coral line turns flat."
]
]
},
"pull": {
"dur": 44.688,
"marks": {
"r1": 1.797,
"div1": 5.469,
"same1": 11.576,
"chk1": 20.456,
"r2": 26.471,
"div2": 29.844,
"same2": 33.125,
"new": 36.914,
"keep": 40.26
},
"cues": [
[
0.104,
"Let's take the pivots out of U."
],
[
1.797,
"Row one is two, one, and three on the right."
],
[
5.469,
"Divide the whole row by its pivot, two: one, one half, and three halves."
],
[
11.576,
"Watch the blue line: it did not move."
],
[
14.102,
"Dividing every number of an equation by two changes the numbers, but not the points that fit it."
],
[
20.456,
"The point one, one still fits: one, plus one half of one, is three halves."
],
[
26.471,
"Row two is zero, three, three."
],
[
29.844,
"Divide by its pivot, three: zero, one, one."
],
[
33.125,
"Again the line stays: y equals one either way."
],
[
36.914,
"The new table has ones down its diagonal, just like L."
],
[
40.26,
"But the pivots, two and three, are gone from it."
],
[
43.177,
"We have to keep them somewhere."
]
]
},
"dmat": {
"dur": 50.184,
"marks": {
"r1": 3.021,
"r2": 4.518,
"mat": 6.211,
"row2": 15.052,
"D": 19.701,
"go1": 26.966,
"still": 35.195,
"go2": 36.797,
"back": 41.341,
"name": 44.245
},
"cues": [
[
0.091,
"To get U back, multiply the rows again: row one by two, and row two by three."
],
[
6.211,
"That's a matrix on the left, as in chapter twenty-one."
],
[
9.635,
"Its first row is two, zero: two of row one, none of row two."
],
[
15.052,
"Its second row is zero, three: three of row two."
],
[
19.701,
"Numbers on the diagonal and zeros everywhere else: a diagonal matrix."
],
[
25.625,
"We call it D."
],
[
26.966,
"Watch D grow from the identity."
],
[
29.518,
"Its first number goes from one to two, and row one of the answer doubles: two, one, three."
],
[
35.195,
"The line does not move."
],
[
36.797,
"Its second number goes to three: zero, three, three."
],
[
41.341,
"D times the table with ones gives U again."
],
[
44.245,
"From now on, U means the matrix with ones on its diagonal, and the pivots live in D."
]
]
},
"ldu": {
"dur": 54.552,
"marks": {
"eq": 1.458,
"ldu": 6.458,
"three": 9.388,
"check": 18.75,
"du": 21.12,
"du1": 23.398,
"du2": 26.133,
"lu": 29.362,
"lr1": 31.432,
"lr2": 36.12,
"a": 44.297,
"pic": 46.797
},
"cues": [
[
0.104,
"Put it all together."
],
[
1.458,
"A equals L times the old U, and the old U equals D times the new U."
],
[
6.458,
"So A equals L times D times U."
],
[
9.388,
"L is one, zero, four, one."
],
[
12.161,
"D is two, zero, zero, three."
],
[
15.495,
"U is one, one half, zero, one."
],
[
18.75,
"Let's check, multiplying from the right."
],
[
21.12,
"D times U scales the rows of U: row one times two is two, one."
],
[
26.133,
"Row two times three is zero, three."
],
[
29.362,
"Then L mixes those rows."
],
[
31.432,
"Row one of L is one, zero: row one stays two, one."
],
[
36.12,
"Row two of L is four, one: four times two, one is eight, four."
],
[
40.964,
"Add zero, three: eight, seven."
],
[
44.297,
"Two, one, eight, seven."
],
[
45.925,
"That's A."
],
[
46.797,
"And in the picture, L turns the flat coral line back up to eight x plus seven y equals fifteen."
]
]
},
"plane": {
"dur": 53.16,
"marks": {
"sq": 7.344,
"u": 18.581,
"d": 26.094,
"l": 32.461,
"a": 38.542,
"sum": 47.552
},
"cues": [
[
0.104,
"There is one more way to see L, D and U: as moves of the whole plane, as in chapter twenty-six."
],
[
7.344,
"Here is the plane with its square."
],
[
9.987,
"A times a point is L times D times U times that point, so U moves it first, then D, then L."
],
[
18.581,
"First U."
],
[
19.531,
"The one half slides the square sideways: its top moves right by one half, and nothing gets bigger."
],
[
26.094,
"Then D."
],
[
27.031,
"The pivots stretch it: two times as wide, and three times as tall."
],
[
32.461,
"Then L."
],
[
33.333,
"The four slides it upward: every point rises by four times its x."
],
[
38.542,
"The result is exactly what A does."
],
[
41.107,
"One, zero lands on two, eight, and zero, one lands on one, seven: the columns of A."
],
[
47.552,
"So L and U only slide."
],
[
49.935,
"All the stretching is in D, the pivots."
]
]
},
"q1": {
"dur": 2.856,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.133,
"Pull the pivots out of this U."
]
]
},
"ex2": {
"dur": 60.432,
"marks": {
"A": 1.797,
"l": 5.365,
"step": 9.036,
"LU": 16.823,
"piv": 24.883,
"div1": 26.901,
"div2": 30.026,
"ldu": 34.987,
"look": 43.06,
"mirror": 45.573
},
"cues": [
[
0.104,
"Another one, from the start."
],
[
1.797,
"A is three, six, and six, sixteen."
],
[
5.365,
"The multiplier is six divided by three: two."
],
[
9.036,
"Row two minus two times row one leaves zero, four, and minus four on the right."
],
[
14.688,
"The coral line lies flat."
],
[
16.823,
"So L is one, zero, two, one, and the old U is three, six, zero, four."
],
[
24.883,
"The pivots are three and four."
],
[
26.901,
"Divide row one by three: one, two."
],
[
30.026,
"Divide row two by four: zero, one."
],
[
33.62,
"The lines stay."
],
[
34.987,
"A equals L D U: L with its two, D with three and four, and U with ones and a two."
],
[
43.06,
"Now look at L and U side by side."
],
[
45.573,
"L's two sits below the diagonal, and U's two sits above it, in the mirror spot."
],
[
51.042,
"That happens because A itself is the same across its diagonal: six above, six below."
],
[
57.617,
"Matrices like that are chapter thirty-six."
]
]
},
"ex3": {
"dur": 68.208,
"marks": {
"A": 2.474,
"U": 6.615,
"piv": 15.273,
"r1": 18.021,
"r2": 22.383,
"r3": 28.438,
"still": 33.984,
"D": 35.482,
"go": 38.281,
"L": 43.503,
"ldu": 48.021,
"chk": 53.398
},
"cues": [
[
0.13,
"Three by three works the same way."
],
[
2.474,
"This is the lecture's system from chapters eighteen and twenty-one."
],
[
6.615,
"Elimination left U: one, two, one; zero, two, minus two; zero, zero, five."
],
[
15.273,
"Its pivots are one, two and five."
],
[
18.021,
"Row one's pivot is one: dividing by one changes nothing."
],
[
22.383,
"Row two divided by two: zero, one, minus one, and three on the right."
],
[
28.438,
"Row three divided by five: zero, zero, one, and minus two."
],
[
33.984,
"Not one plane moved."
],
[
35.482,
"D holds the pivots: one, two, five."
],
[
38.281,
"Grow D from the identity, and the table with ones turns back into the old U."
],
[
43.503,
"L holds the multipliers: three, zero and two."
],
[
48.021,
"So A equals L D U, and both L and U have ones down the diagonal."
],
[
53.398,
"Check one row."
],
[
54.505,
"Row two of L is three, one, zero: three times row one of D U, which is three, six, three, plus row two, zero, two, minus two."
],
[
64.922,
"That's three, eight, one: row two of A."
]
]
},
"zero": {
"dur": 16.848,
"marks": {
"div": 1.172,
"ch20": 5.3,
"swap": 8.529,
"next": 12.474
},
"cues": [
[
0.104,
"One warning."
],
[
1.172,
"To divide a row by its pivot, the pivot must not be zero."
],
[
5.3,
"Chapter twenty met a zero in the pivot spot."
],
[
8.529,
"A row exchange fixed it, or there was no pivot at all."
],
[
12.474,
"Chapter thirty-four puts the row exchange into the factors."
]
]
},
"q2": {
"dur": 7.632,
"marks": {},
"cues": [
[
0.104,
"Your turn."
],
[
1.081,
"Change the two numbers on the diagonal of D until D times U is the amber U from elimination."
]
]
},
"q3": {
"dur": 2.592,
"marks": {},
"cues": [
[
0.091,
"Quick check."
],
[
1.185,
"Find the pivots for D."
]
]
},
"wrap": {
"dur": 31.248,
"marks": {
"w1": 1.081,
"w2": 8.516,
"w3": 15.977,
"w4": 22.982,
"end": 29.336
},
"cues": [
[
0.091,
"Let's sum up."
],
[
1.081,
"Divide each row of U by its pivot: the new U has ones down its diagonal, and no line or plane moves."
],
[
8.516,
"The pivots go into D, a diagonal matrix."
],
[
11.927,
"D times a matrix multiplies each row by its pivot."
],
[
15.977,
"A equals L D U: L and U both have ones on the diagonal, and D holds the pivots."
],
[
22.982,
"To check a factoring, multiply from the right: D scales the rows, then L mixes them."
],
[
29.336,
"Now try the chapter practice."
]
]
},
"final1": {
"dur": 2.856,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.51,
"Pull the pivots out of U."
]
]
},
"final2": {
"dur": 4.416,
"marks": {},
"cues": [
[
0.104,
"Set two."
],
[
1.068,
"Multiply L, D and U back together."
]
]
},
"final3": {
"dur": 5.544,
"marks": {},
"cues": [
[
0.104,
"Set three."
],
[
1.224,
"Factor A all the way: L, D and U."
]
]
},
"final4": {
"dur": 5.712,
"marks": {},
"cues": [
[
0.091,
"Last set."
],
[
1.224,
"Change D with your own hands until D times U is the target."
]
]
},
"play": {
"dur": 12.264,
"marks": {
"go": 3.906
},
"cues": [
[
0.104,
"Playground."
],
[
1.068,
"Nothing here is marked right or wrong."
],
[
3.906,
"Change any number of D, or of the table, drag a line, and watch which changes move the picture and which do not."
]
]
},
"finish": {
"dur": 10.608,
"marks": {},
"cues": [
[
0.104,
"Well done."
],
[
1.107,
"That's the end of chapter thirty-two, A equals L D U."
],
[
5.286,
"Next: chapter thirty-three, where we count how much work elimination takes."
]
]
}
};