Bases B and C
Convention: [v]_C = P_(C←B) [v]_B, equivalently C · P_(C←B) = B. B is the basis you convert from, C the basis you convert to.
Each column is one basis vector, so an m × k basis lives in R^m with k vectors. Fractions such as 3/4 and finite decimals are exact. Both bases must span the same subspace; k < m (a proper subspace) is supported.
Transition Matrix
P_(C←B) — 2 × 2
1 -1 0 1
Rows = coordinates in C; columns = the B basis vectors expressed in C.
P_(B←C) — the reverse direction
1 1 0 1
Exactly the inverse of the matrix above; both products equal I2.
Workings
Help & Limits
A transition matrix exists exactly when B and C are independent ordered bases of the same subspace, which the tool checks as rank(B) = rank(C) = rank([B C]) = k. Otherwise it refuses and explains which condition failed rather than returning a plausible-looking matrix.
Direction is defined by C · P_(C←B) = B, so P's columns are the B vectors expressed in C. The reverse option shows P_(B←C) = P_(C←B)⁻¹, computed by exact Gauss–Jordan elimination.
Documented limits: each basis may have at most 8 rows and 8 columns, and each entry may have at most 40 digits in its numerator or denominator. Exceeding either limit reports a structured error and preserves your input.
Stored state: the two ordered bases, the direction and the reverse-display toggle only. Every matrix shown is recomputed from that state on load. The snapshot schema has no field for a computed matrix, so a shared or hand-edited payload cannot supply a result the bases do not imply.