← LibraryMatrix Rings and Endomorphism Rings of Modules | KEVOS®Project Delivery · Project ManagementLesson 99/189← PrevNext →
ArticlePublished 8 Aug 202618 min readBy Kevin Jogin
Skip to content

Engineering Mathematics Foundation Ring constructions

Matrix and Endomorphism Rings

Every ring is an endomorphism ring, and every matrix ring is the endomorphism ring of a free module. Getting the two identifications REnd(RR) and EndR(Mn)Mn(EndR(M)) right — including which side the modules sit on — is the foundation on which Wedderburn–Artin theory is built.

Page ID
KEVOS-ENG-MATH-NCR-0010
Taxonomy
ENG / ENG-MATH
Collection
noncommutative-rings-core
Source
(1.10), (1.12)–(1.13), §1 (pp. 11–14)
Reviewed
2026-08-08
Version
1.0.0

Executive Summary

Two identifications underlie the whole structure theory of rings. The first says that a ring loses nothing when regarded as an operator algebra: left multiplications identify R with End(RR), the endomorphism ring of R as a right module over itself. The second says that endomorphisms of a direct sum of n copies of a module are matrices over the endomorphism ring of that module.

Together they explain why matrix rings are unavoidable: Mn(R)End(RRn), and every semisimple ring turns out to be a finite product of such rings over division rings. They also explain the sidedness conventions of the subject. If one insists on left modules and writes maps on the left, the first identification produces Rop rather than R, and every subsequent formula acquires an unwanted transpose.

REnd(RR)Regular representation
Mn(EndM)End of Mn
Z(R)InCentre of Mn(R)
Mn(I)Every ideal of Mn(R)

Overview

Let 𝒞 be an additive category and A an object. The set End𝒞(A) of endomorphisms of A is an abelian group under pointwise addition, composition is biadditive and associative, and idA is a multiplicative identity. So End𝒞(A) is a ring, with no hypotheses at all. Taking 𝒞 to be right R-modules gives EndR(A) for any right R-module A.

The interesting case is A=RR, the ring viewed as a right module over itself. Its submodules are exactly the right ideals, and its endomorphisms turn out to be exactly the left multiplications.

L:REnd(RR),L(r)(a)=ra,
(1.12)

The regular representation. It is a ring isomorphism, not merely an embedding.

Iterating with A=Rn produces Mn(R), and the same argument applied to an n-dimensional right vector space V over a division ring k gives Endk(V)Mn(k). That last isomorphism is the reason the Wedderburn–Artin theorem can be stated with matrix rings at all.

The internal structure of Mn(R) is controlled by the matrix units eij. They form a -basis of Mn()Mn(R), multiply by the rule eijekl=δjkeil, and sum to the identity along the diagonal. Every computation on this page is an exercise in sandwiching an unknown matrix between two matrix units.

Learning Objectives

  • Prove that L:REnd(RR) is a ring isomorphism and identify End(RR) with Rop.
  • Derive EndR(Mn)Mn(EndR(M)) from the injections and projections of a direct sum.
  • Use matrix units to show Z(Mn(R))=Z(R)In.
  • Show that every two-sided ideal of Mn(R) is Mn(I) for a unique ideal I of R.
  • Describe the upper triangular subring TMn(k), its nilpotent ideal and its semisimple quotient.
  • Compute the 4×4 real matrix representation of the quaternions.

Definitions

Definition(1.12)Endomorphism ring

For a right R-module A, EndR(A) denotes the set of R-linear maps AA, with addition (f+g)(a)=f(a)+g(a) and multiplication fg=fg. Maps are written on the left of their arguments throughout, so (fg)(a)=f(g(a)).

DefinitionMatrix ring and matrix units

Mn(R) is the ring of n×n arrays over R with the usual operations; (AB)ij=lAilBlj. The matrix units eij have a 1 in position (i,j) and 0 elsewhere, and satisfy

eijekl=δjkeil,i=1neii=1,A=i,jaijeij.
(M)
RR and RR
The ring R regarded as a right, respectively left, module over itself. Submodules are right, respectively left, ideals.
Rop
The opposite ring: same additive group, multiplication reversed. Mn(R)opMn(Rop) via transposition.
Tn(R)
The subring of upper triangular matrices in Mn(R).
Free module of rank n
Rn, with End(RRn)Mn(R).
Morita invariant
A ring-theoretic property shared by R and Mn(R) for every n; simplicity, primeness and the chain conditions are Morita invariant, commutativity is not.

Vector spaces over a division ring are taken to be right vector spaces, and scalars are written on the right. This is not fussiness: it is what makes the matrix of a composite equal the product of the matrices in the same order.

Core Concepts

Why right modules

Let V be a right k-vector space with basis e1,,en, so every vV is uniquely ieici with cik. For fEndk(V) write f(ej)=ieiaij. Then

f(jejcj)=jf(ej)cj=iei(jaijcj),
(1.13a)

Coordinates transform by cAc: matrices act on the left, scalars on the right, and the two never collide.

Composing gives (fg)(ej)=i,leiailblj, so the matrix of fg is AB — the same order. Had V been a left k-space with maps still written on the left, scalars and matrices would compete for the same side and End would come out as Mn(k)opMn(kop).

Sandwiching with matrix units

For A=(aij)Mn(R) the products with matrix units extract and relocate entries:

ekiAejl=aijekl.
(1.13b)

Every entry of A can be moved to any position without leaving the ideal generated by A.

This one identity proves the description of the centre, the description of the two-sided ideals, and the fact that Mn(R) is simple whenever R is. It is the workhorse of the subject.

Idempotents and corners

A decomposition M=M1M2 of a right R-module corresponds to an idempotent eEndR(M), namely the projection onto M1 along M2. In particular R=eR(1e)R for any idempotent eR, and

EndR(eR)eRe,ϕϕ(e),
(1.13c)

The corner ring. Taking e=e11 in Mn(R) recovers e11Mn(R)e11R.

The corner construction is developed on the Corner Rings page; the point here is that matrix rings and corner rings are inverse operations, RMn(R)e11Mn(R)e11R.

The upper triangular subring

Let k be a division ring and TMn(k) the upper triangular matrices, IT those with zero diagonal. Then I is a two-sided ideal of T, the diagonal map gives T/Ik××k (n factors), and I is nilpotent of exact index n: the product e12e23en1,n=e1n is nonzero, so In10, while In=0 because each factor raises the distance from the diagonal by at least one.

Key Results

Theorem(1.12)The regular representation

Let R be a ring. The map L:REnd(RR) sending r to left multiplication L(r):ara is a ring isomorphism. Dually, right multiplications give a ring isomorphism RopEnd(RR).

Proof

L(r) is right R-linear: L(r)(ab)=r(ab)=(ra)b=(L(r)(a))b. Additivity of L is clear, and L(rs)(a)=(rs)a=r(sa)=L(r)L(s)(a), so L is a ring homomorphism with L(1)=id.

Injective. If L(r)=0 then r=r1=L(r)(1)=0.

Surjective. Let ϕEnd(RR) and set r=ϕ(1). For every aR, right R-linearity gives ϕ(a)=ϕ(1a)=ϕ(1)a=ra=L(r)(a), so ϕ=L(r).

For the dual statement, right multiplication ρr:aar is left R-linear and ρrρs(a)=ρr(as)=asr=ρsr(a). So rρr reverses products: it is an isomorphism from Rop, not from R.

TheoremEndomorphisms of a direct sum of copies

Let M be a right R-module, n1, and Mn the direct sum of n copies of M. Write E=EndR(M). Then

EndR(Mn)Mn(E),f(πifιj)i,j,
(Ex. 20)

ιj and πi are the canonical injection into and projection from the j-th and i-th summands.

In particular, taking M=RR and using (1.12), End(RRn)Mn(R); and for an n-dimensional right vector space V over a division ring k, Endk(V)Mn(k).

Proof

The structural maps satisfy πiιj=δijidM and l=1nιlπl=idMn. Define Φ(f)ij=πifιjE. Additivity is immediate, and

Φ(fg)ij=πifgιj=πif(lιlπl)gιj=l(πifιl)(πlgιj)=(Φ(f)Φ(g))ij,

so Φ is multiplicative; Φ(id)=In because πiιj=δijid. The map Ψ((fij))=i,jιifijπj is a two-sided inverse: ΦΨ=id by the orthogonality relations, and ΨΦ(f)=i,jιiπifιjπj=f by the completeness relation applied on both sides.

PropositionCentre of a matrix ring

For every ring R and every n1, Z(Mn(R))={zIn:zZ(R)}; that is, the centre of Mn(R) consists of the scalar matrices with entry in the centre of R.

Proof

Let A=(aij) be central and fix kl. Comparing Aekl, whose (i,l) entry is aik and whose other columns vanish, with eklA, whose (k,j) entry is alj and whose other rows vanish, forces aik=0 for ik and akk=all. Hence A=zIn for a single zR. Commuting with rIn for all rR then gives zr=rz, i.e. zZ(R). The converse inclusion is immediate.

Proposition(3.1)Ideals of a matrix ring

Let R be a ring and n1. The map IMn(I) is an inclusion-preserving bijection from the two-sided ideals of R onto the two-sided ideals of Mn(R). In particular Mn(R) is simple if and only if R is simple.

Proof

That Mn(I) is an ideal is a direct check. Conversely let 𝔄 be an ideal of Mn(R) and put I={aR:ae11𝔄}. This is an ideal of R: it is additively closed, and for rR we have (ra)e11=(re11)(ae11)𝔄 and (ar)e11=(ae11)(re11)𝔄.

If A𝔄 then (1.13b) gives e1iAej1=aije11𝔄, so every entry of A lies in I and 𝔄Mn(I). Conversely if aI then aeij=ei1(ae11)e1j𝔄 for all i,j, and summing shows Mn(I)𝔄. Uniqueness of I follows since I is recovered as the set of (1,1) entries.

CorollaryWhat matrix rings inherit

For any ring R and any n1: Mn(R) is simple iff R is; Mn(R) is left noetherian (respectively left artinian) iff R is; and radMn(R)=Mn(radR). By contrast Mn(R) is never commutative and never a domain for n2 and R0, since e12e21e21e12 and e122=0.

Worked Example

The quaternions inside M2()

Let =ij with i2=j2=1, ij=ji=. The assignment

a+bi+cj+d(a+bic+dic+diabi)
(E.1)

An -algebra isomorphism of onto {(αββ¯α¯):α,β}M2().

is an isomorphism onto that subring. Checking the generators is enough: i(i00i), j(0110), and their product is (0ii0), the image of . The determinant of the image of q is a2+b2+c2+d2, the reduced norm — which is why nonzero quaternions are invertible.

The regular representation over

Now apply (1.12) with R=: left multiplication embeds End() inside End()M4(). Using the ordered basis 1,i,j, and recording the images of the basis vectors as columns, q=a+bi+cj+d maps to

(abcdbadccdabdcba).
(E.2)

The image is a 4-dimensional -subalgebra of M4() isomorphic to .

Verify the second column: qi=ai+bi2+cji+di=b+ai+djc, using ji= and i=j — exactly the entries (b,a,d,c). The remaining columns are the same computation with j and .

A calculation with matrix units

Take R= and n=2. Every ideal of M2() is M2(m) for some m0, by the proposition above. Concretely, the ideal generated by (0600) contains e11(6e12)e21=6e11, hence contains 6eij for all i,j, and equals M2(6). By contrast the left ideal M2()e11, consisting of the matrices whose second column is zero, is not of the form M2(I): the correspondence is for two-sided ideals only.

Frameworks and Models

Matrix rings over a field are a laboratory: almost every phenomenon in finite-dimensional ring theory can be produced by choosing a subring of Mn(k) carefully. The standard families are worth knowing by name.

  • Subrings of Mn(k)
    • Triangular families
      • Tn(k), all upper triangular matrices — nilpotent radical, semisimple quotient kn
      • upper triangular matrices whose last column vanishes above the diagonal
      • diagonal matrices whose first and last entries agree, plus an arbitrary (1,n) corner entry
    • Congruence subrings of M2()
      • (n0)
      • matrices with ad and bc(modn)
      • matrices with ad(modn) and b,cn
    • Field and division subalgebras
      • [α](3) inside M2(), for α=(0111) with characteristic polynomial t2+t+1
      • M2() and M4()
      • M2() via i(0110)
    • Mixed-coefficient triangular rings
      • (0) and (0) — see the Triangular Rings page

The last family leaves matrix rings behind: its entries come from different rings, and its systematic treatment is the triangular ring construction (RM0S).

Comparison and Classification

Which properties pass from R to Mn(R), n2
Passes to Mn(R)Reflects back to R
Simpleyesyes
Primeyesyes
Left noetherianyesyes
Left artinianyesyes
Semisimpleyesyes
Commutativenono
Domainnono
Localnono
Division ringnono

Which properties pass from R to Mn(R), n2

Endomorphism rings of familiar modules
ModuleEndomorphism ringWhy
RRRleft multiplications, (1.12)
RRRopright multiplications reverse products
RRnMn(R)matrix of components
eR, e2=eeReϕϕ(e)
V, an n-dimensional right k-spaceMn(k)choose a basis
V, infinite-dimensional over knot a matrix ringcontains a non-Dedekind-finite pair, ab=1ba
A simple module Sa division ringSchur's lemma

The penultimate row is the standard warning: the shift operator on a countably infinite-dimensional space is left-invertible without being invertible, so Endk(V) is not Dedekind-finite and cannot be Mn of anything.

Relationship Map

module MEndR(M)Mn(EndRM)EndR(Mn)

The chain is a closed loop: passing to endomorphisms of powers of a module, and passing to corners of a matrix ring, undo one another. That loop is the elementary shadow of Morita equivalence.

All ringsREnd(RR)
Matrix rings Mn(R)End(RRn); ideals are Mn(I)
Mn(D), D a division ringsimple artinian — the model of Wedderburn–Artin
Mn(k), k a fieldcentral simple over k of dimension n2

Downstream: Ideals of Matrix Rings and the Correspondence Theorem proves the ideal correspondence in the generality needed for Wedderburn–Artin; Matrix Rings over Division Rings identifies Mn(D) as the model simple artinian ring; Corner Rings runs the construction backwards.

Design Considerations

Design considerations here means the choices made when modelling a problem with these algebraic structures.

  • Which side for modules? If you want End of the free module of rank n to be Mn(R) with the usual multiplication, use right modules and write maps on the left. Any other combination introduces an opposite ring or a transpose, and the two errors do not cancel.
  • Rows or columns? With right modules, coordinates are columns and matrices act on the left. Switching to row vectors is legitimate but silently replaces Mn(R) by its opposite.
  • Scalars on which side? For a division ring k, right k-vector spaces make Endk(V)Mn(k); left ones give Mn(kop). For k commutative the distinction evaporates, which is why it is invisible in linear algebra courses.
  • **When to pass to Mn.** Morita-invariant questions — simplicity, primeness, chain conditions, the radical — can be moved to whichever of R and Mn(R) is easier. Questions about units, commutativity, or zero-divisors cannot.
  • Idempotents as design tools. A decomposition of the identity into orthogonal idempotents 1=e1++en turns R into a ring of n×n 'generalised matrices' with (i,j) block eiRej. Choosing the idempotents well is the practical form of choosing a matrix presentation.

Standards and Notation

Standards here covers notation, symbol and markup standards, and reference implementations, rather than material or design codes.

Preferred notationMn(R) for the matrix ring (Lam); eij for matrix units
Common variantsMatn(R), Rn×n, and 𝕄n(R) all occur; ISO 80000-2 prefers upright symbols for operators
EndomorphismsEndR(M); some authors write MR-linear maps on the right as (m)f, which changes composition order
TriangularTn(R) or UTn(R) for upper triangular matrices
GAPMatrixAlgebra, FullMatrixAlgebra; RadicalOfAlgebra for the radical
Sage / MagmaMatrixSpace(R, n), MatrixAlgebra(R, n); both act on column vectors by default

Failure Modes and Common Mistakes

  • Do not assume Mn(R)Mm(S) forces n=m and RS. It does when R and S are division rings, but not in general — Morita equivalence is coarser than isomorphism.
  • Do not compute the centre by 'diagonal matrices commute with everything'. They do not: diag(1,0) fails to commute with e12. Only scalar matrices with central entry are central.
  • Do not confuse Mn(R)op with Mn(Rop) as sets of matrices — they are isomorphic, but the isomorphism is transposition, not the identity map.
  • Do not expect the trace to be a ring homomorphism or even multiplicative; over a noncommutative R it is only well defined modulo the additive commutator subgroup.

Quick Reference

Regular representationREnd(RR) by r(ara)
Left versionRopEnd(RR) by r(aar)
PowersEndR(Mn)Mn(EndRM)
Free moduleEnd(RRn)Mn(R)
Matrix unitseijekl=δjkeil, ieii=1, ekiAejl=aijekl
CentreZ(Mn(R))=Z(R)In
Ideals𝔄Mn(R)iff𝔄=Mn(I), IR
Cornere11Mn(R)e11R; generally EndR(eR)eRe
Standard subrings of Mn(k), k a division ring
SubringRadicalSemisimple quotient
Mn(k)0itself
Tn(k), upper triangularstrictly upper triangular, nilpotent of index nk××k, n factors
Scalars kIn0k
(kk0k)(0k00), square zerok×k
e11Mn(k)e110k

Frequently Asked Questions

Why is End(RR) equal to R rather than merely containing it?

Because a right R-linear map is determined by its value at 1: if ϕ is right R-linear then ϕ(a)=ϕ(1)a, so ϕ is left multiplication by ϕ(1). The module RR is cyclic and free of rank one, which leaves no room for anything else.

What breaks if I use left modules everywhere?

Nothing mathematically, but the bookkeeping inverts. End(RR)Rop, and End(RRn)Mn(Rop)Mn(R)op. Wedderburn–Artin can be stated either way; Lam's choice of right modules for this purpose keeps the matrix multiplication order unreversed.

Are all the ideals of Mn(R) really of the form Mn(I)?

All two-sided ones, yes, and the correspondence is a lattice isomorphism. The proof is a two-line calculation with matrix units. One-sided ideals are a different story: Mn(k) over a field is simple but has a full lattice of left ideals, one for each subspace of kn.

Does Mn(R)Mn(S) imply RS?

Yes when R and S are division rings — the number n and the division ring are recovered from the module theory. For general rings the correct statement is weaker: Mn(R)Mn(S) implies R and S are Morita equivalent, and there exist non-isomorphic Morita equivalent rings.

Why does the quaternion algebra appear both inside M2() and inside M4()?

The 4×4 real picture is the regular representation, which exists for any finite-dimensional algebra: A embeds in Endk(A)MdimA(k). The 2×2 complex picture is smaller because M2() — extending scalars splits the division algebra.

Is EndR(M) ever commutative for an interesting M?

Yes, and it is a useful signal. Over a commutative ring, End of a module of rank one is commutative; over any ring, End of a simple module is a division ring by Schur's lemma but need not be commutative — End() is the standard example.

References

  1. T. Y. Lam, A First Course in Noncommutative Rings, Graduate Texts in Mathematics 131, Springer-Verlag, 1991, §1, Examples (1.10), (1.12)–(1.13) (pp. 11–14), with Exercises 9 and 20; the ideal correspondence is (3.1) in §3.
  2. F. W. Anderson and K. R. Fuller, Rings and Categories of Modules, 2nd edition, Graduate Texts in Mathematics 13, Springer-Verlag, 1992, §§4 and 22.
  3. N. Jacobson, Basic Algebra II, 2nd edition, W. H. Freeman, 1989, Chapter 3.
  4. L. H. Rowen, Ring Theory, Volume I, Academic Press, 1988, Chapter 1.
  5. T. Y. Lam, Lectures on Modules and Rings, Graduate Texts in Mathematics 189, Springer-Verlag, 1999, §17 (Morita theory).

AI Suggested Questions

  • Prove that Mn(R) and R have isomorphic lattices of two-sided ideals directly from Morita theory.
  • Show that Endk(V) for infinite-dimensional V has exactly three two-sided ideals when dimV is countable.
  • Given orthogonal idempotents summing to 1, write R as a generalised matrix ring and identify the blocks.
  • For which pairs (n,R) is Mn(R) isomorphic to a triangular ring (AM0B)?
  • Work out the automorphism group of Mn(k) for k a field and relate it to the Skolem–Noether theorem.
  • Compute the centre and the ideals of the congruence subring of M2() with b,cn.
  • Explain why the trace form on Mn(k) is nondegenerate and what that says about the radical.
Page
KEVOS-ENG-MATH-NCR-0010
Path
Engineering / Mathematics
Template
kevos-knowledge-article-v2
KEVOS® Knowledge Library — reviewed 2026-08-08

Continue learning

Algebraic and Geometric Multiplicities of Eigenvalues | KEVOS® MathematicsArticle · Project ManagementAmitsur’s Theorem on the Radical of a Polynomial Ring | KEVOS®Article · Project ManagementAmitsur’s Theorem on the Radical of an Algebra of Small Dimension | KEVOS®Article · Project ManagementArchetypes: Reference Catalogue of Worked Systems | KEVOS® MathematicsArticle · Project Management