There are two types of dual spaces: the algebraic dual space, and the continuous dual space. The algebraic dual space is defined for all vector spaces. When defined for a topological vector space there is a subspace of this dual space, corresponding to continuous linear functionals, which constitutes a continuous dual space.
Given any vector space V over some field F, the dual space V* is defined as the set of all linear functionals on V, i.e., scalar-valued linear maps on V (in this context, a "scalar" is a member of the base-field F). V* itself becomes a vector space over F under the following definition of addition and scalar multiplication:
Elements of the algebraic dual space V* are sometimes called covectors or one-forms. In the language of tensors, components of elements of V relative to a basis are sometimes called contravariant, and components of elements of V* relative to the dual basis are called covariant.
The pairing of a functional φ in the dual space V* and an element x of V is sometimes denoted by a bracket, such as
For the former notation, see . For the latter, see . The pairing defines a nondegenerate bilinear mapping,
If V is finite-dimensional, then V* has the same dimension as V. Given a basis of V, it is possible to give a basis of V*, called the dual basis. In detail, if {e1,...,en} is a basis for V, then the associated dual basis of V* is an n-tuple {e1,...,en} of linear functionals on V defined by the relation
For any choice of coefficients ci (and hence any vector in V, since the ei are assumed to be a basis.) In particular, taking cj=1, and every other coefficient zero gives the relation
In the case of R2, its basis is B={e1=(1,0),e2=(0,1)}. Then, e1, and e2 are one-forms (functions which map a vector to a scalar) such that e1(e1)=1, e1(e2)=0, e2(e1)=0, and e2(e2)=1. (Note: The superscript here is an index, not an exponent.)
Concretely, if we interpret Rn as the space of columns of n real numbers, its dual space is typically written as the space of rows of n real numbers. Such a row acts on Rn as a linear functional by ordinary matrix multiplication.
If V consists of the space of geometrical vectors (arrows) in the plane, then the elements of the dual V* can be intuitively represented as collections of parallel lines. Such a collection of lines can be applied to a vector to yield a number in the following way: one counts how many of the lines the vector crosses.
If V is not finite-dimensional but has a Hamel basis eα indexed by an infinite set A, then the same construction as in the finite dimensional case yields linearly independent elements eα (α∈A) of the dual space, but they will not form a basis.
Consider, for instance, the space R∞, whose elements are those sequences of real numbers which have only finitely many non-zero entries, which has a basis indexed by the natural numbers N: for i∈N, ei is the sequence which is zero apart from the ith term, which is one. The dual space of R∞ is RN, the space of all sequences of real numbers: such a sequence (an) is applied to an element (xn) of R∞ to give the number ∑nanxn, which is a finite sum because there are only finitely many nonzero xn. The dimension of R∞ is countably infinite, whereas RN does not have a countable basis.
This observation generalizes to any infinite dimensional vector space V over any field F: a choice of basis {eα:α∈A} identifies V with the space (FA)0 of functions f:A→F such that fα=f(α) is nonzero for only finitely many α∈A, where such a function f is identified with the vector
The dual space of V may then be identified with the space FA of all functions from A to F: a linear functional T on V is uniquely determined by the values θα=T(eα) it takes on the basis of V, and any function θ:A→F (with θ(α)=θα) defines linear functional T on V by
Note that (FA)0 may be identified (essentially by definition) with the direct sum of infinitely many copies of F (viewed as a 1-dimensional vector space over itself) indexed by A, i.e., there are linear isomorphisms
Thus if the basis is infinite, then there are always more vectors in the dual space than the original vector space. This is in marked contrast to the case of the continuous dual space, discussed below, which may be isomorphic to the original vector space even if the latter is infinite-dimensional.
If V is finite-dimensional, then V is isomorphic to V*. But there is in general no natural isomorphism between these two spaces . Any bilinear form 〈•,•〉 on V gives a mapping of V into its dual space via
where the right hand side is defined as the functional on V taking each w ∈ V to 〈v,w〉. In other words, the bilinear form determines a linear mapping
defined by
If the bilinear form is assumed to be nondegenerate, then this is an isomorphism onto a subspace of V*. If V is finite-dimensional, then this is an isomorphism onto all of V*. Conversely, any isomorphism Φ from V to a subspace of V* (resp., all of V*) defines a unique nondegenerate bilinear form 〈•,•〉Φ on V by
Thus there is a one-to-one correspondence between isomorphisms of V to subspaces of (resp., all of) V* and nondegenerate bilinear forms on V.
If the vector space V is over the complex field, then sometimes it is more natural to consider sesquilinear forms instead of bilinear forms. In that case, a given sesquilinear form 〈•,•〉 determines an isomorphism of V with the complex conjugate of the dual space
There is a natural homomorphism from V into the double dual V**, defined by for all v in V, in V*. This map is always injective; it is an isomorphism if and only if V is finite-dimensional. (Infinite-dimensional Hilbert spaces are not a counterexample to this, as they are isomorphic to their continuous duals, not to their algebraic duals.)
If ƒ : V → W is a linear map, then the transpose (or dual) ƒ* : W* → V* is defined by for every φ ∈ W*. The resulting functional ƒ*(φ) is in V*, and is called as the pullback of φ along ƒ.
The following identity holds for all φ ∈ W* and v ∈ V:
The assignment produces an injective linear map between the space of linear operators from V to W and the space of linear operators from W* to V*; this homomorphism is an isomorphism if and only if W is finite-dimensional. If V = W then the space of linear maps is actually an algebra under composition of maps, and the assignment is then an antihomomorphism of algebras, meaning that (fg)* = g*f*. In the language of category theory, taking the dual of vector spaces and the transpose of linear maps is therefore a contravariant functor from the category of vector spaces over F to itself. Note that one can identify (f*)* with f using the natural injection into the double dual.
If the linear map f is represented by the matrix A with respect to two bases of V and W, then f* is represented by the transpose matrix tA with respect to the dual bases of W* and V*, hence the name. Alternatively, as f is represented by A acting on the left on column vectors, f* is represented by the same matrix acting by the right on row vectors. These points of view are related by the canonical inner product on Rn, which identifies the space of column vectors with the dual space of row vectors.
The annihilator of a subset is itself a vector space. In particular, ∅o = V* is all of V* (vacuously), whereas Vo = 0 is the zero subspace. Furthermore, the assignment of an annihilator to a subset of V reverses inclusions, so that if S ⊂ T ⊂ V then
If V is finite dimensional, and W is a vector subspace, then
If W is a subspace of V then the quotient space V/W is a vector space in its own right, and so has a dual. By the first isomorphism theorem, a functional ƒ : V → F factors through V/W if and only if W is in the kernel of ƒ. There is thus an isomorphism
When dealing with topological vector spaces, one is typically only interested in the continuous linear functionals from the space into the base field. This gives rise to the notion of the "continuous dual space" which is a linear subspace of the algebraic dual space V*, denoted V ′. For any finite-dimensional normed vector space or topological vector space, such as Euclidean n-space, the continuous dual and the algebraic dual coincide. This is however false for any infinite-dimensional normed space. In topological contexts sometimes V* may also be used for just the continuous dual space and the continuous dual may just be called the dual.
The continuous dual V ′ of a normed vector space V (e.g., a Banach space or a Hilbert space) forms a normed vector space. A norm ||φ|| of a continuous linear functional on V is defined by
For any finite-dimensional normed vector space or topological vector space, such as Euclidean n-space, the continuous dual and the algebraic dual coincide. This is however false for any infinite-dimensional normed space, as shown by the example of discontinuous linear map.
Let 1 < p < ∞ be a real number and consider the Banach space ℓp of all sequences a = (an) for which
In a similar manner, the continuous dual of ℓ1 is naturally identified with ℓ∞ (the space of bounded sequences). Furthermore, the continuous duals of the Banach spaces c (consisting of all convergent sequences, with the supremum norm) and c0 (the sequences converging to zero) are both naturally identified with ℓ1.
In analogy with the case of the algebraic double dual, there is always a naturally defined injective continuous linear operator Ψ : V → V ′′ from V into its continuous double dual V ′′. In case V is normed, this map is in fact an isometry, meaning ||Ψ(x)|| = ||x|| for all x in V. Spaces for which the map Ψ is a bijection are called reflexive.
The continuous dual can be used to define a new topology on V, called the weak topology.
If the dual of V is separable, then so is the space V itself. The converse is not true; the space l1 is separable, but its dual is l∞, which is not separable.
If V is a Hilbert space, then its continuous dual is a Hilbert space which is anti-isomorphic to V. This is the content of the Riesz representation theorem, and gives rise to the bra-ket notation used by physicists in the mathematical formulation of quantum mechanics.