The k-Poly Algebra and truncations
We introduce finite algebraic approximations to the algebra of polynumbers called k-polys, where k is a natural number. The key notion here is that of an algebra: which is a linear or vector space with an additional (associative) multiplication that distributes with the linear structure of the underlying vector space -- over some field.
Examples of algebras include the n x n matrices, the complex numbers which can be considered in both the blue (Euclidean), red and green flavours, the latter two coming from relativistic geometry.
Inverses play a big role in the discussion of algebras.
Truncation operators are important in connecting the algebras of k-polys with the larger algebras of polynumbers, or polyseries. We get an important connection between the world of polynumbers or polyseries and the world of matrix or maxel arithmetic.
This video is part of the Algebraic Calculus Two course, which is currently under development.
Here are the Wild Egg Maths Playlists (some available only to Members!)
Algebraic Calculus One (for the Open Learning Course) : https://www.youtube.com/playlist?list...
Algebraic Calculus Two (for the Open Learning Course in preparation): https://www.youtube.com/playlist?list...
Advice for Mathematics Exploration (for Members only): https://www.youtube.com/playlist?list...
Solving Polynomial Equations (Members only): https://www.youtube.com/playlist?list...
Hexagrammum Mysticum (Members only): https://www.youtube.com/playlist?list...
Algebraic Calculus and de Casteljau Bezier curves (Members only): https://www.youtube.com/playlist?list...
Exceptional Structures in Maths and Physics via Dynamics on Graphs (Members only): https://www.youtube.com/playlist?list...
Maxel Inverses and Orthogonal Polynomials (for Members only): https://www.youtube.com/playlist?list...
Triangle Centres: https://www.youtube.com/watch?v=iLBGX...
Six: An elementary course in pure mathematics: https://www.youtube.com/playlist?list...
*
Here are the Insights into Mathematics Playlists:
Maths and Music: https://www.youtube.com/playlist?list...
Diffusion Symmetry: https://www.youtube.com/playlist?list...
Elementary Mathematics (K-6) Explained: https://www.youtube.com/playlist?
list=PL8403C2F0C89B1333
Playing Go: https://www.youtube.com/playlist?list...
Year 9 Maths: https://www.youtube.com/playlist?list...
Ancient Mathematics: https://www.youtube.com/playlist?list...
Wild West Banking: https://www.youtube.com/playlist?list...
Sociology and Pure Mathematics: https://www.youtube.com/playlist?list...
Old Babylonian Mathematics (with Daniel Mansfield): https://www.youtube.com/playlist?
list=PLIljB45xT85CdeBmQZ2QiCEnPQn5KQ6ov
Math History: https://www.youtube.com/playlist?list...
Wild Trig: Intro to Rational Trigonometry: https://www.youtube.com/playlist?list...
MathFoundations: https://www.youtube.com/playlist?list...
Wild Linear Algebra: https://www.youtube.com/playlist?list...
Famous Math Problems: https://www.youtube.com/playlist?list...
Probability and Statistics: An Introduction: https://www.youtube.com/playlist?list...
Boole's Logic and Circuit Analysis: https://www.youtube.com/playlist?list...
Universal Hyperbolic Geometry: https://www.youtube.com/playlist?list...
Differential Geometry: https://www.youtube.com/playlist?list...
Algebraic Topology: https://www.youtube.com/playlist?list...
Math Seminars: https://www.youtube.com/playlist?list...
0:13
[Music]
0:13
Hello everyone i'm Norman Wildberger welcome to algebraic calculus 2. today's video is called
0:18
the k-poly algebras and truncations we're going to move a little bit into abstract algebra in
0:26
particular we're going to study this concept of an algebra and i'm going to introduce an important
0:32
new family of algebras which we're going to denote by the term k poly where k is a natural number
0:40
these things are in some sense sort of finite and bounded versions of the more familiar poly numbers
0:46
whose type is poly and i remind you that one of our main aims is to try to get at these
0:52
ongoing polynomials or poly numbers which is a type of poly series okay so here is a regular
1:01
poly number 4 0 3 minus 11. it's essentially just a list of numbers but we know that this can be
1:07
translated to the more familiar polynomial form 4 plus 3 alpha squared minus 11 alpha cubed here
1:15
is a more dubious kind of poly series with a pattern that is kind of ongoing in some sense
1:22
1 4 9 16 and then there are three dots so we're still wrestling as to you know how do we how do we
1:30
bring this kind of object into being precisely in particular we really need to focus on the
1:36
nature of these three dots what does this actually mean computationally or to put it
1:40
another way you know how is a computer scientist supposed to understand what's going on here okay
1:47
but today we're going to go kind of in the opposite direction and become even
1:51
more concrete even more finite even more bounded with these k-polys so here is what a k-poly is
1:58
it's a list of numbers for us rational numbers typically in this case two minus one zero five
2:06
but notice that in contrast with the sign for the poly which is this horizontal bar
2:12
on top and then a vertical one on the side this one here has a bar on the top and on the bottom
2:17
okay so it's it's constrained in in extent and you know so the elements are two minus one zero five
2:25
and this is going to be a three poly because this is really degree three here and we're
2:31
going to introduce a similar kind of notation like this so we're going to call this 2 minus
2:37
alpha 3 plus 5 alpha 3 cubed so we're kind of kind of introducing a variant of alpha that will apply
2:44
in the 3 poly situation to capture essentially the same idea but a little bit differently
2:51
and sometimes when we are wanting to be a little bit faster and avoid a subscript we'll just use
2:58
a generic epsilon okay so we'll also write this as 2 minus epsilon plus 0 epsilon squared plus
3:05
5 epsilon cubed now all of these things are algebras okay and so that's going to
3:12
be a key point today is to introduce you to this abstract algebraic object of an algebra
3:20
okay so what is the definition of an algebra so for us at algebra with identity
3:27
in the theory of algebras there's also algebras without identity but they're not as sort of
3:32
central as these ones so we're not always going to say it but all the algebras that we're going
3:36
to be working with always have an identity so what is that well it's first of all a vector or
3:42
linear space over the rationals maybe it's called a so it's a vector space it's got elements that
3:49
can be added and scalar multiplied and the usual vector space properties hold but in addition there
3:56
is a multiplication say denoted a times b and this multiplication has a number of properties
4:03
first of all associativity is required a times b times c equals a times b times c secondly
4:09
it should be distributive with respect to the addition in the linear space so a times b plus c
4:15
should be a times b plus a times c and we use the usual convention that we do these multiplications
4:21
first before we do the addition and similarly on the other side a plus b times c is a times
4:27
c plus b times c and there's another kind of distributive kind of law that concerns itself
4:34
with the operation of scalar multiplication in our vector space so if we have two elements a and
4:40
b we multiply a by say number lambda so lambda a times b well that's the same as what you get when
4:48
you multiply a by lambda b and that's the same as what you get when you multiply a times b by
4:55
lambda so you can move these scalars around in the sort of obvious ways and then there's the crucial
5:03
property that there's an identity and that means that this element one it's a distinguished
5:07
element in the algebra has the property that 1 times a equals a times 1 equals a for any a in
5:13
the algebra okay so that's an algebra okay so there's a quintessential example of an algebra
5:20
it's the central example in mathematics for an algebra and that's the algebra of n by n matrices
5:27
again over whatever field we're working with say over the rationals
5:32
so that is an algebra because you can add matrices you can scale or multiply them and crucially you
5:38
can multiply them the various properties are holding and the identity element is the n by n
5:43
matrix which has ones down the diagonal and zeros elsewhere and this crucially is a non-commutative
5:49
algebra okay so the commutativity is not a required property this is a non-commutative
5:55
algebra and plays a big role it'll actually play a big role for us in the algebraic calculus 2 course
6:02
now some other ones that are also pretty familiar here are the complex numbers
6:07
which i'm going to call them c sub b b standing for blue okay so one way of defining the blue
6:14
complex numbers or the familiar ones it's vectors x y the usual additive structure of row vectors
6:22
and then here is the multiplication x1 y1 times x2 y2 equals x1 x2 minus y1 y2 and x1 y2 plus x2 y1
6:35
now this multiplication can be maybe elucidated by realizing that you can identify this vector
6:44
x y with this 2 by 2 matrix this embeds the blue complex numbers inside the algebra of
6:50
dihedrons which is the algebra of 2x2 matrices special case of the of these ones here so x y
6:57
is associated to the matrix x y minus yx and and then the multiplication of these ones here defined
7:05
up here corresponds to the multiplication for corresponding two by two matrices and importantly
7:12
this algebra is commutative so it obeys this additional law that say z times w equals w times z
7:23
okay so there's two important variants to the blue complex numbers namely the red complex numbers
7:27
and the green complex numbers and they are also algebras so the red complex numbers consisting of
7:33
vectors x y with the usual additive structure and here's the product uh in the red algebras
7:39
situation so x1 y1 times x2 y2 is x1 x2 plus y1 y2 and also x1 y2 plus x2 y1 and we can realize these
7:50
these red complex numbers or represent them by associating to the vector xy the
7:57
by 2 matrix x y y x so then the the multiplication that's being recorded here is just a reflection
8:03
of the matrix multiplication of those kinds of uh 2x2 matrices or dihedrons and then there's
8:11
an another example which is also sort of a relativistic kind of variant of this one the
8:16
green complex numbers also consisting of vectors x y but now the multiplication is very simple
8:22
just a pointwise multiplication x1 y1 times x2 y2 is x1 times x2 y1 times y2 and here the
8:33
association of the vector to a matrix is very simple we just put x and y down the diagonal
8:41
so these are all all three of them are algebras now students of mathematics will be of course very
8:46
familiar with the blue complex numbers because it's a field so what is a field well a field is
8:51
like an algebra but with a more more additional properties and that has to do with inverses okay
8:58
so what makes an algebra a field is the property that pretty well everything except for the zero
9:04
vector has an inverse so let's define invertible elements if a is an algebra with identity one
9:12
then an element a in a is invertible precisely when a times b equals b times
9:20
a equals 1 for some b and a and here we are adopting the more usual convention
9:25
that we don't always write the multiplication with a cross we just write a b for a times b
9:33
now in the examples in the matrix algebra mat n a matrix a is invertible in other words satisfies
9:40
this property precisely when it's determinant is non-zero that's a key result of linear algebra
9:49
in the complex numbers the story is the following in the blue complex numbers a
9:54
vector x y is invertible precisely when x squared plus y squared is not equal to zero
10:01
in fact that's also a determinant that's the determinant of the matrix x y minus y x so it's
10:07
really a kind of a special case of this thing here and similarly in the red complex numbers
10:12
x y is invertible precisely when x squared minus y squared is not equal to zero that's
10:16
the determinant of the matrix x y y x and finally in the green complex numbers x y is invertible
10:24
precisely what x times y is not equal to 0 that's the diagonal of the product of the diagonals which
10:29
is the determinant in that case okay so what makes the blue complex numbers particularly
10:37
sort of familiar to undergraduates and important is that this algebra is a field
10:43
and what that means is that in fact every non-zero element in the algebra is actually invertible
10:51
so this condition applies to all the elements in the space except for the zero zero zero vector
11:00
that's not the case with these ones here you can you can check you can find non-zero elements that
11:04
are non-invertible but i don't want to actually go in that direction of a field because it's
11:10
not the the concept of a field that i'm really interested in here today is the
11:14
concept of an algebra so while the invertibility will play a very important role we do not insist
11:20
that you know everything except for the origin is is invertible
11:24
we just have an algebra then asking you know what are the invertible elements is a very
11:29
you know natural step so now let me introduce the main the main objects of today's lecture
11:38
which are these algebras called k-poly algebras okay and there's one for every natural number k
11:45
and they are very closely connected to the algebra of polynomials that we've worked with a lot in
11:50
the algebraic calculus one course and also in the algebraic calculus ii course but they are
11:56
different okay so what's the definition of the k poly algebra so choose a k a natural number
12:04
including zero so zero one two three whatever so then here is what a an element in this k-poly
12:12
algebra looks like it is a list a vertical list of numbers rational numbers a 0 a 1 up to a k okay
12:24
enclosed in this kind of bracket kind of border a line on top a vertical line beside a line on the
12:32
bottom so that's what a k poly is in this case here actually uh you know it's a k poly because
12:41
we're going down to uh to k here so all together there's k plus one elements in this k poly
12:48
now here's another k poly b with entries b0 b1 down to bk so the first order of business is to
12:57
just say what is the linear structure and that's the obvious thing we're just thinking of these as
13:01
column vectors so the addition of a and b is just point wise and the scalar multiplication is also
13:08
just point wise so that's very familiar and now we come to the multiplication now this multiplication
13:16
will look familiar to you but i want to emphasize that this is really a new thing even though it is
13:22
very very close to the arithmetic for poly numbers but it is essentially different
13:30
so what is the product of this k-poly with this k-poly a times b what is it
13:37
well it's another k-poly okay it's another k-poly and the the zero element is a zero times b zero
13:46
the one element is a zero times b one plus a one times b zero the tooth element is a zero times
13:54
b two plus a one times b one plus a two times b zero hey you're saying this is just the way
14:02
we multiply poly numbers you're absolutely right it's exactly the same but we go down to level k
14:11
so the entry at level k here will be a0 times bk plus a1 times bk minus 1 all the way down to
14:20
a say a k minus 1 times b1 plus ak times b0 so the sum of these indices is always k in this
14:30
last in this case row so now what makes this different from the algebra of poly numbers
14:38
the difference is that we stop right here okay we stop and we we have this
14:44
border okay so there's a border up on top side border and then there's this border underneath
14:50
and that's finished now it's it's it's done now if you were going to multiply these two things as
14:56
poly numbers you would not end up here you would have to keep going because the next one would be
15:02
sort of total uh sum of degrees is k plus 1. so you could get a 1 times b k plus plus a a2
15:11
times bk minus 2 etc all the way up to plus a k b1 but that term is not involved here
15:21
so now it's a natural question well is this really an algebra
15:25
so this is a great exercise to to stare at this and to convince yourself that it is an algebra
15:30
and at some level it's it's kind of obvious because if you think about the way you multiply
15:37
two poly numbers right so imagine having a poly number here and a poly number here and we've
15:40
chosen sort of a level k what we're doing is we're just ignoring everything below that level okay
15:48
and we know that when we multiply poly numbers you know say like this level here the two level
15:56
the two level of the product only depends on the uh poly number ingredients up to level two so we
16:02
wanna know what the level two guy in the product is we only have to look at the entries a0 a1 a2
16:09
from this one and b0 b1 b2 so we just disregard everything else and it's this fact that makes
16:17
it reasonably easy to check that this really is an algebra i also ought to say right at the beginning
16:22
here that these algebras are commutative that's an important consequence of the
16:28
the law for multiplication that i just gave you if you look at it it's symmetric if you
16:33
interchange the a and the b k paulies then each entry is still the same you're just sort of
16:40
reading it instead of going reading from left to right you read it from right to left
16:44
so let's do some arithmetic say with two polys okay so a two poly has three entries
16:52
so level zero level one level two so here are two two pulleys two one minus three and one zero five
16:59
so the sum is of course just the point y sum 1 2 and multiplying it by a scalar is of course
17:08
obvious if you wanted to multiply this thing by a scalar 4 you'd get 12 4 8. okay what about the
17:14
product of these two so 2 1 minus 3 times 1 0 5 okay so here's the product the zeroth entry is
17:23
2 times 1. the one entry is 2 times 0 plus 1 times 1. the two entry is two times five
17:35
plus one times zero plus minus three times one and that amounts to two one ten minus three is seven
17:46
note that this is different from the product of these poly numbers if you rubbed off that bottom
17:55
bar okay and then they'd be poly numbers then you would have to add some more terms
17:59
okay so the the next term would be um 1 times 5 plus minus 3 times 0 that would be 5. so there'd
18:07
be an extra 5. and then there'd be one past that minus 3 times 5 there'd be a minus 15 as well
18:13
okay but they are not being involved this two poly times this two poly is this two poly
18:21
okay it's pretty easy to check that the identity is what you think it should be
18:24
it's the poly one zero zero and here is a very interesting exercise
18:30
okay very interesting exercise i really want you to do this show that a this two poly
18:37
say a0 a1 a2 is invertible precisely when a0 the top entry is non-zero
18:47
okay so you can obviously then generalize this to a k poly instead of just a two poly and a more
18:54
subtle thing that i want you to start thinking about is okay this thing is invertible what then
19:00
is its inverse okay that's going to be a really important problem for the algebraic calculus
19:10
so let's now talk about the standard basis of the k poly algebra there's a standard basis
19:18
and it all rests upon this fundamental k poly the one that looks like 0 1 0 0 all the way down to
19:28
the bottom 0. so this is just like alpha playing the same role as alpha does in the world of poly
19:36
numbers but i remind you that for alpha and in the world of poly numbers we were not fussed about
19:43
these following zeros we allowed ourselves the flexibility of you know being able to add zeros
19:48
at the bottom of a poly number or remove them okay it's not changing the poly number here with these
19:53
k polys we're going to be much more fussy about that we're going to insist that there's exactly k
19:59
plus 1 entries in this list so we are not allowed to rub off any of these zeros they
20:06
are an integral part of these objects okay so they they behave a little bit different from polys so
20:14
since this is not the same as alpha even though it looks pretty close to it let's give it a related
20:20
name let's call it alpha sub k okay because it's a k poly there's altogether k plus 1 elements here
20:29
so that's alpha sub k then alpha sub k squared will be 0 0 1 and then a bunch of zeros
20:37
and carry on alpha sub k to the k the last one will be all zeros with just a one at the bottom
20:48
and then to sort of to be consistent well what about the one the case when there's just a one
20:54
up at the top well let's call that alpha sub k to the zero so then we have a basis from k to the 0
21:02
alpha sub k to the 1 alpha sub k squared all the way up to alpha sub k to the k
21:08
all together k plus 1 elements in this basis so then for example here is a typical k poly say a
21:16
equals a0 a1 down to a k we can then write that as a linear combination of these basis vectors
21:23
start with this one here so it's a 0 times alpha to the k 0. that one there plus a 1 times this
21:31
vector all the way up to a k times this vector so this just sort of corresponds to the obvious
21:37
usual familiar standard basis for column vectors
21:41
but now these have sort of interpretations as powers of this alpha sub k so we could rewrite
21:48
this thing as a zero alpha k to the zero plus a one alpha k to the one or just alpha sub k
21:55
plus a two alpha sub k squared all the way up to a sub k times alpha sub k to the k
22:03
now we are going to have to observe one more thing about this alpha sub k this element here
22:11
that if we raise it to the k plus first power then we get zero okay this is the zero vector
22:18
so why is that so here is here's alpha k and here's alpha
22:23
k to the k what happens if we multiply those well what you do is you um
22:30
you know you're you're going to calculate these these products but
22:34
you're never going to get there's only a single one in this case there's only a one in this case
22:39
and none of these products that that occur in in the expansion uh will have the product of this
22:44
one times this one so every single entry of the product of this one with this one will be zero
22:50
so this is playing this is a very different property that alpha sub k has from the usual alpha
22:58
now we will sometimes when we're we're knowingly working in k poly we might not want to write
23:07
these subscripts all the time because it gets kind of tedious to keep writing alpha sub k
23:12
so i'm going to introduce a shortcut for that
23:16
okay but the shortcut is not alpha because then there's possibility of confusion with the
23:21
polynomial story here's what the shortcut is going to be we're also going to just call this epsilon
23:30
when you see epsilon maybe you think about an infinitesimal
23:34
and if you've watched my famous math problems lecture on how to set up infinitesimals
23:42
you will probably tweak you know why we're doing this that this element here is a potential
23:50
infinitesimal for us in our in our differential calculus as we will see
23:57
okay and now let's introduce truncations but we're going to have a little bit of a different spin on
24:04
truncations than we did last time we talked about this so we've talked about truncations t sub k and
24:11
the idea there was that truncation is you know you take a polynomial and you just truncate it
24:17
terms up to a certain degree and then no more so we're going to be doing something very similar
24:23
but the the shift is is is important okay we're going to now think of this truncation operator
24:30
t sub k as going from the algebra of poly numbers or poly to the algebra of
24:37
k polys and it's defined as follows so t sub k here is a poly number a0 a1 down to some a sub l
24:48
now l could be bigger than k it could be smaller than k it could be equal to k it doesn't matter
24:55
what we're going to do is we're going to truncate this thing we're going to take the top k plus 1
25:01
elements here so a0 a1 down to a sub k and then we're going to stop so we're going to put a bar
25:08
underneath to ensure that we get a k poly and not a poly so i must say that we potentially
25:18
may need to add zeros because we have to go all the way down the bottom so in other words let me
25:22
illustrate with this example here so uh here let's work in the world of three polys okay so three
25:28
pulleys have four entries zero one two three four so here's a poly number one fourteen minus two six
25:34
seventeen let's take t sub three of that what we do is we we strip off the zeroth one the one
25:42
one the two one and the three one and disregard everything else and just put a bar to close things
25:50
how about t sub three of the poly number five minus seven so remind you in the world of poly
25:56
numbers 5 minus 7 is the same as 5 minus 7 0. it's the same as 5 minus 7 0 0. so we're going to use
26:03
that intuition to just copy this thing but copy the first k plus 1 entries in this case 5 minus 7
26:13
0 0 so 4 entries because we're starting at 0 and going up to 3. so it means we have to sort of add
26:19
two zeros so that we have the right number of entries here so we really have a three poly
26:29
okay so here's the truncation theorem which justifies our our usage of this truncation
26:34
operator it's that if p and q are polys and k is a natural number then the truncation t sub k
26:41
of the product p times q is the product of the truncation of p times the truncation of q and
26:49
another way of saying this is that t sub k from poly to k poly is actually an algebra homomorphism
26:58
so this is cleaner than the last time i talked about truncations where we were
27:02
just working in the context of polynomials and there we had to truncate again on the
27:07
right hand side to make things work out going into the world or the algebra of the k-polys
27:13
means that we have a cleaner sort of algebraic structure so let me illustrate here so here's
27:19
let's say t sub 2. here's two poly numbers two minus one one zero three minus four the product
27:25
of these two things is i guess two minus one six minus eleven four so let's take t sub two of this
27:31
what does that mean well we just take the 0th element the 1th element and the 2th element
27:36
and stop there to get this 2 poly 2 minus 1 6. and now we want to convince ourselves
27:44
that this is the same as t sub k of p times t sub k of q so what's t sub k of p
27:51
the truncation of of this one 2 minus 1 that'll be 2 minus 1 0 we're taking t sub 2 so we end up
27:58
with a 2 poly the truncation of this q is one zero three and so now these are in the world of
28:07
k polys let's just check that we get this so two times one is two and two times zero plus
28:13
minus one times one is minus 1 and 2 times 3 plus minus 1 times 0 plus 0 times 1 is 6 and that's all
28:21
there is so this is indeed correct this really is t sub 2 of 2 minus 1. this really is t sub 2 of
28:29
1 0 3 minus 4 and that illustrates this algebra homomorphism property
28:36
so we've done something which in some sense it's very elementary and and familiar but it's
28:40
important to first of all appreciate this the importance of this algebra structure
28:46
okay and that we're aligning things so that sort of algebraically uh things are working nicely
28:52
with respect to these truncations it's going to be really helpful for us as we move further on
28:58
into the differential calculus in the algebraic calculus 2 course
29:03
so there's much to learn i'm Norman Wildberger thanks for listening. [Music]