Let n be a positive integer. For i and j in {1,2,…,n}, let s(i,j) be the number of pairs (a,b) of nonnegative integers satisfying ai+bj=n. Let S be the n-by-n matrix whose (i,j) entry is s(i,j). For example, when n=5, we have S=6322230101210012000121112. Compute the determinant of S.
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⌈2n⌉. To begin with, we read off the following features of S. S is symmetric: Sij=Sji for all i,j, corresponding to (a,b)↦(b,a)). S11=n+1, corresponding to (a,b)=(0,n),(1,n−1),…,(n,0). If n=2m is even, then Smj=3 for j=1,m, corresponding to (a,b)=(2,0),(1,2jn),(0,jn). For 2n<i≤n, S ij = ( n-i j , n j ), corresponding to (a,b)=(1,jn−i),(0,jn). Let T be the matrix obtained from S by performing row and column operations as follows: for d=2,…,n−2, subtract Snd times row n−1 from row d and subtract Snd times column n−1 from column d; then subtract row n−1 from row n and column n−1 from column n. Evidently T is again symmetric and det(T)=det(S). Let us examine row i of T for 2n<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 . (1 < j < n-1) 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) = 1 - 1⋅1 - 0 = 0. 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 renumber rows and columns after performing this operation. We next verify that for the matrix T, for i=2,…,⌊2n⌋ in turn, it is valid to strike out (i,n−i) and (n−i,i) at the cost of multiplying the determinant by -1. Namely, when we reach the entry (n−i,i), the only other nonzero entries in this row have the form (n−i,j) where j>1 divides n−i, and those entries are in previously struck columns. We thus compute det(S)=det(T) as: (-1) n/2 -1 n+1 -1 0 -1 0 1 0 1 0forn odd,} (−1)⌊ n/2 ⌋−1detn+1−120−1−11−121010−110forn even.} 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,2n,n−1,n; by adding row/column n−1 to row/column 2n, we produce (−1)⌊n/2⌋detn+1120111021010010 and we can again strike the last two rows and columns (creating another negation) and then read off the result. Remark. One can use a similar approach to compute some related determinants. For example, let J be the matrix with Jij=1 for all i,j. In terms of an indeterminate q, define the matrix T by Tij=qSij. We then have det(T−tJ)=(−1)⌈n/2⌉−1q2(τ(n)−1)(q−1)n−1fn(q,t) where τ(n) denotes the number of divisors of n 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. Taking t=1 and then dividing by (q−1)n, this yields a q-deformation} of the original matrix S.
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.