Practice: Linear Transformations

Recognition · Comparison

Consider S ( x , y ) = ( x + 1 , y ) and Q ( x , y ) = ( x 2 , y ) . Neither is linear. Which statement is correct?

2 hints available, least help first.

Hint 1: Retrieval cue

Evaluate each map at ( 0 , 0 ) before anything else.

Hint 2: Concept cue

For the map that fixes the origin, compare Q ( 2 v ) with 2 Q ( v ) at v = ( 1 , 1 ) .

Direct application

Let T : R 2 → R 2 be T ( x , y ) = ( x + 2 y , 3 x − y ) , and let A be its matrix with respect to the standard basis.

What is the entry in row 2, column 1 of A ?

Enter the value. It is checked against the answer and the precision this task asks for.

2 hints available, least help first.

Hint 1: Retrieval cue

Which basis vector does column 1 correspond to?

Hint 2: Concept cue

Compute T ( 1 , 0 ) and write it vertically as the first column.

Direct application · Prediction

A linear map T : R 7 → R 4 has a kernel of dimension 5.

What is the dimension of its image?

Enter the value. It is checked against the answer and the precision this task asks for.

2 hints available, least help first.

Hint 1: Retrieval cue

Which space's dimension appears on the right-hand side of rank–nullity?

Hint 2: Concept cue

The map starts in R 7 . Subtract the nullity from 7.

Construction · Classification · Explanation

(a) Let F : R 3 → R 2 be F ( x , y , z ) = ( x − z , 2 x + y − 2 z ) . Show it is linear, give its matrix with respect to the standard bases, and determine its kernel and image with their dimensions. Check rank–nullity.

(b) Let G : R 2 → R 2 be G ( x , y ) = ( x y , y ) . Decide whether it is linear, giving an explicit counterexample and naming the condition it breaks. State whether the origin test detects the failure.

(c) Let H : P 2 → P 2 on polynomials of degree at most 2 be H ( p ) ( x ) = p ( x ) − p ( 0 ) . Decide whether it is linear, and if so give its matrix with respect to the basis 1 , x , x 2 and determine its kernel and image with their dimensions. Check rank–nullity.

(d) Two of these maps have a nontrivial kernel. Say what each one loses, and why a map with a nontrivial kernel cannot be injective.

Write your answer, then compare it with the worked solution.

3 hints available, least help first.

Hint 1: Retrieval cue

For each matrix, apply the map to each basis vector in turn and write the results as columns.

Hint 2: Concept cue

To find a kernel, set the output to zero and solve the resulting system; describe the answer as a spanned subspace, not as one example.

Hint 3: Strategy cue

In part (c) the vectors are polynomials. Their coordinates with respect to 1 , x , x 2 are what the matrix acts on.

Compare with the worked solution

Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.

(a) F is linear. For u = ( x 1 , y 1 , z 1 ) and v = ( x 2 , y 2 , z 2 ) , the first component of F ( u + v ) is ( x 1 + x 2 ) − ( z 1 + z 2 ) = ( x 1 − z 1 ) + ( x 2 − z 2 ) , the sum of the first components of F ( u ) and F ( v ) ; the second behaves the same way. For scaling, each component of F ( a v ) carries out one factor of a . Both conditions hold for arbitrary arguments. Matrix. F ( 1 , 0 , 0 ) = ( 1 , 2 ) , F ( 0 , 1 , 0 ) = ( 0 , 1 ) , F ( 0 , 0 , 1 ) = ( − 1 , − 2 ) , so

A = ( 1 0 − 1 2 1 − 2 ) .

Kernel. F ( x , y , z ) = ( 0 , 0 ) requires x − z = 0 and 2 x + y − 2 z = 0 . The first gives x = z ; substituting, 2 z + y − 2 z = y = 0 . So the kernel is { ( z , 0 , z ) : z ∈ R } , the line spanned by ( 1 , 0 , 1 ) , of dimension 1. Checking: F ( 1 , 0 , 1 ) = ( 1 − 1 , 2 + 0 − 2 ) = ( 0 , 0 ) ✓. Image. Columns 1 and 2 are ( 1 , 2 ) and ( 0 , 1 ) , which are independent, so the image is all of R 2 , dimension 2. (Column 3 is − 1 times column 1, contributing nothing new.) Rank–nullity. 1 + 2 = 3 = dim ⁡ R 3 ✓. (b) G is not linear. It fails homogeneity, and additivity as well. Take v = ( 1 , 1 ) and a = 2 : G ( 2 v ) = G ( 2 , 2 ) = ( 4 , 2 ) , while 2 G ( v ) = 2 ( 1 , 1 ) = ( 2 , 2 ) . These differ, so G ( a v ) ≠ a G ( v ) . Additivity also fails: G ( 1 , 0 ) + G ( 0 , 1 ) = ( 0 , 0 ) + ( 0 , 1 ) = ( 0 , 1 ) , while G ( 1 , 1 ) = ( 1 , 1 ) . The origin test does not detect it. G ( 0 , 0 ) = ( 0 ⋅ 0 , 0 ) = ( 0 , 0 ) , so G fixes the origin. That test can only rule a map out; passing it establishes nothing, and here the failure is visible only under scaling or addition. (c) H is linear. H ( p ) = p − p ( 0 ) subtracts the constant term. For p , q ∈ P 2 ,

H ( p + q ) = ( p + q ) − ( p + q ) ( 0 ) = ( p − p ( 0 ) ) + ( q − q ( 0 ) ) = H ( p ) + H ( q ) ,

using that evaluation at 0 is itself linear, and H ( a p ) = a p − a p ( 0 ) = a H ( p ) . Matrix with respect to 1 , x , x 2 . H ( 1 ) = 1 − 1 = 0 , so column 1 is zero. H ( x ) = x − 0 = x , giving coordinates ( 0 , 1 , 0 ) . H ( x 2 ) = x 2 − 0 = x 2 , giving ( 0 , 0 , 1 ) . So

B = ( 0 0 0 0 1 0 0 0 1 ) .

Kernel. H ( p ) = 0 means p = p ( 0 ) , a constant. The kernel is the constants, dimension 1. Image. H leaves the x and x 2 terms alone and kills the constant, so the image is { b x + c x 2 } , the polynomials with zero constant term, dimension 2. Rank–nullity. 1 + 2 = 3 = dim ⁡ P 2 ✓. Note H ∘ H = H : subtracting the constant term twice changes nothing after the first time. H is a projection onto the polynomials vanishing at 0, along the constants. (d) What is lost, and why injectivity fails. F has kernel the line spanned by ( 1 , 0 , 1 ) : it collapses that direction to the origin. Concretely ( 1 , 0 , 1 ) and ( 0 , 0 , 0 ) have the same image, as do any u and u + t ( 1 , 0 , 1 ) . H has kernel the constants: it forgets a polynomial's value at 0, so x 2 + 5 and x 2 have the same image. In general, if T ( u ) = 0 for some u ≠ 0 , then for any v ,

T ( v + u ) = T ( v ) + T ( u ) = T ( v ) + 0 = T ( v ) ,

so v and v + u are distinct inputs with equal outputs and T is not injective. Conversely, if the kernel is trivial and T ( v 1 ) = T ( v 2 ) , then T ( v 1 − v 2 ) = 0 forces v 1 = v 2 . So injectivity is exactly the condition ker ⁡ T = { 0 } , which is why the kernel, rather than any count of inputs, is what one computes to decide it.

A complete answer does each of these:

  • tests linearity
  • builds the matrix
  • identifies kernel and image
  • checks rank nullity
  • works beyond coordinates
Practice data

Your practice record is stored in this browser only. Clearing it removes every answer and every scheduled review, and cannot be undone.

Results update as you type. Use the up and down arrow keys to move between results, Enter to open one, and Escape to close.

Type to search.

Settings

Appearance

Interface density

Your record

Your progress is stored in this browser and nowhere else: an identifier, the answers you have given, the mastery states and review schedule derived from them, and the lesson you last opened. Clearing it makes you a new learner on this device. It cannot be undone, and it will not affect your appearance or density settings.

Focus timer

Focus--minutes remaining

Phase

Kept in this browser only, and used to label the session in your own history.

Today

Nothing recorded yet. Finish a focus session and it will appear here.

Settings

Focus sessions between long breaks.

Sessions you are aiming for in a day.

Notifications

Your history

Sessions are stored in this browser and nowhere else. They are not evidence and never reach your mastery record.