Keep the same origin and the same vector , but use the nonperpendicular basis vectors and . They form a basis because the column matrix has nonzero determinant:
The reconstruction is . Its coordinates are read along lines parallel to the other axis, producing a parallelogram. These lines need not be perpendicular to the axis being measured. In contrast, the dot products are and ; treating those as coordinates would reconstruct , a different vector.
Figure 1.
The same vector reconstructed in an oblique basis: coordinates differ from dot products
. Details.
The dual basis supplies the right measuring rules for any basis.[ref] Here these coordinate functionals are and , the rows of . They give . Equivalently, their representing vectors , satisfy and extract the coordinates as . These are Riesz dual basis in an inner product space representatives, rather than the original basis vectors.
The Gram matrix records how the nonperpendicular directions interact:
For any real basis represented by a square invertible matrix , writing gives these identities immediately. One can recover the coordinates either as or by solving . In this example, if , the squared norm is , not . Oblique coordinates remain useful when natural directions are not perpendicular, but the Gram matrix must accompany them when computing lengths or dot products.
Cartesian basis Created 2026-09-24 Updated 2026-10-14
A Cartesian basis is an ordered basis of unit vectors along the mutually perpendicular axes of a Cartesian coordinate system. It is an orthonormal basis of a real Euclidean space: , with the Kronecker delta. In the plane, the familiar standard basis is , ; the vector is . A rotated pair of perpendicular unit vectors is also a Cartesian basis, even though its basis vectors have different standard basis entries.
The advantage is that coordinates can be measured separately by dot products, and the squared norm is the sum of their squares:
These are the real Euclidean space instances of the orthonormal basis expansion.[ref]
An orthogonal basis only requires perpendicular basis vectors; their lengths need not be one. For example, are orthogonal, but has coordinates , while its dot products with them are . For an orthogonal basis , the coordinate along is . Dividing each nonzero basis vector by its norm makes it a unit vector without changing its direction. Unit length alone does not imply orthogonality: and are both unit vectors but have dot product .
The examples below show why these distinctions matter: rotating a Cartesian basis changes the coordinate vector while keeping lengths easy to compute; using nonperpendicular basis vectors still gives unique coordinates, but requires the dual basis or a matrix inverse to extract them.
Cokernel Created 2026-09-29 Updated 2026-10-14
The cokernel records output information that a linear map cannot produce. For , it is the quotient vector space
Its elements are cosets . Two vectors represent the same class exactly when is in the image of a linear map. The zero class is the whole image of a linear map, so
Changing by an attainable output does not change its obstruction. This is useful because one can test compatibility before trying to find an input. The quotient vector space construction is described in Axler's §3E. [ref]
For the linear map given by , the image of a linear map is the horizontal line. All outputs with the same second coordinate have the same cokernel class, because their difference is horizontal. Thus this cokernel is isomorphic to via . In particular, has zero class and is attainable, while has nonzero class and is unattainable.
Figure 1.
The second output coordinate is a cokernel obstruction to solving
. The horizontal axis is the image of a linear map . The class of is the parallel line , which never meets the image. The projection is attainable but has a different cokernel class. Details.
If is finite-dimensional, the dimension rule for a quotient vector space gives
Compare this with the rank-nullity theorem, . The kernel counts invisible inputs; the cokernel counts missing output directions. They need not have the same dimension: has a two-dimensional kernel and a one-dimensional cokernel. A linear map is surjective exactly when its cokernel is zero.
The cokernel is a quotient, rather than a chosen perpendicular vector subspace. With a finite-dimensional inner product space as output, one may represent each class by its unique component in the orthogonal complement of the image of a linear map. That representation depends on the chosen inner product. For matrices over the complex numbers, this complement is , leading to the cokernel compatibility equations.
The same quotient definition applies to a group homomorphism of abelian groups. For given by , the cokernel is . The equation is solvable exactly when is an even integer; the two cosets record integer parity. A quotient captures the obstruction here just as it captures a missing output coordinate for a linear map.
Cyclic property of the trace Created 2026-09-24 Updated 2026-10-14
If is an -by- matrix and is an -by- matrix over the same field, both products are square matrices and
The products can even have different sizes: for and , and , but both have trace .[ref]
Grouping all but one factor proves that is unchanged by a cyclic permutation whenever the cyclic products are defined and square. In particular, every commutator has trace zero, since by linearity.
Cyclic rotation does not allow arbitrary reordering. For
one has , so , but , so . Rotating to or preserves its trace; swapping just and need not.
Dual basis Created 2026-09-24 Updated 2026-10-14
For a basis of a finite-dimensional vector space , its dual basis consists of linear functionals satisfying
The Kronecker delta means that each rule gives one on its own basis vector and zero on the others. These rules extract coordinates:
Applying to a linear combination removes every term except the th. Consequently the dual basis is a basis of the dual space, and every linear functional has expansion . [ref].
Coordinate extraction works for a nonorthogonal basis too. With and , the dual basis is
The checks , , , and fix the two rules. For they give coordinates , so . The usual dot products with instead give and do not extract these coordinates: simple projection formulas depend on an orthonormal basis.
Figure 1.
The dual basis extracts coefficients in a skew basis by two scalar-valued measurements
. Details.
The same idea explains polynomial interpolation. On polynomials of polynomial degree at most , evaluation at distinct interpolation nodes gives the dual basis to the Lagrange cardinal polynomials, because . Samples are coordinates in this basis, so the reconstruction is a dual-basis expansion. Differentiation weights from nodal evaluations and factorial monomial basis for polynomial differentiation apply the same principle to different measurements.
Dual space Created 2026-09-24 Updated 2026-10-14
The dual space of a vector space over a field is the vector space of all linear functionals . Think of a vector as an input and a linear functional as a scalar-valued measurement of that input. For , the rules , , and are different elements of the dual space. None needs a notion of length or angle.
Its operations combine measurements pointwise:
The dual basis explains the finite-dimensional structure: specifying a linear functional's values on a basis determines its value on every vector. Thus an -dimensional vector space has an -dimensional dual space. The spaces have the same dimension, but their elements play different roles: an input and a rule that measures an input. [ref].
This separation is useful when changing coordinates. The dual pairing must stay the same while the component lists for and change in opposite ways. Covector transformation under a change of basis makes the compensation explicit. An inner product on a finite-dimensional real vector space gives one way to represent each linear functional by a vector, but that representation uses the chosen inner product; the dual space itself does not require one.
Here dual space means the algebraic dual: all linear functionals. For a topological vector space, the continuous dual space keeps only the continuous linear functionals. In infinite dimension, this can be a proper vector subspace; discontinuous functional detected by vanishing sequence tails gives an example. The distinction matters when a scalar-valued measurement must respond continuously to small input changes.
Exterior product Created 2026-10-05 Updated 2026-10-14
The exterior product, also called the wedge product, combines oriented elements through the multiplication
For two vectors, it is bilinear and alternating:
These rules imply . They distinguish the exterior product from both the symmetric dot product and the unconstrained tensor product.[ref]
In an oriented orthonormal plane, write and . Expanding in its standard basis gives
The determinant is the signed area of the parallelogram formed by the two inputs. Its absolute value is the ordinary area. Reversing the input order reverses the sign; parallel inputs produce zero.
For the original example and ,
Replacing by changes the shape but preserves the product: . Both parallelograms have the same oriented area element. If , the exterior product is zero, since .
Figure 1.
An exterior product records signed area and survives a shear
. Original parallelograms generated by with and with . Both have signed area in the chosen Cartesian orientation. Reversing the order of the two input vectors gives . The vertices and arrows are illustrative geometry, rather than measured data. Details.
The same rule adds directions in higher dimensions. With and the three-dimensional inputs under bivector,
Its coefficient is the oriented volume of the three-dimensional parallelepiped. Repeating or linearly depending on earlier inputs collapses the volume, giving zero.
For homogeneous elements of a graded algebra of degrees , the general commutation rule is
Swapping a bivector with another bivector therefore produces a positive sign, since . It is the number of individual vector swaps that controls the sign, not a rule that every pair of objects must anticommute.
Matrix similarity Created 2026-10-03 Updated 2026-10-14
Two square matrices over the same field are similar if for an invertible matrix . They can describe one linear operator using two different ordered bases, with the same basis used for input and output in each description. Fix the convention : is the old coordinate vector, the new coordinate vector, and the columns of are the new basis vectors in old coordinates. This is the convention of the change-of-basis matrix.[ref]
For a concrete linear operator on the physical plane, let double horizontal components and multiply vertical components by five. In the old standard basis , its matrix of a linear map is . Choose the new ordered basis with , . Then
The second column of says . Its off-diagonal entry records how the chosen basis vectors describe the output; the physical linear operator still stretches along the old horizontal and vertical directions.
Take the physical vector . Its two coordinate vectors, and the two descriptions of , are
Reconstruction gives . The output coordinate vectors differ, but the endpoint in the physical plane is the same.
Figure 1.
One linear operator and the same two physical vectors described in a standard basis and an oblique basis
. Both panels use the same physical plane and scale. The blue arrow is , and the orange arrow is . Dotted paths reconstruct them from their respective basis vectors; the right grid follows , . Details.
This is why matrix similarity is useful: a convenient basis can simplify calculations without changing the linear operator. A diagonalizable matrix can be replaced by a diagonal matrix, making repeated application a calculation with powers of its eigenvalues. In the example, makes the two independent stretch factors visible, while expresses the same action in directions chosen for another purpose. Matrix similarity invariants separate properties of the linear operator from features of its address system.
Matrix similarity invariants are quantities unchanged by replacing with . Important examples are the characteristic polynomial, trace, determinant, matrix rank, and eigenvalues with their algebraic multiplicities. The characteristic polynomial convention here is , where is the identity matrix.[ref]
The short determinant proof works over any field: because , multiplicativity of the determinant gives
Thus its roots, the eigenvalues, retain their algebraic multiplicities in any field extension where the polynomial splits. Also . The cyclic property of the trace gives ; equivalently, the trace is determined by the coefficient of in the characteristic polynomial for an -by- matrix.[ref]
For the two matrices in the opening example,
Their entries differ, yet these quantities agree. Agreement is a useful necessary test for matrix similarity; it is not sufficient in general, as same eigenvalues do not imply similarity illustrates.
The relation also preserves repeated application. Adjacent factors cancel to give
For the opening example, matrix powers therefore have the explicit form
At , this is . Acting on gives , which reconstructs as . More generally for every polynomial , so the minimal polynomial is also unchanged. Multiplication by invertible matrices preserves matrix rank, giving another invariant without finding eigenvalues.
Matrix trace Created 2026-09-24 Updated 2026-10-14
For an -by- square matrix over a field, its matrix trace is the sum of its diagonal entries:
For example, has trace . Adding corresponding diagonal entries immediately proves linearity:
Thus matrix trace is a linear functional on the vector space of -by- matrices.[ref]
The surprising point is that the sum is intrinsic to a linear operator, even though individual diagonal entries depend on the basis. The cyclic property of the trace gives, for any invertible matrix ,
Hence matrix similarity preserves trace. For the example above, choose the change-of-basis matrix . Then
The diagonal entries have changed but their sum has not. This makes trace useful for extracting a feature of the underlying linear operator without finding a preferred basis.
Over the complex numbers, or over the real numbers after allowing complex eigenvalues, the trace equals their sum with algebraic multiplicity:
No diagonalizable matrix hypothesis is needed.[ref] To see why, use triangularization over an algebraically closed field: an upper triangular matrix similar to has the eigenvalues on its diagonal, counted with algebraic multiplicity, because its characteristic polynomial is . Similarity preserves trace, so summing that diagonal proves the formula.
For instance,
There is only one independent eigenvector, since , so is not a diagonalizable matrix. Nevertheless its repeated eigenvalue contributes twice. For our earlier , the characteristic polynomial is , its eigenvalues are and , and their sum is . An inexpensive diagonal sum therefore gives spectral information before solving the characteristic polynomial.
The trace of a real matrix does not give that linear map's volume factor: that factor is the absolute value of its determinant. For example, has trace and area factor , but has trace and volume factor . Their occasional numerical agreement in two dimensions is a coincidence. The connection between trace and local volume change gives a geometric interpretation near the identity matrix, and describes the volume rate of a flow map generated by a linear system of differential equations.
Nullity of a linear map 2026-10-14
The nullity of a linear map is , the dimension of its kernel. It counts independent input directions that can change without changing the output. For a finite-dimensional vector space , the rank-nullity theorem gives
For an matrix of matrix rank , this is , using the number of columns, not the number of rows. This dimension identity is [ref].
The nullity answers a practical question about a linear system: once one input is known to produce the requested output, how much freedom remains? If , its fiber of a function over is
Indeed, exactly when . Thus every nonempty fiber is an affine subspace of dimension , with the same direction space as the kernel. The kernel itself is the fiber over zero. Outputs outside the image of a linear map have empty fibers; the nullity does not guarantee existence, and we assign no solution-space dimension to an empty fiber here.
Figure 1.
Nullity one gives parallel solution lines for
. Each colored input straight line is the fiber over the corresponding output . The blue line through the origin is the kernel. The orange inputs and give the same output; their difference belongs to the kernel. The output lies outside the image of a linear map and has no input. Exact toy geometry, not measured data. Details.
In the diagram, has matrix , matrix rank one and nullity one. Its kernel has basis , and the full solution of is . One free scalar moves the solution along a straight line; the output is impossible.
The existing three-input example instead has rank two and nullity one. Its image of a linear map is all of , and
Every output has a solution straight line. In contrast, has rank one and nullity two, with kernel basis . Its reachable output has the solution affine subspace
a plane, while with has no solution. These two linear maps have the same input and output dimensions but different freedom and reachability. Computing the kernel separates what an output determines from what an extra constraint would have to fix. For either example, a basis of the kernel gives one independent free scalar per basis vector, which is why nullity measures freedom rather than the number of solutions.
Rank-nullity theorem Created 2026-09-24 Updated 2026-10-14
The rank-nullity theorem accounts for the input dimensions of a linear map: the number of independent invisible input directions plus the number of independent reachable output directions equals the input dimension. For over a field, with finite-dimensional domain of a function ,
Here is the nullity, and is the rank of a linear map. The kernel lives in the input vector space, while the image of a linear map lives in the output vector space. For an -by- matrix of matrix rank , the formula is : the number of columns counts input coordinates. [ref]
For a computed example over the real numbers, take
The kernel is and the image of a linear map is . Each has dimension one, so the two input dimensions split as . The vector can be written
The second summand is undetectable: . The picture uses the standard dot product to choose a visible direction perpendicular to the kernel; this is a convenient geometric choice, not an extra hypothesis of the rank-nullity theorem.
Figure 1.
Two input dimensions split into one visible direction and one kernel direction
. For , the input splits into and . Both and map to , while the kernel component maps to zero. The horizontal output line is the entire image of a linear map. Details.
This explains a practical tradeoff in a linear system. If , every other input with output is for . The nullity therefore counts independent freedom in an existing solution; the rank counts independent reachable output directions. In the example, has all solutions , while has none. The cokernel records this failure of reachability.
For an -by- matrix, injectivity requires matrix rank , and surjectivity requires matrix rank . When , these conditions differ. For example, with has rank one and nullity two, because . The input accounting is , although only one of two output directions is reached.
Proof outline: extend a basis of the kernel to a basis of . Every output is a linear combination of because the vanish under . If a linear combination of the is zero, the corresponding combination of the lies in the kernel; linear independence of the full basis forces all its coefficients to vanish. Thus the added basis vectors give a basis of the image of a linear map. Counting them proves the formula.
Tensor product Created 2026-09-24 Updated 2026-10-14
A tensor product turns a bilinear map into a linear map. For vector spaces over the same field , its elements are finite sums of pure tensors , subject to bilinearity:
The scalar belongs to ; writing makes this choice explicit. These rules preserve separate linearity while allowing arbitrary linear combinations of products.[ref]
For a concrete example, take , with basis vectors in the first copy and in the second. The four tensor-product basis elements are
The pure tensor made from and expands to
Each basis vector in one factor can interact with each basis vector in the other. This is why dimensions multiply; the tensor-product coefficient matrix displays these four interactions as a two-by-two grid.
The tensor product is different from the Cartesian product . With componentwise vector addition and scalar multiplication, the latter contains pairs and has dimension . The map is bilinear, generally neither linear on that Cartesian product nor injective nor surjective. In our example, , and ; the separability of a tensor explains why some outputs cannot be reached at all. Both spaces happen to have dimension four when , but this coincidence does not identify their structures.
Tensor-product basis 2026-10-05
If and are bases of finite-dimensional vector spaces , then is a basis of . Bilinearity gives spanning, and applying products of dual coordinate functionals gives independence. Thus .
Trivial kernel Created 2026-09-28 Updated 2026-10-14
A linear map has a trivial kernel when : the zero vector is the only input producing the zero output. The kernel is a singleton set, not the empty set, because every linear map sends zero to zero. Equivalently, its nullity is zero and is injective. This holds even without a finite-dimensional hypothesis; see Linear Algebra Done Right by Sheldon Axler (4th edition).
The reason this zero-output test controls all outputs is linearity:
With a trivial kernel, equal outputs force equal inputs. Therefore every equation has at most one solution. Existence is a separate question: must belong to the image of a linear map. In the fiber description under nullity, is just the single point .
For example, the linear map , , has trivial kernel and full column rank:
The output comes from exactly , while is unreachable. Conversely, , , is surjective and has full row rank, but its kernel is : every output comes from the solution straight line .
For an matrix, a trivial kernel is equivalent to matrix rank and linear independence of its columns. It can therefore occur only if . If , the rank-nullity theorem also forces surjectivity, giving an invertible matrix; if , the example shows why unique recovery of reachable inputs does not imply that every output is reachable. Finally, a trivial kernel guarantees exact uniqueness without guaranteeing numerical stability: the singular matrix example has trivial kernel for every , even as its condition number grows without bound when approaches zero.
For vector spaces , every multilinear map factors uniquely through a linear map sending a decomposable tensor to of its factors. Thus multilinear formulas define linear maps on tensor products without choosing a basis. Tensor contraction is an example, using the evaluation pairing between a vector and a covector.