Unofficial archive — problems, solutions & results © IMC, reproduced with permission.

IMC / 2019 / Problems / Day 1, P2

IMC 2019 · Day 1 · P2

medium

A four-digit number YEARYEAR is called very good if the system Yx+Ey+Az+Rw=YRx+Yy+Ez+Aw=EAx+Ry+Yz+Ew=AEx+Ay+Rz+Yw=R\begin{align*} Yx + Ey + Az + Rw &= Y \\ Rx + Yy + Ez + Aw &= E \\ Ax + Ry + Yz + Ew &= A \\ Ex + Ay + Rz + Yw &= R \end{align*} of linear equations in the variables x,y,zx, y, z and ww has at least two solutions. Find all very good YEARYEARs in the 21st century.

(The 21st century starts in 2001 and ends in 2100.)

Proposed by Tomáš Bárta, Charles University, Prague

Solution (official)

Hint: If the solution of the system is not unique then det(YEARRYEAARYEEARY)=0\det \begin{pmatrix} Y & E & A & R \\ R & Y & E & A \\ A & R & Y & E \\ E & A & R & Y \end{pmatrix} = 0.

Let us apply row transformations to the augmented matrix of the system to find its rank. First we add the second, third and fourth row to the first one and divide by Y+E+A+RY + E + A + R to get (11111RYEAEARYEAEARYR)(111110YRERARER0RAYAEA00AEREYERE)(111110YRERARER0RAYAEA00AE+YR0YE+AR0)\left( \begin{array}{cccc|c} 1 & 1 & 1 & 1 & 1 \\ R & Y & E & A & E \\ A & R & Y & E & A \\ E & A & R & Y & R \end{array} \right) \sim \left( \begin{array}{cccc|c} 1 & 1 & 1 & 1 & 1 \\ 0 & Y-R & E-R & A-R & E-R \\ 0 & R-A & Y-A & E-A & 0 \\ 0 & A-E & R-E & Y-E & R-E \end{array} \right) \sim \left( \begin{array}{cccc|c} 1 & 1 & 1 & 1 & 1 \\ 0 & Y-R & E-R & A-R & E-R \\ 0 & R-A & Y-A & E-A & 0 \\ 0 & A-E+Y-R & 0 & Y-E+A-R & 0 \end{array} \right) Let us first omit the last column and look at the remaining 4×44 \times 4 matrix. If ERE \ne R, the first and second rows are linearly independent, so the rank of the matrix is at least 2 and rank of the augmented 4×54 \times 5 matrix cannot be bigger than rank of the 4×44 \times 4 matrix due to the zeros in the last column.

IF E=RE = R, then we have three zeros in the last column, so rank of the 4×54 \times 5 matrix cannot be bigger than rank of the 4×44 \times 4 matrix. So, the original system has always at least one solution.

It follows that the system has more than one solution if and only if the 4×44 \times 4 matrix (with the last column omitted) is singular. Let us first assume that ERE \ne R. We apply one more transform to get (11110YRERAR0(RA)(ER)(YR)(YA)0(EA)(ER)(AR)(YA)0AE+YR0YE+AR)\sim \begin{pmatrix} 1 & 1 & 1 & 1 \\ 0 & Y-R & E-R & A-R \\ 0 & (R-A)(E-R) - (Y-R)(Y-A) & 0 & (E-A)(E-R) - (A-R)(Y-A) \\ 0 & A-E+Y-R & 0 & Y-E+A-R \end{pmatrix} Obviously, this matrix is singular if and only if AE+YR=0A - E + Y - R = 0 or the two expressions in the third row are equal, i.e. RER2AE+ARY2+RY+AYAR=E2AEER+ARAY+RY+A2AR0=(ER)2+(AY)2,\begin{gather*} RE - R^2 - AE + AR - Y^2 + RY + AY - AR = E^2 - AE - ER + AR - AY + RY + A^2 - AR \\ 0 = (E - R)^2 + (A - Y)^2, \end{gather*} but this is impossible if ERE \ne R. If E=RE = R, we have (11110YR0AR0RAYARA0A+Y2R0Y+A2R)(11110YR0AR0RAYARA0AR0YR).\sim \begin{pmatrix} 1 & 1 & 1 & 1 \\ 0 & Y-R & 0 & A-R \\ 0 & R-A & Y-A & R-A \\ 0 & A+Y-2R & 0 & Y+A-2R \end{pmatrix} \sim \begin{pmatrix} 1 & 1 & 1 & 1 \\ 0 & Y-R & 0 & A-R \\ 0 & R-A & Y-A & R-A \\ 0 & A-R & 0 & Y-R \end{pmatrix}. If A=YA = Y, this matrix is singular. If AYA \ne Y, the matrix is regular if and only if (YR)2(AR)2(Y - R)^2 \ne (A - R)^2 and since YAY \ne A, it means that YR(AR)Y - R \ne -(A - R), i.e. Y+A2RY + A \ne 2R. We conclude that YEARYEAR is very good if and only if

1. ERE \ne R and A+Y=E+RA + Y = E + R, or

2. E=RE = R and Y=AY = A, or

3. E=RE = R, AYA \ne Y and Y+A=2RY + A = 2R.

We can see that if Y=2Y = 2, E=0E = 0, then the very good years satisfying 1 are A+2=R0A + 2 = R \ne 0, i.e. 2002, 2013, 2024, 2035, 2046, 2057, 2068, 2079, condition 2 is satisfied for 2020 and condition 3 never satisfied.

How the field did

contestants scored
360
average (of 10)
6.07
solved (≥ 80%)
44.4%
near-0 (≤ 10%)
12.5%
discrimination
0.38

Score distribution (field cohort)

Computed on contestants with a meaningful total (field cohort); discrimination is the corrected item–total correlation.

Similar problems

IMC 2006 · Day 1 · P3hardavg 2.5/10 · solved 16% · near-0 64% · disc 0.39
IMC 2008 · Day 2 · P11very hardavg 0.8/10 · solved 7% · near-0 90% · disc 0.43
IMC 2019 · Day 1 · P5killeravg 0.8/10 · solved 5% · near-0 91% · disc 0.35
IMC 2005 · Day 2 · P12killeravg 1.5/10 · solved 4% · near-0 72% · disc 0.33