Y. Eddie Lu, Summer 2026
ECON 8001 course index · Lecture 2 of 8
Orientation
What problem does this solve?
Many economic objects can be combined and rescaled: portfolio positions, payoff vectors, factor exposures, perturbations of a parameter, and local changes in an equilibrium condition. Linear algebra asks which directions are available and what a transformation preserves or destroys.
A vector space is a collection of feasible directions through an origin. A linear map takes directions in one space to directions in another while respecting combinations. Its kernel records directions that disappear; its image records output directions that can actually be reached.
Where this sits
This page uses the logic and function language from Foundations. It supplies the coordinate-free objects that matrices represent on the next linear-algebra page. It also prepares the Jacobian, Hessian, and tangent-space arguments later in the course.
Prerequisite retrieval
Retrieval check. Why is \(\{(x,y)^\top\in\mathbb R^2:x+y=1\}\) not a vector subspace of \(\mathbb R^2\)?
It does not contain the zero vector: \(0+0\ne1\). It is an affine line, not a subspace. Closure under addition also fails, since \((1,0)^\top\) added to itself is not in the set.
Vector spaces and subspaces
Let \(\mathbb F\in\{\mathbb R,\mathbb C\}\). A vector space over \(\mathbb F\) is a set \(V\) with operations
\[
\begin{aligned}
+&:V\times V\to V,\\
\cdot&:\mathbb F\times V\to V.
\end{aligned}
\]
such that, for every \(u,v,w\in V\) and \(r,s\in\mathbb F\):
\[
\begin{aligned}
u+v&=v+u,\\
(u+v)+w&=u+(v+w),\\
\exists 0\in V:\quad v+0&=v,\\
\exists(-v)\in V:\quad v+(-v)&=0,\\
r(u+v)&=ru+rv,\\
(r+s)v&=rv+sv,\\
r(sv)&=(rs)v,\\
1v&=v.
\end{aligned}
\]
The operations must also be closed: \(u+v\in V\) and \(rv\in V\).
The axioms say that we may add feasible directions, undo a direction by taking its negative, and scale a direction without leaving the space.
The set \(\mathbb R^n\) of column vectors is a vector space over \(\mathbb R\). If \(x,y\in\mathbb R^n\) are portfolios and \(a,b\in\mathbb R\), then \(ax+by\in\mathbb R^n\). Short positions are what make multiplication by a negative scalar feasible.
The set \(\mathbb R^n_+:=\{x\in\mathbb R^n:x\geq0\}\) is not a vector space when \(n\geq1\). It is closed under addition and multiplication by nonnegative scalars, but \(x\in\mathbb R^n_+\) with \(x\ne0\) implies \(-x\notin\mathbb R^n_+\).
If \(V\) is a vector space, a subset \(U\subseteq V\) is a vector subspace when \(U\), with the operations inherited from \(V\), is itself a vector space.
Assumptions. \(V\) is a vector space over \(\mathbb F\), and \(U\subseteq V\) is nonempty.
Conclusion. \(U\) is a vector subspace of \(V\) if and only if
\[
\forall u,v\in U\;\forall a,b\in\mathbb F:\quad au+bv\in U.
\]
Let \(U:=\{(x,y,z)^\top\in\mathbb R^3:x+y+z=0\}\). If \(u,v\in U\) and \(a,b\in\mathbb R\), then the coordinates of \(au+bv\) sum to \(a\cdot0+b\cdot0=0\). Thus \(U\) is a subspace. Homogeneous linear restrictions typically define subspaces.
Replacing the right-hand side by \(1\) creates \(\{(x,y,z)^\top:x+y+z=1\}\). The zero vector fails the restriction, so the set is not a subspace. It is a translate of a subspace, called an affine set.
Span, independence, basis, and dimension
For vectors \(v_1,\ldots,v_k\in V\),
\[
\operatorname{span}(v_1,\ldots,v_k)
\]
is the set of all vectors of the form
\[
\sum_{j=1}^k a_jv_j,
\]
where \(a_1,\ldots,a_k\in\mathbb F\).
It is the smallest vector subspace of \(V\) containing every \(v_j\).
One nonzero vector in \(\mathbb R^2\) spans a line through the origin. Two vectors that do not point along the same line span the plane. Span answers whether a proposed collection is sufficient to construct the vectors of interest.
The list \(v_1,\ldots,v_k\in V\) is linearly independent if
\[
\sum_{j=1}^k a_jv_j=0
\quad\Longrightarrow\quad
a_1=\cdots=a_k=0.
\]
It is linearly dependent if there is a solution to this equation with at least one \(a_j\ne0\).
Independence means that no listed direction can be generated from the others. Dependence does not prevent a list from spanning a space. It tells you that the spanning list includes a redundant vector.
The list \((1,0)^\top,(0,1)^\top,(1,1)^\top\) spans \(\mathbb R^2\), because the first two vectors do. It is dependent because
\[
(1,0)^\top+(0,1)^\top-(1,1)^\top=0.
\]
A list \(v_1,\ldots,v_k\) is a basis of \(V\) if it spans \(V\) and is linearly independent. A vector space is finite-dimensional if it has a finite basis. Its dimension, denoted \(\dim V\), is the number of vectors in any basis of \(V\).
Assumptions. \(v_1,\ldots,v_k\) is a basis of \(V\).
Conclusion. Every \(v\in V\) has a unique coordinate representation
\[
v=a_1v_1+\cdots+a_kv_k
\]
for scalars \(a_1,\ldots,a_k\in\mathbb F\).
For \(U=\{(x,y,z)^\top\in\mathbb R^3:x+y+z=0\}\),
\[
(x,y,z)^\top=x(1,0,-1)^\top+y(0,1,-1)^\top.
\]
The two displayed vectors span \(U\). If \(a(1,0,-1)^\top+b(0,1,-1)^\top=0\), the first two coordinates give \(a=b=0\), so they are independent. Therefore they form a basis and \(\dim U=2\).
Retrieval check. What does each half of the word “basis” contribute: span and independence?
Span gives existence of coordinates: every vector can be represented. Independence gives uniqueness: no vector has two different coordinate lists relative to the basis.
Linear maps
Let \(V\) and \(W\) be vector spaces over the same field \(\mathbb F\). A function \(L:V\to W\) is linear if, for every \(u,v\in V\) and \(a,b\in\mathbb F\),
\[
L(au+bv)=aL(u)+bL(v).
\]
Equivalently, \(L(u+v)=L(u)+L(v)\) and \(L(av)=aL(v)\) hold for all permitted inputs and scalars.
Every linear map satisfies \(L(0)=0\). Indeed, \(L(0)=L(0+0)=L(0)+L(0)\), and additive cancellation in \(W\) gives the result.
Let \(B\in\mathbb R^{m\times n}\) and define \(L:\mathbb R^n\to\mathbb R^m\) by \(L(x)=Bx\). Here \(x\) is an \(n\times1\) position vector and \(Bx\) is an \(m\times1\) vector of factor exposures. For \(a,b\in\mathbb R\) and \(x,y\in\mathbb R^n\), matrix distributivity gives \(B(ax+by)=aBx+bBy\), so \(L\) is linear.
The affine map \(f:\mathbb R^n\to\mathbb R^m\) given by \(f(x)=Bx+c\) is not linear when \(c\ne0\), because \(f(0)=c\ne0\). Its derivative is the linear map \(x\mapsto Bx\), but the function itself is not linear.
Assumptions. \(V\) and \(W\) are vector spaces over \(\mathbb F\). Let \(\mathcal L(V,W)\) be the set of linear maps from \(V\) to \(W\). For \(L_1,L_2\in\mathcal L(V,W)\) and \(a\in\mathbb F\), define
\[
\begin{aligned}
(L_1+L_2)(v)&:=L_1(v)+L_2(v),\\
(aL_1)(v)&:=aL_1(v).
\end{aligned}
\]
Conclusion. With these pointwise operations, \(\mathcal L(V,W)\) is a vector space.
The important operational point is closure: a linear combination of linear maps is again linear. This permits one to treat a parameterized family of maps as an ordinary vector space.
Kernel, image, and rank-nullity
For a linear map \(L:V\to W\),
\[
\begin{aligned}
\ker L&:=\{v\in V:L(v)=0\},\\
\operatorname{im}L&:=\{L(v):v\in V\}\subseteq W.
\end{aligned}
\]
The kernel is a subset of the domain \(V\). The image is a subset of the codomain \(W\).
If two inputs differ by a vector in \(\ker L\), then they have the same output. Thus a nonzero kernel records lost distinctions. The image records the output directions that remain available after the transformation.
Assumptions. \(L:V\to W\) is a linear map.
Conclusion. \(\ker L\) is a vector subspace of \(V\), and \(\operatorname{im}L\) is a vector subspace of \(W\).
Assumptions. \(V\) is finite-dimensional, \(W\) is a vector space over the same field, and \(L:V\to W\) is linear.
Conclusion. \(\operatorname{im}L\) is finite-dimensional and
\[
\dim V=\dim(\ker L)+\dim(\operatorname{im}L).
\]
The quantity \(\dim(\operatorname{im}L)\) is the rank of \(L\); \(\dim(\ker L)\) is its nullity.
Let \(L:\mathbb R^3\to\mathbb R^2\) be
\[
L(x,y,z)^\top=(x+y,z)^\top.
\]
The equation \(L(x,y,z)^\top=0\) gives \(x=-y\) and \(z=0\), so
\[
\ker L=\operatorname{span}\{(1,-1,0)^\top\}.
\]
Given any \((a,b)^\top\in\mathbb R^2\), choose \((x,y,z)^\top=(a,0,b)^\top\). Hence \(\operatorname{im}L=\mathbb R^2\). The dimensions satisfy \(3=1+2\).
Injective, surjective, and bijective maps
A function \(f:X\to Y\) is injective if
\[
\forall x_1,x_2\in X:\quad f(x_1)=f(x_2)\Rightarrow x_1=x_2.
\]
It is surjective if \(f(X)=Y\). It is bijective if it is both injective and surjective.
Assumptions. \(L:V\to W\) is linear.
Conclusion. \(L\) is injective if and only if \(\ker L=\{0\}\).
For \(L:V\to W\), surjectivity is the equality \(\operatorname{im}L=W\). A map may have a perfectly well-defined codomain much larger than its image. Do not label it surjective merely because the formula produces outputs in \(W\).
Assumptions. \(V\) and \(W\) are finite-dimensional vector spaces and \(L:V\to W\) is linear.
Conclusion. If \(\dim V>\dim W\), then \(L\) cannot be injective. If \(\dim V<\dim W\), then \(L\) cannot be surjective.
For the first claim, rank-nullity implies \(\dim\ker L\geq\dim V-\dim W>0\). For the second, \(\dim\operatorname{im}L\leq\dim V<\dim W\), so the image cannot equal \(W\).
When \(\dim V=\dim W\), a linear map may still fail to be injective and surjective. The zero map from \(\mathbb R^2\) to \(\mathbb R^2\) has equal domain and codomain dimensions but rank zero. Equality of dimensions makes injectivity and surjectivity equivalent for a particular linear map; it does not make either automatic.
Economic and econometric use
In a linear regression, the column space of a regressor matrix contains fitted-value directions. Its null space contains coefficient perturbations that do not alter fitted values. Full column rank removes this ambiguity and is an identification condition for the coefficient vector. In constrained optimization, a tangent space is a subspace of feasible local directions; the second-order condition examines a quadratic form only along those directions.
Calculation blueprint
For a linear map \(L:V\to W\):
- State the domain and codomain, including dimensions in coordinate spaces.
- To find \(\ker L\), solve \(L(v)=0\) and express all solutions as a span.
- To find \(\operatorname{im}L\), characterize all reachable outputs or span the images of a basis.
- Check rank-nullity when \(V\) is finite-dimensional.
- State injectivity and surjectivity as conclusions about the kernel and image, not as guesses from the formula.
Exit tickets
- Is \(U=\{(x,y)^\top\in\mathbb R^2:2x-y=0\}\) a subspace? Give the shortest valid proof.
- Let \(L:\mathbb R^3\to\mathbb R^2\) satisfy \(L(x,y,z)^\top=(x-z,y-z)^\top\). Find a basis for \(\ker L\), determine whether \(L\) is surjective, and verify rank-nullity.
- State the exact difference between an injective map and a surjective map without using an example.
Yes. It is nonempty and, if \(2x-y=0\) and \(2x'-y'=0\), then \(2(ax+bx')-(ay+by')=0\) for all \(a,b\in\mathbb R\). The subspace test applies.
The equations \(x-z=0\) and \(y-z=0\) give \(x=y=z\), so \(\ker L=\operatorname{span}\{(1,1,1)^\top\}\). The map is surjective because \((a,b)^\top=L(a,b,0)^\top\) for every \((a,b)^\top\in\mathbb R^2\). Thus \(3=1+2\).
Injective means equal outputs imply equal inputs. Surjective means every element of the declared codomain has at least one preimage.
Mastery check
You should now be able to apply the subspace test, separate span from independence, prove coordinate uniqueness from a basis, define kernel and image with the correct ambient spaces, and use rank-nullity to audit a dimension claim. The next page will express these objects in coordinates and matrices.
Back to top