Advanced maths

Finite associative algebra isomorphism calculator with a linear change of basis

Search exact unital linear isomorphisms between finite associative algebras over the same prime field.

Your numbers

Valid JSON; preserve the shown array or object structure.
Valid JSON; preserve the shown array or object structure.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Two finite-dimensional algebras over the same field are isomorphic when an invertible field-linear map preserves every product. Equal vector-space dimension is necessary but not sufficient. Their basis labels can differ, and the calculator searches for a change of coordinates that respects the algebra structure.

THE FORMULAParsefullstructureconstantsc[i][j][k]overGF(p). Verifybilinearassociativityonallbasistriples,findtwo-sidedidentityviasolvinglinearconstraintsandverify. EnumerateinvertiblelinearPwithP*oneA=oneB. RequireP(ei*Aj)=P(ei)*B P(ej)forallbasispairs. ReturnPandinverse,productchecks. NoisomorphismrequiresallGLcandidatesexhausted; isomorphicvector-space/radicaldimensionaloneinsufficient. Fieldp2or3dimension≤3, statecap.

A worked example

With the prefilled inputs, isomorphic = Yes. Nested table[i][j][k] gives coefficient of basis k in product i*j.

Good to know

Exact linear multiplicative unital isomorphism over the DECLARED base prime field; no semilinear or Morita equivalence substitution.

An algebra isomorphism preserves both addition and multiplication

Two finite-dimensional algebras over the same field are isomorphic when an invertible field-linear map preserves every product. Equal vector-space dimension is necessary but not sufficient. Their basis labels can differ, and the calculator searches for a change of coordinates that respects the algebra structure.

The input is an associative unital algebra described by structure constants. It is not a Lie algebra bracket table or an arbitrary nonassociative product. Validate those assumptions before searching; otherwise an attractive invertible matrix could be solving a different classification problem.

A product-preserving linear basis swapSwap the basis of the binary dual numbersSource basis: (1, ε)Target basis: (ε, 1)0110P1 = (1,0)ε = (0,1)1 = (0,1)ε = (1,0)ε² = 0 in both algebras; P is invertible and preserves products.
Scroll across to see the full diagram.
The swap matrix changes coordinates from (1,epsilon) to (epsilon,1) in the same dual-number algebra. Identity coordinates move, but multiplication is preserved.

Compare with the Finite algebra Jacobson radical calculator from multiplication constants. Compare twomultiplicationtensors under an invertiblelinearmap; equalradicaldimensions donot establishalgebraisomorphism.

Keep structure-constant indexing unambiguous

Nested table[i][j][k] gives coefficient of basis k in product i*j.The coefficient vector for basis product e_i times e_j must be stored in a declared order. Reversing i and j changes a noncommutative algebra. The same indexing convention should appear in the field labels, example table and product-preservation certificate.

All coefficients lie in the selected prime field. Modular elimination determines invertibility, and the identity element can be found through linear constraints followed by direct verification. Guessing that the first basis vector is one would reject valid reordered bases such as the worked example.

Test products only after verifying an invertible map

For a candidate matrix P, its columns describe images of the source basis in target coordinates. Require full field rank and preservation of the identity. Then verify P(e_i e_j)=P(e_i)P(e_j) for every basis pair; bilinearity extends those equalities to all elements.

Exhaustive enumeration over the small general linear group is straightforward but still needs a work budget. Invariant checks such as dimensions of special subspaces can prune candidates. Matching invariants never replaces the final product checks or proves that an isomorphism must exist.

Swap the basis of the binary dual numbers

Let the source basis be one and epsilon with epsilon squared zero. In the target, list epsilon before one. The identity coordinates change from (1,0) to (0,1), but the algebra itself is unchanged.

The swap matrix sends the source one to target one and source epsilon to target epsilon. It is invertible over the binary field and preserves each basis product. This fixture checks that identity discovery, column orientation and multiplication indexing all survive a nontrivial basis reorder.

Compare dual numbers with a product of fields

A useful negative test compares the dual numbers with the product of two binary fields. Both have dimension two and are commutative, yet the dual numbers contain a nonzero nilpotent epsilon while the field product has none. They therefore cannot be isomorphic.

The optimizer should find no product-preserving invertible map in that case. The nilpotent obstruction explains the answer independently, while exhaustive search verifies the implementation's bounded task. Merely comparing dimensions or commutativity would incorrectly leave these algebras indistinguishable.

Display the basis map and its product residuals

The static figure should connect each source basis element to its target coordinate combination. A table can show the image of each source basis product beside the product of the corresponding images. Every residual must vanish in the selected field.

The public result returns an isomorphic flag and, for a positive answer, the basis-map matrix whose columns are source basis images. It does not separately return an inverse matrix or a product-residual table. Invertibility and every basis product identity are checked internally; a reader can independently invert the small returned map and replay those identities if desired.

A stopped search cannot certify nonisomorphism

One verified matrix is enough for a positive result. A negative result requires exhausting all admissible invertible candidates or supplying a valid structural obstruction. If enumeration hits its cap, the correct status is unresolved, even when many matrices have already failed.

Test shuffled bases, invalid associativity, a nonunital input and the dual-number versus field-product pair. These cases separate input validity, linear invertibility and multiplicative preservation. The narrow field and dimension limits should remain visible rather than implying a general efficient algebra-classification engine. The public prefill supplies identical binary dual-number tables and therefore admits the identity basis map. The swapped-basis example above is separate and requires a nonidentity matrix. A returned false result has basisMap null; a successful map is always relative to the two submitted basis orders and should not be copied to a reordered target table without translating coordinates. Exact linear multiplicative unital isomorphism over the DECLARED base prime field; no semilinear or Morita equivalence substitution.

A few questions, answered

Are equal dimensions enough to prove isomorphism?

No. The linear bijection must preserve multiplication, and many same-dimensional algebras have different structures.

Must the first basis vector be the identity?

No. The engine should discover and verify the two-sided identity from the supplied constants.

What do the columns of the returned matrix mean?

Each column gives the target coordinates of one source basis element under the isomorphism.

Does an invertible matrix automatically preserve algebra products?

No. Every basis-pair product identity must also hold in the selected field.

Find your calculator

Start typing to explore the library.