MathDB
Algebra form IMO Shortlist

Source: IMO Shortlist 2017 A2

July 10, 2018
algebraIMO ShortlistIMO Shortlist 2017

Problem Statement

Let qq be a real number. Gugu has a napkin with ten distinct real numbers written on it, and he writes the following three lines of real numbers on the blackboard:
[*]In the first line, Gugu writes down every number of the form aba-b, where aa and bb are two (not necessarily distinct) numbers on his napkin. [*]In the second line, Gugu writes down every number of the form qabqab, where aa and bb are two (not necessarily distinct) numbers from the first line. [*]In the third line, Gugu writes down every number of the form a2+b2c2d2a^2+b^2-c^2-d^2, where a,b,c,da, b, c, d are four (not necessarily distinct) numbers from the first line.
Determine all values of qq such that, regardless of the numbers on Gugu's napkin, every number in the second line is also a number in the third line.