Complexity Explorer Santa Few Institute

Vector and Matrix Algebra

Lead instructor:

Your progress is not being saved! Enroll now or log in to track your progress or submit homework.

3.3 Differentiation as a Matrix Operation » Quiz #20 Solution

Question 1:

First, we encode the polynomial given as a vector: -x^3+4x^2-6 \Rightarrow \begin{bmatrix} -6 \\ 0 \\ 4 \\ -1 \end{bmatrix} . Differentiation is then performed by way of multiplication by the differential matrix, D= \begin{bmatrix} 0 & 1 & 0 & 0 \\ 0 & 0 & 2 & 0 \\ 0 & 0 &0 & 3 \\ \end{bmatrix}. Putting this together, we compute the derivative: \frac {d}{dx} [-x^3+4x^2-6] \Rightarrow \begin{bmatrix} 0 & 1 & 0 & 0 \\ 0 & 0 & 2 & 0 \\ 0 & 0 &0 & 3 \\ \end{bmatrix}\begin{bmatrix} -6 \\ 0 \\ 4 \\ -1 \end{bmatrix}=\begin{bmatrix} 0 \\ 8 \\ -3 \end{bmatrix} \Rightarrow -3x^2+8x.