Processing math: 100%

Math Insight

Linear transformations

 

A linear transformation (or a linear map) is a function T:RnRm that satisfies the following properties:

  1. T(x+y)=T(x)+T(y)
  2. T(ax)=aT(x)

for any vectors x,yRn and any scalar aR.

It is simple enough to identify whether or not a given function f(x) is a linear transformation. Just look at each term of each component of f(x). If each of these terms is a number times one of the components of x, then f is a linear transformation.

Therefore, the function f(x,y,z)=(3xy,3z,0,z2x)

is a linear transformation, while neither g(x,y,z)=(3xy,3z+2,0,z2x)
nor h(x,y,z)=(3xy,3xz,0,z2x)
are linear transformations. The function h has a nonlinear component 3xz that disqualifies it. What about the function g? It's the second component 3z+2 that's the problem because the term 2 is a constant that doesn't contain any components of our input vector (x,y,z).

It's easy to see that the function g violates the second condition above. In particular, if you set a=0 in that second condition, you see that each linear transformation must satisfy T(0)=0

but g(0,0,0)=(0,2,0,0). The condition for a linear transformation is stronger than the condition one learns in grade school for a function whose graph is a line. A single variable function f(x)=ax+b is not a linear transformation unless its y-intercept b is zero.

A useful feature of a feature of a linear transformation is that there is a one-to-one correspondence between matrices and linear transformations, based on matrix vector multiplication. So, we can talk without ambiguity of the matrix associated with a linear transformation T(x).