Explore modules

Dual Basis and Linear Functionals

Visualize dual basis, linear functionals, and dual expansion coefficients.

Free theory article

Visualize dual basis, linear functionals, and dual expansion coefficients.

Concept & interpretation

In linear algebra, a linear functional is a linear map from a vector space to its field of scalars (e.g., from ℝ2 to ℝ). The set of all linear functionals on a vector space V forms a new vector space called the dual space, denoted V*. Given a basis B = {b1, b2} for V, there is a natural corresponding basis for the dual space, called the dual basis B* = {f1, f2}, defined by the relation fi(bj) = δij, where δij is the Kronecker delta (1 if i=j, 0 otherwise). In matrix terms, if the vectors of B are the columns of a matrix, the linear functionals of the dual basis B* are the rows of its inverse matrix.

Experiment

Explore the dual basis using the interactive visualization:

  1. Open the Dual Basis and Linear Functionals module.
  2. The default values match our worked example: B11=1, B12=1, B21=1, B22=-1. x1=3, x2=1, g1=2, g2=-1.
  3. Observe the canvas: The primal basis vectors b1 and b2 are shown as vectors (arrows). The linear functionals f1, f2, and g are shown as sets of level lines. Notice that the level lines of f1 are parallel to b2, and the level lines of f2 are parallel to b1.
  4. Change B12 to 2 and B21 to 0 (making B an upper triangular matrix). Notice how the dual basis rows (functionals) change their orientation, and how the level lines adjust.
  5. Try setting B11=1, B12=2, B21=1, B22=2. This makes the basis vectors linearly dependent (determinant is 0). The module will display an explicit "Dependent basis: no unique dual basis" message, as the inverse matrix B-1 does not exist.
Read the full free theory article