From \(Ax=0\) to \(y''=0\)
While studying basis and dimension, a sudden connection appeared in Strang's discussion of function spaces:
\[ Ax=0 \]
was compared with
\[ y''=0. \]
At first this connection is not obvious. A matrix equation involves vectors and matrices, while \(y''=0\) looks like calculus.
The missing bridge is the idea of an operator.
1. What does A actually do in Ax?
In
\[ Ax, \]
we normally think of \(A\) as a matrix and \(x\) as a vector.
But more fundamentally, \(A\) is something that takes an input and produces an output.
For example,
\[ A= \begin{bmatrix} 1&2 \end{bmatrix} \]
and
\[ x= \begin{bmatrix} x_1\\x_2 \end{bmatrix} \]
give
\[ Ax=x_1+2x_2. \]
So \(A\) acts on an input vector.
The equation
\[ Ax=0 \]
asks:
Which input vectors does the operation A send to zero?
Those inputs form the nullspace of \(A\).
2. Differentiation is also an operation
A matrix is not the only thing that can act on an input.
Differentiation also takes an input and produces an output.
Define
\[ D=\text{the operation 'differentiate once'}. \]
If the input is the function
\[ y(x)=3x+5, \]
then
\[ D(y)=3. \]
If
\[ y(x)=x^2, \]
then
\[ D(y)=2x. \]
So \(D\) plays the same general role as \(A\):
\[ \boxed{\text{input}\rightarrow\text{operation}\rightarrow\text{output}} \]
For a matrix:
\[ x\rightarrow A\rightarrow Ax. \]
For differentiation:
\[ y\rightarrow D\rightarrow y'. \]
3. Start with D, not D squared
The simplest analogue of \(Ax=0\) is therefore
\[ Dy=0. \]
Since
\[ Dy=y', \]
this means
\[ y'=0. \]
Now ask the nullspace question:
Which functions are sent to zero by one differentiation?
The answer is every constant function:
\[ y(x)=c. \]
because
\[ D(c)=0. \]
So the nullspace of \(D\) is
\[ N(D)=\{c:c\in\mathbb R\}. \]
Every constant function can be written as
\[ c\cdot1. \]
Therefore a basis for this nullspace is
\[ \boxed{\{1\}}. \]
Its dimension is
\[ \boxed{1}. \]
This is the direct function-space version of finding all \(x\) such that
\[ Ax=0. \]
4. Why does Strang suddenly use D squared?
There is nothing fundamental that requires \(D^2\).
Strang is simply discussing equations involving the second derivative.
The notation
\[ D^2 \]
means apply \(D\) twice:
\[ D^2(y)=D(D(y)). \]
Since
\[ D(y)=y', \]
applying \(D\) again gives
\[ D^2(y)=y''. \]
So
\[ \boxed{D^2y=y''}. \]
This is analogous to applying a matrix twice:
\[ A^2x=A(Ax). \]
Therefore \(D^2\) does not represent a mysterious new object. It simply means:
\[ \boxed{\text{differentiate twice}.} \]
5. The nullspace of D squared
Now ask the same nullspace question:
\[ D^2y=0. \]
Because
\[ D^2y=y'', \]
this becomes
\[ y''=0. \]
The question is:
Which input functions become zero after two differentiations?
Take
\[ y(x)=cx+d. \]
Differentiate once:
\[ y'(x)=c. \]
Differentiate again:
\[ y''(x)=0. \]
So every linear function
\[ y(x)=cx+d \]
belongs to the nullspace of \(D^2\).
We can rewrite it as
\[ y(x)=c\,x+d\,1. \]
Therefore every function in this nullspace is a linear combination of
\[ x \]
and
\[ 1. \]
So a basis is
\[ \boxed{\{x,1\}}. \]
Since this basis contains two functions,
\[ \boxed{\dim N(D^2)=2}. \]
6. The bridge to Ax = 0
Now the correspondence becomes much clearer.
For matrices:
\[ Ax=0 \]
asks which vectors are killed by \(A\).
For differentiation:
\[ Dy=0 \]
asks which functions are killed by one derivative.
For the second derivative:
\[ D^2y=0 \]
asks which functions are killed after two derivatives.
The structure is:
\[ \boxed{ \begin{array}{ccc} Ax=0 && D^2y=0\\ A &\leftrightarrow& D^2\\ x &\leftrightarrow& y\\ 0 &\leftrightarrow& 0 \end{array}} \]
The objects are different, but the linear-algebra question is the same:
\[ \boxed{\text{Which inputs does this linear operation send to zero?}} \]
That is the nullspace idea.
7. Why this matters for basis and dimension
This example shows that basis and dimension are not restricted to ordinary column vectors.
In the function space
\[ N(D^2), \]
the objects are functions.
The basis vectors are therefore actually basis functions:
\[ \{x,1\}. \]
Every function in the space is constructed from them:
\[ y(x)=cx+d. \]
There are two independently adjustable coefficients:
\[ c,d. \]
Therefore the space has two degrees of freedom and dimension 2.
8. The important learning correction
It is misleading to say simply:
\[ Ax=0\text{ becomes }y''=0. \]
Nothing literally transforms one equation into the other.
The correct statement is:
\[ \boxed{Ax=0\text{ and }D^2y=0\text{ have the same linear-algebra structure}.} \]
In one case the linear operator is a matrix.
In the other case the linear operator is differentiation.
The nullspace concept applies to both.
Core mental model
\[ \boxed{A=\text{a linear operation on vectors}} \]
\[ \boxed{D=\text{a linear operation on functions}} \]
\[ \boxed{D^2=\text{apply differentiation twice}} \]
and in both cases:
\[ \boxed{\text{nullspace}=\text{all inputs that the operation sends to zero}.} \]
So
\[ N(D)=\operatorname{span}\{1\}, \qquad \dim N(D)=1, \]
while
\[ N(D^2)=\operatorname{span}\{x,1\}, \qquad \dim N(D^2)=2. \]
Note metadata
- Note type: learning-note
- Subject: learning-notes
- Source: Introduction to Linear Algebra, 5th Edition — Section 3.4: Independence, Basis and Dimension