ArticleslgStudy

mathematics

GCD matrix

GCD matrix is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand GCD matrix rather than just read about it. In short: In mathematics, a greatest common divisor matrix (sometimes abbreviated as GCD matrix) is a matrix that may also be referred to as Smith's matrix. The study was initiated by H.J.S.

GCD matrix — main illustration
GCD matrix — illustration

Key takeaways

  • GCD matrix belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect GCD matrix to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of GCD matrix from memory before moving on to harder problems.

Reference excerpt

In mathematics, a greatest common divisor matrix (sometimes abbreviated as GCD matrix) is a matrix that may also be referred to as Smith's matrix. The study was initiated by H.J.S. Smith (1875). A new inspiration was begun from the paper of Bourque & Ligh (1992). This led to intensive investigations on singularity and divisibility of GCD type matrices. A brief review of papers on GCD type matrices before that time is presented in Haukkanen, Wang & Sillanpää (1997).

Definition

Let S=(x1,x2,…,xn) be a list of positive integers. Then the n×n matrix (S) having the greatest common divisor gcd⁡(xi,xj) as its ij entry is referred to as the GCD matrix on S.The least common multiple (LCM) matrix [S] is defined analogously. The study of GCD type matrices originates from Smith (1875) who evaluated the determinant of certain GCD and LCM matrices. Smith showed among others that the determinant of the n×n matrix (gcd⁡(i,j)) is ϕ(1)ϕ(2)⋯ϕ(n), where ϕ is Euler's totient function.

Bourque–Ligh conjecture Bourque & Ligh (1992) conjectured that the LCM matrix on a GCD-closed set S is nonsingular. This conjecture was shown to be false by Haukkanen, Wang & Sillanpää (1997) and subsequently by Hong (1999). A lattice-theoretic approach is provided by Korkee, Mattila & Haukkanen (2019). The counterexample presented in Haukkanen, Wang & Sillanpää (1997) is S={1,2,3,4,5,6,10,45,180} and that in Hong (1999) is S={1,2,3,5,36,230,825,227700}. A counterexample consisting of odd numbers is S={1,3,5,7,195,291,1407,4025,1020180525}. Its Hasse diagram is presented on the right below.

The cube-type structures of these sets with respect to the divisibility relation are explained in Korkee, Mattila & Haukkanen (2019).

Divisibility Let S=(x1,x2,…,xn) be a factor closed set. Then the GCD matrix (S) divides the LCM matrix [S] in the ring of n×n matrices over the integers, that is there is an integral matrix B such that [S]=B(S), see Bourque & Ligh (1992). Since the matrices (S) and [S] are symmetric, we have [S]=(S)BT. Thus, divisibility from the right coincides with that from the left. We may thus use the term divisibility. There is in the literature a large number of generalizations and analogues of this basic divisibility result.

Generalized eigenvalues For S={1,2,…,n}, the generalized eigenvalues of the LCM matrix [S] with respect to the corresponding GCD matrix (S) are the values λ satisfying

det⁡([S]−λ(S))=0. Merikoski et al. (2025) compared this problem with the analogous generalized eigenvalue problem for MAX and MIN matrices. They determined the MAX–MIN generalized eigenvalues for every n≥1 and showed that the corresponding LCM–GCD result holds for n≤4, but fails in general for n>4.

Matrix norms Some results on matrix norms of GCD type matrices are presented in the literature. Two basic results concern the asymptotic behaviour of the ℓp norm of the GCD and LCM matrix on S={1,2,…,n}. Given p∈ℕ+, the ℓp norm of an n×n matrix A is defined as

‖A‖p=(∑i=1n∑j=1n|aij|p)1/p. Let S={1,2,…,n}. If p≥2, then

‖(S)‖p=Cp1/pn1+(1/p)+O((n(1/p)−pEp(n)), where

Cp:=2ζ(p)−ζ(p+1)(p+1)ζ(p+1) and Ep(x)=xp for p>2 and E2(x)=x2log⁡x. Further, if p≥1, then

‖[S]‖p=Dp1/pn2+(2/p)+O((n(2/p)+1(log⁡n)2/3(log⁡log⁡n)4/3), where

Dp:=ζ(p+2)(p+1)2ζ(p).

Factorizations Let f be an arithmetical function, and let S=(x1,x2,…,xn) be a set of distinct positive integers. Then the matrix (S)f=(f(gcd⁡(xi,xj)) is referred to as the GCD matrix on S associated with f. The LCM matrix [S]f on S associated with f is defined analogously. One may also use the notations (S)f=f(S) and [S]f=f[S]. Let S be a GCD-closed set. Then

(S)f=EΔET, where E is the n×n matrix defined by

eij={1if xj∣xi,0otherwise and Δ is the n×n diagonal matrix, whose diagonal elements are

δi=∑d∣xid∤xtxt<xi(f⋆μ)(d). Here ⋆ is the Dirichlet convolution and μ is the Möbius function. Further, if f is a multiplicative function and always nonzero, then

[S]f=ΛEΔ′ETΛ, where Λ and Δ′ are the n×n diagonal matrices, whose diagonal elements are λi=f(xi) and

δi′=∑d|xid∤xtxt<xi(1f⋆μ)(d). If S is factor-closed, then δi=(f⋆μ)(xi) and δi′=(1f⋆μ)(xi).

References

Illustrations

GCD matrix: Heatmap of GCD Matrix
Heatmap of GCD Matrix
GCD matrix: The Hasse diagram of an odd GCD closed set whose LCM matrix is singular
The Hasse diagram of an odd GCD closed set whose LCM matrix is singular

Worked examples

Example 1 — a first encounter with GCD matrix

Start with the simplest possible case. Write down what GCD matrix claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to GCD matrix before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about GCD matrix ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of GCD matrix

In research
GCD matrix appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses GCD matrix in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
GCD matrix is common in secondary-school and first-year university syllabi. It links to neighbouring topics Matrix theory, Number theory, so understanding it makes those chapters shorter.
In everyday life
Look for GCD matrix outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “GCD matrix” →

How to study GCD matrix in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what GCD matrix means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain GCD matrix out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is GCD matrix in simple terms?

In mathematics, a greatest common divisor matrix (sometimes abbreviated as GCD matrix) is a matrix that may also be referred to as Smith's matrix. The study was initiated by H.J.S.

Why does GCD matrix matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study GCD matrix?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on GCD matrix.

Tags

  • Matrix theory
  • Number theory

Keep exploring