Collecting the coefficients gives the coefficient matrix
A square homogeneous linear system has a nonzero solution precisely when its matrix is a singular matrix. Expanding the determinant down the first column,
Hence the necessary and sufficient condition is or or . A zero determinant gives a nontrivial kernel of a linear map; otherwise multiplication by the matrix inverse would force the zero solution.
The square roots simplify to the absolute values and . Put . A nontrivial solution of the homogeneous linear system exists exactly when its coefficient matrix is singular:
The second factor vanishes precisely when , or , giving both coordinate axes. The first factor vanishes when is a nonnegative integer. Hence the complete locus is
These are the two axes together with concentric circles of positive integer radii. The zero-radius case is the origin, already included on the axes; at that point both equations vanish and any nonzero pair works.
Figure 1.
The parameter locus consists of both axes and circles with integer radii
. Details.