The pair can be described by its two complex entries, or by the four real numbers , , and hidden in their real and imaginary parts. So does the space of complex pairs have two independent directions or four? Both answers are correct, once you say which numbers may be used as scalars. This lesson makes that choice explicit, states the rules every vector space obeys, gives a short test for subspaces and compares real and complex dimension.
Key terms
Field of scalars
Definition In this course the field of scalars is either the real numbers or the complex numbers . A result stated over holds for both, and the field is named whenever the answer depends on it. A complex number has the form with , where . Its real part is and its imaginary part is , and two complex numbers are equal exactly when both parts agree. Sums and products follow the usual rules of algebra, with replaced by ,
Both and are fields, number systems in which addition and multiplication obey the usual rules of algebra and every nonzero number has a reciprocal. A vector space over allows vectors to be multiplied only by elements of , so linear combinations, spans, independence, subspaces and dimension are all taken with coefficients in .
In plain words The field is the supply of numbers you may scale by. Changing it changes which combinations are allowed, even when the set of vectors stays the same.
Example The product equals . In the vector equals , so it is a scalar multiple of when complex scalars are allowed. When only real scalars are allowed it is not, because every multiple with has a real first entry.
Complex conjugate
Definition The complex conjugate of , with , is . Since , the modulus of is the nonnegative real number
For all the rules , and hold, and exactly when . A complex number is real exactly when . For the reciprocal is
In plain words Conjugation flips the sign of the imaginary part, which reflects the point across the real axis of the complex plane. The modulus is the distance from to , and multiplying by its conjugate always gives a nonnegative real number, the square of that distance.
Example For the conjugate is , the product is , and . Hence
Compare , which is not even real. The square of the modulus is , which equals only when is real. In the same way has modulus , although .
Vector space axioms
Definition A vector space over is a set with an addition, which gives a vector for all , and a scalar multiplication, which gives a vector for all and , such that the following hold for all and .
- Addition is commutative and associative, and .
- There is a vector with for every .
- Every has an additive inverse with .
- Scalar multiplication satisfies and .
- Both distributive laws hold, and .
A statement proved from these rules alone holds in every vector space over , whether its vectors are columns, matrices, polynomials or functions.
In plain words The axioms are the rules of arithmetic you may use with vectors. Nothing else about the vectors is assumed, which is why one proof from the axioms covers columns, matrices and polynomials alike.
Example Two consequences show the axioms at work. First, the zero vector is unique. If also satisfies for every , then , using in turn that is an identity, commutativity, and that is an identity. Second, for every , where the zero on the left is the scalar and the zero on the right is the vector. Distributivity gives , and then
The axioms are not automatic. On with the usual addition, the scaling rule satisfies every axiom except , since it sends to . So with these operations is not a vector space.
Subspace test
Definition Let be a vector space over . A subset is a subspace if it is a vector space over under the operations of . The subspace test says that is a subspace exactly when is nonempty and
The condition is sufficient. Since is nonempty it contains some vector , and taking with puts in . For any , the choice and puts in . The choice gives closure under addition, and the choice with any gives closure under scaling. The remaining axioms hold in because they hold in for the same operations. Conversely, a subspace is nonempty, since it contains a zero vector, and it contains every such combination, since it is closed under both operations. The word nonempty cannot be dropped, because the empty set satisfies the closure condition vacuously but contains no zero vector.
In plain words To check a subspace, show that it is not empty and that combining two of its vectors with any allowed scalars never leads outside it. The allowed scalars are those of , so the same set can pass the test over and fail it over .
Example In the line contains . If and lie in , the combination has coordinate sum , so is a subspace. The parallel line does not contain , so it is not. Now regard as a vector space over . The real numbers form a subspace, since real combinations of real numbers are real. Over they do not, because but .
Real and complex dimension
Definition A basis of a vector space over is a list of vectors that spans and is linearly independent, both with coefficients in . When has a finite basis, the dimension is the number of vectors in a basis, and the lesson Basis Exchange and Dimension proves that this number does not depend on the basis. Every vector space over is also a vector space over , by allowing only real scalars. If is a basis of over , then is a basis of over . Indeed, a complex coefficient on , with real, contributes the same as the real coefficients on and on . So these vectors span over . Because are independent over , a real combination of the vectors is zero only when every is zero, that is, when every and every is zero. Hence for every finite-dimensional complex vector space , and in particular
In plain words Dimension counts how many independent coefficients are needed to describe a vector, and that count depends on which scalars are allowed. One complex coefficient carries two real ones.
Example Let and in . Over the vector equals , so its coordinate column is . Over , with the ordered basis ,
so its coordinate column is . The vector has not moved, only the system of coefficients has changed. These four vectors are independent over , because is zero only when and , and for real that forces all four to be .
Polynomials of degree at most n
Definition For an integer , the set consists of all polynomials
with coefficients , including the zero polynomial, whose coefficients are all . Two polynomials are equal when their coefficients agree. Polynomials are added and multiplied by scalars coefficient by coefficient, so matching with its coefficient column turns these operations into the operations of , and inherits every vector space axiom. The polynomials form a basis, so . By contrast, the polynomials of degree exactly do not form a subspace, since the zero polynomial is not among them.
In plain words A polynomial of degree at most is just its list of coefficients, so behaves exactly like . The dimension is one more than the top degree, because the constant term needs a coefficient of its own.
Example In the real space the sum matches the column sum . The polynomials of degree exactly do not form a subspace. Scaling by leaves the set, and so does the sum . The polynomials in with constant term do form a subspace, namely , with basis and dimension .
Check yourself
- For , find , and , and write in the form .
Show the answer
The conjugate is , and , so . Then
Multiplying back confirms it, since .
- Let , a subset of . Is a subspace when is a vector space over ? Is it a subspace over ? Where it is a subspace, give a basis.
Show the answer
Over it is a subspace. It contains , and for and real
where because and are real. Writing gives , and this is zero only when . So is a basis over , and the real dimension is .
Over it is not a subspace. The pair lies in , but does not, because . Closure under real scalars does not give closure under complex ones.
- Which of these subsets of the real space are subspaces? (a) The polynomials of degree exactly . (b) The polynomials with . (c) The polynomials with . Give a basis of each one that is a subspace.
Show the answer
Set (a) is not a subspace, since it does not contain the zero polynomial, and has degree .
Set (b) is a subspace. It contains the zero polynomial, and if then for all real . Writing , the condition gives , so
The polynomials and span the set, and they are independent because a combination has coefficient and coefficient , so it is the zero polynomial only when . So they form a basis, and the dimension is .
Set (c) is not a subspace, since the zero polynomial has value at , not .