Matrix of a bilinear form 2026-10-14
Choose an ordered basis of a finite-dimensional vector space. The matrix of a bilinear form records all pairings of basis vectors, with . Writing and , separate linearity gives
where the last expression uses the coordinate vectors of . Conversely, every matrix defines a bilinear form by this formula.[ref]
For a concrete bilinear form on , take
Then but : a bilinear form need not be a symmetric bilinear form. For and , first compute , then . Reversing the inputs gives and .
Figure 1.
Basis coefficients determine each pairing, but self-pairings lose the alternating part
. Details.
Under change of basis, let the columns of an invertible matrix be the new basis vectors in old coordinates. Thus and , so
This is matrix congruence, rather than the matrix similarity for an endomorphism. Both inputs have changed coordinates, which explains the two factors of . For the displayed and , direct multiplication gives ; its entry is .[ref]
Matrix similarity Created 2026-10-03 Updated 2026-10-14
Square matrices and are similar when for some invertible matrix . They represent the same linear operator in different bases and therefore have the same Jordan normal form.
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.
Ordered basis 2026-10-14
An ordered basis is a basis equipped with an ordering of its basis vectors. The order fixes which position of a coordinate vector corresponds to each basis vector.
Rotate an orthonormal basis counterclockwise by while keeping the vector fixed. The new basis vectors, written in the old basis, are the columns of . The change-of-basis matrix convention therefore gives
For example, the fixed vector with old coordinate vector has new coordinate vector after the basis turns by radians. Its negative second coordinate means that the arrow lies below the new first axis. By contrast, an active planar rotation through that same angle moves the arrow to old coordinates . The sign difference follows from which object moves. The passive component formulas are , .[ref]
If coordinate vectors are instead written as rows, transposing the active equation gives . Switching to rows changes the side and the transpose; it does not by itself turn an active planar rotation into passive rotation of coordinates.