### Covector

This article deals with linear maps from a vector space to its field of scalars.  These maps may be functionals in the traditional sense of functions of functions, but this is not necessarily the case.

In linear algebra, a linear functional or linear form (also called a one-form or covector) is a linear map from a vector space to its field of scalars.  In Rn, if vectors are represented as column vectors, then linear functionals are represented as row vectors, and their action on vectors is given by the dot product, or the matrix product with the row vector on the left and the column vector on the right.  In general, if V is a vector space over a field k, then a linear functional f is a function from V to k, which is linear:

$f\left(\vec\left\{v\right\}+\vec\left\{w\right\}\right) = f\left(\vec\left\{v\right\}\right)+f\left(\vec\left\{w\right\}\right)$ for all $\vec\left\{v\right\}, \vec\left\{w\right\}\in V$
$f\left(a\vec\left\{v\right\}\right) = af\left(\vec\left\{v\right\}\right)$ for all $\vec\left\{v\right\}\in V, a\in k.$

The set of all linear functionals from V to k, Homk(V,k), is itself a vector space over k.  This space is called the dual space of V, or sometimes the algebraic dual space, to distinguish it from the continuous dual space.  It is often written V* or V′ when the field k is understood.

## Continuous linear functionals

If V is a topological vector space, the space of continuous linear functionals — the continuous dual — is often simply called the dual space.  If V is a Banach space, then so is its (continuous) dual.  To distinguish the ordinary dual space from the continuous dual space, the former is sometimes called the algebraic dual.  In finite dimensions, every linear functional is continuous, so the continuous dual is the same as the algebraic dual, although this is not true in infinite dimensions.

## Examples and applications

### Linear functionals in Rn

Suppose that vectors in the real coordinate space Rn are represented as column vectors

$\vec\left\{x\right\} = \begin\left\{bmatrix\right\}x_1\\ \vdots\\ x_n\end\left\{bmatrix\right\}.$

Then any linear functional can be written in these coordinates as a sum of the form:

$f\left(\vec\left\{x\right\}\right) = a_1x_1 + \cdots + a_n x_n.$

This is just the matrix product of the row vector [a1 ... an] and the column vector $\vec\left\{x\right\}$:

$f\left(\vec\left\{x\right\}\right) = \left[a_1 \dots a_n\right] \begin\left\{bmatrix\right\}x_1\\ \vdots\\ x_n\end\left\{bmatrix\right\}.$

### Integration

Linear functionals first appeared in functional analysis, the study of vector spaces of functions.  A typical example of a linear functional is integration: the linear transformation defined by the Riemann integral

$I\left(f\right) = \int_a^b f\left(x\right)\, dx$

is a linear functional from the vector space C[a,b] of continuous functions on the interval [ab] to the real numbers.  The linearity of I(f) follows from the standard facts about the integral:

$I\left(f+g\right) = \int_a^b\left(f\left(x\right)+g\left(x\right)\right)\, dx = \int_a^b f\left(x\right)\, dx + \int_a^b g\left(x\right)\, dx = I\left(f\right)+I\left(g\right)$
$I\left(\alpha f\right) = \int_a^b \alpha f\left(x\right)\, dx = \alpha\int_a^b f\left(x\right)\, dx = \alpha I\left(f\right).$

### Evaluation

Let Pn denote the vector space of real-valued polynomial functions of degree ≤n defined on an interval [a,b].  If c ∈ [ab], then let evc : Pn → R be the evaluation functional:

$\operatorname\left\{ev\right\}_c f = f\left(c\right).$

The mapping f → f(c) is linear since

$\left(f+g\right)\left(c\right) = f\left(c\right) + g\left(c\right)$
$\left(\alpha f\right)\left(c\right) = \alpha f\left(c\right).$

If x0, ..., xn are n+1 distinct points in [a,b], then the evaluation functionals evxi, i=0,1,...,n form a basis of the dual space of Pn.  (Lax (1996) proves this last fact using Lagrange interpolation.)

The integration functional I defined above defines a linear functional on the subspace Pn of polynomials of degree ≤ n.  If x0, …, xn are n+1 distinct points in [a,b], then there are coefficients a0, …, an for which

$I\left(f\right) = a_0 f\left(x_0\right) + a_1 f\left(x_1\right) + \dots + a_n f\left(x_n\right)$

for all f ∈ Pn.  This forms the foundation of the theory of numerical quadrature.

This follows from the fact that the linear functionals evxi : f → f(xi) defined above form a basis of the dual space of Pn (Lax 1996).

### Linear functionals in quantum mechanics

Linear functionals are particularly important in quantum mechanics.  Quantum mechanical systems are represented by Hilbert spaces, which are anti-isomorphic to their own dual spaces.  A state of a quantum mechanical system can be identified with a linear functional.  For more information see bra-ket notation.

### Distributions

In the theory of generalized functions, certain kinds of generalized functions called distributions can be realized as linear functionals on spaces of test functions.

## Properties

• Any linear functional L is either trivial (equal to 0 everywhere) or surjective onto the scalar field.  Indeed, this follows since just as the image of a vector subspace under a linear transformation is a subspace, so is the image of V under L.  But the only subspaces (i.e., k-subspaces) of k are {0} and k itself.
• A linear functional is continuous if and only if its kernel is closed (Rudin 1991, Theorem 1.18).
• Linear functionals with the same kernel are proportional.
• The absolute value of any linear functional is a seminorm on its vector space.

## Visualizing linear functionals

In finite dimensions, a linear functional can be visualized in terms of its level sets.  In three dimensions, the level sets of a linear functional are a family of mutually parallel planes; in higher dimensions, they are parallel hyperplanes.  This method of visualizing linear functionals is sometimes introduced in general relativity texts, such as Gravitation by Misner, Thorne & Wheeler (1973).

## Dual vectors and bilinear forms

Every non-degenerate bilinear form on a finite-dimensional vector space V gives rise to an isomorphism from V to V*. Specifically, denoting the bilinear form on V by < , > (for instance in Euclidean space <v,w> = vw is the dot product of v and w), then there is a natural isomorphism $V\to V^*:v\mapsto v^*$ given by

The inverse isomorphism is given by where f* is the unique element of V for which for all w ∈ V

$\langle f^*, w\rangle = f\left(w\right).$

The above defined vector v* ∈ V* is said to be the dual vector of v ∈ V.

In an infinite dimensional Hilbert space, analogous results hold by the Riesz representation theorem.  There is a mapping V → V* into the continuous dual space V*.  However, this mapping is antilinear rather than linear.

## Bases in finite dimensions

### Basis of the dual space in finite dimensions

Let the vector space V have a basis $\vec\left\{e\right\}_1, \vec\left\{e\right\}_2,\dots,\vec\left\{e\right\}_n$, not necessarily orthogonal.  Then the dual space V* has a basis $\tilde\left\{\omega\right\}^1,\tilde\left\{\omega\right\}^2,\dots,\tilde\left\{\omega\right\}^n$ called the dual basis defined by the special property that

$\tilde\left\{\omega\right\}^i \left(\vec e_j\right) = \left\\left\{\begin\left\{matrix\right\} 1 &\mathrm\left\{if\right\}\ i=j\\ 0 &\mathrm\left\{if\right\}\ i\not=j.\end\left\{matrix\right\}\right.$

Or, more succinctly,

$\tilde\left\{\omega\right\}^i \left(\vec e_j\right) = \delta^i_j$

where δ is the Kronecker delta.  Here the superscripts of the basis functionals are not exponents but are instead contravariant indices.

A linear functional $\tilde\left\{u\right\}$ belonging to the dual space $\tilde\left\{V\right\}$ can be expressed as a linear combination of basis functionals, with coefficients ("components") ui,

$\tilde\left\{u\right\} = \sum_\left\{i=1\right\}^n u_i \, \tilde\left\{\omega\right\}^i.$

Then, applying the functional $\tilde\left\{u\right\}$ to a basis vector ej yields

$\tilde\left\{u\right\}\left(\vec e_j\right) = \sum_\left\{i=1\right\}^n \left(u_i \, \tilde\left\{\omega\right\}^i\right) \vec e_j = \sum_i u_i \left(\tilde\left\{\omega\right\}^i \left(\vec e_j\right)\right)$

due to linearity of scalar multiples of functionals and pointwise linearity of sums of functionals.  Then

$\tilde\left\{u\right\}\left(\left\{\vec e\right\}_j\right) = \sum_i u_i \left(\tilde\left\{\omega\right\}^i \left(\left\{\vec e\right\}_j\right)\right) = \sum_i u_i \delta^i \left\{\right\}_j = u_j$

that is

$\tilde\left\{u\right\} \left(\vec e_j\right) = u_j.$

This last equation shows that an individual component of a linear functional can be extracted by applying the functional to a corresponding basis vector.

### The dual basis and inner product

When the space V carries an inner product, then it is possible to write explicitly a formula for the dual basis of a given basis.  Let V have (not necessarily orthogonal) basis $\vec\left\{e\right\}_1,\dots, \vec\left\{e\right\}_n$.  In three dimensions (n = 3), the dual basis can be written explicitly

$\tilde\left\{\omega\right\}^i\left(\vec\left\{v\right\}\right) = \left\{1 \over 2\right\} \, \left\langle \left\{ \sum_\left\{j=1\right\}^3\sum_\left\{k=1\right\}^3\varepsilon^\left\{ijk\right\} \, \left(\vec e_j \times \vec e_k\right) \over \vec e_1 \cdot \vec e_2 \times \vec e_3\right\} , \vec\left\{v\right\} \right\rangle.$

for i = 1, 2, 3, where ε is the Levi-Civita symbol and $\langle,\rangle$ the inner product (or dot product) on V.

In higher dimensions, this generalizes as follows

$\tilde\left\{\omega\right\}^i\left(\vec\left\{v\right\}\right) = \left\langle \frac\left\{\underset\left\{\sum\right\}\varepsilon^\left\{ii_2\dots i_n\right\}\left(\star \vec\left\{e\right\}_\left\{i_2\right\}\wedge\dots\wedge\vec\left\{e\right\}_\left\{i_n\right\}\right)\right\}\left\{\star\left(\vec\left\{e\right\}_1\wedge\dots\wedge\vec\left\{e\right\}_n\right)\right\}, \vec\left\{v\right\} \right\rangle$

where $\star$ is the Hodge star operator.