12  Linear Transformations in \(\mathbb{R}^n\)

12.1 Opening question

A matrix is not only a table of numbers. It is also a rule for moving vectors.

Given a matrix \(A\), the formula

\[ T(x)=Ax \]

defines a function from one Euclidean space to another. For example,

\[ A=\begin{bmatrix}2&0\\0&1\end{bmatrix} \]

stretches vectors horizontally by a factor of \(2\) while leaving vertical components unchanged.

This chapter studies functions that preserve the operations of linear algebra.

A linear transformation is a function that preserves linear combinations.

12.2 Learning goals

After studying this chapter, you should be able to:

  1. Define a linear transformation.
  2. Test whether a function is linear.
  3. Understand linear transformations geometrically.
  4. Compute the standard matrix of a linear transformation.
  5. Interpret columns of a matrix as images of standard basis vectors.
  6. Describe the kernel and image of a linear transformation.
  7. Relate kernel and image to nullspace and column space.
  8. Determine whether a linear transformation is one-to-one or onto.
  9. Visualize linear transformations in \(\mathbb{R}^2\).
  10. Use Python to plot transformed vectors and grids.

12.3 10.1 Functions between Euclidean spaces

A function

\[ T:\mathbb{R}^n\to\mathbb{R}^m \]

assigns to each input vector \(x\in\mathbb{R}^n\) an output vector \(T(x)\in\mathbb{R}^m\).

For example,

\[ T:\mathbb{R}^2\to\mathbb{R}^2,\qquad T\left(\begin{bmatrix}x\\y\end{bmatrix}\right) = \begin{bmatrix}2x\\y\end{bmatrix} \]

stretches the \(x\)-coordinate by a factor of \(2\).

Another example is

\[ S:\mathbb{R}^3\to\mathbb{R}^2,\qquad S\left(\begin{bmatrix}x\\y\\z\end{bmatrix}\right) = \begin{bmatrix} x+2y-z\\ 3x+z \end{bmatrix}. \]

This transformation takes vectors in \(\mathbb{R}^3\) and outputs vectors in \(\mathbb{R}^2\).

12.4 10.2 Definition of linear transformation

NoteDefinition: linear transformation

A function \(T:\mathbb{R}^n\to\mathbb{R}^m\) is a linear transformation if for all vectors \(u,v\in\mathbb{R}^n\) and all scalars \(c\in\mathbb{R}\),

\[ T(u+v)=T(u)+T(v), \]

and

\[ T(cu)=cT(u). \]

The first property says that \(T\) preserves addition.

The second property says that \(T\) preserves scalar multiplication.

Together, they imply

\[ T(c_1v_1+\cdots+c_kv_k) = c_1T(v_1)+\cdots+c_kT(v_k). \]

Thus a linear transformation preserves all linear combinations.

12.5 10.3 A useful linearity test

A function \(T:\mathbb{R}^n\to\mathbb{R}^m\) is linear if and only if

\[ T(cu+dv)=cT(u)+dT(v) \]

for all vectors \(u,v\) and all scalars \(c,d\).

Every linear transformation satisfies

\[ T(0)=0. \]

Indeed, since \(0=0u\),

\[ T(0)=T(0u)=0T(u)=0. \]

WarningQuick nonlinearity test

If \(T(0)\ne 0\), then \(T\) is not linear.

12.6 10.4 Matrix transformations are linear

Let \(A\) be an \(m\times n\) matrix. Define

\[ T:\mathbb{R}^n\to\mathbb{R}^m,\qquad T(x)=Ax. \]

Then \(T\) is linear because

\[ T(u+v)=A(u+v)=Au+Av=T(u)+T(v), \]

and

\[ T(cu)=A(cu)=cAu=cT(u). \]

Therefore every matrix defines a linear transformation.

The converse is also true: every linear transformation from \(\mathbb{R}^n\) to \(\mathbb{R}^m\) is multiplication by a matrix.

12.7 10.5 Examples of linear transformations

12.7.1 Scaling

\[ T\left(\begin{bmatrix}x\\y\end{bmatrix}\right) = \begin{bmatrix}2x\\3y\end{bmatrix} = \begin{bmatrix}2&0\\0&3\end{bmatrix} \begin{bmatrix}x\\y\end{bmatrix}. \]

12.7.2 Rotation by \(90^\circ\)

\[ T\left(\begin{bmatrix}x\\y\end{bmatrix}\right) = \begin{bmatrix}-y\\x\end{bmatrix} = \begin{bmatrix}0&-1\\1&0\end{bmatrix} \begin{bmatrix}x\\y\end{bmatrix}. \]

12.7.3 Projection onto the \(x\)-axis

\[ T\left(\begin{bmatrix}x\\y\end{bmatrix}\right) = \begin{bmatrix}x\\0\end{bmatrix} = \begin{bmatrix}1&0\\0&0\end{bmatrix} \begin{bmatrix}x\\y\end{bmatrix}. \]

12.7.4 Reflection across the \(x\)-axis

\[ T\left(\begin{bmatrix}x\\y\end{bmatrix}\right) = \begin{bmatrix}x\\-y\end{bmatrix} = \begin{bmatrix}1&0\\0&-1\end{bmatrix} \begin{bmatrix}x\\y\end{bmatrix}. \]

12.8 10.6 Examples that are not linear

12.8.1 Translation

\[ T\left(\begin{bmatrix}x\\y\end{bmatrix}\right) = \begin{bmatrix}x+1\\y\end{bmatrix}. \]

Then

\[ T(0)=\begin{bmatrix}1\\0\end{bmatrix}\ne 0. \]

So \(T\) is not linear.

12.8.2 Squaring

\[ T:\mathbb{R}\to\mathbb{R},\qquad T(x)=x^2. \]

Then

\[ T(1+1)=4, \]

but

\[ T(1)+T(1)=2. \]

So \(T\) is not linear.

12.8.3 Affine maps

A function of the form

\[ T(x)=Ax+b \]

with \(b\ne 0\) is usually not linear because

\[ T(0)=b\ne 0. \]

Such functions are called affine transformations.

12.9 10.7 The standard matrix

Let \(T:\mathbb{R}^n\to\mathbb{R}^m\) be linear. The standard basis vectors of \(\mathbb{R}^n\) are \(e_1,\ldots,e_n\).

Every vector can be written as

\[ x=x_1e_1+\cdots+x_ne_n. \]

By linearity,

\[ T(x)=x_1T(e_1)+\cdots+x_nT(e_n). \]

Therefore \(T\) is completely determined by what it does to the standard basis vectors.

ImportantStandard matrix

The standard matrix of \(T:\mathbb{R}^n\to\mathbb{R}^m\) is

\[ A=\begin{bmatrix}T(e_1)&T(e_2)&\cdots&T(e_n)\end{bmatrix}. \]

Then

\[ T(x)=Ax. \]

12.10 10.8 Example: finding a standard matrix

Suppose

\[ T(e_1)=\begin{bmatrix}2\\1\end{bmatrix}, \qquad T(e_2)=\begin{bmatrix}-1\\3\end{bmatrix}. \]

Then

\[ A= \begin{bmatrix} 2&-1\\ 1&3 \end{bmatrix}. \]

Thus

\[ T\left(\begin{bmatrix}x\\y\end{bmatrix}\right) = \begin{bmatrix} 2&-1\\ 1&3 \end{bmatrix} \begin{bmatrix}x\\y\end{bmatrix} = \begin{bmatrix} 2x-y\\ x+3y \end{bmatrix}. \]

12.11 10.9 Columns as images of basis vectors

If

\[ A=\begin{bmatrix}a_1&a_2&\cdots&a_n\end{bmatrix}, \]

then

\[ Ae_1=a_1,\quad Ae_2=a_2,\quad \ldots,\quad Ae_n=a_n. \]

So the columns of \(A\) tell us where the standard basis vectors go.

The columns of a matrix are the images of the coordinate axes.

This is one of the most important geometric interpretations of a matrix.

12.12 10.10 Python plot: transformed grids

A \(2\times 2\) matrix transforms the entire plane. A grid helps us see the geometry.

import numpy as np
import matplotlib.pyplot as plt

def plot_transformed_grid(A, title):
    xs = np.linspace(-2, 2, 9)
    ys = np.linspace(-2, 2, 9)

    plt.figure(figsize=(6, 6))

    for x in xs:
        pts = np.array([[x, y] for y in ys])
        trans = pts @ A.T
        plt.plot(trans[:, 0], trans[:, 1], linewidth=0.8)

    for y in ys:
        pts = np.array([[x, y] for x in xs])
        trans = pts @ A.T
        plt.plot(trans[:, 0], trans[:, 1], linewidth=0.8)

    e1 = A @ np.array([1, 0])
    e2 = A @ np.array([0, 1])

    plt.arrow(0, 0, e1[0], e1[1], head_width=0.08, length_includes_head=True)
    plt.arrow(0, 0, e2[0], e2[1], head_width=0.08, length_includes_head=True)
    plt.text(e1[0] + 0.08, e1[1], "$Ae_1$")
    plt.text(e2[0] + 0.08, e2[1], "$Ae_2$")

    plt.axhline(0, linewidth=0.8)
    plt.axvline(0, linewidth=0.8)
    plt.grid(True)
    plt.axis("equal")
    plt.title(title)
    plt.show()

A = np.array([[1, 1],
              [0, 1]], dtype=float)

plot_transformed_grid(A, "A shear transformation")

The matrix

\[ A=\begin{bmatrix}1&1\\0&1\end{bmatrix} \]

is a shear. It maps

\[ (x,y)\mapsto (x+y,y). \]

12.13 10.11 Common geometric transformations

12.13.1 Horizontal scaling

\[ \begin{bmatrix}2&0\\0&1\end{bmatrix} \]

maps \((x,y)\) to \((2x,y)\).

12.13.2 Vertical scaling

\[ \begin{bmatrix}1&0\\0&3\end{bmatrix} \]

maps \((x,y)\) to \((x,3y)\).

12.13.3 Reflection across the \(x\)-axis

\[ \begin{bmatrix}1&0\\0&-1\end{bmatrix} \]

maps \((x,y)\) to \((x,-y)\).

12.13.4 Reflection across the \(y\)-axis

\[ \begin{bmatrix}-1&0\\0&1\end{bmatrix} \]

maps \((x,y)\) to \((-x,y)\).

12.13.5 Rotation by \(90^\circ\)

\[ \begin{bmatrix}0&-1\\1&0\end{bmatrix} \]

maps \((x,y)\) to \((-y,x)\).

12.13.6 Projection onto the \(x\)-axis

\[ \begin{bmatrix}1&0\\0&0\end{bmatrix} \]

maps \((x,y)\) to \((x,0)\).

12.13.7 Shear

\[ \begin{bmatrix}1&k\\0&1\end{bmatrix} \]

maps \((x,y)\) to \((x+ky,y)\).

12.14 10.12 Kernel

NoteDefinition: kernel

Let \(T:\mathbb{R}^n\to\mathbb{R}^m\) be a linear transformation. The kernel of \(T\) is

\[ \ker(T)=\{x\in\mathbb{R}^n:T(x)=0\}. \]

If \(T(x)=Ax\), then

\[ \ker(T)=\operatorname{Null}(A). \]

The kernel measures information loss. If a nonzero vector is sent to zero, then the transformation collapses a direction.

12.15 10.13 Image

NoteDefinition: image

Let \(T:\mathbb{R}^n\to\mathbb{R}^m\) be a linear transformation. The image of \(T\) is

\[ \operatorname{im}(T)=\{T(x):x\in\mathbb{R}^n\}. \]

If \(T(x)=Ax\), then

\[ \operatorname{im}(T)=\operatorname{Col}(A). \]

The image is the set of all possible outputs.

The equation

\[ T(x)=b \]

has a solution exactly when

\[ b\in\operatorname{im}(T). \]

12.16 10.14 Kernel and image are subspaces

If \(T\) is linear, then \(\ker(T)\) is a subspace of the input space and \(\operatorname{im}(T)\) is a subspace of the output space.

For \(T(x)=Ax\),

\[ \ker(T)=\operatorname{Null}(A)\subseteq\mathbb{R}^n, \]

and

\[ \operatorname{im}(T)=\operatorname{Col}(A)\subseteq\mathbb{R}^m. \]

So the fundamental subspaces of a matrix are also the natural subspaces of a linear transformation.

12.17 10.15 One-to-one

A function is one-to-one if different inputs always produce different outputs.

For linear transformations, there is a simple test.

ImportantOne-to-one test

A linear transformation \(T\) is one-to-one if and only if

\[ \ker(T)=\{0\}. \]

For \(T(x)=Ax\), this means that the columns of \(A\) are linearly independent.

Equivalently, \(A\) has a pivot in every column.

12.18 10.16 Onto

A transformation

\[ T:\mathbb{R}^n\to\mathbb{R}^m \]

is onto if every vector in \(\mathbb{R}^m\) is an output.

That is, for every \(b\in\mathbb{R}^m\), there is an \(x\in\mathbb{R}^n\) such that

\[ T(x)=b. \]

Equivalently,

\[ \operatorname{im}(T)=\mathbb{R}^m. \]

For \(T(x)=Ax\), this means that the columns of \(A\) span \(\mathbb{R}^m\).

Equivalently, \(A\) has a pivot in every row.

12.19 10.17 Square transformations and invertibility

For a linear transformation

\[ T:\mathbb{R}^n\to\mathbb{R}^n \]

with matrix \(A\), the following are equivalent:

  • \(T\) is one-to-one,
  • \(T\) is onto,
  • \(A\) is invertible,
  • \(\ker(T)=\{0\}\),
  • \(\operatorname{im}(T)=\mathbb{R}^n\),
  • the columns of \(A\) form a basis of \(\mathbb{R}^n\).

This is another form of the Invertible Matrix Theorem.

12.20 10.18 Projection loses information

Let

\[ P=\begin{bmatrix}1&0\\0&0\end{bmatrix}. \]

Then

\[ P\begin{bmatrix}x\\y\end{bmatrix} = \begin{bmatrix}x\\0\end{bmatrix}. \]

The kernel is

\[ \ker(P)= \left\{ \begin{bmatrix}0\\y\end{bmatrix}:y\in\mathbb{R} \right\}. \]

The image is

\[ \operatorname{im}(P)= \left\{ \begin{bmatrix}x\\0\end{bmatrix}:x\in\mathbb{R} \right\}. \]

So projection onto the \(x\)-axis collapses the whole plane onto a line.

P = np.array([[1, 0],
              [0, 0]], dtype=float)

plot_transformed_grid(P, "Projection onto the x-axis")

12.21 10.19 Rotation preserves information

Let

\[ R=\begin{bmatrix}0&-1\\1&0\end{bmatrix}. \]

This rotates the plane by \(90^\circ\) counterclockwise.

It is invertible. Its inverse is rotation by \(-90^\circ\):

\[ R^{-1}= \begin{bmatrix}0&1\\-1&0\end{bmatrix}. \]

Thus rotation is one-to-one and onto.

R = np.array([[0, -1],
              [1, 0]], dtype=float)

plot_transformed_grid(R, "Rotation by 90 degrees")

12.22 10.20 Rank-nullity for transformations

Let

\[ T:\mathbb{R}^n\to\mathbb{R}^m \]

be linear. Then

\[ \dim(\ker(T))+\dim(\operatorname{im}(T))=n. \]

This is the rank-nullity theorem in transformation language.

If \(T(x)=Ax\), then

\[ \dim(\ker(T))=\operatorname{nullity}(A), \]

and

\[ \dim(\operatorname{im}(T))=\operatorname{rank}(A). \]

So

\[ \operatorname{nullity}(A)+\operatorname{rank}(A)=n. \]

Input dimension is divided into invisible directions and visible directions.

12.23 10.21 Python: standard matrix from basis images

Suppose

\[ T(e_1)=\begin{bmatrix}2\\1\end{bmatrix}, \qquad T(e_2)=\begin{bmatrix}-1\\3\end{bmatrix}. \]

The standard matrix has these vectors as columns.

Te1 = np.array([2, 1], dtype=float)
Te2 = np.array([-1, 3], dtype=float)

A = np.column_stack([Te1, Te2])
A
array([[ 2., -1.],
       [ 1.,  3.]])

For

\[ x=\begin{bmatrix}4\\2\end{bmatrix}, \]

we compute

x = np.array([4, 2], dtype=float)
A @ x
array([ 6., 10.])

This equals

4*Te1 + 2*Te2
array([ 6., 10.])

because

\[ T(4e_1+2e_2)=4T(e_1)+2T(e_2). \]

12.24 10.22 Python: kernel and image

import sympy as sp

A = sp.Matrix([
    [1, 0],
    [0, 0]
])

A.nullspace()
[Matrix([
 [0],
 [1]])]

This gives a basis for the kernel of projection onto the \(x\)-axis.

A.columnspace()
[Matrix([
 [1],
 [0]])]

This gives a basis for the image.

For this projection,

\[ \ker(T)=\operatorname{span}\left\{\begin{bmatrix}0\\1\end{bmatrix}\right\}, \]

and

\[ \operatorname{im}(T)=\operatorname{span}\left\{\begin{bmatrix}1\\0\end{bmatrix}\right\}. \]

12.25 10.23 Algorithmic summary

NoteAlgorithm: test whether a function is linear

To test whether \(T:\mathbb{R}^n\to\mathbb{R}^m\) is linear:

  1. Check whether \(T(0)=0\).
  2. Check whether \(T(u+v)=T(u)+T(v)\).
  3. Check whether \(T(cu)=cT(u)\).
  4. Equivalently, check whether \(T(cu+dv)=cT(u)+dT(v)\).
NoteAlgorithm: find the standard matrix

To find the standard matrix of \(T:\mathbb{R}^n\to\mathbb{R}^m\):

  1. Compute \(T(e_1),T(e_2),\ldots,T(e_n)\).
  2. Place these vectors as columns:

\[ A=\begin{bmatrix}T(e_1)&T(e_2)&\cdots&T(e_n)\end{bmatrix}. \]

NoteAlgorithm: find kernel and image

If \(T(x)=Ax\), then:

  1. Find \(\ker(T)\) by solving \(Ax=0\).
  2. Find \(\operatorname{im}(T)\) by finding a basis for \(\operatorname{Col}(A)\).
NoteAlgorithm: test one-to-one and onto

For \(T(x)=Ax\) with \(A\) an \(m\times n\) matrix:

  1. \(T\) is one-to-one if \(A\) has a pivot in every column.
  2. \(T\) is onto \(\mathbb{R}^m\) if \(A\) has a pivot in every row.

12.26 10.24 Common mistakes

12.26.1 Mistake 1: thinking every function with variables is linear

A function is linear only if it preserves addition and scalar multiplication.

Expressions like \(x^2\), \(xy\), \(\sin x\), and \(x+1\) are not linear.

12.26.2 Mistake 2: forgetting \(T(0)=0\)

Every linear transformation sends zero to zero.

If \(T(0)\ne 0\), the function is not linear.

12.26.3 Mistake 3: confusing kernel and image

The kernel lives in the input space.

The image lives in the output space.

For \(T:\mathbb{R}^n\to\mathbb{R}^m\),

\[ \ker(T)\subseteq\mathbb{R}^n, \]

while

\[ \operatorname{im}(T)\subseteq\mathbb{R}^m. \]

12.26.4 Mistake 4: putting images of basis vectors as rows

The standard matrix is

\[ A=\begin{bmatrix}T(e_1)&T(e_2)&\cdots&T(e_n)\end{bmatrix}. \]

The images of standard basis vectors become columns.

12.26.5 Mistake 5: saying every square transformation is invertible

A square matrix transformation is invertible only when it has no information loss.

Projection onto an axis is square but not invertible.

12.27 10.25 Chapter summary

A linear transformation satisfies

\[ T(u+v)=T(u)+T(v) \]

and

\[ T(cu)=cT(u). \]

Equivalently, it preserves linear combinations.

Every matrix transformation \(T(x)=Ax\) is linear.

Every linear transformation \(T:\mathbb{R}^n\to\mathbb{R}^m\) has a standard matrix

\[ A=\begin{bmatrix}T(e_1)&T(e_2)&\cdots&T(e_n)\end{bmatrix}. \]

The columns of \(A\) are the images of the standard basis vectors.

The kernel is

\[ \ker(T)=\{x:T(x)=0\}. \]

The image is

\[ \operatorname{im}(T)=\{T(x):x\in\mathbb{R}^n\}. \]

If \(T(x)=Ax\), then

\[ \ker(T)=\operatorname{Null}(A), \]

and

\[ \operatorname{im}(T)=\operatorname{Col}(A). \]

A linear transformation is one-to-one if its kernel is \(\{0\}\).

It is onto if its image is the whole output space.

12.28 Exercises

12.28.1 A. Testing linearity

Determine whether each function is linear.

\[ T\left(\begin{bmatrix}x\\y\end{bmatrix}\right) = \begin{bmatrix}2x\\3y\end{bmatrix} \]

\[ T\left(\begin{bmatrix}x\\y\end{bmatrix}\right) = \begin{bmatrix}x+1\\y\end{bmatrix} \]

\[ T\left(\begin{bmatrix}x\\y\end{bmatrix}\right) = \begin{bmatrix}x+y\\x-y\end{bmatrix} \]

\[ T(x)=x^2 \]

\[ T\left(\begin{bmatrix}x\\y\\z\end{bmatrix}\right) = \begin{bmatrix}x+2y-z\\3x+z\end{bmatrix} \]

12.28.2 B. Standard matrices

Find the standard matrix of each linear transformation.

  1. \(T:\mathbb{R}^2\to\mathbb{R}^2\) with

\[ T(e_1)=\begin{bmatrix}2\\1\end{bmatrix}, \qquad T(e_2)=\begin{bmatrix}-1\\3\end{bmatrix}. \]

  1. \(T:\mathbb{R}^3\to\mathbb{R}^2\) with

\[ T\left(\begin{bmatrix}x\\y\\z\end{bmatrix}\right) = \begin{bmatrix}x+2y-z\\3x+z\end{bmatrix}. \]

  1. Projection onto the \(x\)-axis in \(\mathbb{R}^2\).

  2. Reflection across the \(y\)-axis in \(\mathbb{R}^2\).

  3. Rotation by \(90^\circ\) counterclockwise in \(\mathbb{R}^2\).

12.28.3 C. Images of basis vectors

Let

\[ A= \begin{bmatrix} 1&2&0\\ -1&3&4 \end{bmatrix}. \]

  1. Compute \(Ae_1\).
  2. Compute \(Ae_2\).
  3. Compute \(Ae_3\).
  4. Explain how these results relate to the columns of \(A\).

12.28.4 D. Kernel and image

For each matrix \(A\), find a basis for \(\ker(T)\) and \(\operatorname{im}(T)\), where \(T(x)=Ax\).

\[ A= \begin{bmatrix} 1&0\\ 0&0 \end{bmatrix} \]

\[ A= \begin{bmatrix} 1&1\\ 0&1 \end{bmatrix} \]

\[ A= \begin{bmatrix} 1&2&0\\ 0&1&1 \end{bmatrix} \]

\[ A= \begin{bmatrix} 1&2&3\\ 2&4&6 \end{bmatrix} \]

12.28.5 E. One-to-one and onto

For each transformation \(T(x)=Ax\), determine whether \(T\) is one-to-one and whether it is onto its codomain.

\[ A= \begin{bmatrix}1&0\\0&0\end{bmatrix}, \qquad T:\mathbb{R}^2\to\mathbb{R}^2. \]

\[ A= \begin{bmatrix}1&1\\0&1\end{bmatrix}, \qquad T:\mathbb{R}^2\to\mathbb{R}^2. \]

\[ A= \begin{bmatrix}1&2&0\\0&1&1\end{bmatrix}, \qquad T:\mathbb{R}^3\to\mathbb{R}^2. \]

\[ A= \begin{bmatrix}1&0\\0&1\\1&1\end{bmatrix}, \qquad T:\mathbb{R}^2\to\mathbb{R}^3. \]

12.28.6 F. Geometry

  1. Plot the image of a square grid under

\[ A=\begin{bmatrix}1&1\\0&1\end{bmatrix}. \]

  1. Plot the image of a square grid under

\[ A=\begin{bmatrix}1&0\\0&0\end{bmatrix}. \]

  1. Plot the image of a square grid under

\[ A=\begin{bmatrix}0&-1\\1&0\end{bmatrix}. \]

  1. Explain which transformations lose information.

12.28.7 G. Python exercises

  1. Write a Python function that plots the image of a grid under a \(2\times 2\) matrix.
  2. Use it for scaling, rotation, reflection, projection, and shear matrices.
  3. Use SymPy to find the kernel and image of

\[ A= \begin{bmatrix} 1&2&0\\ 0&1&1 \end{bmatrix}. \]

  1. For each square matrix, compute its determinant and relate determinant zero to information loss.
  2. Choose your own \(2\times 2\) matrix and describe the geometric transformation it performs.

12.28.8 H. Reflection

Write a short paragraph answering each question.

  1. Why does linearity mean preserving linear combinations?
  2. Why do the images of the standard basis vectors determine the whole transformation?
  3. How does the kernel describe information loss?
  4. How does the image describe possible outputs?
  5. Why are linear transformations central to data and AI?

12.29 AI-age connection

Linear transformations are the basic operations of high-dimensional computation. A neural network layer begins with a linear transformation. A data matrix transforms feature vectors. Dimensionality reduction maps high-dimensional data into lower-dimensional representations. Kernels describe lost information, and images describe possible outputs. Understanding linear transformations gives the geometric foundation for matrix models, optimization, machine learning, and AI.