The coefficient matrix has determinant
∣A∣=∣∣∣∣∣∣∣p10 1−1 2 0 1−1∣∣∣∣∣∣∣=1−p
According to Theorem 16.8.1, the system has a unique solution if 1−p=0 —that is, if p=1. In this case, the determinants in (16.8.2) are
Dj=∣∣∣∣∣∣∣∣∣∣∣a11a21.:an1………a1,j−1a2,j−1.:an,j−1b1b2.:bna1,j+1a2+j+1.:an,j+1………a1na2n.:ann∣∣∣∣∣∣∣∣∣∣∣(16.8.2)
D1=∣∣∣∣∣∣∣1031−1201−1∣∣∣∣∣∣∣,D2=∣∣∣∣∣∣∣p1010301−1∣∣∣∣∣∣∣andD3=∣∣∣∣∣∣∣p101−12103∣∣∣∣∣∣∣
whose numerical values are D1=2,D2=1−3p, and D3=−1−3p. Then, for p=1, Eq. (16.8.4) yields
x1=∣A∣D1,x2=∣A∣D2,⋅⋅⋅,xn=∣A∣Dn (16.8.4)
x=∣A∣D1=1−p2,y=∣A∣D2=1−p1−3p,
andz=∣A∣D3=1−p−1−3p
On the other hand, in case p = 1, the first equation becomes x + y = 1. Yet adding the last two of the original equations implies that x + y = 3. There is no solution to these two contradictory equations in case p = 1.9
9 It might be instructive to solve this problem by using Gaussian elimination, starting by interchanging the first two equations.