Maths Olympiad Prep

Library / /1 of 18

Algebra Difficulty 4.7 AIME Prove it Austria

Let pp and qq be real numbers such that the quadratic equation
x2+px+q=0 x^2 + px + q = 0
has two real solutions x1x_1 and x2x_2.
The following two conditions hold:
(i) The numbers x1x_1 and x2x_2 differ by 1.
(ii) The numbers pp and qq differ by 1.
Show that p,q,x1p, q, x_1 and x2x_2 are integers.

Solution

Without loss of generality, we assume x1=x2+1x_1 = x_2 + 1. By Vieta's formulas, this implies p=(x1+x2)=2x21p = -(x_1 + x_2) = -2x_2 - 1 and q=x1x2=x22+x2q = x_1 x_2 = x_2^2 + x_2.
Therefore, it is enough to check that x2x_2 has to be an integer.

**Case 1: q=p1q = p - 1**
This implies x22+x2=2x211x_2^2 + x_2 = -2x_2 - 1 - 1 and therefore x22+3x2+2=0x_2^2 + 3x_2 + 2 = 0 and x2=1x_2 = -1 or x2=2x_2 = -2, both of which are integers.

**Case 2: q=p+1q = p + 1**
We find x22+x2=2x21+1x_2^2 + x_2 = -2x_2 - 1 + 1 and therefore x22+3x2=0x_2^2 + 3x_2 = 0 and x2=0x_2 = 0 or x2=3x_2 = -3, both of which are integers.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.