Exercise 2.6.8. If is the space of cubic polynomials in
, what matrix would represent
? What are the nullspace and column space of this matrix? What polynomials would they represent?
Answer: consists of all polynomials of the form
. The first derivative
of such a polynomial is
and the second derivative
is
.
If we choose as our basis the vectors (representing the constant term),
,
, and
then the polynomial
can represented as the vector
.
For the matrix corresponding to the second derivative we must have
,
,
, and
. The resulting matrix is
so that
with the vector on the right corresponding to the polynomial .
The matrix has two pivots (in the third and fourth columns) so its rank
.
The nullspace is the set of all vectors
for which
or
From the first row we have and from the second row
so that
. In this case
and
are free variables that can take on any value. The null space is therefore the set of all vectors of the form
which corresponds to polynomials of the form . The nullspace has rank
.
The column space is the set of all linear combinations of the last two columns of
:
This set is the same as the nullspace , namely the set of all vectors of the form
corresponding to polynomials of the form .
UPDATE: Corrected the paragraph discussing the effects of when applied to the basis vectors
through
. Thanks go to Abdalsalam Fadeel for pointing out a mistake with this.
NOTE: This continues a series of posts containing worked out exercises from the (out of print) book Linear Algebra and Its Applications, Third Edition by Gilbert Strang.
If you find these posts useful I encourage you to also check out the more current Linear Algebra and Its Applications, Fourth Edition, Dr Strang’s introductory textbook Introduction to Linear Algebra, Fourth Edition
and the accompanying free online course, and Dr Strang’s other books
.
Before the first matrix Ap1=0 , Ap2=0 , Ap3=2a2 , and Ap4=6a3 Not as written I think can you make sure for this please? thank you
You were correct that for the third formula I needed to reference Ap_3, not Ap_2 as I had it. However we have Ap_3 = 2p_1, not Ap_3 = 2a_2. That’s because p_1 through p_4 are unit vectors of the form p_1 = [1, 0, 0, 0]^T, p_2 = [0, 1, 0, 0]^T, p_3 = [0, 0, 1, 0]^T, and p_4 = [0, 0, 0, 1]^T. The vector involving a_0, a_1, a_2, and a_3 is the general vector p = [a_0, a_1, a_2, a_3]^T representing the corresponding polynomial.
When A multiplies p we get a vector involving a_0, etc. But when A multiples p_1, p_2, p_3, or p_4 we get a vector involving the elements of A, which have nothing to with a_0, etc., and the 0 or 1 values from p_1, etc.