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": 12.216,
"marks": {
"sub": 2.904,
"move": 4.297
},
"cues": [
[
0.104,
"Unit five, chapter thirty-five."
],
[
2.904,
"The transpose."
],
[
4.297,
"Take the rows of a matrix and stand them up as columns."
],
[
8.151,
"That is the whole move, and this chapter looks at it slowly."
]
]
},
"recall": {
"dur": 31.104,
"marks": {
"A": 1.81,
"rows": 3.529,
"r1": 5.195,
"r2": 7.656,
"cols": 10.078,
"c1": 11.536,
"c2": 12.539,
"c3": 13.893,
"size": 15.417,
"last": 20.013
},
"cues": [
[
0.156,
"First, the words we need."
],
[
1.81,
"Here is a matrix A."
],
[
3.529,
"Rows run across."
],
[
5.195,
"Row one is one, two, three."
],
[
7.656,
"Row two is four, five, six."
],
[
10.078,
"Columns run down: one and four, two and five, three and six."
],
[
15.417,
"So A is two by three: rows first, then columns."
],
[
20.013,
"In chapter thirty-four we flipped a permutation matrix across its diagonal, and gave the result a name: the transpose."
],
[
28.685,
"Now we do it for any matrix."
]
]
},
"flip": {
"dur": 23.112,
"marks": {
"r1": 1.602,
"c1": 4.154,
"r2": 7.904,
"c2": 9.766,
"name": 11.38,
"size": 16.211
},
"cues": [
[
0.117,
"Here is the rule."
],
[
1.602,
"Take row one of A: one, two, three."
],
[
4.154,
"Stand it up, and it becomes column one of a new matrix."
],
[
7.904,
"Row two, four, five, six, becomes column two."
],
[
11.38,
"The new matrix is called A transpose, written A with a small T up high."
],
[
16.211,
"A was two by three."
],
[
17.708,
"A transpose is three by two."
],
[
20.156,
"The two numbers of the size swap places too."
]
]
},
"cols": {
"dur": 24.432,
"marks": {
"col1": 3.49,
"row1": 5.938,
"col2": 9.232,
"row2": 12.253,
"col3": 13.503,
"row3": 16.549,
"same": 17.839
},
"cues": [
[
0.091,
"Now read the same two matrices the other way."
],
[
3.49,
"Column one of A is one and four."
],
[
5.938,
"In A transpose, one and four are row one."
],
[
9.232,
"Column two of A, two and five, is row two."
],
[
13.503,
"And column three, three and six, is row three."
],
[
17.839,
"Rows become columns, and columns become rows."
],
[
21.549,
"It is one move, seen from both sides."
]
]
},
"entry": {
"dur": 30.312,
"marks": {
"pick": 2.982,
"from": 7.917,
"two": 11.589,
"from2": 16.901,
"rule": 20.312,
"swap": 26.927
},
"cues": [
[
0.091,
"Every single number moves by the same rule."
],
[
2.982,
"Look at the four in A transpose."
],
[
5.443,
"It sits in row one, column two."
],
[
7.917,
"Where did it come from?"
],
[
9.128,
"From row two, column one of A."
],
[
11.589,
"Another one: the three in A transpose sits in row three, column one."
],
[
16.901,
"It came from row one, column three of A."
],
[
20.312,
"So the number in row i, column j of A transpose is the number in row j, column i of A."
],
[
26.927,
"Swap the two numbers of the address, and you have found it."
]
]
},
"diag": {
"dur": 41.952,
"marks": {
"sq": 3.099,
"diag": 9.766,
"stay": 14.883,
"pair1": 25.195,
"pair2": 32.161,
"pair3": 34.232,
"mirror": 36.38
},
"cues": [
[
0.091,
"Now a square matrix, three by three."
],
[
3.099,
"Its rows are one, two, seven; three, four, five; six, eight, nine."
],
[
9.766,
"Draw the line from the top left corner to the bottom right."
],
[
13.086,
"This is the main diagonal."
],
[
14.883,
"The numbers on it, one, four and nine, have addresses like row two, column two."
],
[
20.56,
"Swapping the two numbers changes nothing, so they stay where they are."
],
[
25.195,
"Every other number jumps across the diagonal to its mirror spot."
],
[
29.57,
"The two and the three trade places."
],
[
32.161,
"The seven and the six trade."
],
[
34.232,
"The five and the eight trade."
],
[
36.38,
"So for a square matrix, the transpose is a mirror image across the diagonal."
]
]
},
"q1": {
"dur": 4.032,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.12,
"Write down A transpose, one row at a time."
]
]
},
"twice": {
"dur": 37.464,
"marks": {
"again": 2.773,
"back": 8.438,
"rule": 14.766,
"vec": 17.956,
"col": 22.148,
"row": 27.318,
"name": 33.711
},
"cues": [
[
0.104,
"What happens if we transpose twice?"
],
[
2.773,
"Start from A, two by three."
],
[
5.104,
"Flip it: A transpose, three by two."
],
[
8.438,
"Flip that again."
],
[
9.466,
"Rows become columns once more, and we are back to A, two by three."
],
[
14.766,
"A transpose, transposed, is A again."
],
[
17.956,
"A column vector is a matrix too, with just one column."
],
[
22.148,
"Here x is one, two, three, standing up: three by one."
],
[
27.318,
"Its transpose is the same three numbers lying down, in one row: one by three."
],
[
33.711,
"From now on, this is how we write a row: x transpose."
]
]
},
"plane": {
"dur": 56.496,
"marks": {
"A": 1.159,
"cols": 6.875,
"rows": 16.771,
"these": 25.195,
"change": 28.802,
"both": 33.685,
"diag": 41.055,
"d2": 44.023,
"same": 49.948
},
"cues": [
[
0.091,
"Now a picture."
],
[
1.159,
"Take a two by two matrix A: two, one; minus one, three."
],
[
6.875,
"Chapter nine drew its columns as arrows."
],
[
9.831,
"Column one goes to two, minus one, in green."
],
[
13.581,
"Column two goes to one, three, in violet."
],
[
16.771,
"Now draw its rows as arrows too, dashed."
],
[
19.688,
"Row one goes to two, one, in blue."
],
[
21.927,
"Row two goes to minus one, three, in coral."
],
[
25.195,
"These dashed arrows are the columns of A transpose."
],
[
28.802,
"Change one number, the one in row one, column two, from one to three."
],
[
33.685,
"That number sits in one column and in one row, so two arrows move: column two, and row one."
],
[
41.055,
"Now change the number in the corner, from two to four."
],
[
44.023,
"It is on the diagonal, so column one and row one both start with it, and both move."
],
[
49.948,
"One set of numbers, two sets of arrows: the columns of A, and the columns of A transpose."
]
]
},
"q2": {
"dur": 3.888,
"marks": {},
"cues": [
[
0.104,
"Your turn."
],
[
1.003,
"Move the blue dashed arrow onto the target."
]
]
},
"order": {
"dur": 53.232,
"marks": {
"ab": 10.13,
"abc": 17.135,
"flip": 20.56,
"guess": 25.443,
"wrong": 32.5,
"swap": 36.901,
"right": 41.289,
"match": 43.906,
"rule": 45.208
},
"cues": [
[
0.104,
"Now products."
],
[
1.406,
"Chapter twenty-five showed that order matters: A times B is usually not B times A."
],
[
7.773,
"So what is the transpose of A B?"
],
[
10.13,
"Take A: one, two; zero, one."
],
[
13.216,
"And B: one, zero; three, one."
],
[
17.135,
"A B is seven, two; three, one."
],
[
20.56,
"Flip it."
],
[
21.315,
"A B transpose is seven, three; two, one."
],
[
25.443,
"A first guess: transpose each one, and multiply, A transpose times B transpose."
],
[
32.5,
"That gives one, three; two, seven."
],
[
35.768,
"Not the same."
],
[
36.901,
"Now swap the order: B transpose times A transpose."
],
[
41.289,
"Seven, three; two, one."
],
[
43.906,
"That matches."
],
[
45.208,
"The transpose of A B is B transpose times A transpose."
],
[
50.534,
"Flip each one, and reverse the order."
]
]
},
"live": {
"dur": 18.36,
"marks": {
"go": 2.37,
"again": 11.003,
"wrong": 13.776
},
"cues": [
[
0.117,
"Here is the rule at work."
],
[
2.37,
"Change a number of A."
],
[
3.906,
"A B changes, its flip changes, and B transpose A transpose changes with it."
],
[
9.753,
"They stay equal."
],
[
11.003,
"Change a number of B."
],
[
12.448,
"Still equal."
],
[
13.776,
"The guess in the wrong order, A transpose B transpose, does not keep up."
]
]
},
"why": {
"dur": 39.912,
"marks": {
"ent": 2.969,
"ab": 9.232,
"ba": 15.286,
"same": 23.906,
"sum": 30.768,
"every": 35.859
},
"cues": [
[
0.104,
"Why does the order turn around?"
],
[
1.81,
"Look at one number."
],
[
2.969,
"Row one, column two of A B transpose is row two, column one of A B: three."
],
[
9.232,
"That is row two of A times column one of B: zero times one, plus one times three."
],
[
15.286,
"In B transpose A transpose, the same spot is row one of B transpose, times column two of A transpose."
],
[
23.906,
"But row one of B transpose is column one of B."
],
[
27.174,
"And column two of A transpose is row two of A."
],
[
30.768,
"The same numbers, multiplied in pairs and added: three again."
],
[
35.859,
"Every spot works this way, so the two matrices are equal."
]
]
},
"sizes": {
"dur": 45.888,
"marks": {
"ex": 2.253,
"ab": 5.716,
"t": 13.294,
"wrongs": 19.102,
"rights": 26.042,
"nums": 33.958,
"abt": 37.526,
"match": 44.857
},
"cues": [
[
0.104,
"The sizes tell the same story."
],
[
2.253,
"Take A two by three, and B three by two."
],
[
5.716,
"A B fits: the inside numbers, three and three, match, and A B is two by two."
],
[
13.294,
"Now A transpose is three by two, and B transpose is two by three."
],
[
19.102,
"A transpose times B transpose would be three by three: far too big for the flip of a two by two."
],
[
26.042,
"B transpose times A transpose is two by three, times three by two: two by two, the right size."
],
[
33.958,
"Work it out: one, two; seven, three."
],
[
37.526,
"And A B was one, seven; two, three."
],
[
41.458,
"Flipped, it is one, two; seven, three."
],
[
44.857,
"They match."
]
]
},
"q3": {
"dur": 3.768,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.12,
"Which one is A B transpose?"
]
]
},
"wrap": {
"dur": 29.688,
"marks": {
"w1": 1.042,
"w2": 7.409,
"w3": 17.422,
"w4": 20.586,
"end": 28.359
},
"cues": [
[
0.104,
"Let's sum up."
],
[
1.042,
"The rows of A become the columns of A transpose, so an m by n matrix becomes n by m."
],
[
7.409,
"The number in row i, column j of A transpose is the number in row j, column i of A."
],
[
13.997,
"A square matrix flips across its diagonal."
],
[
17.422,
"Transpose twice, and you are back where you started."
],
[
20.586,
"And the transpose of A B is B transpose times A transpose: flip each one, and reverse the order."
],
[
28.359,
"Now practice."
]
]
},
"final1": {
"dur": 3.6,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.536,
"Write each transpose."
]
]
},
"final2": {
"dur": 2.808,
"marks": {},
"cues": [
[
0.104,
"Set two."
],
[
1.081,
"Sizes and addresses."
]
]
},
"final3": {
"dur": 2.952,
"marks": {},
"cues": [
[
0.104,
"Set three."
],
[
1.146,
"Transposes of products."
]
]
},
"final4": {
"dur": 3.624,
"marks": {},
"cues": [
[
0.104,
"Last set."
],
[
1.185,
"Build the matrix with your own hands."
]
]
},
"play": {
"dur": 12.096,
"marks": {
"go": 3.711
},
"cues": [
[
0.104,
"Playground."
],
[
1.068,
"Nothing here is marked right or wrong."
],
[
3.711,
"Change any number of A or of A transpose, change the size, or drag the arrows, and watch the other side follow."
]
]
},
"finish": {
"dur": 9.6,
"marks": {},
"cues": [
[
0.104,
"Well done."
],
[
1.081,
"That's the end of chapter thirty-five, the transpose."
],
[
4.753,
"Next: symmetric matrices, the ones a flip does not change at all."
]
]
}
};