Linear Algebra and Its Applications, Part 2: Derivatives
I mentioned in my introduction post that this series would probably end up being about the applications of Linear Algebra to other fields of math or something. Well it’s the first post, and we already stopped talking about real life applications! Whoops.
Consider the vector space with basis
over This is known as the vector space of polynomials with real coefficients of degree n or less, denoted by (some texts may use . If it looks familiar, it probably showed up as a frequent example in your Linear Algebra problem sets (and is of extreme importance over an arbitrary field in Galois Theory)!
Note: while in Algebra the PID for a field contains infinite degree polynomials, in this case we will assume to have finite degree polynomials with maximum degree .
We can write an arbitrary element of any vector space as a linear combination of the elements of its basis set. In this case, an element of looks like a polynomial. A linear combination of the elements of is of the form
We can use and to denote such linear combinations with shorthand for . Note that isn’t actually a variable: we haven’t defined a way to evaluate and it doesn’t change based off the input. (If you’re wondering how we evaluate polynomials in the traditional sense, we use something called the evaluation homomorphism).
We can use this vector space to do some cool things, like take ideas from Calculus and express them in the language of Linear Algebra! Remember the derivative from Calculus: in this case it’s a map such that In summation notation, it’s saying that Using the standard notations for derivatives, we can write for
We can show that the map is linear. Recall that the conditions for a map to be linear are that
for a vector space over a field We know that
for satisfying the first condition. Next,
for so is linear.
Furthermore, if a map from a vector space onto itself is linear, we can say it’s a linear transformation. We can represent such transformations with a matrix. To find the matrix representation of a linear transformation, examine the column vectors that arise from the image of the basis set under such linear transformation. We denote this matrix as for a vector space with basis set , so for the derivative operator we would denote the image of under as .
To find the first column vector, examine the image of under : clearly it vanishes since constants don’t change. So Similarly, we have
\begin\{bmatrix\} 1 \\ 0 \\ \vdots \\ 0 \\ \end\{bmatrix\}, \,[x^2]\_\{\frac\{d\}\{dx\}\} = \begin\{bmatrix\} 0 \\ 2 \\ 0 \\ \vdots \\ 0 \\ \end\{bmatrix\}, \,[x^3]\_\{\frac\{d\}\{dx\}\} = \begin\{bmatrix\} 0 \\ 0 \\ 3 \\ 0 \\ \vdots \\ 0 \\ \end\{bmatrix\},and so on. Intuitively, this is because etc, and we represent those values with the vectors above if we write them as a linear transformation of the elements of (e.g. ,
If we combine all these column vectors, we can find a matrix representation of the derivative! Here it is in all its glory:
where (or having polynomials of a maximum degree ). You can multiply this matrix by some polynomial vectors in your free time to see if this really works.
Furthermore, the derivative matrix has an interesting algebraic property in that it’s nilpotent. A nilpotent matrix is defined as one that eventually vanishes when multiplied by itself, that is, there exists some such that
where is a matrix and denotes the zero matrix.
I won’t offer a proof, but this is an intuitive result: recall from Analysis that no polynomial of finite degree is infinitely differentiable. So an arbitrary polynomial of degree will vanish if differentiated times, or in other words, multiplied by the matrix (in Liebniz notation this would be denoted as ). So clearly corresponds to the zero matrix, and