Skip to main content

2017 AIME II Problem 5

Problem 5 of 15EasierAlgebraProblem-Solving Techniques

A set contains four numbers. The six pairwise sums of distinct elements of the set, in no particular order, are 189,189, 320,320, 287,287, 234,234, x,x, and y.y. Find the greatest possible value of x+y.x + y.

Your answer

Integer from 0 to 999
Show solution

Solution

Let the set be {a,b,c,d}\{a, b, c, d\} with total s=a+b+c+d.s = a + b + c + d. The six pairwise sums come in three complementary pairs: (a+b)+(c+d)=(a+c)+(b+d)=(a+d)+(b+c)=s. \begin{aligned} &(a+b) + (c+d) \\ &= (a+c) + (b+d) \\ &= (a+d) + (b+c) = s. \end{aligned} No two of the pairings of 189,189, 320,320, 287,287, 234234 into two pairs give equal totals (509≠521,509 \ne 521, 476≠554,476 \ne 554, 423≠607423 \ne 607), so xx and yy are not paired with each other; each is paired with a given sum, and the remaining two given sums are paired together. Adding all six values, x+yx + y =3s−(189+320+287+234)= 3s - (189 + 320 + 287 + 234) =3s−1030,= 3s - 1030, where ss is the sum of two of the given numbers. The largest choice is s=320+287=607,s = 320 + 287 = 607, giving x+y=3⋅607−1030=791.x + y = 3 \cdot 607 - 1030 = 791. This is attained by the set {51.5, 137.5, 182.5, 235.5},\{51.5,\ 137.5,\ 182.5,\ 235.5\}, whose pairwise sums are 189,189, 234,234, 287,287, 320,320, 373,373, and 418,418, with 373+418=791.373 + 418 = 791.
AoPS wiki

Tagged: algebraic manipulation · pairing and grouping · optimization

More practice