
8 Vectors and Linear Maps
The previous chapter ended with Lipschitz continuity, which bounds how fast a function can change. The next part of the book asks for something sharper. Near a point \(a\), how does \(f\) change exactly, to first order? The answer will be that \(f\) looks like a linear map: \(f(a + h) \approx f(a) + T(h)\), with \(T\) linear and an error that vanishes faster than \(h\). We already know this in one dimension. Chapter 3 showed that \(f(a+h) = f(a) + Lh + o(h)\) is the same statement as “the difference quotient tends to \(L\),” and the map \(h \mapsto Lh\) is linear.
So before defining the derivative, we should say what a linear map is. We do it in the plane \(\mathbb{R}^2\), where arrows are easy to draw and the structure is richer than on the line, and with the understanding that everything below holds on \(\mathbb{R}\) as well, where it collapses to multiplication by a number. The plane reveals structure that one dimension hides, and this is what lets the same definition of the derivative work for functions of several variables later.
A note on notation. Physicists and engineers usually mark vectors: a bold letter \(\mathbf{v}\), an arrow \(\vec v\), or an underline \(\underline{v}\). Mathematicians usually write just \(v\), and let context say what kind of object it is. The two conventions describe the same thing, and since we are doing mathematics, we adopt the second. Vectors are written \(u, v, w\), scalars are real numbers written \(a, b, c, x, y\), and the zero vector is \(0\), the same symbol as the number zero. A phrase like “\(cv = 0\)” is unambiguous, because \(c\) is a scalar and \(v\) a vector. The same convention applies to maps: \(T(v)\) is a vector, \(\varphi(v)\) is a number.
8.1 Vectors and Coordinates
A vector in the plane is an arrow with a length and a direction. We anchor it at the origin, so that it is determined by its tip, written as a column \[ v = \begin{pmatrix} x \\ y \end{pmatrix}. \] Two operations are available. Vectors add, by adding coordinates, and vectors scale, by multiplying every coordinate by a real number: \[ \begin{pmatrix} x_1 \\ y_1 \end{pmatrix} + \begin{pmatrix} x_2 \\ y_2 \end{pmatrix} = \begin{pmatrix} x_1 + x_2 \\ y_1 + y_2 \end{pmatrix}, \qquad c\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} cx \\ cy \end{pmatrix}. \] Together they obey ten familiar rules (commutativity and associativity of addition, a zero vector, additive inverses, and the usual distributive laws for scalars). A set with such operations is called a vector space, and \(\mathbb{R}^2\) is the example we use. The rules are routine to check coordinate by coordinate, and we will use them without comment. The only consequence we need is the following: combining vectors by adding and scaling gives a vector again.
Definition 8.1 (Linear Combination) A linear combination of \(v_1, \dots, v_n \in \mathbb{R}^2\) is a vector of the form \[ c_1 v_1 + c_2 v_2 + \dots + c_n v_n, \qquad c_1, \dots, c_n \in \mathbb{R}. \] The numbers \(c_i\) are the weights.
Coordinates are a description of a vector as a linear combination. The pair \((x, y)\) in \(\begin{pmatrix} x \\ y \end{pmatrix}\) means that \(v = x e_1 + y e_2\), where \(e_1 = \begin{pmatrix} 1 \\ 0 \end{pmatrix}\) and \(e_2 = \begin{pmatrix} 0 \\ 1 \end{pmatrix}\). But nothing forces us to use these two arrows. Any pair that allows every vector to be described, in exactly one way, will do.
Definition 8.2 (Basis) A pair \(e_1, e_2 \in \mathbb{R}^2\) is a basis if every \(v \in \mathbb{R}^2\) can be written uniquely as \[ v = x e_1 + y e_2, \qquad x, y \in \mathbb{R}. \] The numbers \(x, y\) are the coordinates of \(v\) relative to the basis.
The word uniquely is doing the work. Existence says the pair reaches every vector, and uniqueness says no vector is reached twice, so the coordinates are a well-defined name.
Example 1. Let \(v = \begin{pmatrix} 6 \\ 4 \end{pmatrix}\). In the standard basis, \(v = 6e_1 + 4e_2\), and its coordinates are \((6, 4)\). Now use \(f_1 = \begin{pmatrix} 2 \\ 1 \end{pmatrix}\) and \(f_2 = \begin{pmatrix} 1 \\ 1 \end{pmatrix}\). We want \(x f_1 + y f_2 = v\), which in coordinates is the system \[ 2x + y = 6, \qquad x + y = 4. \] Subtracting gives \(x = 2\), and then \(y = 2\). So \(v = 2f_1 + 2f_2\), and relative to \((f_1, f_2)\) the coordinates of \(v\) are \((2, 2)\). As a check, \(2\begin{pmatrix} 2 \\ 1 \end{pmatrix} + 2\begin{pmatrix} 1 \\ 1 \end{pmatrix} = \begin{pmatrix} 6 \\ 4 \end{pmatrix}\).
The vector \(v\) did not move. Only the numbers we use to describe it changed, from \((6,4)\) to \((2,2)\). The arrow is an intrinsic object, and the coordinates are a choice. That tension runs through the whole subject: to compute we must pick a basis, but the answers that matter must not depend on the pick.


What goes wrong if the pair is chosen badly? Take \(e_1\) and \(e_2 = 2e_1\). Then every combination \(xe_1 + ye_2 = (x + 2y)e_1\) lies on a single line, so most vectors are not reached. And a vector that is reached is reached in many ways: \((x, y)\) and \((x + 2, y - 1)\) give the same one. The condition that excludes this is the next definition.
Definition 8.3 (Linear Independence) Vectors \(v_1, \dots, v_n\) are linearly independent if \[ c_1 v_1 + \dots + c_n v_n = 0 \quad\Longrightarrow\quad c_1 = \dots = c_n = 0. \] Otherwise they are linearly dependent.
For two vectors this says that neither is a multiple of the other, so they point in genuinely different directions. Any basis is independent: if \(c_1 e_1 + c_2 e_2 = 0\), then since also \(0e_1 + 0e_2 = 0\), uniqueness of coordinates forces \(c_1 = c_2 = 0\). The converse is the surprising and useful part. Two independent vectors are always enough, and the reason is that the plane has no room for a third.
Theorem 8.1 (Three Vectors in the Plane Are Dependent) Any three vectors \(v_1, v_2, v_3 \in \mathbb{R}^2\) are linearly dependent.
The idea is to count: the equation \(c_1v_1 + c_2v_2 + c_3v_3 = 0\) is two equations in three unknowns, and such a system always has a nontrivial solution. We prove it directly rather than quoting that fact.
Write \(v_i = \begin{pmatrix} a_i \\ b_i \end{pmatrix}\) and let \(d = a_1b_2 - a_2b_1\).
If \(d \ne 0\), solve \(c_1v_1 + c_2v_2 = -v_3\) by Cramer’s rule: \(c_1 = \dfrac{a_2b_3 - a_3b_2}{d}\) and \(c_2 = \dfrac{a_3b_1 - a_1b_3}{d}\). (Substitution confirms both equations.) Together with \(c_3 = 1\) this is a nontrivial solution.
If \(d = 0\), then \(v_1, v_2\) are already dependent, and we use \(c_3 = 0\). If \((a_1, a_2) \ne (0,0)\), take \((c_1, c_2) = (a_2, -a_1)\): the first coordinate of \(c_1v_1 + c_2v_2\) is \(a_2a_1 - a_1a_2 = 0\) and the second is \(a_2b_1 - a_1b_2 = -d = 0\). If instead \(a_1 = a_2 = 0\) but \((b_1, b_2) \ne (0,0)\), take \((c_1, c_2) = (b_2, -b_1)\). If all four numbers vanish, then \(v_1 = 0\) and \((c_1, c_2, c_3) = (1, 0, 0)\) works. \(\square\)
Corollary 8.1 (Independent Pairs Are Bases) If \(e_1, e_2 \in \mathbb{R}^2\) are linearly independent, then they form a basis.
Let \(v \in \mathbb{R}^2\). By Theorem 8.1, \(v, e_1, e_2\) are dependent: there are \(c_0, c_1, c_2\), not all zero, with \(c_0v + c_1e_1 + c_2e_2 = 0\). If \(c_0 = 0\), then \(c_1e_1 + c_2e_2 = 0\) with \(c_1\) or \(c_2\) nonzero, contradicting independence. So \(c_0 \ne 0\), and \(v = -\frac{c_1}{c_0}e_1 - \frac{c_2}{c_0}e_2\).
For uniqueness, if \(xe_1 + ye_2 = x'e_1 + y'e_2\), then \((x - x')e_1 + (y - y')e_2 = 0\), so independence gives \(x = x'\) and \(y = y'\). \(\square\)
The number of vectors in a basis is a property of the space, not of the basis: two for the plane, one for the line. This count is called the dimension, and it is the number of independent directions of motion.
8.2 Linear Maps
A basis tells us how to name vectors. A linear map is a way of moving them, in a manner compatible with adding and scaling. A rotation takes the arrow \(e_1\) to the arrow \(e_2\). That is a change of the vector itself, whereas a change of basis leaves the vector alone and changes only its name.
Definition 8.4 (Linear Map) A map \(T : \mathbb{R}^2 \to \mathbb{R}^2\) is linear if for all \(u, v \in \mathbb{R}^2\) and \(c \in \mathbb{R}\), \[ T(u + v) = T(u) + T(v), \qquad T(cv) = c\,T(v). \]
Rotations, reflections, stretches and shears are linear. A translation is not, and the first condition fails for a quick reason.
Theorem 8.2 (Linear Maps Fix the Origin) If \(T\) is linear, then \(T(0) = 0\).
For any \(v\), \(T(0) = T(0 \cdot v) = 0 \cdot T(v) = 0\). \(\square\)
So \(T(v) = v + b\) with \(b \ne 0\) is not linear, since \(T(0) = b \ne 0\). This is worth remembering. The tangent line to a curve is not a linear map in this sense, because it does not pass through the origin. What will be linear is the map from the displacement \(h\) to the change in \(f\), and that does fix the origin: \(h = 0\) gives change \(0\).
The second remark about linear maps is that they are cheap to describe. If \(v = c_1e_1 + c_2e_2\), then \[ T(v) = c_1T(e_1) + c_2T(e_2). \] Knowing where the two basis vectors go tells you where every vector goes. This is why linear maps of the plane can be encoded by four numbers (a matrix), although we will not need matrices here.
Example 2. Suppose \(T(e_1) = 2e_1\) and \(T(e_2) = e_1 + e_2\). For \(v = 4e_1 + 2e_2\), \[ T(v) = 4(2e_1) + 2(e_1 + e_2) = 10e_1 + 2e_2. \]
In one dimension the whole story simplifies.
Proposition 8.1 (Linear Maps of the Line) A map \(T : \mathbb{R} \to \mathbb{R}\) is linear if and only if \(T(x) = ax\) for some \(a \in \mathbb{R}\).
If \(T\) is linear, then \(T(x) = T(x \cdot 1) = x\,T(1)\), so \(a = T(1)\). Conversely, \(x \mapsto ax\) satisfies \(a(x + y) = ax + ay\) and \(a(cx) = c(ax)\). \(\square\)
That is the point of the chapter in one line. A linear map of the line is multiplication by a number. When we later write \(f(a+h) = f(a) + Lh + o(h)\), the number \(L\) is the whole linear map \(h \mapsto Lh\), and calling it the derivative means identifying a linear map with its single coefficient.
8.2.1 Sums and Compositions
If \(S, T\) are linear, so is \(S + T\), defined by \((S + T)(v) = S(v) + T(v)\): each linearity condition for the sum is the sum of the two conditions. More important is composition, applying one map after another.
Theorem 8.3 (Composition of Linear Maps) If \(S, T\) are linear, then so is \(T \circ S\).
\((T \circ S)(u + v) = T(S(u) + S(v)) = T(S(u)) + T(S(v))\), using linearity of \(S\) and then of \(T\). Likewise \((T \circ S)(cv) = T(cS(v)) = c\,T(S(v))\). \(\square\)
On the line, composition is the product of the two numbers: if \(S(x) = dx\) and \(T(x) = cx\), then \((T \circ S)(x) = cdx\). The product is commutative, so it does not matter which map comes first. In the plane it does matter.
Example 3. Let \(R\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} -y \\ x \end{pmatrix}\) be the rotation by \(90°\) and \(F\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} x \\ -y \end{pmatrix}\) the reflection in the \(x\)-axis. Then \[ R(F(x,y)) = R(x, -y) = (y, x), \qquad F(R(x,y)) = F(-y, x) = (-y, -x). \] These are different maps: at \(e_1 = (1, 0)\) one gives \((0, 1)\) and the other gives \((0, -1)\). Linearity says nothing about the order of operations, and order matters as soon as the dimension exceeds one.

This will matter later. For functions of one variable, the chain rule will say that the linear approximation of a composition is the composition of the linear approximations, and since composition on the line is multiplication of numbers, the rule will read as a product. In higher dimensions the same sentence stays true, but the product becomes a composition and the order cannot be swapped.
8.3 Linear Functionals
A linear map sends vectors to vectors. A linear functional sends vectors to numbers, and it is the kind of linear map we will meet first in the derivative. Think of it as a measurement: it assigns a number to every displacement.
Definition 8.5 (Linear Functional) A map \(\varphi : \mathbb{R}^2 \to \mathbb{R}\) is a linear functional if for all \(u, v\) and \(c\), \[ \varphi(u + v) = \varphi(u) + \varphi(v), \qquad \varphi(cv) = c\,\varphi(v). \]
A functional is determined by two numbers, its values on the basis: \(\varphi(e_1) = a\) and \(\varphi(e_2) = b\). Then for \(v = xe_1 + ye_2\), linearity forces \[ \varphi(v) = ax + by. \] It is customary to write \(\varphi\) as a row, so that applying it looks like a product: \[ \varphi(v) = \begin{pmatrix} a & b \end{pmatrix}\begin{pmatrix} x \\ y \end{pmatrix} = ax + by. \] The row and column notation only organizes the bookkeeping. It says that vectors and functionals are different kinds of objects, one a displacement and one a gauge for displacements, which happen to have the same number of components.
Example 4. Let \(\ell(x, y) = 3x - 2y\). The vector \(h = (1, 0)\) is measured at \(3\), the vector \((0, 1)\) at \(-2\), and \((2, 3)\) at \(0\). The set where \(\ell = 0\) is the line \(3x = 2y\), and the set where \(\ell = c\) is the parallel line \(3x - 2y = c\). A functional slices the plane into parallel lines, its level sets.

The line \(\ell = 0\) is the set of displacements that the functional cannot see. Moving along a level line changes nothing, and moving across them changes \(\ell\) as fast as possible. This is the geometry we will need. A function \(f\) of two variables near a point will be measured by a functional, and the level curves of \(f\) will point along its kernel.

Example 5. The temperature in a room is \(T(x, y) = 20 + 2x - 3y\). Standing at a point, the change in temperature when you move by \(h = (h_1, h_2)\) is \(2h_1 - 3h_2\). This is a linear functional of \(h\). A step of one meter east, \(h = (1, 0)\), warms by \(2\) degrees, and a step north, \(h = (0, 1)\), cools by \(3\). This functional, the best linear description of how \(T\) responds to displacement, is what we will call the differential of \(T\).
The simplest functionals are the coordinate projections \(\pi_1(x, y) = x\) and \(\pi_2(x, y) = y\). They are linear, since \(\pi_1(u + v) = u_1 + v_1 = \pi_1(u) + \pi_1(v)\) and \(\pi_1(cv) = cv_1\), and likewise for \(\pi_2\). And they generate all the others, because the formula above says exactly \[ \varphi = a\,\pi_1 + b\,\pi_2, \qquad a = \varphi(e_1),\ b = \varphi(e_2). \] In this sense the functionals form a plane of their own, with basis \(\pi_1, \pi_2\). When the basis of the plane changes, the coordinates of vectors change one way and the coordinates of functionals change the opposite way, so that the number \(\varphi(v)\) stays the same. On the line the two spaces are both \(\mathbb{R}\), and the distinction disappears, which is why the one-variable derivative is just a number.
8.4 Length and the Euclidean Norm
The derivative will be defined by an error that vanishes faster than the displacement, so we need to measure the size of a vector. On the line we used \(|x|\), and the properties of the distance \(|p - q|\) (non-negativity, symmetry, triangle inequality) were all that the proofs used (Section 3.1.1). The plane needs a replacement.
Definition 8.6 (Euclidean Norm) The norm of \(v = \begin{pmatrix} x \\ y \end{pmatrix}\) is \[ \|v\| = \sqrt{x^2 + y^2}. \] The distance between \(u\) and \(v\) is \(\|u - v\|\).
This is the length of the arrow, by Pythagoras. On \(\mathbb{R}\) it is \(|x|\). It has the three expected properties: \(\|v\| \ge 0\) with equality only for \(v = 0\); \(\|cv\| = |c|\,\|v\|\); and the triangle inequality \(\|u + v\| \le \|u\| + \|v\|\). The first two are immediate from the formula. The third needs an argument, and the key is an inequality that also controls functionals.
Lemma 8.1 (Cauchy–Schwarz Inequality) For all real numbers \(a, b, x, y\), \[ |ax + by| \le \sqrt{a^2 + b^2}\,\sqrt{x^2 + y^2}. \]
The proof is a single identity that shows the difference of the two squares is itself a square.
Expanding both sides shows \[ (a^2 + b^2)(x^2 + y^2) - (ax + by)^2 = (ay - bx)^2 \ge 0. \] So \((ax + by)^2 \le (a^2 + b^2)(x^2 + y^2)\). Take square roots. \(\square\)
In words, a functional with weights \((a, b)\) cannot return more than \(\|(a,b)\|\,\|v\|\) on \(v\). As a check, \(\ell(x,y) = 3x - 2y\) gives \(|\ell(v)| \le \sqrt{13}\,\|v\|\), with equality at \(v = (3, -2)\), where \(\ell = 13 = \sqrt{13}\cdot\sqrt{13}\).
Triangle inequality. Write \(u = (u_1, u_2)\) and \(v = (v_1, v_2)\). Then \[ \|u + v\|^2 = \|u\|^2 + 2(u_1v_1 + u_2v_2) + \|v\|^2 \le \|u\|^2 + 2\|u\|\,\|v\| + \|v\|^2 = (\|u\| + \|v\|)^2, \] where the inequality is Lemma 8.1 with \((a, b) = u\) and \((x, y) = v\). Taking square roots finishes it. Everything we proved about limits using only the triangle inequality, such as uniqueness of limits and the algebra of limits, now works for vectors, with \(\|\cdot\|\) in place of \(|\cdot|\).
The same inequality shows that linear functionals are well behaved.
Proposition 8.2 (Functionals Are Lipschitz) If \(\varphi(x, y) = ax + by\), then \(|\varphi(u) - \varphi(v)| \le \sqrt{a^2 + b^2}\,\|u - v\|\) for all \(u, v\). In particular \(\varphi\) is Lipschitz with constant \(\sqrt{a^2+b^2}\), and hence uniformly continuous.
By linearity \(\varphi(u) - \varphi(v) = \varphi(u - v)\), and Lemma 8.1 bounds its size by \(\sqrt{a^2 + b^2}\,\|u - v\|\). The remaining claim is Proposition 7.2. \(\square\)
This is the reason linear approximation is a safe idea: a linear map cannot behave wildly. A small displacement produces a small change, with a fixed exchange rate. The norm itself is an example of the same kind.
Proposition 8.3 (The Norm Is Continuous) For all \(u, v \in \mathbb{R}^2\), \(\big|\,\|u\| - \|v\|\,\big| \le \|u - v\|\). In particular \(v \mapsto \|v\|\) is Lipschitz with constant \(1\), and \(v_n \to v\) implies \(\|v_n\| \to \|v\|\).
By the triangle inequality, \(\|u\| = \|(u - v) + v\| \le \|u - v\| + \|v\|\), so \(\|u\| - \|v\| \le \|u - v\|\). Exchanging \(u\) and \(v\) gives \(\|v\| - \|u\| \le \|u - v\|\). Together these are the claim. Continuity follows from Proposition 7.2. \(\square\)
The proof is identical to the reverse triangle inequality on the line (Example 9 of the previous chapter), which is the point of building the plane on the same three properties.
8.5 Where This Leads
Every ingredient of the next chapter is now in place. Take \(f : \mathbb{R} \to \mathbb{R}\) and a point \(a\). In Chapter 3 we saw that \[ f(a + h) = f(a) + Lh + o(h) \quad\text{as } h \to 0 \] is equivalent to \(\frac{f(a+h) - f(a)}{h} \to L\). The map \(T(h) = Lh\) is linear (Proposition 8.1), and the statement says that the error \(f(a+h) - f(a) - T(h)\) is small compared with \(h\). Written with the norm, the condition reads \[ \lim_{h \to 0}\frac{\|f(a+h) - f(a) - T(h)\|}{\|h\|} = 0, \] and in this form it makes sense for functions of several variables too, where \(h\) is a vector and \(T\) a linear map. The derivative is the linear map \(T\) for which this holds. The chain rule will be composition of linear maps (Theorem 8.3), and the product of numbers on the line is just its one-dimensional face.
- Vectors add and scale, and a linear combination is the result of doing both. A basis is a pair of vectors that names every vector in exactly one way, and coordinates are those names. The vector does not change when the basis does.
- Independence is the condition that makes coordinates unique. The plane has room for two independent vectors and no more, so any independent pair is a basis. The number of vectors in a basis is the dimension.
- A linear map preserves addition and scaling, so it fixes \(0\) and is determined by what it does to a basis. On the line it is multiplication by a number.
- Composition of linear maps is linear, and in the plane it depends on the order. This is why the chain rule will be a product in one variable and a composition in several.
- A linear functional sends vectors to numbers by \(ax + by\). Its level sets are parallel lines, and the kernel is the set of displacements it cannot see.
- The norm measures size, satisfies the triangle inequality, and is continuous. Functionals are Lipschitz, so linear approximation never produces wild behavior.
Vectors and bases.
Show that the set \(\{(x, mx) : x \in \mathbb{R}\}\) is closed under addition and scalar multiplication and contains \(0\). Give a basis.
Show that \(f_1 = (2,1)\) and \(f_2 = (1,1)\) are linearly independent, and find the coordinates of \((5,3)\) relative to them.
Find the coordinates of \((3,1)\) relative to \((1,1), (1,-1)\).
Show that \((1,2)\) and \((-2,-4)\) are dependent, and that they do not form a basis.
Linear maps.
If \(T(e_1) = 2e_1\), \(T(e_2) = e_1 + e_2\) and \(T\) is linear, compute \(T(4e_1 + 2e_2)\).
Decide which are linear, and prove it or give a counterexample: \(T(x,y) = (x + y, 2x)\); \(T(x,y) = (x+1, y)\); \(T(x,y) = (xy, x)\).
Show that \(T(v) = cv + b\) is linear if and only if \(b = 0\).
Composition.
Let \(S(x,y) = (x + y, y)\) and \(R(x,y) = (-y, x)\). Compute \(R \circ S\) and \(S \circ R\).
Show that on \(\mathbb{R}\) any two linear maps commute.
Functionals and the norm.
For \(\ell(x, y) = 3x - 2y\), describe the level set \(\{\ell = 0\}\) and find a vector \(v \ne 0\) in it.
Show that \(|\ell(v)| \le \sqrt{13}\,\|v\|\) for all \(v\), and find a \(v\) with equality.
Show that if \(\varphi(x,y) = ax + by\) with \((a,b) \ne 0\), then the set \(\{\varphi = 0\}\) is a line through the origin.
Prove the identity used in Lemma 8.1.
Linear approximation on the line.
For \(f(x) = x^2\) and \(a = 1\), show that \(f(1 + h) - f(1) - 2h = h^2\) and conclude that \(f(1 + h) = f(1) + 2h + o(h)\).
Show that \(T(h) = 3h\) does not work for \(f(x) = x^2\) at \(a = 1\), that is, \(\frac{f(1+h) - f(1) - 3h}{h} \not\to 0\).
Explain why the linear map in (a) is the only one that works.
\((x_1, mx_1) + (x_2, mx_2) = (x_1 + x_2, m(x_1 + x_2))\) and \(c(x, mx) = (cx, m(cx))\), and \(x = 0\) gives \(0\). A basis is \((1, m)\), so the dimension is \(1\).
If \(c_1(2,1) + c_2(1,1) = 0\), then \(2c_1 + c_2 = 0\) and \(c_1 + c_2 = 0\), so \(c_1 = 0\) and then \(c_2 = 0\). For \((5,3)\): \(2x + y = 5\) and \(x + y = 3\) give \(x = 2\), \(y = 1\). Check: \(2(2,1) + (1,1) = (5,3)\).
\(c_1 + c_2 = 3\) and \(c_1 - c_2 = 1\) give \(c_1 = 2\), \(c_2 = 1\).
\((-2,-4) = -2\,(1,2)\), so \(2(1,2) + 1\,(-2,-4) = 0\) is a nontrivial relation. They lie on one line, so \((1,0)\) is not a combination of them, and they are not a basis.
\(T(4e_1 + 2e_2) = 4(2e_1) + 2(e_1 + e_2) = 10e_1 + 2e_2\).
\(T(x,y) = (x+y, 2x)\) is linear: \(T(u+v) = (u_1+v_1+u_2+v_2,\ 2u_1+2v_1) = T(u) + T(v)\), and \(T(cv) = cT(v)\). \(T(x,y) = (x+1,y)\) is not, since \(T(0) = (1,0) \ne 0\). \(T(x,y) = (xy, x)\) is not: \(T(1,1) = (1,1)\) but \(T(2,2) = (4,2) \ne 2T(1,1) = (2,2)\).
\(T(0) = b\), so linearity forces \(b = 0\) by Theorem 8.2. If \(b = 0\), then \(T(u+v) = c(u+v) = cu + cv\) and \(T(kv) = ckv = kT(v)\).
\(R(S(x,y)) = R(x+y, y) = (-y,\ x+y)\) and \(S(R(x,y)) = S(-y, x) = (x - y,\ x)\). At \((1,0)\) the first gives \((0,1)\) and the second \((1,1)\), so they differ.
By Proposition 8.1 the maps are \(x \mapsto cx\) and \(x \mapsto dx\), and \((T\circ S)(x) = cdx = dcx = (S \circ T)(x)\).
\(\{\ell = 0\}\) is the line \(3x = 2y\), and \(v = (2,3)\) lies in it: \(\ell(2,3) = 6 - 6 = 0\).
By Lemma 8.1, \(|3x - 2y| \le \sqrt{9 + 4}\,\sqrt{x^2 + y^2} = \sqrt{13}\,\|v\|\). At \(v = (3,-2)\), \(\ell(v) = 13\) and \(\sqrt{13}\,\|v\| = \sqrt{13}\sqrt{13} = 13\), so equality holds.
If \(a \ne 0\), then \(ax + by = 0\) gives \(x = -\frac{b}{a}y\), so the set is \(\{t(-b, a) : t \in \mathbb{R}\}\) with \((-b,a) \ne 0\). If \(a = 0\) then \(b \ne 0\) and the set is \(\{(x, 0)\}\). Either way it is a line through the origin.
\((a^2+b^2)(x^2+y^2) = a^2x^2 + a^2y^2 + b^2x^2 + b^2y^2\), and \((ax+by)^2 = a^2x^2 + 2abxy + b^2y^2\). The difference is \(a^2y^2 - 2abxy + b^2x^2 = (ay - bx)^2\).
\(f(1+h) - f(1) - 2h = (1 + 2h + h^2) - 1 - 2h = h^2\), and \(\frac{h^2}{h} = h \to 0\).
\(\frac{f(1+h) - f(1) - 3h}{h} = \frac{h^2 - h}{h} = h - 1 \to -1 \ne 0\).
Suppose \(T(h) = Lh\) works. Then \(\frac{h^2 + 2h - Lh}{h} = h + 2 - L \to 2 - L\), which is \(0\) only if \(L = 2\).