2022 AMC 10B Problem 18

Attempt Problem 18 of the 2022 AMC 10B below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2022 AMC 10B solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

18.

Consider systems of three linear equations with unknowns x,x, y,y, and z,z, {a1x+b1y+c1z=0a2x+b2y+c2z=0a3x+b3y+c3z=0 \begin{cases} a_1 x + b_1 y + c_1 z & = 0 \\ a_2 x + b_2 y + c_2 z & = 0 \\ a_3 x + b_3 y + c_3 z & = 0 \end{cases} where each of the coefficients is either 00 or 11 and the system has a solution other than x=y=z=0.x=y=z=0. For example, one such system is {1x+1y+0z=00x+1y+1z=00x+0y+0z=0 \begin{cases} 1 x + 1 y + 0 z & = 0 \\ 0 x + 1 y + 1 z & = 0 \\ 0 x + 0 y + 0 z & = 0 \end{cases} with a nonzero solution of (x,y,z)=(1,−1,1).(x,y,z) = (1, -1, 1). How many such systems of equations are there? (The equations in a system need not be distinct, and two systems containing the same equations in a different order are considered different.)
 302 \ 302
 338 \ 338
 340 \ 340
 343 \ 343
 344 \ 344
Answer: B
Concepts:system of equationscomplementary countingcasework
Small hint:
For three distinct nonzero dependent rows, one row is the ordinary sum of two rows with disjoint supports
Big hint:
Count all binary coefficient matrices and subtract nonsingular ones
Solution:
There are 29=5122^9=512 ordered binary coefficient matrices. A homogeneous system has only the zero solution exactly when its three row vectors are linearly independent, so we count those matrices and subtract.
An independent matrix must have three distinct nonzero rows. There are 7⋅6⋅5=2107\cdot6\cdot5=210 ordered choices of such rows. Among three distinct nonzero binary vectors, dependence occurs exactly when one is the ordinary sum of the other two; the two summands must have disjoint nonempty supports.
If the sum has support of size 2,2, choose its two coordinates in 33 ways; its summands are the two corresponding unit vectors. If the sum has support of size 3,3, choose which one coordinate forms one summand in 33 ways, with the other two coordinates forming the other summand. Thus there are 3+3=63+3=6 unordered dependent triples, each with 3!=63!=6 row orders.
Hence the number of independent matrices is 210−6⋅6=174.210-6\cdot6=174. The desired number of singular matrices, and therefore of systems with a nonzero solution, is 512−174=338.512-174=338.
Thus, the answer is B .
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.