Maths Olympiad Prep

Library / Putnam /59 of 60

Putnam

Algebra Difficulty 8.6 Shortlist Find the answer

Let nn be a positive integer. For ii and jj in {1,2,…,n}\{1,2,\dots,n\}, let s(i,j)s(i,j) be the number of pairs (a,b)(a,b) of nonnegative integers satisfying ai+bj=nai +bj=n. Let SS be the nn-by-nn matrix whose (i,j)(i,j) entry is s(i,j)s(i,j). For example, when n=5n=5, we have S=[6322230101210012000121112]S = \begin{bmatrix} 6 & 3 & 2 & 2 & 2 \\ 3 & 0 & 1 & 0 & 1 \\ 2 & 1 & 0 & 0 & 1 \\ 2 & 0 & 0 & 0 & 1 \\ 2 & 1 & 1 & 1 & 2 \end{bmatrix}. Compute the determinant of SS.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

The determinant equals (−1)⌈n/2⌉−12⌈n2⌉(-1)^{\lceil n/2 \rceil-1} 2 \lceil \frac{n}{2} \rceil. To begin with, we read off the following features of SS. \text{} SS is symmetric: Sij=SjiS_{ij} = S_{ji} for all i,ji,j, corresponding to (a,b)↦(b,a)(a,b) \mapsto (b,a)). \text{} S11=n+1S_{11} = n+1, corresponding to (a,b)=(0,n),(1,n−1),…,(n,0)(a,b) = (0,n),(1,n-1),\dots,(n,0). \text{} If n=2mn = 2m is even, then Smj=3S_{mj} = 3 for j=1,mj=1,m, corresponding to (a,b)=(2,0),(1,n2j),(0,nj)(a,b) = (2,0),(1,\frac{n}{2j}),(0,\frac{n}{j}). \text{} For n2<i≤n\frac{n}{2} < i \leq n, S ij = ( n-i j , n j )\text{S ij = ( n-i j , n j )}, corresponding to (a,b)=(1,n−ij),(0,nj)(a,b) = (1, \frac{n-i}{j}), (0, \frac{n}{j}). \text{} Let TT be the matrix obtained from SS by performing row and column operations as follows: for d=2,…,n−2d=2,\dots,n-2, subtract SndS_{nd} times row n−1n-1 from row dd and subtract SndS_{nd} times column n−1n-1 from column dd; then subtract row n−1n-1 from row nn and column n−1n-1 from column nn. Evidently TT is again symmetric and det⁡(T)=det⁡(S)\det(T) = \det(S). Let us examine row ii of TT for n2<i<n−1\frac{n}{2} < i < n-1: T i1 = S i1 - S in S (n-1)1 = 2-1 2 = 0 T ij = S ij - S in S (n-1)j - S nj S i(n-1) = 1 if j divides n-i 0 otherwise .\text{T i1 = S i1 - S in S (n-1)1 = 2-1 2 = 0 T ij = S ij - S in S (n-1)j - S nj S i(n-1) = 1 if j divides n-i 0 otherwise .} \quad (1 < j < n-1) T i(n-1) = S i(n-1) - S in S (n-1)(n-1) = 0-1 0\text{T i(n-1) = S i(n-1) - S in S (n-1)(n-1) = 0-1 0} = 0 T in = S in - S in S (n-1)n - S i(n-1)\text{T in = S in - S in S (n-1)n - S i(n-1)} = 1 - 1⋅11\cdot1 - 0 = 0. \text{} Now recall (e.g., from the expansion of a determinant in minors) if a matrix contains an entry equal to 1 which is the unique nonzero entry in either its row or its column, then we may strike out this entry (meaning striking out the row and column containing it) at the expense of multiplying the determinant by a sign. To simplify notation, we do not\emph{not} renumber rows and columns after performing this operation. We next verify that for the matrix TT, for i=2,…,⌊n2⌋i=2,\dots,\lfloor \frac{n}{2} \rfloor in turn, it is valid to strike out (i,n−i)(i,n-i) and (n−i,i)(n-i, i) at the cost of multiplying the determinant by -1. Namely, when we reach the entry (n−i,i)(n-i,i), the only other nonzero entries in this row have the form (n−i,j)(n-i,j) where j>1j>1 divides n−in-i, and those entries are in previously struck columns. We thus compute det⁡(S)=det⁡(T)\det(S) = \det(T) as: (-1) n/2 -1 n+1 -1 0 -1 0 1 0 1 0\text{(-1) n/2 -1 n+1 -1 0 -1 0 1 0 1 0} for\text{for} nn odd,} (−1)⌊\\ (-1)^{\lfloor} n/2 ⌋−1det⁡{\rfloor-1} \det (n+1−120−1−11−121010−110)\begin{pmatrix} n+1 & -1 & 2 & 0 \\ -1 & -1 & 1 & -1 \\ 2 & 1 & 0 & 1 \\ 0 & -1 & 1 & 0 \end{pmatrix} for\text{for} nn even.} \text{} In the odd case, we can strike the last two rows and columns (creating another negation) and then conclude at once. In the even case, the rows and columns are labeled 1,n2,n−1,n1, \frac{n}{2}, n-1, n; by adding row/column n−1n-1 to row/column n2\frac{n}{2}, we produce (−1)⌊n/2⌋det⁡(n+1120111021010010) (-1)^{\lfloor n/2 \rfloor} \det \begin{pmatrix} n+1 & 1 & 2 & 0 \\ 1 & 1 & 1 & 0 \\ 2 & 1 & 0 & 1 \\ 0 & 0 & 1 & 0 \end{pmatrix} and we can again strike the last two rows and columns (creating another negation) and then read off the result. Remark.\text{Remark.} One can use a similar approach to compute some related determinants. For example, let JJ be the matrix with Jij=1J_{ij} = 1 for all i,ji,j. In terms of an indeterminate qq, define the matrix TT by Tij=qSij. T_{ij} = q^{S_{ij}}. We then have det⁡(T−tJ)=(−1)⌈n/2⌉−1q2(τ(n)−1)(q−1)n−1fn(q,t) \det(T-tJ) = (-1)^{\lceil n/2 \rceil-1} q^{2(\tau(n)-1)} (q-1)^{n-1}f_n(q,t) where τ(n)\tau(n) denotes the number of divisors of nn and f n(q,t) = q n-1 t+q 2-2t for n odd, q n-1 t +q 2-qt-t for n even.\text{f n(q,t) = q n-1 t+q 2-2t for n odd, q n-1 t +q 2-qt-t for n even.} Taking t=1t=1 and then dividing by (q−1)n(q-1)^n, this yields a \emph{}qq-deformation} of the original matrix SS.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: Omni-MATH, licensed Apache-2.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.