I am going over the proof of $\mathrm{adj}(A)A = \det(A) \cdot I$ as for the first part I understand why the elements on the diagonal are $Det(A)$ but as for the second part.
why if $k\neq l$ we get: $$(A\cdot\hat A)_{k\ell}=\sum_{i=1}^n (-1)^{i+\ell}a_{ki} \det A(\ell\mid i)=0$$
Do we define $\hat A$ differently from the first case? why does it have two identical rows?