Review : Matrices & Vectors — Question 7

PDF ↗

Question 7

Work with real matrices and column vectors. Write InI_n for the n×nn\times n identity, ATA^T for transpose, and ∥v∥=vTv\|v\|=\sqrt{v^Tv} for Euclidean length. Show the reasoning behind every classification; do not use eigenvalue methods.

For real tt, let M(t)=(1t02),v(t)=(t2et),y(t)=M(t)v(t).M(t)=\begin{pmatrix}1&t\\0&2\end{pmatrix},\qquad v(t)=\begin{pmatrix}t^2\\e^t\end{pmatrix},\qquad y(t)=M(t)v(t). Differentiate matrices entry by entry.

Tasks

  1. Derive the matrix-vector product rule from component sums. Compute yy and y′y' in this example by two routes.

  2. Find N(t)=M(t)−1N(t)=M(t)^{-1}. Derive the inverse differentiation rule from MN=I2MN=I_2 and verify it here.

  3. Compute (M2)′(M^2)', M′M+MM′M' M+MM' and 2MM′2MM'. Decide whether the scalar shortcut for differentiating a square is valid.

  4. Compute det⁡M(t)\det M(t) and examine ∥M(t)(0,1)T∥\|M(t)(0,1)^T\|. Explain why a constant nonzero determinant does not force a constant matrix or constant vector lengths.

Original worksheet page 1: question and worked solution for 5-2-007
Show solutionHide solution

Question 7 – Solution

Strategy. Scalar differentiation still applies to each entry, but matrix factors must retain their multiplication order.

Step 1: Derive and apply the product rule. For component ii, yi=∑jMijvjy_i=\sum_jM_{ij}v_j. Differentiating the finite sum gives yi′=∑j(Mij′vj+Mijvj′)y_i'=\sum_j(M_{ij}'v_j+M_{ij}v_j'), hence y′=M′v+Mv′y'=M'v+Mv'. Direct multiplication and differentiation give y=(t2+tet2et),y′=(2t+(1+t)et2et).y=\begin{pmatrix}t^2+te^t\\2e^t\end{pmatrix},\qquad \boxed{y'=\begin{pmatrix}2t+(1+t)e^t\\2e^t\end{pmatrix}.} The product-rule route gives M′v=(et,0)TM'v=(e^t,0)^T and Mv′=(2t+tet,2et)TMv'=(2t+te^t,2e^t)^T, confirming the same derivative.

Step 2: Differentiate the inverse with the correct order. The inverse is N=(1−t/201/2)N=\begin{pmatrix}1&-t/2\\0&1/2\end{pmatrix}. Differentiating MN=I2MN=I_2 gives M′N+MN′=0M'N+MN'=0; multiplying on the left by NN yields N′=−NM′N=(0−1/200).\boxed{N'=-NM'N=\begin{pmatrix}0&-1/2\\0&0\end{pmatrix}.} This agrees with direct entrywise differentiation of NN.

Step 3: Test the square rule explicitly. Since M2=(13t04)M^2=\begin{pmatrix}1&3t\\0&4\end{pmatrix}, (M2)′=(0300)=(0200)⏟M′M+(0100)⏟MM′.(M^2)'=\begin{pmatrix}0&3\\0&0\end{pmatrix} =\underbrace{\begin{pmatrix}0&2\\0&0\end{pmatrix}}_{M'M} +\underbrace{\begin{pmatrix}0&1\\0&0\end{pmatrix}}_{MM'}. But 2MM′=(0200)2MM'=\begin{pmatrix}0&2\\0&0\end{pmatrix}, which is different. The shortcut works when MM and M′M' commute; they do not here.

Step 4: Interpret the constant determinant. The determinant is always 22, whereas M(t)(0,1)T=(t,2)TM(t)(0,1)^T=(t,2)^T has length t2+4\sqrt{t^2+4}. Thus signed area scaling remains fixed while shear and some vector lengths change. Determinant information alone cannot determine every entry or every geometric effect of a matrix.

Original worksheet page 2: question and worked solution for 5-2-007

Original worksheet layout. Use Enlarge or open the PDF for a closer view.