Definition. Let X and Y be vector spaces over a field F. A function T : X → Y is a linear transformation if it preserves linear combinations, that is, ∀u, v ∈ X, c ∈ F:
Or, alternatively, T(c1u + c2v) = c1T(u) + c2T(v). In general T is a linear transformation if it preserves linear combinations, T(c1x1 + ··· + cnxn) = c1T(u) + ··· cnT(xn).
X and Y are called the domain and codomain of T, respectively; the image or range of T is the set of images, Img(T) = {T(x) | x ∈ X}; and the kernel of T is the set of vectors which map to the vector zero, that is, Ker(T) = {x | T(x) = 0}.
Examples:
Exercise. Calculate the kernel and image of T: ℝ3 → ℝ2, T(x1, x2, x3) = (x1 + 2x2, x3 - 3x2).
$T(x)=0↭ \left( \begin{smallmatrix}x_1 + 2x_2\\\ x_3-3x_2\end{smallmatrix} \right) = \left( \begin{smallmatrix}0\\\ 0\end{smallmatrix} \right)$
$\begin{cases} x_1 + 2x_2 = 0 \\\ x_3 -3x_2 = 0 \end{cases}↭ x_3=3x_2,~x_1=-2x_2$
ker(T)={$\left(\begin{smallmatrix}-2t\\\ t\\\ 3t\end{smallmatrix}\right): t ∈ ℝ$} = {t$\left(\begin{smallmatrix}-2\\\ 1\\\ 3\end{smallmatrix}\right): t ∈ ℝ$}
$T(x)=\left( \begin{smallmatrix}b_1\\\ b_2\end{smallmatrix} \right)↭ \left( \begin{smallmatrix}x_1 + 2x_2\\\ x_3-3x_2\end{smallmatrix} \right) = \left( \begin{smallmatrix}b_1\\\ b_2\end{smallmatrix} \right)$
$\begin{cases} x_1 + 2x_2 = b_1 \\\ x_3 -3x_2 = b_2 \end{cases}$ In particular, x2 = 0, and $T \left( \begin{smallmatrix}b_1\\\ 0 \\\ b_2\end{smallmatrix} \right) = \left( \begin{smallmatrix}b_1\\\ b_2\end{smallmatrix} \right)$, that is, Img(T) = ℝ2
Definitions. A mapping T: X → Y is said to be…
Example. T: ℤ23 → ℤ23, $T(x_1,x_2,x_3)=(x_1+x_2, x_2, x_1+x_2+x_3)$
$T(x)=0↭ \left( \begin{smallmatrix}x_1 + x_2\\\ x_2\\\ x_1+x_2+x_3\end{smallmatrix} \right) = \left( \begin{smallmatrix}0\\\ 0\\\ 0\end{smallmatrix} \right)$
$\begin{cases} x_1 + x_2 = 0 \\\ x_2 = 0 \\\ x_1 +x_2 +x_3 = 0 \end{cases}↭ Ker(T)=\left( \begin{smallmatrix}0\\\ 0\\\ 0\end{smallmatrix} \right)$ T is one to one.
$T(x)=b↭ \left( \begin{smallmatrix}x_1 + x_2\\\ x_2\\\ x_1+x_2+x_3\end{smallmatrix} \right) = \left( \begin{smallmatrix}b_1\\\ b_2\\\ b_3\end{smallmatrix} \right)$
$\begin{cases} x_1 + x_2 = b_1 \\\ x_2 = b_2 \\\ x_1 +x_2 +x_3 = b_3 \end{cases}$ ↭ $\begin{cases} x_1 = b_1 + b_2 \\\ x_2 = b_2 \\\ x_3 = b_1 + b_3 \end{cases}$
Therefore, T is onto and bijective.