Let \(P_n\) be the set of all \(n\)-th degree polynomials. In other words, \(P_n =\{f(x)=a_0+a_1 x+\ldots +a_n x^n| a_i \in \mathbb{R}\}\text{.}\) Notice that linear combinations of \(n\)-th degree polynomials will give you other \(n\)-th degree polynomials. A set like \(\{1,x,x^2,\ldots, x^n\}\) will span \(P_n\text{.}\)
Section 3.5 Operators
In our work for continuous dynamical systems and inner products, we have started to see how scalar valued functions can act just like the vectors from \(\mathbb{R}^n\text{.}\) For the rest of our course, we will think about a vector space of functions (and will give a precise definition of vector space a little later). Let’s look at some examples of these kinds of spaces.
Example 3.5.1.
Example 3.5.2.
Let \(P\) be the set of all polynomials. Notice that linear combinations of polynomials will give you other polynomials. A set like \(\{1,x,x^2,\ldots, \}\) will span \(P\text{.}\) In fact, there is no finite set you can give that will span \(P\text{,}\) which means this space is inifinite dimensional.
Example 3.5.3.
Let \(C^\infty([0,1])\) be the set of smooth functions with domain of \([0,1]\text{.}\) A function is smooth if all of its derivatives are continuous. This set contains more than \(P\) and would include functions like \(g(x)=e^x\text{.}\)
Let \(C^n(D)\) be the set of functions with domain \(D\) and whose first \(n\) derivatives are continuous. The set \(C^0(D)\) would be the set of continuous functions on \(D\) (and includes functions that are not necessarily differentiable).
All of these examples work on the idea that if we take functions from these sets, \(f,g,h \in S\text{,}\) then linear combinations and vector equations make sense (\(\alpha f(x)+\beta g(x)=h(x)\)). What would the zero vector look like for these kinds of vectors/functions?
Question 3.5.4.
So what would the analog be of matrices with vector spaces of functions?
Subsection 3.5.1 Linear Operators
Recall how we defined the Matrix-Vector Product in Definition 2.1.1 and the associated transformation defined by a matrix Definition 2.1.2.
A linear operator is linear transformation between vector spaces. A linear transformation is a map that respects linear combinations. In other words, if \(f\) is a linear transformation, then \(f(a \vec{u} +b \vec{v})=a f(\vec{u}) +b f(\vec{v})\text{.}\)
Example 3.5.5.
Let’s consider the operator \(\dfrac{d}{dx}\) from the space \(C^1([0,1])\) to \(C^0([0,1])\text{.}\) In first semester calculus, you saw how you could factor out constant coefficents from derivatives and split up derivatives into different terms in a sum (\(\dfrac{d}{dx} (a f(x)+b g(x))=a \dfrac{df}{dx}+ b\dfrac{dg}{dx}\)). The other thing to note here is that this operator takes differentiable functions to continuous functions (the domain and range of this function are a bit different).
We can also define the integral operator as going from \(C^0([0,1])\) to \(C^1([0,1])\) by considering \(f(x) \rightarrow \int_0^x f(u) \: du\text{.}\) Integration is another operation that will perserve linear combinations.
Let’s consider the mapping \(DE\) from \(C^\infty(\mathbb{R})\) to \(C^\infty(\mathbb{R})\) where \(f(x) \rightarrow \dfrac{d^2 f}{dx^2}-3\dfrac{df}{dx}+2 f(x)\text{.}\) You should take couple of minutes to show that \(DE(a f(x) + b g(x))=a DE(f(x)) + b DE(g(x))\text{.}\) This shows that the set of solutions to \(\dfrac{d^2 f}{dx^2}-3\dfrac{df}{dx}+2 f(x) =0 \) is a vector space. This kind of idea shows how we can find a set with a couple of different solutions that will span the set of all solutions to a differential equation.
Linear operators (or simply operators) will be the analogs of matrices, so as important and useful as eigenvalues/eigenvectors have been for studying vectors from \(\mathbb{R}^n\text{,}\) what would it look like to find eigenvalues for a linear operator?
Activity 3.5.1.
(a)
Let’s look at \(D\text{,}\) the derivative operator from \(C^\infty(\mathbb{R})\) to \(C^\infty(\mathbb{R})\text{.}\) What kinds of functions and scalars would satisfy \(D(f)= \lambda f\text{?}\)
(b)
Let’s look at \(T\text{,}\) the integral operator from \(C^\infty(\mathbb{R})\) to \(C^\infty(\mathbb{R})\text{.}\) What kinds of functions and scalars would satisfy \(T(f)= \lambda f\text{?}\)
(c)
Let’s look at \(S\text{,}\) the operator from \(C^\infty(\mathbb{R})\) to \(C^\infty(\mathbb{R})\) with \(S(f)= \dfrac{d^2f}{dx^2}\text{.}\) What kinds of functions and scalars would satisfy \(S(f)= \lambda f\text{?}\)
As you saw in the previous activity, there are infinite number of eigenvalues for many of these differential operators. An eigenpair is a a eigenvalue and corresponding eigenfunction for a linear operator. For example \((3,e^{3x})\) is an example of an eigenpair for the derivative operator since \(\dfrac{d}{dx}(e^{3x})=3 e^{3x}\text{.}\)
Activity 3.5.2.
For this activity, you should consider the following linear operators on the space of smooth functions:
- \(\displaystyle T_1 : f \rightarrow \frac{df}{dx}\)
- \(\displaystyle T_2 : f \rightarrow \int_0^x f(u) du \)
- \(\displaystyle T_3 : f \rightarrow \frac{d^2f}{dx^2}\)
- \(\displaystyle T_4 : f \rightarrow \frac{d^2f}{dx^2}- f\)
(a)
Is \((-3,2\sin(3x))\) an eigenpair for \(T_1\text{?}\)
(b)
Is \((-3,2e^{-3x})\) an eigenpair for \(T_1\text{?}\)
(c)
Is \((-3,2e^{-3x})\) an eigenpair for \(T_2\text{?}\)
(d)
Is \((-9,2\sin(3x))\) an eigenpair for \(T_3\text{?}\)
(e)
Is \((1,2e^{-x})\) an eigenpair for \(T_4\text{?}\)
As with many problems related to physical situations there are often some boundary conditions (since we usually study different physical properties in a confined setting). Let’s look at an example with a basic version of boundary conditions.
Subsection 3.5.2 Boundary Value Problems
Activity 3.5.3.
(a)
Let’s consider smooth functions on the domain \([0,L]\) and define a linear operator \(T\) such that \(T(f)=\dfrac{d^2f}{dx^2}\) with \(f(0)=f(L)=0\text{.}\) Can you give an example of an eigenpair of this operator that also satisfies this boundary condition?
(b)
If you had two eigenfunctions, \(g\) and \(h\text{,}\) that satisfy your boundary conditions for the previous task, would \(\alpha g +\beta h\) also satisfy your constraint
(c)
If you had two eigenfunctions, \(g\) and \(h\text{,}\) that satisfy a boundary condition of \(f(0)=f(L)=1\text{,}\) would \(\alpha g +\beta h\) also satisfy this new boundary condition?