Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Properties of Linear Transformation






What Linearity Gives You and How to Verify It

The two linearity conditions — preservation of addition and scalar multiplication — are the gateway to the entire theory. Proving them unlocks every tool of linear algebra; failing them shuts the door. This page covers how to verify linearity, what consequences follow from it, and how linear transformations interact through composition and inversion.



The Two Linearity Conditions

A function T:VWT: V \to W is linear if it satisfies two conditions for all u,vV\mathbf{u}, \mathbf{v} \in V and all scalars cRc \in \mathbb{R}:

Additivity: T(u+v)=T(u)+T(v)T(\mathbf{u} + \mathbf{v}) = T(\mathbf{u}) + T(\mathbf{v})

Homogeneity: T(cv)=cT(v)T(c\mathbf{v}) = cT(\mathbf{v})

Both conditions must hold for every choice of vectors and scalars — not just for specific examples. Verifying linearity on a few particular vectors does not suffice. Disproving linearity requires only a single counterexample: one pair of vectors where additivity fails, or one scalar where homogeneity fails.

The One-Step Test

The two conditions can be combined into a single check. TT is linear if and only if

T(cu+dv)=cT(u)+dT(v)T(c\mathbf{u} + d\mathbf{v}) = cT(\mathbf{u}) + dT(\mathbf{v})


for all vectors u,vV\mathbf{u}, \mathbf{v} \in V and all scalars c,dRc, d \in \mathbb{R}. Setting c=d=1c = d = 1 recovers additivity. Setting v=0\mathbf{v} = \mathbf{0} recovers homogeneity. So the combined condition implies both individual conditions, and the converse is straightforward.

The one-step test extends to arbitrary linear combinations: if TT is linear, then

T(c1v1+c2v2++ckvk)=c1T(v1)+c2T(v2)++ckT(vk)T(c_1\mathbf{v}_1 + c_2\mathbf{v}_2 + \cdots + c_k\mathbf{v}_k) = c_1T(\mathbf{v}_1) + c_2T(\mathbf{v}_2) + \cdots + c_kT(\mathbf{v}_k)


Linear transformations commute with linear combinations of any length. This is the operational content of linearity — it says that TT can be "pulled through" any finite sum of scaled vectors.

Proving Linearity

To prove a given function TT is linear, take arbitrary vectors u,v\mathbf{u}, \mathbf{v} and arbitrary scalars c,dc, d. Compute T(cu+dv)T(c\mathbf{u} + d\mathbf{v}) using the formula that defines TT, then simplify and show the result equals cT(u)+dT(v)cT(\mathbf{u}) + dT(\mathbf{v}).

Worked Example


Let T:R3R2T: \mathbb{R}^3 \to \mathbb{R}^2 be defined by T(x,y,z)=(2xy,x+3z)T(x, y, z) = (2x - y, x + 3z). Take u=(u1,u2,u3)\mathbf{u} = (u_1, u_2, u_3) and v=(v1,v2,v3)\mathbf{v} = (v_1, v_2, v_3):

T(cu+dv)=T(cu1+dv1,  cu2+dv2,  cu3+dv3)T(c\mathbf{u} + d\mathbf{v}) = T(cu_1 + dv_1, \; cu_2 + dv_2, \; cu_3 + dv_3)


=(2(cu1+dv1)(cu2+dv2),  (cu1+dv1)+3(cu3+dv3))= (2(cu_1 + dv_1) - (cu_2 + dv_2), \; (cu_1 + dv_1) + 3(cu_3 + dv_3))


=(c(2u1u2)+d(2v1v2),  c(u1+3u3)+d(v1+3v3))= (c(2u_1 - u_2) + d(2v_1 - v_2), \; c(u_1 + 3u_3) + d(v_1 + 3v_3))


=c(2u1u2,  u1+3u3)+d(2v1v2,  v1+3v3)=cT(u)+dT(v)= c(2u_1 - u_2, \; u_1 + 3u_3) + d(2v_1 - v_2, \; v_1 + 3v_3) = cT(\mathbf{u}) + dT(\mathbf{v})


Linearity holds. The key observation is that every component of TT is a linear expression in the input coordinates — no products, powers, or constant terms appear.

Disproving Linearity

To show TT is not linear, find a single concrete counterexample.

The fastest first check is T(0)=0T(\mathbf{0}) = \mathbf{0}. Every linear transformation sends 0\mathbf{0} to 0\mathbf{0}, so if T(0)0T(\mathbf{0}) \neq \mathbf{0}, the function is immediately disqualified. This eliminates translations (T(v)=v+bT(\mathbf{v}) = \mathbf{v} + \mathbf{b}), constant functions (T(v)=cT(\mathbf{v}) = \mathbf{c}), and any formula with a constant term.

If T(0)=0T(\mathbf{0}) = \mathbf{0} passes, test additivity or homogeneity with specific inputs. For T(x,y)=(x2,y)T(x, y) = (x^2, y): T(1,0)+T(1,0)=(1,0)+(1,0)=(2,0)T(1, 0) + T(1, 0) = (1, 0) + (1, 0) = (2, 0), but T((1,0)+(1,0))=T(2,0)=(4,0)(2,0)T((1, 0) + (1, 0)) = T(2, 0) = (4, 0) \neq (2, 0). One failure is enough.

For T(x)=x+1T(x) = x + 1: T(0)=10T(0) = 1 \neq 0. Done — no need to check anything else.

Products of unknowns, powers higher than 11, absolute values, square roots, and constant terms all break linearity. If the formula for TT involves any of these, the function is almost certainly not linear (and a counterexample is usually easy to construct).

Consequences of Linearity

Once linearity is established, several useful facts follow automatically.

T(0)=0T(\mathbf{0}) = \mathbf{0}: the zero vector always maps to the zero vector. Proof: T(0)=T(0v)=0T(v)=0T(\mathbf{0}) = T(0 \cdot \mathbf{v}) = 0 \cdot T(\mathbf{v}) = \mathbf{0}.

T(v)=T(v)T(-\mathbf{v}) = -T(\mathbf{v}): negation is preserved. Proof: T(v)=T((1)v)=(1)T(v)=T(v)T(-\mathbf{v}) = T((-1)\mathbf{v}) = (-1)T(\mathbf{v}) = -T(\mathbf{v}).

T(uv)=T(u)T(v)T(\mathbf{u} - \mathbf{v}) = T(\mathbf{u}) - T(\mathbf{v}): subtraction is preserved. Follows from combining additivity with the negation result.

If {v1,,vk}\{\mathbf{v}_1, \dots, \mathbf{v}_k\} is linearly dependent, then {T(v1),,T(vk)}\{T(\mathbf{v}_1), \dots, T(\mathbf{v}_k)\} is also dependent. Linear transformations can destroy independence (by collapsing vectors to zero) but cannot create it. A nonzero dependence relation civi=0\sum c_i \mathbf{v}_i = \mathbf{0} maps to ciT(vi)=0\sum c_i T(\mathbf{v}_i) = \mathbf{0} with the same coefficients.

These are not additional axioms — they are free consequences of the two linearity conditions.

Composition

If T:UVT: U \to V and S:VWS: V \to W are both linear, the composition ST:UWS \circ T: U \to W defined by (ST)(u)=S(T(u))(S \circ T)(\mathbf{u}) = S(T(\mathbf{u})) is also linear:

(ST)(cu+dv)=S(T(cu+dv))=S(cT(u)+dT(v))=cS(T(u))+dS(T(v))(S \circ T)(c\mathbf{u} + d\mathbf{v}) = S(T(c\mathbf{u} + d\mathbf{v})) = S(cT(\mathbf{u}) + dT(\mathbf{v})) = cS(T(\mathbf{u})) + dS(T(\mathbf{v}))


The first equality applies TT's linearity inside SS; the second applies SS's linearity.

Composition is associative: (RS)T=R(ST)(R \circ S) \circ T = R \circ (S \circ T). It is not commutative: STS \circ T and TST \circ S are generally different (and may not even have compatible domains).

When both transformations are represented by matrices, composition corresponds to matrix multiplication: the matrix of STS \circ T is the product of the matrix of SS with the matrix of TT. This is the fundamental reason matrix multiplication is defined as it is — it encodes the composition of the maps the matrices represent.

Invertibility

A linear transformation T:VWT: V \to W is invertible if there exists a linear map T1:WVT^{-1}: W \to V satisfying T1T=IVT^{-1} \circ T = I_V and TT1=IWT \circ T^{-1} = I_W.

The inverse, when it exists, is itself linear. If T1(w1)=v1T^{-1}(\mathbf{w}_1) = \mathbf{v}_1 and T1(w2)=v2T^{-1}(\mathbf{w}_2) = \mathbf{v}_2, then T(cv1+dv2)=cT(v1)+dT(v2)=cw1+dw2T(c\mathbf{v}_1 + d\mathbf{v}_2) = cT(\mathbf{v}_1) + dT(\mathbf{v}_2) = c\mathbf{w}_1 + d\mathbf{w}_2, so T1(cw1+dw2)=cv1+dv2=cT1(w1)+dT1(w2)T^{-1}(c\mathbf{w}_1 + d\mathbf{w}_2) = c\mathbf{v}_1 + d\mathbf{v}_2 = cT^{-1}(\mathbf{w}_1) + dT^{-1}(\mathbf{w}_2).

TT is invertible if and only if it is bijective: injective (trivial kernel) and surjective (image equals WW). When dim(V)=dim(W)\dim(V) = \dim(W), these two conditions are equivalent — checking either one establishes both. For matrix transformations, invertibility of TT corresponds to invertibility of the matrix AA.

An invertible linear transformation between spaces of the same dimension is called an isomorphism. It establishes that the two spaces are structurally identical as vector spaces.

Sums and Scalar Multiples of Transformations

If S,T:VWS, T: V \to W are both linear, new transformations can be built from them.

The sum (S+T)(v)=S(v)+T(v)(S + T)(\mathbf{v}) = S(\mathbf{v}) + T(\mathbf{v}) is linear: (S+T)(cu+dv)=S(cu+dv)+T(cu+dv)=cS(u)+dS(v)+cT(u)+dT(v)=c(S+T)(u)+d(S+T)(v)(S + T)(c\mathbf{u} + d\mathbf{v}) = S(c\mathbf{u} + d\mathbf{v}) + T(c\mathbf{u} + d\mathbf{v}) = cS(\mathbf{u}) + dS(\mathbf{v}) + cT(\mathbf{u}) + dT(\mathbf{v}) = c(S + T)(\mathbf{u}) + d(S + T)(\mathbf{v}).

The scalar multiple (cT)(v)=cT(v)(cT)(\mathbf{v}) = cT(\mathbf{v}) is linear by a similar argument.

These operations give the set of all linear transformations from VV to WW the structure of a vector space, denoted L(V,W)\mathcal{L}(V, W). The zero element is the zero transformation, and the additive inverse of TT is (1)T(-1)T. When VV and WW are finite-dimensional, this space has dimension dim(V)dim(W)\dim(V) \cdot \dim(W), matching the number of entries in the representing matrix.

Common Pitfalls

Verifying linearity on a handful of specific vectors does not prove linearity. The conditions must hold for all vectors and all scalars simultaneously. A function can satisfy T(u+v)=T(u)+T(v)T(\mathbf{u} + \mathbf{v}) = T(\mathbf{u}) + T(\mathbf{v}) for certain pairs while failing for others.

The condition T(0)=0T(\mathbf{0}) = \mathbf{0} is necessary but not sufficient. Passing it eliminates many non-examples quickly, but a function with T(0)=0T(\mathbf{0}) = \mathbf{0} can still fail additivity or homogeneity. The function T(x)=xxT(x) = x|x| satisfies T(0)=0T(0) = 0 but is not linear.

A component-by-component check works for maps defined by explicit formulas. If T(x1,,xn)=(f1(x),,fm(x))T(x_1, \dots, x_n) = (f_1(\mathbf{x}), \dots, f_m(\mathbf{x})), then TT is linear if and only if each component function fif_i is a linear expression in x1,,xnx_1, \dots, x_n — meaning fi=ai1x1+ai2x2++ainxnf_i = a_{i1}x_1 + a_{i2}x_2 + \cdots + a_{in}x_n with no constant term. Any constant, product, power, or nonlinear function appearing in any component disqualifies the entire map.