Since, the given system has non-zero solution. ∴∣∣1k1−k−11−1a−1−1∣∣=0
Applying C1→C1−C2,C2→C2+C3 ⇒∣∣1+k1+k0−k−1−20−1−1−1∣∣=0 ⇒2(k+1)−(k+1)2=0 ⇒(k+1)(2−k−1)=0⇒k=±1
NOTE There is a golden rule in determinant that n one's ⇒(n−1) zero's or n (constant) ⇒(n−1) zero's for all constant should be in a single row or a single column.