Exercise 1: Linear or not: one proof, three counterexamples
A transformation is linear when it respects the two operations of the course: and for all vectors and every scalar . Proving linearity means checking both identities with LETTERS; refuting it takes one explicit set of NUMBERS.
The figure shows the unit square and its image under .
- a) Prove that is linear, using the definition.
- b) Name the feature of the figure that disqualifies at a glance, then confirm with the smallest numerical witness you can find.
- c) sends the origin to the origin. Is it linear? Settle it with numbers.
- d) Prove in one line that every linear transformation sends to . Which of b) and c) can this test decide?
- e) In high school is called a linear function. Is it a linear transformation of ? Which maps are?
Show the solution
Answers
- a) Linear: and hold for all .
- b) Not linear: the origin moves, .
- c) Not linear: but .
- d) ; it decides b) but not c).
- e) No, ; the linear maps of are exactly .
a) Take , and a scalar . Then , and regrouping each coordinate gives . Likewise . Both identities hold for ALL inputs, so is linear. The proof works because every coordinate is a combination of and with no constant term, no product and no power: that is exactly what the chapter's theorem will turn into with . Checking the identities on one or two particular vectors proves nothing: a proof of linearity must use letters.
b) The square has been slid away from the origin: its corner at now sits at . A linear map can stretch, turn, flip or crush the square, but it can never move the origin, so the picture already says no. The smallest witness is the zero vector itself: . If you want the additivity rule to fail visibly as well, while . A translation is the textbook example of a map that is geometrically simple and algebraically NOT linear: the constant and are what break it.
c) passes the origin test, and that proves nothing. Try the scaling rule with on : , but . The two differ, so is not linear. The square is the culprit: doubling the input quadruples the first output. This is the trap the exercise is built around, and it costs the whole part on a midterm: is a NECESSARY condition, never a sufficient one. When the origin test passes you still owe either a proof with letters or a counterexample with numbers.
d) Using homogeneity with : . (Additivity gives it too: , then subtract .) So a map with is not linear, which decides b) in one line. It cannot decide c), because : the test only ever KILLS a candidate, it never saves one. On an exam it is the first thing to try, because it costs five seconds and settles every translation.
e) No. , and additivity fails too: while . What high school calls linear, a straight-line graph, linear algebra calls AFFINE: a linear map plus a translation. The linear transformations are exactly , the lines through the origin, and their matrix is the matrix , whose single column is , the image of the one standard basis vector. Using the high-school meaning of the word in a proof is a vocabulary error that markers penalize every term.