here - UnsolvedProblems.org

Rational Distance
[email protected]
www.unsolvedproblems.org:
Q. Given a unit square, can you find any point in the same plane, either inside or outside the square,
that is a rational distance from all four corners? Or, put another way, given a square ABCD of any
size, can you find a point P in the same plane such that the distances AB, PA, PB, PC, and PD are all
integers?
A. The answer as per this document is “No”, it cannot exist keeping all distances rational.
This is the proof:
Part 1: Ouside the square
Notation
|AP| = a, (distance from A to P – also the radius of circle Ca)
|BP| = b, (distance from B to P – also the radius of circle Cb)
|CP| = c, (distance from C to P – also the radius of circle Cc)
|DP| = d, (distance from D to P – also the radius of circle Cd)
P (X1, Y1) is the point of intersection of all the circles with X1, Y1 as co-ordinates.
L = length of the side of square,
Sqrt(2)L = Length of the diagonal of the square (irrational if L is rational)
Ca is Circle with a as radius
Cb is Circle with b as radius
Cc is the Circle with c as radius
Cd is the Circle with d as radius
Proof
Map all the circles and squares back towards 0,0
And assuming A > D > B > C > 0 and X1 > L, Y1 > L & L >= 1
This keeps it in the top quadrant (meaning P will be above the side BC, nearest C. (slightly different
assumptions can be made to push it into any of the other 3 quadrants but effectively the same proof
will apply (with rotation...).)
The formulas from Pythagoras Theorem/Circle formula are:
Ca: (centre point (0,0), radius a, point on circle ( X1, Y1)): a2 = X12 + Y12
Cb: (centre point (0, L), radius b, point on circle (X1, Y1)): b2 = X12 + (Y1 – L)2
Cc: (centre point (L, L), radius c, point on circle (X1, Y1)): c2 = (L - X1)2 + (Y1 – L)2
Cd: (centre point (L, 0), radius d, point on circle (X1, Y1)): d2 = (L - X1)2 + Y12
Ca: a2 = X12 + Y12
Cb: b2 = X12 + (Y1 – L)2 = X12 + Y12 - 2LY1 + L2
Cc: c2 = (X1 – L)2 + (Y1 – L)2 = X12 + Y12 - 2LX1 + L2 - 2LY1 + L2
Cd: d2 = (X1 – L)2 + Y12 = X12 + Y12 - 2LX1 + L2
Putting Ca into Cb and Cd to find X1 and Y1 in terms of a, b, c, d
Ca -> Cb: b2 = a2 -2LY1 + L2 ->
(b2 – a2 - L2) /-2L = Y1
Ca -> Cd: d2 = a2 - 2LX1 + L2 ->
(d2 - a2 -L2 )/ -2L = X1
Ca,Cb,Cd -> Cc: c2 = a2 + (b2 – a2) + (d2 – a2)
c2 = b2 + d2 – a2
c2 + a2 = b2 + d2
Putting the values of X1 and Y1 back into Ca gives:
Ca: a2 = ((d2 - a2 -L2 )/ -2L)2 + ((b2 – a2 - L2) /-2L)2
Expanding gives:
4L2a2 = (d2 – a2)2 + L4 -2L2(d2 - a2) + (b2 – a2)2 + L4 -2L2(b2 - a2)
Grouping L4 and L2 and L0 and bringing the left term to the right gives:
0 = 2L4 -2L2 ((d2 - a2) + (b2 - a2) + 2a2) + ((d2 - a2)2 + (b2 – a2)2)
0 = 2L4 -2L2 (d2 + b2) + ((d2 - a2)2 + (b2 – a2)2)
Divide by 2 gives:
L4 -L2 (d2 +b2 ) + ((b2 - a2)2 + (d2 – a2)2)/2
Using the binomial theorem to solve for L2: (-b1 +/- sqrt(b12 -4a1c1))/2a1 (using slightly different
nomenclature as my variable names are also a, b and c) where in this case:
a1 = 1
b1 = -(d2 + b2)
c1 = ((b2 - a2)2 + (d2 – a2)2)/2
L2 = ((d2 + b2) +/- sqrt((-(d2 + b2))2 -4(1) ((b2 - a2)2 + (d2 – a2)2)/2 ))/ 2(1)
= ((d2 + b2) +/- sqrt((-(d2 + b2))2 -2 ((b2 - a2) 2 + (d2 – a2)2))) /2
= ((d2 + b2)/2 +/- sqrt( (-(d2 + b2))2 -2 ((b2 - a2) 2 + (d2 – a2)2)))/4
Let Z be the part with the sqrt as follows:
L2 = ((d2 + b2)/2 +/- Z)
Z = sqrt( (-(d2 + b2))2 -2 ( (b2 - a2)2 + (d2 – a2)2 ))/4)
Lets try and simply by initially expanding the right hand side...
Z2 = ( (-(d2 + b2))2
-2 ( (b2 - a2)2 + (d2 – a2)2 ) /4
2
4
4
2 2
Z = (d + b + 2 b d -2 (b4 + a4 -2 a2 b2 + d4 + a4 -2 a2 d2))/4
Z2 = (d4 + b4 + 2 b2 d2 -2 b4 - 2a4 +4 a2 b2 -2 d4 - 2a4 +4 a2 d2)/4
Z2 = (
+ 2 b2 d2 - b4 -4a4 +4 a2 b2 -d4
+4 a2 d2)/4
2
4
4
4
2 2
2 2
Z = (-4a - b -d
+ 2 b d +4 a b
+4 a2 d2)/4
Grouping in a4, a2, a0
Z2 = -4a4 +4 a2 (b2 + d2) + - b4 -d4 + 2 b2 d2)/4
Z2 = (+4 (-a4 + a2 (b2 + d2) + ( - b4 - d4 + 2 b2 d2 )/4) /4)
Z2 (-a4 + a2 (b2 + d2) + ( - b4 - d4 + 2 b2 d2 )/4)
Z2 = - a4 + a2 (b2 + d2) + ( - b4 - d4 + 2 b2 d2 )/4
Z2 = - a4 + a2 (b2 + d2) - ( b2 - d2 )2/4
Factorizing again for a on the right hand side by letting Z2->0...
a1 = -1
b1 = b2 + d2
c1 = -(b2 –d2)2/4
a2 = (-(b2 + d2) +/- sqrt((b2 + d2)2 – 4(-1)-(b2 –d2)2/4))/-2
a2 = (b2 + d2 )/2 +/- sqrt(b4 + d4 +2b2d2 – b4 –d4 +2b2d2)/2
a2 = (b2 + d2 )/2 +/- sqrt(
+4b2d2 )/2
2
2
2
a = (b + d )/2 +/- sqrt(
+b2d2 )
2
2
2
a = (b + d )/2 +/- bd
a2 = (b2 + d2 +/- 2bd)/2
a2 = (b +/- d)2/2
a = +/-(b+/-d) /sqrt(2)
so
Z2 = (a -(b+d)/sqrt(2)) (a +(b+d)/sqrt(2)) (a + (b-d)/sqrt(2)) (a - (b-d)/sqrt(2))
therefore Z2 cannot be rational, as the sum or difference of b and d is being divided by the irrational
sqrt(2) therefore Z cannot be rational as the sqrt of an irrational is irrational.
And
L2 = ((d2 + b2)/2 +/- Z)
Z being irrational pushes L2 to irrational which means that L is irrational.
Therefore all lengths cannot be rational, and as such P cannot exist given the initial conditions.
Part 2: P inside the square
Looking at point P inside the square:
Notation
|AP| = a, (distance from A to P – also the radius of circle Ca)
|BP| = b, (distance from B to P – also the radius of circle Cb)
|CP| = c, (distance from C to P – also the radius of circle Cc)
|DP| = d, (distance from D to P – also the radius of circle Cd)
P (X1, Y1) is the point of intersection of all the circles with X1, Y1 as co-ordinates.
L = length of the side of square,
Sqrt(2)L = Length of the diagonal of the square (irrational if L is rational)
Ca is Circle with a as radius
Cb is Circle with b as radius
Cc is the Circle with c as radius
Cd is the Circle with d as radius
Proof
Map all the circles and squares back towards 0,0
And assuming A > D > B > C > 0 and X1 < L and Y1 < L & L >= 0
This keeps it in the top quadrant of the square (P nearest point C) , (slightly different assumptions
can be made to push it into any of the other 3 quadrants(of the inside of the square) but effectively
the same proof will apply.)
The formulas from Pythagoras Theorem are:
Ca: (centre point (0,0), radius a, point (X1,Y1)): a2 = X12 + Y12
Cb: (centre point (0, L), radius b, point (X1,Y1)): b2 = X12 + (L – Y1)2
Cc: (centre point (L, L), radius c, point (X1,Y1)): c2 = (L - X1)2 + (L - Y1)2
Cd: (centre point (L, 0), radius d, point (X1,Y1)): d2 = (L - X1)2 + Y12
Ca: a2 = X12 + Y12
Cb: b2 = X12 + (L - Y1)2 = X12 + Y12 - 2LY1 + L2
Cc: c2 = (L - X1)2 + (L - Y1)2 = X12 + Y12 - 2LX1 + L2 - 2LY1 + L2
Cd: d2 = (X1 – L)2 + Y12 = X12 + Y12 - 2LX1 + L2
So.... they are the same formulas, the only difference is that they intersect inside the square based
on the side of L verses X1, Y1... therefore the proof is the same as for inside the circle as per Part 1...
concluding that a all rational a,b,c,d,L cannot exist, for both inside and outside the circle.