Let $\mathbb A = (a_{i,j})_{1\leq i \leq n, 1\leq j \leq n}$ be a real matrix such that $\det(\mathbb A)\neq0$. Suppose we add a column $(a_{i,0})_{1\leq i \leq n+1} $ and a row $(a_{n+1,j})_{0\leq j \leq n+1} $ to $\mathbb A$.
Under what sufficient conditions on the newly added numbers do we still have $\det(\mathbb A)\neq0$ ?
Under what sufficient and necessary conditions on the newly added numbers do we still have $\det(\mathbb A)\neq0$ ?
Essentially, you're considering $A'=\begin{pmatrix} a_0 & b^\top\\ c & A \end{pmatrix}$ for scalar $a_0$, column vectors $b,c$ and a nonsingular matrix $A$. A tool which is applicable for matrices of this form is the Schur complement. This is based on performing block-Gaussian elimination. In particular, we note the following block-diagonalization of $A'$:
$$\begin{pmatrix}1 & -b^\top A^{-1} \\ 0 & I_n\end{pmatrix} \begin{pmatrix} a_0 & b^\top\\ c & A \end{pmatrix} \begin{pmatrix}1 & 0\\ -A^{-1}c& I_n\end{pmatrix} =\begin{pmatrix}a_0-b^\top A^{-1}c & 0 \\ 0 & A\end{pmatrix}$$ which applies so long as $A$ is invertible. One may then check that the block-triangular matrices have determinant $1$, so $$\det(A')=(a_0-b^\top A^{-1}c)\det(A).$$ Hence $A'$ is invertible if and only if $a_0 \neq c^\top A^{-1}b$.