Am trying to solve this exercise in S. Bosch's book Algebra. From the Viewpoint of Galois Theory (Exercise 5, page 81).
Assume that $A$ is a principal ideal domain, and assume that $({a_{11}},\dots,{a_{1n}})$ is a set elements in $A$ for which $\gcd{({a_{11}},\dots,{a_{1n}})}=1.$ Find an $n\times n$ square matrix with entries in $A$ having $({a_{11}},\dots,{a_{1n}})$ as its first row, and which is invertible in $A$.
I may be missing something completely obvious here (sorry!) but my approach is as follows. Since $\gcd{({a_{11}},\dots,{a_{1n}})}=1,$ we have an $n$-tuple of elements of $A$, ${({x_{1}},\dots,{x_{n}})}$ such that $${\sum^n_{i=1}{x_{i}{a_{1i}}}}=1.$$ So I want to construct an $n\times n$ square matrix whose first row is $({a_{11}},\dots,{a_{1n}})$, and whose determinant is ${\sum^n_{i=1}{x_{i}{a_{1i}}}}$. In the case $n = 2$ this seems straight forward. If ${a_{11}}x+{a_{12}}y=1$, then consider the $2\times 2$ matrix whose first row is $({a_{11}},{a_{12}}),$ and the second row is $(-y,x)$. But I have no way of treating the case $n>2$. Is it in general possible to construct a matrix having determinant ${\sum^n_{i=1}{x_{i}{a_{1i}}}}$ having $({a_{11}},\dots,{a_{1n}})$ as its first row (even forgetting the condition ${\sum^n_{i=1}{x_{i}{a_{1i}}}}=1$)?
Expanding for the determinant along the first row (consisting of $a_{1,i}$'s) gives you $n$ inter-related conditions on $n$ $(n-1 \times n-1)$-subdeterminants where the $i^\text{th}$ subdeterminant must be $(-1)^{i + 1} \cdot x_i$.Well, this gets arbitrarily complicated for $n > 2$, but it is exactly what you (implicitly) did for the basic $2$-by-$2$ case. It is enough to get $n\times n-1$ independent equations which shall impose conditions on our $n\times n-1$ unknowns ( since we already know the first row or equivalently, $n$ entries). We thus have less equations than unknowns and we can thus strategically impose some values on some entries to reduce the number of unknowns.This strategy might be the core of the solution.