Tutorials › Linear Algebra › Pointwise Operations on Linear Maps

Matrix Representations of Linear Maps · Tutorial 445 of 1000

Pointwise Operations on Linear Maps

Learn to combine linear maps by evaluating them at each input, compute the resulting maps, and check when pointwise operations are valid.

Intermediate 9 min read

What You'll Learn

  • Define addition and scalar multiplication in \(\mathcal{L}(V,W)\) pointwise.
  • Identify when two maps have compatible domains, codomains, and scalar fields for these operations.
  • Compute combinations of maps from \(\mathbb{R}^2\) to \(\mathbb{R}^3\).
  • Combine differentiation and evaluation maps on polynomial spaces.
  • Combine integration and evaluation maps on polynomial spaces.
  • Use values on a spanning set to determine whether two linear maps agree.

Combining Maps at Each Input

Linear maps can be combined in much the same way as vectors: add their outputs or multiply their outputs by a scalar. The important point is that these operations are defined input by input. To add two maps, they must accept the same inputs and produce outputs in the same space. The same requirement lets us form scalar multiples of a map.

Let \(V\) and \(W\) be vector spaces over the same field \(\mathbb{F}\), where \(\mathbb{F}\) is \(\mathbb{R}\) or \(\mathbb{C}\). Write \(\mathcal{L}(V,W)\) for the set of linear maps from \(V\) to \(W\). Recall that a map \(T:V\to W\) is linear if \(T(a\mathbf{v}+b\mathbf{w})=aT(\mathbf{v})+bT(\mathbf{w})\) for all \(\mathbf{v},\mathbf{w}\in V\) and scalars \(a,b\in\mathbb{F}\).

Definition: For \(T,S\in\mathcal{L}(V,W)\) and \(c\in\mathbb{F}\), their sum \(T+S\) and scalar multiple \(cT\) are the maps \(V\to W\) defined by \((T+S)(\mathbf{v})=T(\mathbf{v})+S(\mathbf{v})\) and \((cT)(\mathbf{v})=c\,T(\mathbf{v})\) for every \(\mathbf{v}\in V\).

These are pointwise definitions: choose an input, evaluate each map there, and then perform the corresponding operation on the outputs. The scalar \(c\) multiplies the output of \(T\), not the map’s input as a separate operation. Since \(T\) is linear, \(cT(\mathbf{v})=T(c\mathbf{v})\) also holds, but the definition of \(cT\) is the output-side formula.

The common-space condition matters. If \(T:V\to W\) and \(S:V\to Z\) have different codomains, the expression \(T(\mathbf{v})+S(\mathbf{v})\) is not defined by these rules: the outputs need to be vectors in one common vector space. Likewise, maps with different domains cannot be added by this pointwise definition because there is no common input to use for every evaluation.

Why the Result Is Still a Linear Map

Pointwise formulas define functions, but here the intended results are again linear maps. The following check proves that addition and scalar multiplication preserve linearity; it does not require \(V\) or \(W\) to be finite-dimensional.

Proposition: If \(T,S\in\mathcal{L}(V,W)\) and \(c\in\mathbb{F}\), then the pointwise-defined maps \(T+S\) and \(cT\) belong to \(\mathcal{L}(V,W)\).

Proof. For any \(\mathbf{v},\mathbf{w}\in V\) and \(a,b\in\mathbb{F}\), linearity of \(T\) and \(S\) gives \((T+S)(a\mathbf{v}+b\mathbf{w})=T(a\mathbf{v}+b\mathbf{w})+S(a\mathbf{v}+b\mathbf{w})=aT(\mathbf{v})+bT(\mathbf{w})+aS(\mathbf{v})+bS(\mathbf{w})=a(T+S)(\mathbf{v})+b(T+S)(\mathbf{w})\). For the scalar multiple, \((cT)(a\mathbf{v}+b\mathbf{w})=cT(a\mathbf{v}+b\mathbf{w})=c(aT(\mathbf{v})+bT(\mathbf{w}))=a(cT)(\mathbf{v})+b(cT)(\mathbf{w})\). Thus both maps are linear and have the same domain and codomain as \(T\) and \(S\). \(\square\)

This proposition verifies that the operations stay within \(\mathcal{L}(V,W)\). It does not by itself establish all the vector-space rules for these operations; those require additional checks. In computations, one can often specify a resulting map by simplifying its output formula for a general input.

Computing with Coordinate-Space Maps

Worked Example: A Combination from \(\mathbb{R}^2\) to \(\mathbb{R}^3\)

Define \(T,S:\mathbb{R}^2\to\mathbb{R}^3\) by \(T(x,y)=(x+2y,-x+y,3x)\) and \(S(x,y)=(2x-y,x+y,-x+2y)\). Find \(T-2S\), then evaluate it at \((1,-1)\).

Both maps have the same domain and codomain, so their pointwise combination is defined. For a general input \((x,y)\), first compute \(2S(x,y)=(4x-2y,2x+2y,-2x+4y)\). Therefore

$$ \begin{aligned} (T-2S)(x,y) &=(x+2y,-x+y,3x)-(4x-2y,2x+2y,-2x+4y)\\ &=(-3x+4y,-3x-y,5x-4y). \end{aligned} $$

At \((1,-1)\), the formula gives \((T-2S)(1,-1)=(-3-4,-3+1,5+4)=(-7,-2,9)\).

Check: \(T(1,-1)=(-1,-2,3)\) and \(S(1,-1)=(3,0,-3)\). Thus \(T(1,-1)-2S(1,-1)=(-1,-2,3)-(6,0,-6)=(-7,-2,9)\), agreeing with the formula.

For coordinate-space maps, a formula such as the one above computes every output at once. When bases are chosen, the corresponding matrix of a sum or scalar multiple can also be obtained by the same operation on the matrices; that is the coordinate representation of these pointwise definitions.

Operations on Polynomial Maps

Polynomial spaces provide examples where the input is a polynomial rather than a coordinate column. Let \(P_n\) denote the real vector space of polynomials of degree at most \(n\), including the zero polynomial. The map’s domain and codomain must still match before a pointwise sum is formed.

Worked Example: Combining Differentiation and Evaluation

Define \(T,S:P_2\to P_1\) by \(T(p)=p'\) and \(S(p)=p(0)(1+x)\). Find \(2T-S\), and compute its value at \(p(x)=1-2x+3x^2\).

For an arbitrary \(p(x)=a+bx+cx^2\), differentiation gives \(T(p)=b+2cx\), while evaluation at zero gives \(S(p)=a+ax\). Both outputs belong to \(P_1\), so their pointwise combination is valid. Compute:

$$ \begin{aligned} (2T-S)(p) &=2(b+2cx)-(a+ax)\\ &=(2b-a)+(4c-a)x. \end{aligned} $$

For \(p(x)=1-2x+3x^2\), the coefficients are \(a=1\), \(b=-2\), \(c=3\). Substitution into the general formula gives \((2T-S)(p)=(2(-2)-1)+(4(3)-1)x=-5+11x\).

Check: Directly, \(T(p)=-2+6x\) and \(S(p)=1+x\). Hence \(2T(p)-S(p)=2(-2+6x)-(1+x)=-4+12x-1-x=-5+11x\), as required.

In this example, evaluation at zero produces a scalar, and that scalar multiplies the polynomial \(1+x\) to give an output in the codomain. A scalar-valued evaluation alone would have codomain \(\mathbb{R}\), so it could not be added directly to the derivative map \(P_2\to P_1\). The factor \(1+x\) makes the outputs compatible.

Worked Example: Combining Integration and Evaluation

Define \(T,S:P_1\to P_2\) by \(T(p)(x)=\int_0^x p(t)\,dt\) and \(S(p)(x)=p(0)(x+x^2)\). Find \(2T+S\) and evaluate it at \(p(x)=2-3x\).

For \(p(x)=a+bx\), integration with the stated lower limit gives \(T(p)(x)=ax+\frac{b}{2}x^2\). Also, \(p(0)=a\), so \(S(p)(x)=ax+ax^2\). Thus

$$ \begin{aligned} (2T+S)(p)(x) &=2\left(ax+\frac{b}{2}x^2\right)+(ax+ax^2)\\ &=3ax+(a+b)x^2. \end{aligned} $$

For \(p(x)=2-3x\), we have \(a=2\) and \(b=-3\). The formula gives \((2T+S)(p)(x)=6x+(2-3)x^2=6x-x^2\).

Check: \(T(p)(x)=2x-\frac32x^2\) and \(S(p)(x)=2x+2x^2\). Then \(2T(p)(x)+S(p)(x)=4x-3x^2+2x+2x^2=6x-x^2\). The direct evaluation matches the general formula.

Values on a Spanning Set Determine a Map

To compare two linear maps, it is not always necessary to calculate their outputs on every vector. A set \(G\subseteq V\) spans \(V\) if every vector in \(V\) is a finite linear combination of elements of \(G\). Agreement on such a set determines the map everywhere.

Theorem: Let \(T,S:V\to W\) be linear maps over \(\mathbb{F}\), and let \(G\) span \(V\). Then \(T=S\) if and only if \(T(\mathbf{g})=S(\mathbf{g})\) for every \(\mathbf{g}\in G\).

Proof. If \(T=S\), then their values agree at every input, including each \(\mathbf{g}\in G\). Conversely, suppose they agree on every element of \(G\). If \(G\) is nonempty, any \(\mathbf{v}\in V\) can be written as \(\mathbf{v}=a_1\mathbf{g}_1+\cdots+a_k\mathbf{g}_k\), with \(\mathbf{g}_i\in G\) and \(a_i\in\mathbb{F}\). By linearity and the assumed agreement, \(T(\mathbf{v})=\sum_{i=1}^{k}a_iT(\mathbf{g}_i)=\sum_{i=1}^{k}a_iS(\mathbf{g}_i)=S(\mathbf{v})\). If \(G\) is empty and spans \(V\), then \(V=\{\mathbf{0}\}\). For any linear map \(T\), linearity gives \(T(\mathbf{0})=T(\mathbf{0}+\mathbf{0})=T(\mathbf{0})+T(\mathbf{0})\), so \(T(\mathbf{0})=\mathbf{0}\); the same holds for \(S\). Therefore the maps agree on all of \(V\) in this case as well. Hence \(T=S\). \(\square\)

This result can make verification efficient. For example, when a basis is available, checking two linear maps on its basis vectors is enough to establish that they agree on the whole space. This applies to pointwise sums too: to verify a proposed formula for \(T+S\), one may check it on a spanning set, provided the proposed map is linear.

Common Pitfall: Confusing Scalar Multiplication with Composition

Scalar multiplication of a map is not the same operation as composing a map with itself. Let \(T:\mathbb{R}^2\to\mathbb{R}^2\) be \(T(x,y)=(x,2y)\). The pointwise scalar multiple is \((2T)(x,y)=2T(x,y)=(2x,4y)\). A mistaken calculation might instead write \(2T=T\circ T\), but composition gives \((T\circ T)(x,y)=T(x,2y)=(x,4y)\). At \((1,0)\), these outputs are \((2,0)\) and \((1,0)\), respectively, so the operations are different. The correction is to apply the scalar to the output of one evaluation: \((2T)(\mathbf{v})=2\,T(\mathbf{v})\).

Before combining maps, check that they have the same domain and codomain and use the same scalar field. Then evaluate each map at a general input, combine the outputs, and simplify. For polynomial maps, retaining general coefficients until the final substitution helps expose the resulting rule and reduces arithmetic errors.

Check Your Understanding

Use the pointwise definitions to work through these questions.

  1. For \(T(x,y)=(x-y,2x)\) and \(S(x,y)=(y,x+y)\), find \(T+3S\) and evaluate it at \((2,-1)\).
  2. Let \(T,S:P_2\to P_1\) be \(T(p)=p'\) and \(S(p)=p(0)(1+x)\). Find \(T+S\) on \(p(x)=a+bx+cx^2\).
  3. For \(T(p)(x)=\int_0^x p(t)\,dt\) on \(P_1\), compute \(3T(p)\) for \(p(x)=1+2x\).
  4. Explain why a map \(P_2\to\mathbb{R}\) cannot be added pointwise by these definitions to a map \(P_2\to P_1\).
  5. Suppose two linear maps agree on a spanning set of their domain. What theorem shows that they agree on every input?

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon