Notes on Linear Algebra
Last Modified 2022-03-15
Definition: Vector Space, Vector, Scalar
Let be a field. A vector space over is an algebraic structure consisting of:
- a set , called the underlying set;
- a distinguished element , called the zero vector;
- a unary operation , written as , called vector negation;
- a binary operation , written as , called vector addition;
- a binary operation , written as , called scalar multiplication;
satisfying the following requirements:
- Additive structure: is an abelian group.
- Identity: for all .
- Multiplicative compatibility: for all and .
- Left distributivity: for all and .
- Right distributivity: for all and .
The elements of are called vectors, and the elements of are called scalars.
In these notes, we will use boldface upright letters, such as and , to denote vectors. On the other hand, scalars will be denoted by italic letters, such as and . This will allow us to distinguish vector variables from scalar variables at a glance. (This convention is commonly adopted in physics and engineering, but is uncommon in pure mathematics.)
Adopting this convention also provides another benefit: namely, we no longer need to distinguish between the operations of scalar addition and vector addition . Instead, we proceed with the implicit understanding that whenever the sign occurs between two scalars, as in , it refers to scalar addition. Likewise, whenever it occurs between two vectors, as in , it refers to vector addition.
The same goes for the two multiplication operations and . Moving forward, these operations will be denoted by juxtaposition, as in and . The requirement of multiplicative compatibility allows us to write without ambiguity, and the identity property allows us to freely insert and remove factors of .
As with groups, rings, and fields, it is common to denote a vector space simply by the name of its underlying set . Thus, we will often say “let be a vector space over a field .”
Definition: Linear Combination
Let be a vector space over a field , and let . A linear combination of a finite sequence of vectors is a vector of the form
where . We call the sequence of scalars the coefficients of the linear combination. For , we define the unique linear combination of the empty sequence of vectors to be .
Definition: Span
Let be a vector space over a field . The span of a subset , denoted by , is the set of all linear combinations of all finite sequences of vectors in .
Because we defined to be the unique linear combination of an empty set of vectors, we always have for any subset , including the empty set.
Definition: Linear Subspace
Let be a vector space over a field . A linear subspace of is a subset that is closed under taking linear combinations, i.e., every linear combination of every finite sequence of vectors in is itself in .
Note that the empty set is not a linear subspace! The requirement of closure under linear combinations includes the empty linear combination, which the empty set fails to satisfy, since . Because of this requirement, a linear subspace must always contain the zero vector.
Pairwise Linear Combinations Suffice
Theorem: Let be a vector space over a field . A subset is a linear subspace of if and only if has the following two properties:
- Contains the zero vector: .
- Closed under pairwise linear combinations: For all and , we have .
Proof sketch: We prove by induction on that is closed under taking -ary linear combinations. The first property handles the base case , and the second property handles the inductive step, using the fact that an -ary linear combination can be written as a binary linear combination of a vector and an -ary linear combination. ∎
Definition: Affine Combination
Let be a vector space over a field , and let . An affine combination of a finite sequence of vectors is a vector of the form where the coefficients satisfy .
Note that, unlike linear combinations, there is no such thing as an empty affine combination. The sum of an empty sequence of scalars is , and by the definition of a field, .
Definition: Affine Span, Affine Hull
Let be a vector space over a field . The affine span or affine hull of a subset , denoted by , is the set of all affine combinations of all finite sequences of vectors in .
Definition: Affine Set
Let be a vector space over a field . An affine set in is a subset that is closed under taking affine combinations, i.e., every affine combination of every finite sequence of vectors in is itself in .
Because there are no empty affine combinations, the empty set does (vacuously) qualify as an affine set.
Definition: Conic Combination
Let be a vector space over an ordered field , and let . A conic combination of a finite sequence of vectors is a vector of the form where the coefficients are all nonnegative, i.e., for all .
Definition: Conic Hull
Let be a vector space over an ordered field . The conic hull of a set , denoted by , is the set of all conic combinations of all finite sequences of vectors in .
Definition: Cone
Let be a vector space over an ordered field . A cone in is a subset that is closed under scalar multiplication by nonnegative scalars, i.e., if satisfies and , then .
Note that a cone is not necessarily closed under taking conic combinations!
Definition: Convex Combination
Let be a vector space over an ordered field , and let . A convex combination of a finite sequence of vectors is a vector of the form where the coefficients satisfy and are all nonnegative, i.e., for all .
Definition: Convex Hull
Let be a vector space over an ordered field . The convex hull of a set , denoted by , is the set of all convex combinations of all finite sequences of vectors in .
Definition: Convex Set
Let be a vector space over an ordered field . A convex set in is a subset that is closed under taking convex combinations, i.e., every convex combination of every finite sequence of vectors in is itself in .
Definition: Real Vector Space, Complex Vector Space
A real vector space is a vector space over the field of real numbers. Similarly, a complex vector space is a vector space over the field of complex numbers.