Consider some nonzero vector $x^1=(x_1,x_2) \in \mathbb Z^2$ with integer components. Then by defining $$x^2 = (x_2, -x_1)$$ we can find a vector with integer components orthogonal to $x^1$. I am wondering whether this is true more generally.
Question: If $x^1,\dots,x^{n-1} \in \mathbb Z^n$ are linear independent vectors with integer components, can we always find another vector $x^n \in \mathbb Z^n$ with integer components that is orthogonal to all the $x^i,$ $i=1,\dots,n-1$?
If not, what conditions on $x^1,\dots,x^{n-1}$ would make sure that we can find such a $x^n$?
Sure. Requiring orthogonality to $x^1,\dots,x^{n-1}$ can be looked at as $n-1$ linear equations in $n$ rational unknowns with rational coefficients. When the vectors you want orthogonality to are linearly independent, this system has a line of solutions in $\mathbb{Q}^n$, say $\{ c x^* : c \in \mathbb{Q} \}$ for a particular nontrivial solution $x^*$ in $\mathbb{Q}^n$.
Now take $c$ to be any common multiple of the denominators of the components of $x^*$ (with the convention that the "denominator" of an integer is $1$) and you'll get a solution in $\mathbb{Z}^n$.