Mathematics · Book 3 · Bachelor Year 1

University Mathematics — Year 1

University Mathematics — Year 1 · Bachelor Year 1

22Determinants and Linear Systems

The determinant condenses into one scalar the answer to “are these nn vectors a basis?” — and, geometrically, measures the volume they span. We characterize it by its properties (multilinear, alternating, normalized), compute it in dimensions 22 and 33 and by cofactor expansion in general, and put it to work on linear systems, alongside the all-purpose algorithm: Gaussian elimination.

22.1 The determinant

Theorem 22.1 (Characterization)

There is exactly one map det ⁣:Mn(K)K\det \colon \mathcal{M}_n(K) \to K, viewed as a function of the nn columns, that is:

  1. linear in each column (the others fixed);
  2. alternating: swapping two columns changes the sign (hence two equal columns give 00);
  3. normalized: detIn=1\det I_n = 1.

For n=2n = 2 and 33:

abcd=adbc,abcdefghi=aei+bfg+cdhcegbdiafh\begin{vmatrix} a & b\\ c & d\end{vmatrix} = ad - bc, \qquad \begin{vmatrix} a & b & c\\ d & e & f\\ g & h & i\end{vmatrix} = aei + bfg + cdh - ceg - bdi - afh

(the 3×33 \times 3 rule of Sarrus: products of descending diagonals minus ascending ones).

Proof. Admitted at this level.

Remark 22.2

For n=2n = 2: expanding by bilinearity on the canonical columns gives the formula, which conversely satisfies the axioms — a complete proof; n=3n = 3 is identical with more terms. The general case (existence via the sum over permutations, uniqueness by the same expansion) demands the signature of a permutation and is deferred to the second year; we freely use the axioms and the consequences below.

The n=2n = 2 expansion in full, since it is the template: with columns C1=ae1+ce2C_1 = a\,e_1 + c\,e_2 and C2=be1+de2C_2 = b\,e_1 + d\,e_2, bilinearity gives

det(C1,C2)=abdet(e1,e1)+addet(e1,e2)+cbdet(e2,e1)+cddet(e2,e2),\det(C_1, C_2) = ab\det(e_1, e_1) + ad\det(e_1, e_2) + cb\det(e_2, e_1) + cd\det(e_2, e_2),

and alternation kills the repeated pairs while flipping det(e2,e1)=det(e1,e2)\det(e_2, e_1) = -\det(e_1, e_2): the whole map collapses to (adbc)det(e1,e2)=adbc(ad - bc)\det(e_1, e_2) = ad - bc by normalization. Uniqueness is visible in the computation itself — the axioms left no choice at any step — and this is exactly the scaled-uniqueness fact used in the proof of the product rule below.

Theorem 22.3 (Properties)

For A,BMn(K)A, B \in \mathcal{M}_n(K):

  1. adding to a column a multiple of another does not change the determinant; multiplying a column by λ\lambda multiplies it by λ\lambda (so det(λA)=λndetA\det(\lambda A) = \lambda^n \det A);
  2. det(AB)=detAdetB\det(AB) = \det A\, \det B;
  3. AA is invertible     \iff detA0\det A \neq 0     \iff the columns form a basis of KnK^n; and then det(A1)=(detA)1\det(A^{-1}) = (\det A)^{-1};
  4. det(AT)=detA\det(A^{\mathsf T}) = \det A — so every column rule is also a row rule;
  5. the determinant of a triangular matrix is the product of its diagonal entries.

Proof. (1) By linearity, det(,Ci+λCj,)=detA+λdet(,Cj,)\det(\dots, C_i + \lambda C_j, \dots) = \det A + \lambda\det(\dots, C_j, \dots) where the second determinant has two equal columns: zero.

(2) Fix AA and consider φ(B)=det(AB)\varphi(B) = \det(AB) as a function of the columns of BB: since ABAB has columns ABjAB_j, φ\varphi is multilinear and alternating in the BjB_j. We admit, with Theorem 22.1, its uniqueness statement in scaled form: every multilinear alternating map φ\varphi of the columns equals φ(In)det\varphi(I_n) \cdot \det. Here φ(In)=detA\varphi(I_n) = \det A, so det(AB)=detAdetB\det(AB) = \det A \cdot \det B.

(3) If AA is invertible: detAdetA1=detI=1\det A\,\det A^{-1} = \det I = 1, so detA0\det A \neq 0 and the inverse formula holds. If AA is not invertible, its columns are linked (Corollary 20.9 and Proposition 20.2); expressing one column through the others and expanding by linearity leaves determinants with two equal columns: detA=0\det A = 0. The basis statement is Proposition 19.8.

(4) Admitted with the general construction (it is immediate on the permutation formula); we record it to use row operations.

(5) If some diagonal entry vanishes, the first kk columns are linked for some kk (rank considerations) and det=0=\det = 0 = product. Otherwise, clear each column below-and-left by operations of type (1) — possible in the triangular shape — reaching the diagonal matrix, whose determinant is the product of the entries by multilinearity from InI_n.

Example 22.4 (The rules, checked on numbers)

Take A=(1234)A = \begin{pmatrix} 1 & 2\\ 3 & 4\end{pmatrix} (detA=2\det A = -2) and B=(0111)B = \begin{pmatrix} 0 & 1\\ 1 & 1\end{pmatrix} (detB=1\det B = -1). Then

AB=(2347),det(AB)=1412=2=(2)(1);det(AT)=1324=2=detA.AB = \begin{pmatrix} 2 & 3\\ 4 & 7\end{pmatrix}, \quad \det(AB) = 14 - 12 = 2 = (-2)(-1) ; \qquad \det(A^{\mathsf T}) = \begin{vmatrix} 1 & 3\\ 2 & 4 \end{vmatrix} = -2 = \det A .

Multiplicativity and transpose-invariance confirmed — while the false additivity fails on the same pair:

det(A+B)=1345=7detA+detB=3.\det(A + B) = \begin{vmatrix} 1 & 3\\ 4 & 5\end{vmatrix} = -7 \neq \det A + \det B = -3 .

Thirty seconds of arithmetic of this kind, after any determinant identity is invoked, is the cheapest error insurance available.

Example 22.5 (Determinants as areas)

The parallelogram spanned by u=(2,0)u = (2, 0) and v=(1,3)v = (1, 3) has base 22 and height 33: area 66. And

2103=6:\begin{vmatrix} 2 & 1\\ 0 & 3\end{vmatrix} = 6 :

the 2×22\times2 determinant is the signed area of the parallelogram of its columns. The axioms retell the geometry: adding a multiple of one column to the other is a shear, sliding the parallelogram parallel to a side without changing base or height (operation (1) of Theorem 22.3); scaling a column scales the area; swapping the columns flips the orientation, whence the sign, det(v,u)=6\det(v, u) = -6. In R3\R^3 the same reading gives signed volumes, and det\abs{\det} becomes the universal volume-scaling factor of linear maps — the fact behind the change-of-variables formula for multiple integrals in the Year 2 volume.

Theorem 22.6 (Cofactor expansion)

Let AMn(K)A \in \mathcal{M}_n(K) and Δij\Delta_{ij} the determinant of AA with row ii and column jj deleted. Then, for any fixed column jj (or row, by transposition):

detA=i=1n(1)i+jaijΔij.\det A = \sum_{i=1}^{n} (-1)^{i+j}\, a_{ij}\, \Delta_{ij} .

Proof. Admitted at this level.

Example 22.7

Expanding along the first column:

210121012=2211211012=2×32=4.\begin{vmatrix} 2 & 1 & 0\\ 1 & 2 & 1\\ 0 & 1 & 2 \end{vmatrix} = 2\begin{vmatrix} 2 & 1\\ 1 & 2\end{vmatrix} - 1\begin{vmatrix} 1 & 0\\ 1 & 2\end{vmatrix} = 2 \times 3 - 2 = 4 .

Strategy: create zeros first (row/column operations), then expand along the emptiest line.

Example 22.8 (The cofactor inverse, once by hand)

For A=(110011101)A = \begin{pmatrix} 1 & 1 & 0\\ 0 & 1 & 1\\ 1 & 0 & 1\end{pmatrix}: detA=1(1)1(1)+0=2\det A = 1(1) - 1(-1) + 0 = 2. The nine cofactors (1)i+jΔij(-1)^{i+j}\Delta_{ij} assemble into

Com(A)=(111111111),A1=1detACom(A)T=12(111111111),\operatorname{Com}(A) = \begin{pmatrix} 1 & 1 & -1\\ -1 & 1 & 1\\ 1 & -1 & 1 \end{pmatrix}, \qquad A^{-1} = \frac{1}{\det A}\operatorname{Com}(A)^{\mathsf T} = \frac12\begin{pmatrix} 1 & -1 & 1\\ 1 & 1 & -1\\ -1 & 1 & 1 \end{pmatrix},

the formula quoted in Exercise 22.8. Check one row-column pair: (row 11 of AA)(column 11 of A1A^{-1}) =12(1+1+0)=1= \frac12(1 + 1 + 0) = 1, and against column 22: 12(1+1+0)=0\frac12(-1 + 1 + 0) = 0. Nine 2×22\times2 determinants for one 3×33\times3 inverse: already at this size, row reduction (Exercise 22.3) is cheaper — the cofactor formula’s value is theoretical (integrality in Exercise 22.8, differentiability of the inverse in later volumes), not computational.

Example 22.9 (The block-triangular rule, in size 44)

Claim: det(MN0P)=detMdetP\det\begin{pmatrix} M & N\\ 0 & P\end{pmatrix} = \det M\,\det P for 2×22\times2 blocks. Clear the NN-block by column operations: adding to columns 3,43, 4 suitable combinations of columns 1,21, 2 removes NN when MM is invertible (solve MΛ=NM\Lambda = -N for the combination coefficients Λ\Lambda), leaving det(M00P)\det\begin{pmatrix} M & 0\\ 0 & P\end{pmatrix}; then cofactor expansion along the first column, twice, gives detMdetP\det M\det P for this block-diagonal shape. If MM is not invertible, its columns are linked, so the first two columns of the big matrix are linked (their bottom halves are zero): both sides vanish. The rule extends to any block sizes by the same two-case argument — and it is the engine of Exercise 22.10.

Example 22.10 (A 4×44 \times 4 determinant, strategically)

Δ=1234234134124123.\Delta = \begin{vmatrix} 1 & 2 & 3 & 4\\ 2 & 3 & 4 & 1\\ 3 & 4 & 1 & 2\\ 4 & 1 & 2 & 3 \end{vmatrix}.

Every row sums to 1010: the operation C1C1+C2+C3+C4C_1 \leftarrow C_1 + C_2 + C_3 + C_4 makes the first column constant, and factoring 1010 leaves ones. Then LiLiL1L_i \leftarrow L_i - L_1 (i2i \geq 2) clears the first column:

Δ=101234011302220111=10113222111=10×16=160,\Delta = 10\begin{vmatrix} 1 & 2 & 3 & 4\\ 0 & 1 & 1 & -3\\ 0 & 2 & -2 & -2\\ 0 & -1 & -1 & -1 \end{vmatrix} = 10\begin{vmatrix} 1 & 1 & -3\\ 2 & -2 & -2\\ -1 & -1 & -1 \end{vmatrix} = 10 \times 16 = 160,

the last 3×33\times3 determinant expanding along its first row: 1(22)1(22)+(3)(22)=0+4+12=161(2 - 2) - 1(-2 - 2) + (-3)(-2 - 2) = 0 + 4 + 12 = 16. Moral: one well-chosen operation (spotting the constant row sum) beats sixteen cofactors.

Method 22.11 (Choosing a determinant strategy)

Scan the matrix before computing anything.

  1. Constant row or column sums: add everything into one line, factor the common value (Example 22.10, Exercise 22.7).
  2. Repetitive structure: subtract neighboring rows or columns to create zeros; staircase patterns collapse toward triangular form, whose determinant is read on the diagonal.
  3. Isolated zeros: expand along the emptiest line (Example 22.7); recursive families (tridiagonal, Exercise 22.6) yield recurrences this way.
  4. A parameter: the determinant is a polynomial in it; find its roots by spotting the degenerate values (equal rows, proportional columns), then pin the polynomial down by degree and leading coefficient. For the matrix of Exercise 22.7: m=1m = 1 gives three equal rows (rank 11, a double root), m=2m = -2 makes the rows sum to zero (one more root); the determinant has degree 33 in mm with leading term m3-m^3 (the anti-diagonal product mmmm\cdot m\cdot m, whose Sarrus sign is 1-1), so it must be (m+2)(m1)2-(m+2)(m-1)^2 — no expansion needed, and the two methods check each other.

Example 22.12 (Vandermonde determinant)

For scalars x1,,xnx_1, \dots, x_n:

V(x1,,xn)=1x1x12x1n11x2x22x2n11xnxn2xnn1=1i<jn(xjxi).V(x_1, \dots, x_n) = \begin{vmatrix} 1 & x_1 & x_1^2 & \cdots & x_1^{n-1}\\ 1 & x_2 & x_2^2 & \cdots & x_2^{n-1}\\ \vdots & & & & \vdots\\ 1 & x_n & x_n^2 & \cdots & x_n^{n-1} \end{vmatrix} = \prod_{1 \leq i < j \leq n} (x_j - x_i) .

Proof sketch (detailed in Exercise 22.5): column operations CkCkx1Ck1C_k \leftarrow C_k - x_1 C_{k-1} from the right clear the first row, and factoring each remaining row reduces to V(x2,,xn)V(x_2, \dots, x_n). Nonzero iff the xix_i are pairwise distinct — the determinant behind Lagrange interpolation (Example 20.10).

22.2 Linear systems

Definition 22.13

A linear system of nn equations in pp unknowns is AX=BAX = B with AMn,p(K)A \in \mathcal{M}_{n,p}(K), BKnB \in K^n; it is homogeneous when B=0B = 0. Its solution set, when nonempty, is X0+kerAX_0 + \ker A: a particular solution plus the general homogeneous solution — an affine subspace of dimension prkAp - \operatorname{rk} A (rank–nullity).

Example 22.14 (The affine structure, made visible)

Solve

{x+y+z=3xy+2z=2.\begin{cases} x + y + z = 3\\ x - y + 2z = 2 . \end{cases}

Subtracting the equations: 2yz=12y - z = 1, so z=2y1z = 2y - 1 and x=3yz=43yx = 3 - y - z = 4 - 3y. The solutions form the line

(x,y,z)=(4, 0, 1)+y(3, 1, 2)(yR):(x, y, z) = (4,\ 0,\ -1) + y\,(-3,\ 1,\ 2) \qquad (y \in \R):

the particular solution X0=(4,0,1)X_0 = (4, 0, -1) (the choice y=0y = 0) plus the kernel line kerA=Vect(3,1,2)\ker A = \operatorname{Vect}(-3, 1, 2) of the associated homogeneous system — check: (3)+1+2=0(-3) + 1 + 2 = 0 and (3)1+4=0(-3) - 1 + 4 = 0. Geometrically, two non-parallel planes of R3\R^3 intersect along a line, and the dimension count prkA=32=1p - \operatorname{rk} A = 3 - 2 = 1 knew it before we solved anything. Changing the particular solution (say y=1y = 1: X0=(1,1,1)X_0' = (1, 1, 1)) changes the description, not the line: an affine subspace has many origins and one direction.

Theorem 22.15 (Square Cramer systems)

If AGLn(K)A \in GL_n(K), the system AX=BAX = B has the unique solution X=A1BX = A^{-1}B, whose coordinates are

xj=detAjdetA,Aj=A with column j replaced by B.x_j = \frac{\det A_j}{\det A}, \qquad A_j = A \text{ with column } j \text{ replaced by } B .

Proof. Uniqueness and existence are the invertibility. For the formula: write B=kxkCkB = \sum_k x_k C_k (columns of AA); then, by multilinearity and alternation,

detAj=det(C1,,kxkCk,,Cn)=kxkdet(C1,,Ck,,Cn)=xjdetA,\det A_j = \det\Bigl(C_1, \dots, \sum_k x_k C_k, \dots, C_n\Bigr) = \sum_k x_k \det(C_1, \dots, C_k, \dots, C_n) = x_j \det A ,

every term except k=jk = j having a repeated column.

Example 22.16 (Cramer with a parameter, in full)

For mRm \in \R, solve

{x+my=1mx+y=2.\begin{cases} x + m y = 1\\ m x + y = 2 . \end{cases}

The determinant is 1m21 - m^2. Generic case m±1m \neq \pm1: Cramer gives

x=1m211m2=12m1m2,y=11m21m2=2m1m2,x = \frac{\begin{vmatrix} 1 & m\\ 2 & 1\end{vmatrix}}{1 - m^2} = \frac{1 - 2m}{1 - m^2}, \qquad y = \frac{\begin{vmatrix} 1 & 1\\ m & 2\end{vmatrix}}{1 - m^2} = \frac{2 - m}{1 - m^2},

one clean solution for each admissible mm (check at m=0m = 0: (1,2)(1, 2), obviously right). Degenerate cases: at m=1m = 1 the equations read x+y=1x + y = 1 and x+y=2x + y = 2: incompatible; at m=1m = -1 they read xy=1x - y = 1 and x+y=2-x + y = 2, i.e. xy=1x - y = 1 and xy=2x - y = -2: incompatible again. The vanishing of the determinant announces that something degenerates, but never says what — empty or infinite must be decided by looking at the right-hand side. Note also how the formulas signal their own limits: as m1m \to 1^{-}, x=12m1m2x = \frac{1 - 2m}{1 - m^2} \to -\infty; the solution point runs away as the two lines become parallel.

Method 22.17 (Gaussian elimination on systems)

Row-reduce the augmented matrix (AB)(A \mid B) to echelon form.

  1. If a pivot appears in the last column (0=10 = 1 line): no solution.
  2. Otherwise, the unknowns split into pivot unknowns and free unknowns (parameters); back-substitution expresses the former in the latter: the solution set is an affine subspace of dimension == number of free unknowns.

Cramer’s formulas are for theory and small systems; elimination is the practical algorithm.

Example 22.18 (A discussion with parameter)

For mRm \in \R, consider

{x+y+mz=1x+my+z=1mx+y+z=1.\begin{cases} x + y + mz = 1\\ x + my + z = 1\\ mx + y + z = 1 . \end{cases}

The matrix has determinant (m+2)(m1)2-(m+2)(m-1)^2 (computed in Exercise 22.7 by adding all columns to the first). For m1,2m \neq 1, -2: unique solution x=y=z=1m+2x = y = z = \frac{1}{m+2} (by symmetry). For m=1m = 1: one equation repeated thrice, a plane of solutions. For m=2m = -2: adding the three equations gives 0=30 = 3, no solution.

Remark 22.19 (Common pitfalls)

The determinant is not linear in the matrix: det(A+B)detA+detB\det(A + B) \neq \det A + \det B (already det(I2+I2)=42\det(I_2 + I_2) = 4 \neq 2); it is linear in each column separately, which is a different thing entirely. Scaling: det(λA)=λndetA\det(\lambda A) = \lambda^n\det A, not λdetA\lambda\det A — each of the nn columns is scaled. Row operations are not all free: LiLi+λLjL_i \leftarrow L_i + \lambda L_j preserves the determinant, but a swap changes the sign and LiλLiL_i \leftarrow \lambda L_i multiplies it by λ\lambda — bookkeeping errors here are the classic source of wrong signs in elimination-based computations. A zero determinant is the beginning, not the end: it says “rank <n< n” but not which rank; only further work (echelon form, or the minors of Exercise 22.12) locates it — cf. the case m=1m = 1 vs m=2m = -2 in Example 22.18. Cramer needs invertibility: when detA=0\det A = 0 the formulas xj=detAj/detAx_j = \det A_j/\det A are meaningless, and the system may perfectly well have (infinitely many) solutions. Only square matrices have determinants: for a rectangular system, elimination is the only tool.

Remark 22.20 (Where determinants go)

Three lives await this scalar. Geometric: det\abs{\det} is the area or volume scaling factor of the associated map — made precise for the plane in Chapter 23 and, as the Jacobian of a change of variables, in the multiple integrals of the Year 2 volume. Algebraic: det(AλI)\det(A - \lambda I), the characteristic polynomial, opens eigenvalue theory in Year 2 — the identity A2(trA)A+(detA)I=0A^2 - (\operatorname{tr} A)A + (\det A)I = 0 of the Chapter 21 weekend problem is its first shadow. Analytic: determinants of special matrices (Vandermonde, Cauchy, Gram) decide when interpolation, decomposition and projection problems are well posed; the weekend problem below evaluates the first two families completely.

Remark 22.21 (Perspectives inside Book 3)

This chapter closes the linear-algebra spine of the volume, and its two remaining chapters cash the dividends. In Chapter 23: the Gram matrix (vi,vj)\bigl(\langle v_i, v_j\rangle\bigr) tests freeness by a determinant (Exercise 23.11), and the plane isometries split into rotations and reflections along the sign of their determinant — the classification of the weekend problem there runs on it. In Chapter 25: the Monge quantity rts2rt - s^2 is the determinant of the symmetric matrix of second derivatives, and the normal equations of least squares are a Cramer system whose matrix is a Gram (hence moment) matrix — invertible precisely by the Vandermonde-flavored criteria established here. When those chapters assert “invertible” or “positive”, the receipts are in this one.

22.3 Exercises

Exercise 22.1

Compute:

3152,123456789,111124139.\begin{vmatrix} 3 & 1\\ 5 & 2 \end{vmatrix}, \qquad \begin{vmatrix} 1 & 2 & 3\\ 4 & 5 & 6\\ 7 & 8 & 9\end{vmatrix}, \qquad \begin{vmatrix} 1 & 1 & 1\\ 1 & 2 & 4\\ 1 & 3 & 9\end{vmatrix}.
Solution

Solution of Exercise 22.1.

3×21×5=13 \times 2 - 1 \times 5 = 1.

Second: L2L2L1L_2 \leftarrow L_2 - L_1, L3L3L2L_3 \leftarrow L_3 - L_2 (on the original rows) give rows (1,2,3),(3,3,3),(3,3,3)(1,2,3), (3,3,3), (3,3,3): two equal rows, determinant 00. (Sarrus confirms: 45+84+961054872=045 + 84 + 96 - 105 - 48 - 72 = 0.)

Third: it is Vandermonde with x=1,2,3x = 1, 2, 3 (Example 22.12): (21)(31)(32)=2(2-1)(3-1)(3-2) = 2.

Exercise 22.2

For which λR\lambda \in \R is the family ((1,1,λ),(1,λ,1),(λ,1,1))\bigl((1, 1, \lambda), (1, \lambda, 1), (\lambda, 1, 1)\bigr) a basis of R3\R^3?

Solution

Solution of Exercise 22.2.

The determinant equals (add all columns to the first, factor) (λ+2)(\lambda + 2) times

11λ1λ1111=(λ1)2\begin{vmatrix} 1 & 1 & \lambda\\ 1 & \lambda & 1\\ 1 & 1 & 1 \end{vmatrix} = -(\lambda - 1)^2

(clear with L1L1L3L_1 \leftarrow L_1 - L_3, L2L2L3L_2 \leftarrow L_2 - L_3 and expand), giving det=(λ+2)(λ1)2\det = -(\lambda+2)(\lambda-1)^2. Basis     det0    λ{1,2}\iff \det \neq 0 \iff \lambda \notin \{1, -2\}.

Exercise 22.3

Solve by Cramer’s rule:

{2x+y=53x2y=4,then{x+y+z=6xy+z=22x+yz=1.\begin{cases} 2x + y = 5\\ 3x - 2y = 4 , \end{cases} \qquad\text{then}\qquad \begin{cases} x + y + z = 6\\ x - y + z = 2\\ 2x + y - z = 1 . \end{cases}
Solution

Solution of Exercise 22.3.

First system: det=7\det = -7; x=175142=147=2x = \frac{1}{-7}\begin{vmatrix} 5 & 1\\ 4 & -2\end{vmatrix} = \frac{-14}{-7} = 2, y=172534=77=1y = \frac{1}{-7}\begin{vmatrix} 2 & 5\\ 3 & 4\end{vmatrix} = \frac{-7}{-7} = 1. Check: 2(2)+1=52(2) + 1 = 5; 3(2)2=43(2) - 2 = 4.

Second system: after L2L1L_2 - L_1 and L32L1L_3 - 2L_1, the rows become (1,1,1)(1,1,1), (0,2,0)(0,-2,0), (0,1,3)(0,-1,-3), so

detA=111111211=1×2013=6.\det A = \begin{vmatrix} 1&1&1\\ 1&-1&1\\ 2&1&-1\end{vmatrix} = 1 \times \begin{vmatrix} -2 & 0\\ -1 & -3\end{vmatrix} = 6 .

Cramer, replacing columns by (6,2,1)T(6,2,1)^{\mathsf T}:

x=66=1,y=126=2,z=186=3x = \frac{6}{6} = 1, \qquad y = \frac{12}{6} = 2, \qquad z = \frac{18}{6} = 3

(the numerators computed the same way). Check: 1+2+3=61 + 2 + 3 = 6; 12+3=21 - 2 + 3 = 2; 2+23=12 + 2 - 3 = 1.

Exercise 22.4

Solve by Gaussian elimination, describing the solution set:

{x+2yz+t=12x+4y+zt=5x+2y+2z2t=4.\begin{cases} x + 2y - z + t = 1\\ 2x + 4y + z - t = 5\\ x + 2y + 2z - 2t = 4 . \end{cases}
Solution

Solution of Exercise 22.4.

Reduce the augmented matrix: L2L22L1L_2 \leftarrow L_2 - 2L_1, L3L3L1L_3 \leftarrow L_3 - L_1:

(121110033300333)(121110011100000).\begin{pmatrix} 1 & 2 & -1 & 1 & 1\\ 0 & 0 & 3 & -3 & 3\\ 0 & 0 & 3 & -3 & 3 \end{pmatrix} \to \begin{pmatrix} 1 & 2 & -1 & 1 & 1\\ 0 & 0 & 1 & -1 & 1\\ 0 & 0 & 0 & 0 & 0 \end{pmatrix}.

Pivot unknowns x,zx, z; free unknowns y,ty, t. Back-substitution: z=1+tz = 1 + t, x=12y+zt=22yx = 1 - 2y + z - t = 2 - 2y. Solution set:

{(22y,  y,  1+t,  t):y,tR}=(2,0,1,0)+Vect((2,1,0,0),(0,0,1,1)),\{(2 - 2y,\; y,\; 1 + t,\; t) : y, t \in \R\} = (2, 0, 1, 0) + \operatorname{Vect}\bigl((-2,1,0,0),\, (0,0,1,1)\bigr),

an affine plane (dimension 2=4rk22 = 4 - \operatorname{rk} 2) of R4\R^4.

Exercise 22.5 ★★

Prove the Vandermonde formula of Example 22.12 by induction on nn, with the column operations CkCkx1Ck1C_k \leftarrow C_k - x_1 C_{k-1} performed from k=nk = n down to k=2k = 2.

Solution

Solution of Exercise 22.5.

Induction; n=1n = 1 is empty product =1= 1. For the step, perform CkCkx1Ck1C_k \leftarrow C_k - x_1 C_{k-1} for k=n,n1,,2k = n, n-1, \dots, 2 (in this order, so each operation uses a not-yet-modified column). The first row becomes (1,0,,0)(1, 0, \dots, 0); in row i2i \geq 2, the kk-th entry becomes xik1x1xik2=xik2(xix1)x_i^{k-1} - x_1 x_i^{k-2} = x_i^{k-2}(x_i - x_1). Expanding along the first row and factoring (xix1)(x_i - x_1) out of each row ii:

V(x1,,xn)=i=2n(xix1)V(x2,,xn),V(x_1, \dots, x_n) = \prod_{i=2}^{n} (x_i - x_1)\cdot V(x_2, \dots, x_n),

and the induction hypothesis completes the product i<j(xjxi)\prod_{i<j}(x_j - x_i).

Exercise 22.6 ★★

(Tridiagonal) Let DnD_n be the n×nn \times n determinant with 22 on the diagonal, 11 on the two adjacent diagonals, 00 elsewhere. Expanding along the first row, prove Dn=2Dn1Dn2D_n = 2D_{n-1} - D_{n-2} and compute DnD_n (D1=2D_1 = 2, D2=3D_2 = 3).

Solution

Solution of Exercise 22.6.

Expanding DnD_n along the first row: Dn=2Dn1110Dn2-blockD_n = 2 D_{n-1} - 1\cdot\begin{vmatrix} 1 & \ast\\ 0 & D_{n-2}\text{-block} \end{vmatrix}; the second determinant, expanded along its first column, is Dn2D_{n-2}. So Dn=2Dn1Dn2D_n = 2D_{n-1} - D_{n-2}, i.e. DnDn1=Dn1Dn2D_n - D_{n-1} = D_{n-1} - D_{n-2}: the differences are constant, equal to D2D1=1D_2 - D_1 = 1. Hence Dn=D1+(n1)=n+1D_n = D_1 + (n - 1) = n + 1. (Check: D2=3D_2 = 3, and the 3×33\times3 case is Example 22.7: D3=4D_3 = 4.)

Exercise 22.7 ★★

Complete Example 22.18: compute the determinant 11m1m1m11\begin{vmatrix} 1 & 1 & m\\ 1 & m & 1\\ m & 1 & 1\end{vmatrix} by the operation C1C1+C2+C3C_1 \leftarrow C_1 + C_2 + C_3, and carry out the full discussion of the system.

Solution

Solution of Exercise 22.7.

C1C1+C2+C3C_1 \leftarrow C_1 + C_2 + C_3 makes the first column constant (m+2)(m+2); factor it:

det=(m+2)11m1m1111=L1L3, L2L3(m+2)00m10m10111=(m+2)((m1)2)\det = (m+2)\begin{vmatrix} 1 & 1 & m\\ 1 & m & 1\\ 1 & 1 & 1 \end{vmatrix} \overset{L_1 - L_3,\ L_2 - L_3}{=} (m+2)\begin{vmatrix} 0 & 0 & m-1\\ 0 & m-1 & 0\\ 1 & 1 & 1 \end{vmatrix} = (m+2)\cdot\bigl(-(m-1)^2\bigr)

(expand along the first column: the single entry 11 carries sign ++, and the remaining 2×22 \times 2 determinant is 00(m1)(m1)=(m1)20 \cdot 0 - (m-1)(m-1) = -(m-1)^2).

Discussion. m{1,2}m \notin \{1, -2\}: Cramer system; by the symmetry of the equations, x=y=zx = y = z, and each equation gives (m+2)x=1(m + 2)x = 1: unique solution (1m+2,1m+2,1m+2)\bigl(\frac{1}{m+2}, \frac{1}{m+2}, \frac{1}{m+2}\bigr). m=1m = 1: the three equations all read x+y+z=1x + y + z = 1: solutions form the affine plane x+y+z=1x + y + z = 1. m=2m = -2: summing the three equations gives 0=30 = 3: empty solution set.

Exercise 22.8 ★★

Let AMn(R)A \in \mathcal{M}_n(\R) with integer entries. Prove that AA has an inverse with integer entries if and only if detA=±1\det A = \pm 1. (For the direct sense, take determinants; for the converse, admit — or prove for n3n \leq 3 via cofactors — that A1=1detACom(A)TA^{-1} = \frac{1}{\det A}\,\operatorname{Com}(A)^{\mathsf T} with integer cofactor matrix.)

Solution

Solution of Exercise 22.8.

(\Rightarrow) If A1A^{-1} has integer entries: detAdetA1=1\det A \cdot \det A^{-1} = 1 with both determinants integers (sums of products of entries): two integers with product 11 are both ±1\pm1.

(\Leftarrow) The cofactor formula A1=1detACom(A)TA^{-1} = \frac{1}{\det A}\operatorname{Com}(A)^{\mathsf T} (checked for n3n \leq 3 by direct expansion, admitted in general) has Com(A)\operatorname{Com}(A) with integer entries (each cofactor is an integer determinant); dividing by detA=±1\det A = \pm 1 keeps integers.

Exercise 22.9 ★★★

Compute the n×nn \times n determinant of the matrix aI+bJaI + bJ (Exercise 21.9), i.e. with a+ba + b on the diagonal and bb elsewhere. (Add all columns to the first, factor, then clear.) Recover the invertibility condition a0a \neq 0, a+nb0a + nb \neq 0.

Solution

Solution of Exercise 22.9.

Add all columns to the first: each entry of the new first column is a+nba + nb; factor it out, so that the first column is all ones. Then the row operations LiLiL1L_i \leftarrow L_i - L_1 (i2i \geq 2) clear every entry below the top-left 11 and leave aa on the diagonal and 00 elsewhere in those rows: the matrix is upper triangular with diagonal (1,a,,a)(1, a, \dots, a). Hence

det(aI+bJ)=(a+nb)an1,\det(aI + bJ) = (a + nb)\, a^{\,n-1} ,

nonzero iff a0a \neq 0 and a+nb0a + nb \neq 0: the condition of Exercise 21.9.

Exercise 22.10 ★★★

Let A,BMn(R)A, B \in \mathcal{M}_n(\R). Prove that

det(ABBA)=det(A+B)det(AB),\det\begin{pmatrix} A & B\\ B & A \end{pmatrix} = \det(A + B)\,\det(A - B),

by block column and row operations (C1C1+C2C_1 \leftarrow C_1 + C_2, then L2L2L1L_2 \leftarrow L_2 - L_1, in block form), assuming the natural block-triangular rule det(MN0P)=detMdetP\det\begin{pmatrix} M & N\\ 0 & P\end{pmatrix} = \det M \det P — proved for 2×22 \times 2 blocks in Example 22.9.

Solution

Solution of Exercise 22.10.

Block operations (each a composition of the corresponding nn scalar operations, allowed by Theorem 22.3 (1)):

ABBA=C1C1+C2A+BBA+BA=L2L2L1A+BB0AB=det(A+B)det(AB),\begin{vmatrix} A & B\\ B & A\end{vmatrix} \overset{C_1 \leftarrow C_1 + C_2}{=} \begin{vmatrix} A + B & B\\ A + B & A\end{vmatrix} \overset{L_2 \leftarrow L_2 - L_1}{=} \begin{vmatrix} A + B & B\\ 0 & A - B\end{vmatrix} = \det(A+B)\,\det(A-B),

using the block-triangular rule for the last step.

Exercise 22.11 ★★

(Circulant of order 33) Let a,b,cCa, b, c \in \C and

Δ=abccabbca.\Delta = \begin{vmatrix} a & b & c\\ c & a & b\\ b & c & a \end{vmatrix}.

Prove that Δ=(a+b+c)(a2+b2+c2abbcca)\Delta = (a + b + c)(a^2 + b^2 + c^2 - ab - bc - ca), and factor completely over C\C using j=e2iπ/3j = \eu^{2\iu\pi/3}:

Δ=(a+b+c)(a+jb+j2c)(a+j2b+jc).\Delta = (a + b + c)(a + jb + j^2c)(a + j^2b + jc) .

(Start with C1C1+C2+C3C_1 \leftarrow C_1 + C_2 + C_3; for the complex form, note that the column (1,j,j2)T(1, j, j^2)^{\mathsf T} almost behaves like an eigenvector.)

Solution

Solution of Exercise 22.11.

C1C1+C2+C3C_1 \leftarrow C_1 + C_2 + C_3 makes the first column constant (a+b+c)(a + b + c); factor it out, then L2L2L1L_2 \leftarrow L_2 - L_1, L3L3L1L_3 \leftarrow L_3 - L_1:

Δ=(a+b+c)1bc0abbc0cbac=(a+b+c)[(ab)(ac)+(bc)2],\Delta = (a+b+c)\begin{vmatrix} 1 & b & c\\ 0 & a - b & b - c\\ 0 & c - b & a - c \end{vmatrix} = (a+b+c)\bigl[(a-b)(a-c) + (b-c)^2\bigr],

and expanding, (ab)(ac)+(bc)2=a2+b2+c2abbcca(a-b)(a-c) + (b-c)^2 = a^2 + b^2 + c^2 - ab - bc - ca. Over C\C, with j3=1j^3 = 1 and 1+j+j2=01 + j + j^2 = 0:

(a+jb+j2c)(a+j2b+jc)=a2+b2+c2+(j+j2)(ab+bc+ca)=a2+b2+c2abbcca,\begin{align*} (a + jb + j^2c)(a + j^2b + jc) &= a^2 + b^2 + c^2 + (j + j^2)(ab + bc + ca)\\ &= a^2 + b^2 + c^2 - ab - bc - ca , \end{align*}

whence the complete factorization. (Structurally: the column (1,j,j2)T(1, j, j^2)^{\mathsf T} satisfies M(1,j,j2)T=(a+jb+j2c)(1,j,j2)TM\,(1, j, j^2)^{\mathsf T} = (a + jb + j^2c)(1, j, j^2)^{\mathsf T}, and similarly for j2j^2 and 11: the three factors are the three “eigenvalues” of the circulant, a story systematized in the Year 2 volume.)

Exercise 22.12 ★★★

(Rank and minors) Let AMn,p(K)A \in \mathcal{M}_{n,p}(K). Prove that rkA\operatorname{rk} A equals the largest size rr of an invertible r×rr \times r submatrix of AA (a submatrix keeps the entries at the crossings of rr chosen rows and rr chosen columns). (If rkA=r\operatorname{rk} A = r, select rr free columns, then rr free rows of the resulting n×rn \times r block; conversely, an invertible submatrix forces the corresponding columns of AA to be free.)

Solution

Solution of Exercise 22.12.

Write r=rkAr = \operatorname{rk} A.

An invertible r×rr \times r submatrix exists. Choose rr free columns of AA and let BMn,rB \in \mathcal{M}_{n,r} be the matrix they form: rkB=r\operatorname{rk} B = r. Since row rank equals column rank (Theorem 21.13), BB has rr free rows; keeping those rows yields an r×rr \times r submatrix of AA of rank rr, i.e. invertible.

No larger one does. Let SS be an invertible s×ss \times s submatrix, taken from columns j1,,jsj_1, \dots, j_s and rows i1,,isi_1, \dots, i_s of AA. If a combination kλkCjk=0\sum_k \lambda_k C_{j_k} = 0 of the corresponding full columns vanishes, then reading only the rows i1,,isi_1, \dots, i_s gives kλkSk=0\sum_k \lambda_k S_k = 0 on the columns of SS, so all λk=0\lambda_k = 0 (SS invertible): the columns Cj1,,CjsC_{j_1}, \dots, C_{j_s} of AA are free, and srkA=rs \leq \operatorname{rk} A = r.

Hence rkA\operatorname{rk} A is exactly the largest size of an invertible submatrix.

22.4 Problem: Cauchy’s double alternant

Problem 22.1

Two determinants rule the applications of this chapter: the Vandermonde determinant, evaluated in Exercise 22.5, and the Cauchy determinant det(1ai+bj)\det\bigl(\frac{1}{a_i + b_j}\bigr), evaluated here. Around them this problem collects the alternant toolbox: polynomial column tricks, interpolation by Cramer, the Hilbert matrix, the discriminant of a cubic, and the method of alternating polynomials. Throughout, V(x1,,xn)=i<j(xjxi)V(x_1, \dots, x_n) = \prod_{i < j}(x_j - x_i) denotes the Vandermonde value.

Part I — The Vandermonde toolbox.

  1. Compute V(1,2,3,4)V(1, 2, 3, 4), and recall why interpolation at nn pairwise distinct nodes is a Cramer system.
  2. (Polynomial alternant) Let P0,,Pn1P_0, \dots, P_{n-1} be monic with degPk=k\deg P_k = k. Prove

    det(Pj1(xi))1i,jn=V(x1,,xn):\det\bigl(P_{j-1}(x_i)\bigr)_{1 \leq i, j \leq n} = V(x_1, \dots, x_n) :

    column operations replace each power column by any monic staircase, for free.

  3. Apply question 2 to the binomial polynomials Bk=X(X1)(Xk+1)k!B_k = \frac{X(X-1)\cdots(X-k+1)}{k!}: prove that for integers m1<m2<<mnm_1 < m_2 < \dots < m_n,

    V(m1,,mn)0!1!2!(n1)!N:\frac{V(m_1, \dots, m_n)}{0!\,1!\,2!\cdots(n-1)!} \in \N :

    the product of all pairwise differences of nn integers is divisible by the superfactorial 0!1!(n1)!0!\,1!\cdots(n-1)!.

  4. Prove det(xij)1i,jn=x1x2xnV(x1,,xn)\det\bigl(x_i^{\,j}\bigr)_{1 \leq i, j \leq n} = x_1 x_2 \cdots x_n\, V(x_1, \dots, x_n) (powers now starting at 11).
  5. (Moment matrix) Let S=(pi+j2)1i,jnS = \bigl(p_{i+j-2}\bigr)_{1 \leq i, j \leq n} where pk=x1k++xnkp_k = x_1^k + \dots + x_n^k. Prove that S=WTWS = W^{\mathsf T} W for the matrix W=(xij1)ijW = (x_i^{\,j-1})_{ij}, deduce

    detS=V(x1,,xn)2,\det S = V(x_1, \dots, x_n)^2 ,

    and conclude: nn real numbers are pairwise distinct if and only if their moment matrix is invertible, and detS0\det S \geq 0 always.

Part II — Interpolation revisited. Nodes x1<<xnx_1 < \dots < x_n, values y1,,yny_1, \dots, y_n.

  1. Write the conditions “P=c0+c1X++cn1Xn1P = c_0 + c_1X + \dots + c_{n-1}X^{n-1} interpolates” as a linear system in the ckc_k with matrix WW, and recover from detW=V0\det W = V \neq 0 the existence and uniqueness of the interpolant (compare the two earlier proofs, Theorem 8.23 and Example 20.10).
  2. By Cramer’s rule and cofactor expansion of the relevant determinant along its last column, prove that the leading coefficient of the interpolant is

    cn1=i=1nyiji(xixj).c_{n-1} = \sum_{i=1}^{n} \frac{y_i}{\prod_{j \neq i}(x_i - x_j)} .
  3. (Confluent Vandermonde) Compute

    1x1x12012x11x2x22=(x2x1)2,\begin{vmatrix} 1 & x_1 & x_1^2\\ 0 & 1 & 2x_1\\ 1 & x_2 & x_2^2 \end{vmatrix} = (x_2 - x_1)^2 ,

    and interpret: the data (P(x1),P(x1),P(x2))\bigl(P(x_1), P'(x_1), P(x_2)\bigr) determine a unique PR2[X]P \in \R_2[X] when x1x2x_1 \neq x_2 (Hermite interpolation).

  4. Find the unique PR2[X]P \in \R_2[X] with P(0)=1P(0) = 1, P(0)=0P'(0) = 0, P(1)=2P(1) = 2, and check your answer against question 8.

Part III — The Cauchy determinant. Let a1,,ana_1, \dots, a_n and b1,,bnb_1, \dots, b_n be scalars with ai+bj0a_i + b_j \neq 0 for all i,ji, j, and

Cn=det(1ai+bj)1i,jn.C_n = \det\Bigl(\frac{1}{a_i + b_j}\Bigr)_{1 \leq i, j \leq n} .
  1. Compute C2C_2 by hand and put it in the form “products of differences over products of sums”.
  2. For n2n \geq 2, perform LiLiLnL_i \leftarrow L_i - L_n (i<ni < n) and factor rows and columns to prove

    Cn=i<n(anai)j(an+bj)  detM,C_n = \frac{\prod_{i<n}(a_n - a_i)}{\prod_{j}(a_n + b_j)}\;\det M,

    where MM agrees with the Cauchy matrix on rows i<ni < n and has last row (1,1,,1)(1, 1, \dots, 1).

  3. Perform CjCjCnC_j \leftarrow C_j - C_n (j<nj < n) on MM, factor again, and conclude by induction Cauchy’s double alternant:

    Cn=1i<jn(ajai)(bjbi)i,j(ai+bj).C_n = \frac{\prod_{1 \leq i < j \leq n}(a_j - a_i)(b_j - b_i)}{\prod_{i, j}(a_i + b_j)} .
  4. Deduce the invertibility criterion (the aia_i pairwise distinct and the bjb_j pairwise distinct). For the Hilbert matrix Hn=(1i+j1)H_n = \bigl(\frac{1}{i + j - 1}\bigr): compute detH2\det H_2 and detH3\det H_3 from the formula, and verify that H21H_2^{-1} has integer entries.
  5. Show that for pairwise distinct bjb_j and any right-hand side, the system jcjai+bj=yi\sum_j \frac{c_j}{a_i + b_j} = y_i (i=1,,ni = 1, \dots, n) has a unique solution, and relate this to the existence and uniqueness of partial fraction decompositions with simple poles (Theorem 9.5).

Part IV — The discriminant of a cubic. Let λ1,λ2,λ3\lambda_1, \lambda_2, \lambda_3 be the roots (in C\C) of X3+pX+qX^3 + pX + q, and pk=λ1k+λ2k+λ3kp_k = \lambda_1^k + \lambda_2^k + \lambda_3^k.

  1. Using λ3=pλq\lambda^3 = -p\lambda - q at each root and Vieta (p1=0p_1 = 0), compute p2=2pp_2 = -2p, p3=3qp_3 = -3q, and p4=2p2p_4 = 2p^2.
  2. With question 5 (over C\C, keeping detS=V2\det S = V^2), compute

    disc=V(λ1,λ2,λ3)2=302p02p3q2p3q2p2=4p327q2.\operatorname{disc} = V(\lambda_1, \lambda_2, \lambda_3)^2 = \begin{vmatrix} 3 & 0 & -2p\\ 0 & -2p & -3q\\ -2p & -3q & 2p^2 \end{vmatrix} = -4p^3 - 27q^2 .
  3. Deduce: X3+pX+qX^3 + pX + q has a repeated root if and only if 4p3+27q2=04p^3 + 27q^2 = 0; check on X33X+2=(X1)2(X+2)X^3 - 3X + 2 = (X - 1)^2(X + 2).
  4. Suppose p,qp, q real. Prove that the cubic has three distinct real roots if and only if disc>0\operatorname{disc} > 0, and one real plus two nonreal conjugate roots if and only if disc<0\operatorname{disc} < 0. (If λ3=λ2λ2\lambda_3 = \conj{\lambda_2} \neq \lambda_2 and λ1R\lambda_1 \in \R, show VV is purely imaginary.)

Part V — Dividends, and the alternating method.

  1. For 0<a1<a2<<an0 < a_1 < a_2 < \dots < a_n, show det(1ai+aj)>0\det\bigl(\frac{1}{a_i + a_j}\bigr) > 0.
  2. Compute det((mij1))1i,j3\det\bigl(\binom{m_i}{j-1}\bigr)_{1 \leq i, j \leq 3} for (m1,m2,m3)=(2,4,7)(m_1, m_2, m_3) = (2, 4, 7), first by questions 2–3, then by direct expansion.
  3. Let λ1,,λn\lambda_1, \dots, \lambda_n be pairwise distinct and nonzero. Using an invertible Vandermonde matrix, prove again that the geometric sequences ((λik)k0)1in\bigl((\lambda_i^{\,k})_{k \geq 0}\bigr)_{1 \leq i \leq n} form a free family of the space of sequences.
  4. Compute det(1i+j)1i,j3\det\bigl(\frac{1}{i + j}\bigr)_{1 \leq i, j \leq 3} from the double alternant.
  5. (Alternating polynomials) Call a polynomial FF in x1,,xnx_1, \dots, x_n alternating when swapping any two variables changes its sign. Show that an alternating FF vanishes whenever xi=xjx_i = x_j (iji \neq j), and deduce — one variable at a time, by the factor theorem — that FF is divisible by i<j(xjxi)\prod_{i<j}(x_j - x_i).
  6. Use question 23 to reprove the Vandermonde formula with no induction: the determinant det(xij1)\det(x_i^{\,j-1}) is an alternating polynomial of total degree (n2)\binom n2, hence a constant multiple of i<j(xjxi)\prod_{i<j}(x_j - x_i); identify the constant by comparing one monomial.
  7. Synthesis, in four sentences: what single property of the determinant (which axiom) generates all the factorizations of this problem; why the moment-matrix identity of question 5 turns a statement about complex distinctness into a computable real sign test; which two classical matrices were completely evaluated here and which linear problems they govern; and how the alternating method of questions 23–24 explains, in one stroke, why i<j(xjxi)\prod_{i<j}(x_j - x_i) keeps appearing. Name the theorem of Part III.
Solution

Solution of Problem 22.1.

1. V(1,2,3,4)=(21)(31)(41)(32)(42)(43)=123121=12V(1,2,3,4) = (2-1)(3-1)(4-1)(3-2)(4-2)(4-3) = 1 \cdot 2\cdot 3\cdot 1\cdot 2\cdot 1 = 12. Interpolation at distinct nodes asks for the coefficients of PP solving Wc=yW c = y with W=(xij1)W = (x_i^{\,j-1}), and detW=V0\det W = V \neq 0: a Cramer system.

2. Work through the columns from left to right. C1C_1 is the constant column P0(xi)=1P_0(x_i) = 1 (P0P_0 monic of degree 00). Assume columns 1,,j11, \dots, j-1 have already been reduced to the pure powers 1,xi,,xij21, x_i, \dots, x_i^{\,j-2}. Since Pj1=Xj1+k<j1αkXkP_{j-1} = X^{j-1} + \sum_{k < j-1}\alpha_k X^k, subtracting from CjC_j the combination kαk(column of xik)\sum_k \alpha_k\,(\text{column of } x_i^k) — an operation that does not change the determinant — leaves the pure power column xij1x_i^{\,j-1}. After the last column the matrix is the Vandermonde matrix: det=V(x1,,xn)\det = V(x_1, \dots, x_n).

3. The polynomials (j1)!Bj1(j-1)!\,B_{j-1} are monic of degree j1j - 1, so question 2 gives

det(Bj1(mi))=V(m1,,mn)0!1!(n1)!.\det\bigl(B_{j-1}(m_i)\bigr) = \frac{V(m_1, \dots, m_n)}{0!\,1!\cdots(n-1)!} .

The left side is the determinant of a matrix with integer entries (BkB_k is integer-valued on Z\Z: questions 16–17 of the weekend problem Problem 18.1), hence an integer; and it is positive since V(m1,,mn)>0V(m_1, \dots, m_n) > 0 for m1<<mnm_1 < \dots < m_n. So the superfactorial divides the product of all pairwise differences.

4. Factor xix_i out of each row ii: det(xij)j=1..n=x1xndet(xij1)=x1xnV\det(x_i^{\,j})_{j = 1..n} = x_1\cdots x_n\, \det(x_i^{\,j-1}) = x_1\cdots x_n\,V.

5. (WTW)ij=kxki1xkj1=pi+j2(W^{\mathsf T}W)_{ij} = \sum_k x_k^{\,i-1} x_k^{\,j-1} = p_{i+j-2}: S=WTWS = W^{\mathsf T}W. Hence detS=det(WT)detW=V2\det S = \det(W^{\mathsf T})\det W = V^2 (Theorem 22.3 (2),(4)). For real xix_i: detS=V20\det S = V^2 \geq 0, and SS is invertible iff V0V \neq 0 iff the xix_i are pairwise distinct — a sign-definite test computable from the power sums alone.

6. The interpolation conditions kckxik=yi\sum_{k} c_k\,x_i^{\,k} = y_i form the system Wc=yWc = y; detW=V0\det W = V \neq 0 gives existence and uniqueness at once. This is the third proof in the book: explicit formula in Theorem 8.23, kernel argument in Example 20.10, Cramer here.

7. Cramer: cn1=detW/detWc_{n-1} = \det W'/\det W where WW' is WW with its last column replaced by yy. Expanding detW\det W' along that column:

detW=i=1n(1)i+nyiV(x1,,xi^,,xn).\det W' = \sum_{i=1}^n (-1)^{i+n} y_i\,V(x_1, \dots, \widehat{x_i}, \dots, x_n) .

Now V=V(i)j<i(xixj)j>i(xjxi)V = V(\setminus i)\cdot\prod_{j<i}(x_i - x_j)\prod_{j>i} (x_j - x_i), and converting the second product costs (1)ni(-1)^{n-i}:

(1)i+nV(i)V=(1)i+n(1)niji(xixj)=1ji(xixj),(-1)^{i+n}\,\frac{V(\setminus i)}{V} = \frac{(-1)^{i+n}(-1)^{n-i}}{\prod_{j\neq i}(x_i - x_j)} = \frac{1}{\prod_{j\neq i}(x_i - x_j)} ,

whence cn1=iyi/ji(xixj)c_{n-1} = \sum_i y_i/\prod_{j \neq i}(x_i - x_j) — the divided-difference formula again.

8. L3L3L1L_3 \leftarrow L_3 - L_1 gives the rows (1,x1,x12)(1, x_1, x_1^2), (0,1,2x1)(0, 1, 2x_1), (0, x2x1, (x2x1)(x2+x1))(0,\ x_2 - x_1,\ (x_2-x_1)(x_2+x_1)); expanding along the first column and factoring (x2x1)(x_2 - x_1):

(x2x1)12x11x2+x1=(x2x1)(x2x1)=(x2x1)2.(x_2 - x_1)\begin{vmatrix} 1 & 2x_1\\ 1 & x_2 + x_1 \end{vmatrix} = (x_2 - x_1)(x_2 - x_1) = (x_2 - x_1)^2 .

Nonzero for x1x2x_1 \neq x_2: the linear system expressing P(x1)=uP(x_1) = u, P(x1)=vP'(x_1) = v, P(x2)=wP(x_2) = w on the coefficients of PR2[X]P \in \R_2[X] is Cramer — Hermite interpolation with a doubled node is well posed.

9. P=a+bX+cX2P = a + bX + cX^2 with a=P(0)=1a = P(0) = 1, b=P(0)=0b = P'(0) = 0, a+b+c=P(1)=2a + b + c = P(1) = 2: c=1c = 1, so P=1+X2P = 1 + X^2, unique. Consistency: here x1=0x_1 = 0, x2=1x_2 = 1 and the determinant of question 8 is (10)2=10(1 - 0)^2 = 1 \neq 0.

10. Direct computation:

C2=1(a1+b1)(a2+b2)1(a1+b2)(a2+b1)=(a1+b2)(a2+b1)(a1+b1)(a2+b2)i,j(ai+bj),C_2 = \frac{1}{(a_1+b_1)(a_2+b_2)} - \frac{1}{(a_1+b_2)(a_2+b_1)} = \frac{(a_1+b_2)(a_2+b_1) - (a_1+b_1)(a_2+b_2)} {\prod_{i,j}(a_i+b_j)} ,

and the numerator expands to a1b1+a2b2a1b2a2b1=(a2a1)(b2b1)a_1b_1 + a_2b_2 - a_1b_2 - a_2b_1 = (a_2 - a_1)(b_2 - b_1): differences over sums.

11. For i<ni < n, the new entry of row ii is

1ai+bj1an+bj=anai(ai+bj)(an+bj).\frac{1}{a_i + b_j} - \frac{1}{a_n + b_j} = \frac{a_n - a_i}{(a_i + b_j)(a_n + b_j)} .

Factor (anai)(a_n - a_i) out of each row i<ni < n, then 1an+bj\frac1{a_n + b_j} out of each column jj: what remains has entries 1ai+bj\frac1{a_i + b_j} in rows i<ni < n and constant 11 in row nn — the matrix MM, with the announced prefactor.

12. On MM, for j<nj < n the operation CjCjCnC_j \leftarrow C_j - C_n turns row nn into (0,,0,1)(0, \dots, 0, 1) and, in row i<ni < n,

1ai+bj1ai+bn=bnbj(ai+bj)(ai+bn).\frac{1}{a_i + b_j} - \frac{1}{a_i + b_n} = \frac{b_n - b_j}{(a_i + b_j)(a_i + b_n)} .

Factor (bnbj)(b_n - b_j) from each column j<nj < n and 1ai+bn\frac1{a_i + b_n} from each row i<ni < n, then expand along the last row (sign (1)n+n=+1(-1)^{n+n} = +1): the remaining determinant is Cn1C_{n-1}. Collecting the factors of questions 11–12:

Cn=i<n(anai)j<n(bnbj)j(an+bj)i<n(ai+bn)  Cn1,C_n = \frac{\prod_{i<n}(a_n - a_i)\,\prod_{j<n}(b_n - b_j)} {\prod_{j}(a_n + b_j)\,\prod_{i<n}(a_i + b_n)}\;C_{n-1},

and the induction (base C1=1a1+b1C_1 = \frac1{a_1+b_1}) assembles exactly Cauchy’s double alternant: the factors (ajai)(bjbi)(a_j - a_i)(b_j - b_i) for all pairs, over all sums (ai+bj)(a_i + b_j).

13. The formula vanishes iff some aj=aia_j = a_i or bj=bib_j = b_i: the Cauchy matrix is invertible iff both families are pairwise distinct. Hilbert: ai=ia_i = i, bj=j1b_j = j - 1. For n=2n = 2: numerator (21)(10)=1(2-1)(1-0) = 1, denominator 1223=121\cdot2\cdot2\cdot3 = 12: detH2=112\det H_2 = \frac1{12}. For n=3n = 3: numerator [(1)(2)(1)]2=4\bigl[(1)(2)(1)\bigr]^2 = 4, denominator (123)(234)(345)=62460=8640(1\cdot2\cdot3) (2\cdot3\cdot4)(3\cdot4\cdot5) = 6\cdot24\cdot60 = 8640: detH3=48640=12160\det H_3 = \frac{4}{8640} = \frac1{2160}. Inverse for n=2n = 2:

H21=12(1312121)=(46612),H_2^{-1} = 12\begin{pmatrix} \frac13 & -\frac12\\[2pt] -\frac12 & 1\end{pmatrix} = \begin{pmatrix} 4 & -6\\ -6 & 12 \end{pmatrix},

all integers (a phenomenon true for every nn).

14. The matrix of the system is the Cauchy matrix, invertible by question 13 when the bjb_j (and the aia_i) are pairwise distinct: unique solution. Interpretation: a rational function R=jcjX+bjR = \sum_j \frac{c_j}{X + b_j} with simple poles is determined by nn of its values R(a1),,R(an)R(a_1), \dots, R(a_n), and conversely any such data sheet is realized exactly once — the sampling counterpart of the partial-fraction existence and uniqueness theorem (Theorem 9.5).

15. Vieta for X3+pX+qX^3 + pX + q: λ1+λ2+λ3=0\lambda_1 + \lambda_2 + \lambda_3 = 0, i<jλiλj=p\sum_{i<j}\lambda_i\lambda_j = p, so p1=0p_1 = 0 and p2=p122p=2pp_2 = p_1^2 - 2p = -2p. Each root satisfies λ3=pλq\lambda^3 = -p\lambda - q; summing: p3=pp13q=3qp_3 = -p\,p_1 - 3q = -3q. Multiplying by λ\lambda and summing: p4=pp2qp1=2p2p_4 = -p\,p_2 - q\,p_1 = 2p^2.

16. By question 5 (the identity S=WTWS = W^{\mathsf T}W and detS=V2\det S = V^2 are valid over C\C),

V2=302p02p3q2p3q2p2=3(4p39q2)+(2p)(04p2)=4p327q2,V^2 = \begin{vmatrix} 3 & 0 & -2p\\ 0 & -2p & -3q\\ -2p & -3q & 2p^2 \end{vmatrix} = 3\bigl(-4p^3 - 9q^2\bigr) + (-2p)\bigl(0 - 4p^2\bigr) = -4p^3 - 27q^2 ,

expanding along the first row.

17. A repeated root means two equal λi\lambda_i, i.e. V=0V = 0, i.e. disc=4p327q2=0\operatorname{disc} = -4p^3 - 27q^2 = 0. For X33X+2X^3 - 3X + 2: 4(3)3+274=108+108=04(-3)^3 + 27\cdot4 = -108 + 108 = 0, matching the double root 11 of (X1)2(X+2)(X-1)^2(X+2).

18. The nonreal roots of a real cubic come in conjugate pairs, so exactly two cases occur when disc0\operatorname{disc} \neq 0. Three distinct real roots: VV is real and nonzero, so disc=V2>0\operatorname{disc} = V^2 > 0. One real root λ1\lambda_1 and λ3=λ2R\lambda_3 = \conj{\lambda_2} \notin \R: then

(λ2λ1)(λ3λ1)=λ2λ12>0,λ3λ2=2iImλ20,(\lambda_2 - \lambda_1)(\lambda_3 - \lambda_1) = \abs{\lambda_2 - \lambda_1}^2 > 0, \qquad \lambda_3 - \lambda_2 = -2\iu\,\operatorname{Im}\lambda_2 \neq 0,

so VV is a nonzero purely imaginary number and disc=V2<0\operatorname{disc} = V^2 < 0. The two signs characterize the two cases.

19. Take bi=aib_i = a_i in the double alternant: the numerator is i<j(ajai)2>0\prod_{i<j}(a_j - a_i)^2 > 0 and the denominator i,j(ai+aj)>0\prod_{i,j}(a_i + a_j) > 0 (all entries positive): the determinant is positive. (In later language: the kernel 1x+y\frac1{x+y} is positive definite.)

20. By questions 2–3, the determinant equals V(2,4,7)/(0!1!2!)=(42)(72)(74)2=302=15V(2,4,7)/(0!\,1!\,2!) = \frac{(4-2)(7-2)(7-4)}{2} = \frac{30}{2} = 15. Directly, the matrix is

(1211461721),det=(8442)2(216)+(74)=4230+3=15.\begin{pmatrix} 1 & 2 & 1\\ 1 & 4 & 6\\ 1 & 7 & 21 \end{pmatrix}, \qquad \det = (84 - 42) - 2(21 - 6) + (7 - 4) = 42 - 30 + 3 = 15 .

21. Suppose ici(λik)k=0\sum_i c_i\,(\lambda_i^{\,k})_{k} = 0 as a sequence. Reading off k=0,1,,n1k = 0, 1, \dots, n-1 gives WTc=0W^{\mathsf T}c = 0 with W=(λij1)W = (\lambda_i^{\,j-1}) invertible (det=V0\det = V \neq 0, distinct λi\lambda_i): c=0c = 0. The geometric sequences are free.

22. a=b=(1,2,3)a = b = (1, 2, 3): numerator [(21)(31)(32)]2=4\bigl[(2-1)(3-1) (3-2)\bigr]^2 = 4; denominator i,j(i+j)=(234)(345)(456)=2460120=172800\prod_{i,j}(i + j) = (2\cdot3\cdot4)(3\cdot4\cdot5)(4\cdot5\cdot6) = 24\cdot60\cdot120 = 172800. Hence det(1i+j)=4172800=143200\det\bigl(\frac1{i+j}\bigr) = \frac{4}{172800} = \frac1{43200}.

23. If xi=xjx_i = x_j, the swap of the two variables fixes the point but must change the sign of FF: F=FF = -F, so F=0F = 0 there. Divisibility: view FF as a polynomial in the single variable xnx_n with coefficients in the other variables; it vanishes at the n1n - 1 “values” x1,,xn1x_1, \dots, x_{n-1}, so repeated factoring (Theorem 8.7) gives F=i<n(xnxi)GF = \prod_{i<n}(x_n - x_i)\cdot G with GG polynomial. The prefactor is invariant under swaps of two indices i,j<ni, j < n, so GG is alternating in x1,,xn1x_1, \dots, x_{n-1}, and induction completes: i<j(xjxi)\prod_{i<j}(x_j - x_i) divides FF.

24. D=det(xij1)D = \det(x_i^{\,j-1}) is a polynomial in the xix_i; swapping two variables swaps two rows, so DD is alternating, and by question 23, D=ci<j(xjxi)D = c\,\prod_{i<j}(x_j - x_i) for some polynomial cc. Total degrees: DD has degree 0+1++(n1)=(n2)\leq 0 + 1 + \dots + (n-1) = \binom n2, the product has degree exactly (n2)\binom n2: cc is a constant. The monomial x2x32xnn1x_2\,x_3^2\cdots x_n^{\,n-1} has coefficient 11 in DD (diagonal product) and 11 in the product (choose the larger-index variable in every factor): c=1c = 1, and Vandermonde’s formula falls out with no induction.

25. (i) Alternation — the axiom “two equal columns kill the determinant” — is the engine: it produced every factor (xjxi)(x_j - x_i), (ajai)(a_j - a_i), (bjbi)(b_j - b_i) in the problem. (ii) The identity detS=V2\det S = V^2 replaces the individually complex, unreachable roots by their power sums, which are real polynomials in the coefficients, so distinctness becomes the sign of a computable real number. (iii) The Vandermonde determinant governs polynomial interpolation, the Cauchy determinant governs partial fractions and sampled rational functions (with the Hilbert matrix as its most famous special case). (iv) Any alternating polynomial is divisible by i<j(xjxi)\prod_{i<j}(x_j - x_i), and a degree count then pins such a polynomial down up to a constant — which is why this product keeps reappearing wherever a determinant vanishes on coincidences. The theorem of Part III is Cauchy’s double alternant.