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.064,
"marks": {
"sub": 4.427,
"move": 8.841
},
"cues": [
[
0.091,
"Chapter thirty-four."
],
[
1.693,
"P A equals L U."
],
[
4.427,
"When a zero lands in a pivot spot, put the rows in a good order first."
],
[
8.841,
"Then elimination runs without trouble, and P A splits into L times U."
]
]
},
"recall": {
"dur": 41.256,
"marks": {
"sys": 3.359,
"zero": 9.427,
"p": 15.117,
"swap": 21.38,
"same": 24.466,
"u": 28.984,
"lu": 34.818
},
"cues": [
[
0.104,
"Chapter twenty met a zero in the pivot spot."
],
[
3.359,
"Two y equals four, and three x plus y equals five."
],
[
7.578,
"The lines meet at one, two."
],
[
9.427,
"The zero can't be a pivot: no multiple of row one removes the three x."
],
[
15.117,
"Chapter twenty-two wrote the fix as a matrix: P, the identity with its two rows exchanged."
],
[
21.38,
"P times A has the rows in the new order."
],
[
24.466,
"The lines did not move."
],
[
26.107,
"The same two equations, in a new order."
],
[
28.984,
"P A is three, one, and zero, two: already a triangle."
],
[
34.818,
"So U is P A, and L is the identity."
],
[
38.568,
"P A equals L U."
]
]
},
"why": {
"dur": 55.752,
"marks": {
"lu": 2.5,
"row1": 14.427,
"row2": 21.12,
"try": 29.375,
"fail": 36.797,
"so": 44.466
},
"cues": [
[
0.104,
"Why can't we factor A itself?"
],
[
2.5,
"Take any L and U, two by two."
],
[
5.768,
"L has ones on its diagonal and a multiplier, ell, below them."
],
[
10.638,
"U has its first pivot p, then q, and r."
],
[
14.427,
"Row one of L is one, zero, so row one of L U is just row one of U: p, q."
],
[
21.12,
"Row two of L is ell, one: ell times p, q, plus zero, r."
],
[
26.536,
"So row two of L U starts with ell times p."
],
[
29.375,
"Now try to make our A."
],
[
31.042,
"Its row one is zero, two, so p must be zero, and q must be two."
],
[
36.797,
"Then row two of L U starts with ell times zero, which is zero, whatever ell is."
],
[
42.305,
"But row two of A starts with three."
],
[
44.466,
"So no L and U multiply to this A."
],
[
47.656,
"A zero in the first pivot spot rules it out."
],
[
51.068,
"We factor P A instead: the same rows, in a good order."
]
]
},
"ex3": {
"dur": 47.928,
"marks": {
"A": 3.32,
"c1": 13.737,
"zero": 20.768,
"below": 23.802,
"swap": 25.924,
"ahead": 30.716,
"p": 34.961,
"pa": 40.807
},
"cues": [
[
0.104,
"Now three by three: chapter twenty's system."
],
[
3.32,
"x plus two y plus z equals one, two x plus four y plus three z equals three, and three x plus seven y plus five z equals four."
],
[
13.737,
"Column one: row two minus two times row one, and row three minus three times row one."
],
[
20.768,
"The second pivot spot now holds a zero, but the row under it has a one."
],
[
25.924,
"Exchange rows two and three, and the table is a triangle."
],
[
30.716,
"If we had known, we could have put the rows in that order before we started."
],
[
34.961,
"That order is rows one, three, two: the matrix P two three."
],
[
40.807,
"P A is one, two, one; three, seven, five; two, four, three."
]
]
},
"elim": {
"dur": 38.208,
"marks": {
"l21": 3.021,
"l31": 7.331,
"l32": 12.487,
"u": 17.109,
"L": 23.047,
"look": 29.427,
"moved": 35.026
},
"cues": [
[
0.104,
"Eliminate P A from the start."
],
[
3.021,
"Row two minus three times row one: zero, one, two."
],
[
7.331,
"Row three minus two times row one: zero, zero, one."
],
[
12.487,
"Row three has no y left, so the last multiplier is zero."
],
[
17.109,
"U is one, two, one; zero, one, two; zero, zero, one."
],
[
23.047,
"L holds the multipliers: three and two in column one, zero under the second pivot."
],
[
29.427,
"Look at column one of L."
],
[
31.107,
"Before the exchange, the multipliers were two and three."
],
[
35.026,
"They traded places, along with their rows."
]
]
},
"both": {
"dur": 55.512,
"marks": {
"left": 5.078,
"pa": 9.388,
"right": 14.245,
"r1": 17.279,
"r2": 22.786,
"r3": 31.471,
"eq": 39.896,
"pic": 42.448,
"c": 46.901
},
"cues": [
[
0.104,
"Now check P A equals L U, by multiplying out both sides."
],
[
5.078,
"The left side: P takes rows one, three and two of A."
],
[
9.388,
"One, two, one; three, seven, five; two, four, three."
],
[
14.245,
"The right side: L times U, row by row."
],
[
17.279,
"Row one of L is one, zero, zero: just row one of U, one, two, one."
],
[
22.786,
"Row two of L is three, one, zero: three times one, two, one, plus zero, one, two."
],
[
29.089,
"That's three, seven, five."
],
[
31.471,
"Row three is two, zero, one: two times one, two, one, plus zero, zero, one."
],
[
38.425,
"Two, four, three."
],
[
39.896,
"Both sides match, number by number."
],
[
42.448,
"And in the picture, L turns U's planes back into the planes of P A."
],
[
46.901,
"The right side follows too: L turns one, one, one, what elimination made of b, back into P b: one, four, three."
]
]
},
"q1": {
"dur": 3.84,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.172,
"Factor P A for this two by two."
]
]
},
"ex2": {
"dur": 56.976,
"marks": {
"A": 2.956,
"zero": 8.372,
"swap": 10.833,
"l21": 16.341,
"l31": 23.32,
"l32": 29.01,
"LU": 34.219,
"check": 44.349
},
"cues": [
[
0.104,
"Another one, with the zero right at the start."
],
[
2.956,
"A is zero, one, one; one, two, one; two, seven, nine."
],
[
8.372,
"The first pivot spot is zero."
],
[
10.833,
"Row two has a one there, so exchange rows one and two: P is P one two."
],
[
16.341,
"Now eliminate P A."
],
[
18.75,
"Row two already starts with zero: its multiplier is zero."
],
[
23.32,
"Row three minus two times row one: zero, three, seven."
],
[
29.01,
"Row three minus three times row two: zero, zero, four."
],
[
34.219,
"L has zero, two and three below its diagonal."
],
[
38.398,
"U is one, two, one; zero, one, one; zero, zero, four."
],
[
44.349,
"Check row three of L U: two times row one of U, plus three times row two, plus row three."
],
[
51.25,
"Two, seven, nine: row three of P A."
],
[
54.844,
"So P A equals L U."
]
]
},
"q2": {
"dur": 6.864,
"marks": {},
"cues": [
[
0.104,
"Your turn."
],
[
1.003,
"Change the numbers of P until elimination on P A needs no exchange."
]
]
},
"stuck": {
"dur": 44.016,
"marks": {
"A": 1.471,
"c1": 11.341,
"zero": 18.49,
"below": 21.185,
"none": 25.846,
"line": 30.286,
"pts": 34.505,
"rule": 38.633
},
"cues": [
[
0.104,
"Can a P always help?"
],
[
1.471,
"Take x plus two y plus z equals one, two x plus four y plus three z equals three, and three x plus six y plus five z equals five."
],
[
11.341,
"Column one: row two minus two times row one, and row three minus three times row one."
],
[
18.49,
"The second pivot spot holds a zero."
],
[
21.185,
"Look below it: zero again."
],
[
23.737,
"No row has a y left to give."
],
[
25.846,
"No exchange can bring a pivot into this column, so no P can help."
],
[
30.286,
"The picture says why: the three planes don't meet at one point."
],
[
34.505,
"They share a whole line, and every point on it is a solution."
],
[
38.633,
"A P can fix a zero pivot only when a number that is not zero sits below it."
]
]
},
"q3": {
"dur": 2.352,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.159,
"Can a P fix this one?"
]
]
},
"inv": {
"dur": 68.856,
"marks": {
"undo": 1.81,
"cycle": 11.667,
"c1": 20.456,
"c2": 22.279,
"c3": 24.31,
"back": 26.589,
"b1": 30.039,
"b2": 36.706,
"b3": 41.576,
"flip": 46.042,
"name": 52.826,
"check": 57.383,
"rule": 61.133,
"next": 65.99
},
"cues": [
[
0.104,
"One more fact about P."
],
[
1.81,
"To undo P, put the rows back."
],
[
4.427,
"For one exchange, P undoes itself: P times P is the identity, as in chapter twenty-two."
],
[
11.667,
"But take a P that moves every row: zero, zero, one; one, zero, zero; zero, one, zero."
],
[
20.456,
"Row one takes row three, row two takes row one, and row three takes row two."
],
[
26.589,
"To undo it, fetch each row back from where P put it."
],
[
30.039,
"The old row one now sits in second place, so the undo's row one is zero, one, zero."
],
[
36.706,
"The old row two sits in third place: zero, zero, one."
],
[
41.576,
"And the old row three sits on top: one, zero, zero."
],
[
46.042,
"Now look: the undo is P flipped across its diagonal."
],
[
50.534,
"Row one of P becomes column one."
],
[
52.826,
"That flip is called the transpose, written P with a small T."
],
[
57.383,
"Multiply: P transpose times P is the identity."
],
[
61.133,
"For every permutation, P inverse is P transpose."
],
[
65.99,
"Transposes are the subject of the next chapter."
]
]
},
"wrap": {
"dur": 33.624,
"marks": {
"w1": 1.042,
"w2": 9.596,
"w3": 17.174,
"w4": 23.88,
"end": 31.406
},
"cues": [
[
0.104,
"Let's sum up."
],
[
1.042,
"A zero in a pivot spot is fixed by a row exchange, and a permutation P can make every exchange before elimination starts."
],
[
9.596,
"Then P A equals L U: L holds the multipliers, U the pivots, and no exchange is needed on the way."
],
[
17.174,
"Check it by multiplying out both sides: P reorders the rows of A, L mixes the rows of U."
],
[
23.88,
"P inverse is P transpose."
],
[
26.589,
"And if every number below a zero pivot is zero too, no P can help."
],
[
31.406,
"Now try the chapter practice."
]
]
},
"final1": {
"dur": 3.312,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.589,
"Which rows must be exchanged?"
]
]
},
"final2": {
"dur": 3.744,
"marks": {},
"cues": [
[
0.104,
"Set two."
],
[
1.172,
"Factor P A equals L U."
]
]
},
"final3": {
"dur": 3.552,
"marks": {},
"cues": [
[
0.091,
"Set three."
],
[
1.224,
"Multiply, and undo P."
]
]
},
"final4": {
"dur": 5.808,
"marks": {},
"cues": [
[
0.104,
"Last set."
],
[
1.146,
"Build P with your own hands, so elimination needs no exchange."
]
]
},
"play": {
"dur": 12.6,
"marks": {
"go": 3.984
},
"cues": [
[
0.104,
"Playground."
],
[
1.12,
"Nothing here is marked right or wrong."
],
[
3.984,
"Change the numbers of P, or of the system, turn the picture, and see which orders of the rows let elimination run."
]
]
},
"finish": {
"dur": 11.544,
"marks": {},
"cues": [
[
0.104,
"Well done."
],
[
1.12,
"That's the end of chapter thirty-four, P A equals L U, and the end of unit four."
],
[
7.07,
"Next: unit five, transposes and vector spaces."
]
]
}
};