What makes a map between coordinate spaces linear, how additivity, homogeneity and zero preservation test a rule, why every linear map has a standard matrix, and why nonzero translations fail.
Slide every point of a drawing sideways by its own height, so that the point (x,y) moves to (x+y,y) and a rectangle leans over into a parallelogram. If two arrows add up to a third before the move, do their images still add up to the image of the third? Rules that always respect sums and scalar multiples in this way are the linear transformations. This lesson defines them, shows how to test a rule for linearity, and proves that every linear map between coordinate spaces is multiplication by one matrix, whose columns record where the standard unit vectors go.
Key terms
Linear transformation
Definition Vectors in Rn are columns, and on this page a tuple such as (x,y) written inline stands for the column with those entries. A transformation, or map, T from Rn to Rm is a rule that assigns to each vector x in Rn exactly one vector T(x) in Rm. The space Rn of allowed inputs is the domain of T, and the space Rm where the outputs live is its codomain. The map T is a linear transformation if it has two properties. The first, additivity, requires
T(u+v)=T(u)+T(v)
for all vectors u and v in Rn. The second, homogeneity, requires
T(cu)=cT(u)
for every vector u in Rn and every real number c. Together the two properties are equivalent to the single condition T(au+bv)=aT(u)+bT(v) for all u,v in Rn and all real a,b. Additivity splits the left side into T(au)+T(bv) and homogeneity pulls out a and b. Conversely, taking a=b=1 gives additivity, and taking b=0 gives homogeneity. Repeating the condition shows that a linear map sends every linear combination c1v1+⋯+ckvk to c1T(v1)+⋯+ckT(vk), with the same coefficients.
In plain words Adding or scaling before applying the map gives the same result as applying the map first and adding or scaling afterward. A linear map may shear, stretch, reflect or even flatten space, as long as both rules hold for every choice of vectors and scalars.
Example The shear T(x,y)=(x+y,y) from R2 to R2 moves each point sideways by its height. For u=(2,1) and v=(−1,2), the sum (1,3) goes to (4,3), and the separate images (3,1) and (1,2) also add to (4,3). One pair proves nothing on its own, so take arbitrary vectors u=(u1,u2) and v=(v1,v2). Regrouping the first entry gives
No restriction was placed on the entries or on c, so both properties hold for all inputs and the shear is linear.
Zero preservation
Definition A map T from Rn to Rm preserves zero when it sends the zero vector of Rn to the zero vector of Rm,
T(0)=0.
Every linear transformation preserves zero. Homogeneity with c=0 proves it, since T(0)=T(0u)=0T(u)=0 for any u in Rn. Consequently a map with T(0)=0 is not linear. Zero preservation is necessary for linearity but not sufficient, because a map that preserves zero can still break additivity or homogeneity.
In plain words A linear map always sends the origin to the origin. Checking the origin is a quick way to reject a rule, but passing the check does not make a rule linear.
Example The map K(x,y)=(2x−y,x+3) sends 0 to (0,3), so it is not linear, and nothing else needs checking. The map F(x,y)=(x2,y) does send 0 to 0, yet it is not linear either, as the card on nonlinear maps below shows.
Standard unit vectors
Definition For j=1,…,n, the standard unit vector ej in Rn has entry 1 in position j and 0 in every other position. In R3, for example, e1=(1,0,0), e2=(0,1,0) and e3=(0,0,1). The ordered list (e1,…,en) is called the standard basis of Rn. Every vector x=(x1,…,xn) is the combination
x=x1e1+x2e2+⋯+xnen,
whose coefficients are the entries of x. If T from Rn to Rm is linear, applying additivity repeatedly and then homogeneity to each term gives
T(x)=x1T(e1)+x2T(e2)+⋯+xnT(en).
So a linear map is completely determined by the n images T(e1),…,T(en), and two linear maps that agree on every ej agree on every input.
In plain words The standard unit vectors take one step along each coordinate axis. Every vector is built from them with its own entries as weights, and a linear map keeps those weights, so knowing where each ej goes tells you where everything goes.
Example Suppose T from R2 to R2 is linear with T(e1)=(3,1) and T(e2)=(−2,4). Since (2,−1)=2e1−e2,
T(2,−1)=2[31]−[−24]=[8−2].
The word linear in the assumption does real work here. For a rule not known to be linear, the two images would say nothing about the output at (2,−1).
Standard matrix of a linear transformation
Definition Let T be a linear transformation from Rn to Rm. Its standard matrix is the m×n matrix whose column j is T(ej),
A=[T(e1)T(e2)⋯T(en)].
Then T(x)=Ax for every x in Rn, because Ax is the weighted sum x1T(e1)+⋯+xnT(en) of the columns. No other m×n matrix has this property, since multiplying a matrix by ej returns its column j, which must therefore equal T(ej). Conversely, for every real m×n matrix A with columns a1,…,an, the map x↦Ax from Rn to Rm is linear. Indeed
A(u+v)=Au+Av,A(cu)=cAu
for all u,v in Rn and real c, which follows from Ax=x1a1+⋯+xnan by splitting each coefficient uj+vj into its two parts and by factoring c out of every coefficient cuj. So, with the standard coordinates fixed, the linear maps from Rn to Rm are exactly the maps x↦Ax, each given by exactly one matrix. The matrix need not be square.
In plain words To find the matrix of a linear map, record where each standard unit vector lands, one column for each. Multiplying by that matrix rebuilds every other output from those columns.
Example Take T(x,y)=(x+2y,3y,x−y) from R2 to R3. The images T(e1)=(1,0,1) and T(e2)=(2,3,−1) give the candidate
A=10123−1,
of size 3×2, with one column for each input coordinate and one row for each output coordinate. For all real x and y the product A(x,y) equals (x+2y,3y,x−y), which is the formula for T. So T is the map x↦Ax, hence linear with standard matrix A. The two images alone only suggested the candidate, and the check at an arbitrary input is what justifies it. For instance, T(2,−1)=2(1,0,1)−(2,3,−1)=(0,−3,3).
Translation
Definition For a fixed vector b in Rn, translation by b is the map x↦x+b from Rn to Rn. If b=0, this map is not linear. It sends 0 to b=0, and it also breaks additivity, since translating u+v gives u+v+b while adding the translated vectors gives u+v+2b. Only translation by 0, which is the identity map, is linear.
In plain words Sliding every point by the same nonzero vector moves the origin, so it is never linear. Straight lines stay straight and parallel lines stay parallel under a translation, which shows that a tidy picture is not a test for linearity.
Example The map H(x,y)=(x+1,y) shifts the plane one unit to the right. It sends 0 to (1,0), which settles the question. Additivity fails as well, since H(0+0)=(1,0) but H(0)+H(0)=(2,0). The same reasoning applies to the function f(x)=2x+1 from R to R. Its graph is a straight line and school algebra calls it a linear function, but f(0)=1, so it is not a linear transformation. Maps of the form x↦Ax+b are called affine.
Nonlinear map
Definition A map T from Rn to Rm is nonlinear if it is not linear, that is, if additivity fails for at least one pair of vectors u,v or homogeneity fails for at least one vector u and one real number c. A single explicit failure proves that a map is nonlinear. On their own, finitely many successful checks never prove linearity, which needs an argument that covers every input, such as an identity in arbitrary coordinates or a matching matrix formula. Likewise the images T(e1),…,T(en) alone do not determine a map that is not known to be linear.
In plain words One counterexample is enough to show that a rule is not linear. Showing that a rule is linear takes a proof for all inputs, not a list of examples that work.
Example The map F(x,y)=(x2,y) fixes the origin, so zero preservation does not rule it out. Doubling e1 first gives F(2,0)=(4,0), while doubling afterward gives 2F(e1)=(2,0). Homogeneity fails, so F is nonlinear. Notice also that F(e1)=e1 and F(e2)=e2, exactly as for the identity map, yet the two maps disagree at (2,0). Agreement on the standard unit vectors forces two maps to be equal when both maps are linear, but not in general.
Check yourself
Show that T(x,y)=(4x−y,x+2y) defines a linear transformation from R2 to R2, find its standard matrix, and compute T(1,−2).
Show the answer
The images of the standard unit vectors are T(e1)=(4,1) and T(e2)=(−1,2), so the candidate matrix is
A=[41−12].
For all real x and y the product A(x,y) equals (4x−y,x+2y), so T is the map x↦Ax. Every matrix map is linear, so T is linear with standard matrix A. Then T(1,−2)=(4+2,1−4)=(6,−3), which agrees with the column combination 1(4,1)−2(−1,2)=(6,−3).
Decide which of these maps from R2 to R2 are linear, the map G(x,y)=(x,y+1), the reflection J(x,y)=(−x,y) and the map N(x,y)=(xy,0).
Show the answer
The map G sends 0 to (0,1), so it is not linear. It is the translation by (0,1). The reflection J is linear, because for all real x and y
J(x,y)=[−1001][xy],
and every matrix map is linear. The map N fixes the origin, but N(2,2)=(4,0) while 2N(1,1)=(2,0). Homogeneity fails, so N is not linear.
A linear transformation L from R2 to R3 satisfies L(1,1)=(2,0,1) and L(1,−1)=(0,2,3). Find the standard matrix of L and compute L(3,1).
Show the answer
The standard unit vectors are combinations of the given inputs, e1=21(1,1)+21(1,−1) and e2=21(1,1)−21(1,−1). Because L is linear,
May we count page visits to understand which courses and learning features are useful? Cloudflare collects visit and performance statistics, without your account details or answers. Your choice does not affect access. Details