Is the function
T\begin{bmatrix}x_1\\x_2\\x_3\end{bmatrix}=det\begin{bmatrix}2&x_1&5\\3&x_2&6\\4&x_3&7\end{bmatrix}
from ℝ^3 to ℝ a linear transformation? Here we are placing the input variables x_1, x_2, x_3 in the second column, choosing arbitrary constants for all the other entries.
Note that
T\begin{bmatrix}x_1\\x_2\\x_3\end{bmatrix}=det\begin{bmatrix}2&x_1&5\\3&x_2&6\\4&x_3&7\end{bmatrix}= (6 · 4 − 3 · 7)x_1 + (2 · 7 − 5 · 4)x_2 + (5 · 3 − 2 · 6)x_3
= 3x_1 − 6x_2 + 3x_3.
Therefore, T is a linear transformation, by Definition 2.1.1, since the output is a linear combination of the input variables.