Professional Documents
Culture Documents
5 1 1 1
= + + :
13 3 20 780
It is easy t o show t hat every posit ive rat ional number
between 0 and 1 can be writ t en in t his way, and t he
algorit hm t o do so is part icularly nice; we simply peel
o® t he largest unit fract ion not great er t han t he given
fract ion, t hen do t he same for t he port ion remaining,
and so on, recursively. We shall show via t he PD t hat
t his process necessarily t erminates, and so yields t he
desired represent at ion. (For example, for t he fract ion
5=13, we ¯ rst peel o® 1=3. The port ion left is 2=39, from
which we peel o® 1=20. Now t he port ion left is 1=780,
itself a unit fract ion. So 5=13 = 1=3 + 1=20 + 1=780, as
given above.)
The validity of t he algorit hm may be shown as follows.
Let r be any rational number between 0 and 1, say r =
a=b, where a; b are int egers wit h 0 < a < b. Let t he
The algorithm posit ive int eger n be (uniquely) ¯ xed by t he condit ion
described here for
expression as a sum
1 a 1
· < :
of Egyptian fractions n b n¡ 1
is called the greedy If equality holds on t he left side, t hen t here is not hing
algorithm. There are more t o be done. If not , let s = r ¡ 1=n; t hen
many algorithms of
this kind to be found a 1 na ¡ b
s= ¡ = :
in mathematics e.g., b n nb
some implemen- By de¯ nit ion 0 < na ¡ b < a, so the numerator of s is
tations of the simplex strictly less than that of r . If s is a unit fract ion, t hen
method used to we are t hrough. If not , we repeat t he process wit h s in
solve linear place of r and obt ain anot her fract ion t wit h a smaller
programs. numerat or; and so we proceed. As t he numerat ors of
r; s; t; : : : form a st rictly decreasing sequence of posit ive
int egers, t he descent must come t o a halt sooner or lat er.
The desired represent at ion is now at hand.
We make t he following remarks before moving on. (a)
While t he above algorit hm cert ainly yields a represent a-
t ion in t he desired form, it does not always do so in t he
most economical way, i.e., wit h t he least number of sum-
mands. (Work out t he algorit hm wit h r = 47=60 and
check for yourself !) (b) The above algorit hm, for ob-
vious reasons, is called a `greedy algorit hm'. There are
many algorit hms of t his kind to be found in mat hemat -
ics (e.g., some implementat ions of t he simplex met hod
used t o solve linear programs). (c) A similar analysis
can be made for t he well-known algorit hm of Euclid's
t hat yields t he GCD of two given whole numbers; here
t he st ep carried out repeat edly is
(a; b) 7
! (b; Rem(a ¥ b)) ;
p
Suppose t hat 2 is ratpional; t hen t here exist posit ive
int egers n such t hat n 2 is int egral, so t he set S of
posit ive int egers n such t hat t he diagonal of a square of
side n has int egral lengt h is non-empty. Let b 2 S, and
let AB CD bea p squarewit h side b; then t he diagonal D B
has lengt h b 2 = a, say (see Figure 1). Locat e a point E
on D B such t hat D E = b; t hen B E = a¡ b. Const ruct a
Figure 1. square B E F G on side B E ; t hen E F = a ¡ b. Triangles
D E F and D CF are congruent, so CF = E F = a ¡ b,
t herefore B F = b ¡ (a ¡ b) = 2b ¡ a. It follows t hat
B E F G is an int eger-sided square whose diagonal has
int egral lengt h, and it is smaller t han t he square we
st arted wit h. Now we invoke t he PD t o conclude t hat p
such a sit uat ion is unt enable; t he irrat ionality of 2
follows.
Here is anot her such proof, even simpler t han p t he one
above (it was feat ured in [3]). Suppose t hat 2 = a=b
where a; b 2 N . Let AB CD be a square of side a.
Draw squares B PQR and D STU each wit h side b inside
square AB CD (see Figure 2). The equat ion a2 = 2b2 im-
plies t hat t he area of square AB CD is t he sum of t he ar-
eas of squares B PQR and D STU. This means t hat t he
area of t he cent ral square, wit h side b¡ (a¡ b) = 2b¡ a,
equals t he sum of t he areas of t hep two small squares at
t he corners (wit h side a ¡ b); so 2 = (2b¡ a)=(a ¡ b).
Now we invoke t he PD as earlier t o reach t he same con-
clusion.
I rrationality of the Golden Ratio
T wo I M O P r oblem s
We t op o® t his survey of case st udies wit h two challeng-
ing and pret ty problems from t he Int ernat ional Mat h-
emat ical Olympiads of 1986 and 1988 (held in Poland
and Aust ralia, respect ively). The latt er problem was
considered for long t o be t he most di± cult problem ever
t o be asked in an IMO. (However, it has since lost t his
t it le!)
I MO 1986/ 3.
To each vertex of a regular pentagon an integer is as-
signed in such a way that the sum of all the ¯ ve num-
bers is positive. I f three consecutive vertices are assigned
the numbers x; y; z respectively and if y < 0, then the
following operation is allowed: the numbers x; y; z are
replaced by x + y; ¡ y; z + y, respectively. Such an opera-
tion is performed repeatedly as long as at least one of the
¯ ve numbers is negative. Determine whether this proce-
dure necessarily comes to an end after a ¯ nite number
of steps.
We not e ¯ rst ly t hat t he sum s of t he numbers at t he
vert ices st ays t he same all t hrough, because (x + y) +
(¡ y) + (z + y) = x + y + z.
Experiment at ion suggest s t hat t he procedure cannot be
cont inued inde¯ nitely. If we are t o prove t hat t he proce-
dure necessarily t erminat es, we must ¯ nd a non-negat ive
int eger-valued funct ion of t he vert ex numbers t hat st ric-
t ly decreases at each st age. Finding such a function en-
t ails a bit of hit -and-t rial, but in t he end we obt ain t he
following candidat e for t he funct ion, f : if t he numbers
at t he vert ices are x; y; z; u; v, read in cyclic order, t hen
f (x; y; z; u; v) = (x¡ z) 2 + (y¡ u) 2+ (z¡ v) 2 + (u¡ x) 2 + (v¡ y) 2 :
Observe t hat f is non-negat ive and int eger-valued, as
required.
Assuming t hat y < 0, let t he st ep (x; y; z; u; v) 7
! (x +
f (x + y; ¡ y; z + y; u; v) = (x ¡ z) 2 + (u + y) 2+
(z + y ¡ v) 2 + (x + y ¡ u) 2 + (v + y)2 :
Simplifying, we get t he following expression for ¢ f , t he
change in f :
ai ;j = x i + x i + 1 + ¢¢¢+ x j ¡ 1;
bi ;r = ai ;r + x r = ai ;r + 1 ; bi ;r + 1 = ai ;r ;
br ¡ 1;r + 1 = x r ¡ 1 = ar ¡ 1;r ; br ;r + 1 = ¡ x r = ¡ ar;r + 1:
We observe t hat in t he in¯ nit e mult iset of t he sums ai ;j ,
most of t he element s st ay unchanged, some element s
swap places wit h ot hers, and precisely one element is
replaced by it s negat ive. As a negat ive number is re-
placed by a posit ive number each t ime, t he sequence of
operat ions necessarily t erminat es. Indeed, we can say
more: the number of steps needed for termination does
not depend on the order in which the steps are carried
out! { it equals t he number of negat ive element s in t he
init ial mult iset of values of ai ;j . An elegant and pret ty
result indeed.
Is t his a proof by descent ? Oh yes! { but t he descent
principle has been used in a rat her more subt le manner.
I MO 1988/ 6.
Let a and b be positive integers such that the quantity
a2 + b2
c=
ab+ 1
is an integer. Show that c is a square.
x 2 ¡ cux + (u2 ¡ d) = 0
The proof that the Since d · c+ 1, t he curve cannot have any lat t ice point s
continued fraction in t he int eriors of t he second and fourth quadrant s; for
approach yields all if (x; y) were such a lat t ice point , t hen xy · ¡ 1 and
possible non- x 2 + y2 ¸ 2, and so 2 · x 2 + y2 = cxy + d · 1, which is
negative integral absurd.
solutions to Pell’s
Now it follows from t he nat ure of t he descent t hat we
equation is another cannot jump from t he int erior of t he ¯ rst quadrant t o
example of a task t he int erior of t he t hird quadrant in a single st ep; for
that can be if v > u > 0 t hen t he signs of t he second coordinat es
accomplished in (u; v) and (cu ¡ v; u) are bot h posit ive. Also, we are
elegantly via the PD. barred from ent ering t he int erior of t he second quad-
rant . T herefore in order t o reach the int erior of t he
t hird quadrant , we must st ep upon p bot h t phe x-axis and
t he y-axis, i.e., on t he point s (0; d), (¡ d; 0), which
consequent ly must be lat t ice point s. It follows t hat d is
a square.
Here is anot her (rat her short ) proof of t he above asser-
t ion. We st art wit h nat ural numbers a; b; c wit h a2 +
b2 ¡ abc ( = t; say) between 1 and c + 1.
= b; for a = b gives a2(2¡ c) =
If t is not a square, then a 6
t which gives in t urn c = 1 and t = a2 , a square.
Assume t hat it is possible t o have t non-square; assume
t hat t he corresponding a > b has b t he least possible (of
course, b > 0). Then t he `ot her' root d of t he equat ion
a2 + b2 ¡ abc = t, viewed as a quadrat ic equat ion in
a, sat is¯ es t he relat ions a + d = bc, ad = b2 ¡ t. In
part icular, d is an int eger.
If d < 0, t hen we get , in t urn, db · ¡ 1, dbc · ¡ c,
c · ¡ dbc, c+ 1 · 1¡ dbc. So d2 + b2 ¡ dbc = t · c+ 1 ·
1 ¡ dbc, i.e., d2 + b2 · 1, an impossibility; so d ¸ 0.
If d = 0, t hen we get t = b2 , a cont radict ion; so d > 0.
Now d = bc¡ a. If d ¸ b, t hen we get , in t urn, bc¡ a ¸ b,
bc ¸ a+ b, abc ¸ a2 + ab > a2 + b2 . That is, a2 + b2 ¡ abc <
0, which is not possible. Hence d < b.