LINEAR-ALGEBRA ยท Interactive Practice | Unit 29 ยท Video 1

The Two Rules That Define Linearity

IKey Formulas

Formula Name Description
T(v+w)=T(v)+T(w)T(v + w) = T(v) + T(w) Additivity Transforming a sum equals summing the transforms
T(cv)=cโ€‰T(v)T(cv) = c\,T(v) Homogeneity Scaling commutes with the transformation
T(cv+dw)=cโ€‰T(v)+dโ€‰T(w)T(cv + dw) = c\,T(v) + d\,T(w) Unified linearity rule Both rules in one equation
T(0)=0T(\mathbf{0}) = \mathbf{0} Zero diagnostic Required for linearity (fastest check)

IIVisualization 1 โ€” The Linearity Test

Linearity demands T(cv+dw)=cโ€‰T(v)+dโ€‰T(w)T(cv + dw) = c\,T(v) + d\,T(w) for every choice โ€” do both sides land on the same vector?

INPUT โ€” combine first

OUTPUT โ€” T(cv+dw) vs cT(v)+dT(w)

๐Ÿ’ก Every cc and dd must agree โ€” a single disagreeing pair is enough to prove TT is not linear.

IIIVisualization 2 โ€” The Zero-Vector Diagnostic

A linear map must fix the origin; a shift drags it to (1,2)(1, 2) and fails on sight.

๐Ÿ’ก Passing the diagnostic can't prove linearity โ€” but failing it disproves linearity instantly.

IVVisualization 3 โ€” Every Linear Map Is a Matrix

Every linear map is a matrix: its columns are just where the basis vectors ฤฑ^\hat{\imath} and ศท^\hat{\jmath} land.

๐Ÿ’ก detโกA\det A is the signed area of the transformed unit square โ€” a negative value means the map flips orientation, and 00 collapses the plane onto a line.

VQuiz Questions

Question 1

Which single equation captures both the additivity and homogeneity rules of linearity?

โœ… Correct! This unified equation encodes both rules at once.

โŒ Not quite. Look for the form that scales each vector by its scalar before transforming, then keeps those scalars on the right side.

Show solution

Solution:

Additivity says T(v+w)=T(v)+T(w)T(v + w) = T(v) + T(w) and homogeneity says T(cv)=cโ€‰T(v)T(cv) = c\,T(v). Combining them:

T(cv+dw)=T(cv)+T(dw)=cโ€‰T(v)+dโ€‰T(w)T(cv + dw) = T(cv) + T(dw) = c\,T(v) + d\,T(w)

This single equation, required to hold for every choice of vectors v,wv, w and scalars c,dc, d, is the complete definition of linearity.

Question 2

Consider the shift transformation T(v)=v+v0T(v) = v + v_0 where v0=(1,2)v_0 = (1, 2) is a fixed nonzero vector. Which statement is true?

โœ… Correct! The fastest diagnostic โ€” origin must map to origin โ€” rules shifts out immediately.

โŒ Not quite. Apply the zero-vector diagnostic: what is T(0)T(\mathbf{0})?

Show solution

Solution:

Apply the zero-vector diagnostic:

T(0)=0+v0=(1,2)โ‰ 0T(\mathbf{0}) = \mathbf{0} + v_0 = (1, 2) \neq \mathbf{0}

Since linear transformations must send 0\mathbf{0} to 0\mathbf{0}, TT cannot be linear.

You can also see the failure of additivity directly: T(v+w)=v+w+v0butT(v)+T(w)=v+w+2v0T(v + w) = v + w + v_0 \quad \text{but} \quad T(v) + T(w) = v + w + 2v_0

An extra v0v_0 appears on the right. Shifts are called affine, not linear.

Question 3

Let T(v)=โˆฅvโˆฅT(v) = \|v\| (the norm/length of vv). Suppose vv is a vector with โˆฅvโˆฅ=3\|v\| = 3. Computing T(โˆ’2v)T(-2v) and โˆ’2โ‹…T(v)-2 \cdot T(v) gives:

โœ… Correct! Norm is non-negative, so it can't track the sign flip โ€” homogeneity fails.

โŒ Not quite. Remember that โˆฅโˆ’2vโˆฅ=2โˆฅvโˆฅ\|-2v\| = 2\|v\| (always non-negative), but โˆ’2โ‹…โˆฅvโˆฅ-2 \cdot \|v\| keeps the negative sign.

Show solution

Solution:

Norm is always non-negative, so: T(โˆ’2v)=โˆฅโˆ’2vโˆฅ=2โˆฅvโˆฅ=2โ‹…3=6T(-2v) = \|-2v\| = 2\|v\| = 2 \cdot 3 = 6

But scaling the output by โˆ’2-2: โˆ’2โ‹…T(v)=โˆ’2โ‹…โˆฅvโˆฅ=โˆ’2โ‹…3=โˆ’6-2 \cdot T(v) = -2 \cdot \|v\| = -2 \cdot 3 = -6

Since 6โ‰ โˆ’66 \neq -6, homogeneity fails for the negative scalar c=โˆ’2c = -2. Therefore norm is not a linear transformation, even though T(0)=0T(\mathbf{0}) = 0 passes the diagnostic. Negative scalars expose the failure.

Question 4

True or False: If T(0)=0T(\mathbf{0}) = \mathbf{0}, then TT must be linear.

โœ… Correct! The diagnostic is necessary but not sufficient โ€” norm is a clean counterexample.

โŒ Not quite. Can you think of a transformation that fixes the origin but still violates one of the two linearity rules? (Hint: think about norm.)

Show solution

Solution:

False. The condition T(0)=0T(\mathbf{0}) = \mathbf{0} is necessary but not sufficient for linearity.

Counterexample: the norm T(v)=โˆฅvโˆฅT(v) = \|v\| satisfies T(0)=0T(\mathbf{0}) = 0, but as we saw, it fails homogeneity for negative scalars. So TT is not linear.

The zero diagnostic is a fast way to rule out linearity (if T(0)โ‰ 0T(\mathbf{0}) \neq \mathbf{0}, definitely not linear), but to confirm linearity you must verify T(cv+dw)=cโ€‰T(v)+dโ€‰T(w)T(cv + dw) = c\,T(v) + d\,T(w) for all vectors and scalars.

Solved: 0 / 4