MathLabs

Problem 5

Consider the system of pp equations in q=2pq=2p unknowns x1,…,xqx_1,\ldots,x_q, with every coefficient aija_{ij} in {−1,0,1}\{-1,0,1\}. Prove that the system has a solution such that (a) all xjx_j are integers; (b) at least one xj≠0x_j\ne0; (c) ∣xj∣≤q|x_j|\le q for every jj.
Step 5 of 5: Apply the pigeonhole principle
In plain words

Subtracting two bounded nonnegative candidates is the standard way to obtain a signed, nontrivial integer kernel vector without exceeding the same bound.

x=y−y≠0,∣xj∣≤qx=y-y\ne0,\quad |x_j|\le q
Detailed analysis

More nonzero vectors map to fewer output tuples, so two distinct vectors u,vu,v have the same image. Their difference x=u−vx=u-v is a nonzero integer vector, satisfies every equation because the outputs cancel, and obeys ∣xj∣≤q|x_j|\le q since 0≤uj,vj≤q0\le u_j,v_j\le q. This proves all three required properties.