- Calculus, Volume 2: Multi-Variable Calculus and Linear Algebra with Applications to Differential Equations and Probability
- Tom M. Apostol
- Second Edition
- 1991
- 978-1-119-49676-2
2.12 Exercises
$\quad$ In the linear space of all real-valued functions, each of the following sets is independent and spans a finite-dimensional subspace $V.$ Use the given set as a basis for $V$ and let $D: V \rightarrow V$ be the differentiation operator. In each case, find the matrix of $D$ and of $D^2$ relative to this choice of basis.
14. $\quad$ $(e^x, x e^x).$
Solution. $\quad$ Given the basis $(e^x, x e^x)$ for $V,$ $D(V),$ and $D^2(V),$ we get the following: \begin{align*} D(e^x) &= e^x \\ &= 1(e^x) + 0 (xe^x) \\ D(xe^x) &= e^x + xe^x \\ &= 1(e^x) + 1(xe^x) \\ \\ D^2(e^x) &= D(e^x) \\ &= e^x \\ &= 1(e^x) + 0 (xe^x) \\ D^2(xe^x) &= D(e^x + xe^x) \\ &= e^x + (e^x + xe^x) \\ &= 2(e^x) + 1(xe^x) \end{align*} Which gives us the following matrices of $D$ and $D^2$ relative to the basis $(e^x, x e^x)$ \begin{align*} (d'_{ik}) &= \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix} \qquad (d''_{ik}) = \begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix} \quad \blacksquare \end{align*}