Varignon Variation

Geometry Level 4

Find the minimum possible perimeter of a convex quadrilateral with four distinct integer sides that has the property that a square is formed when the midpoints of its consecutive sides are joined.


The answer is 24.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Mark Hennings
Feb 3, 2021

Varignon's Theorem tells us that, for any quadrilateral, the midpoint quadrilateral is a parallelogram. Since a side of this parallelogram will be half the length of one of the diagonals of the original quadrilateral, this parallelogram will be a rhombus provided that the original quadrilateral has diagonals of equal length. Moreover, the parallel pairs of sides of the parallelogram will be orthogonal exactly when the diagonals of the original quadrilateral are orthogonal. Thus the parallelogram will be a square precisely when the original quadrilateral has orthogonal diagonals of equal length.

If the diagonals are of length d d , we need to find 0 < x , y < d 0 < x,y < d such that x 2 + y 2 = A 2 ( d x ) 2 + y 2 = B 2 x 2 + ( d y ) 2 = C 2 ( d x ) 2 + ( d y ) 2 = D 2 x^2 + y^2 = A^2 \hspace{1cm} (d-x)^2 + y^2 = B^2 \hspace{1cm} x^2 + (d-y)^2 = C^2 \hspace{1cm} (d-x)^2 + (d-y)^2 = D^2 where A , B , C , D A,B,C,D are distinct integers (the sides of the quadrilateral). These equations imply that

d ( d 2 x ) = B 2 A 2 = D 2 C 2 d ( d 2 y ) = C 2 A 2 = D 2 B 2 d(d-2x) \; = \; B^2 - A^2 \; =\; D^2 - C^2 \hspace{2cm} d(d - 2y) \; = \; C^2 - A^2 \; = \; D^2 - B^2 and hence we must have A 2 + D 2 = B 2 + C 2 A^2 + D^2 \; = \; B^2 + C^2 and then x = d 2 B 2 + A 2 2 d y = d 2 C 2 + A 2 2 d x \; = \; \frac{d^2 - B^2 +A^2}{2d} \hspace{2cm} y \; = \; \frac{d^2 - C^2 + A^2}{2d} and this will all work provided that this pair of values for x , y x,y have their squares adding to A 2 A^2 , which implies that d d must satisfy the quartic F ( d ) = 2 d 4 2 ( B 2 + C 2 ) d 2 + ( A 2 B 2 ) 2 + ( A 2 C 2 ) 2 = 0 F(d) = 2d^4 - 2(B^2+C^2)d^2 + (A^2 - B^2)^2 + (A^2-C^2)^2 \; = \; 0 If we assume that A > B A > B , then A 2 + D 2 = B 2 + C 2 A^2+D^2=B^2+C^2 will require A > B > C > D A > B > C > D . If we search for integer solutions for the equation A 2 + D 2 = B 2 + C 2 A^2 + D^2 \; = \; B^2 + C^2 over collections of positive integers A , B , C , D A,B,C,D such that A > B > C > D A > B > C> D and A + B + C + D 24 A+B+C+D \le 24 (there are only 241 241 such collections of integers, so a computer search for the ones with the "sum of squares" property is in order), there are only two solutions: ( A , B , C , D ) = ( 8 , 7 , 4 , 1 ) (A,B,C,D) = (8,7,4,1) and ( A , B , C , D ) = ( 9 , 7 , 6 , 2 ) (A,B,C,D) = (9,7,6,2) . The first set of integers yields a quartic polynomial F ( d ) F(d) with no real roots, and so does not count. The only possible solution left is ( A , B , C , D ) = ( 9 , 7 , 6 , 2 ) (A,B,C,D) = (9,7,6,2) , which gives a real value of d = 85 2 + 7 2 23 d = \sqrt{\tfrac{85}{2} + \tfrac{7}{2} \sqrt{23}} and OK values of x , y x,y . Thus the minimum possible perimeter is 9 + 7 + 6 + 2 = 24 9+7+6+2 = \boxed{24} .

Great solution! Can you find a method to find the collection of integers (A, B, C, D) without using a computer search?

David Vreken - 4 months, 1 week ago

Log in to reply

A 2 + D 2 = B 2 + C 2 A^2+D^2 = B^2+C^2 is the same as A + i B 2 = C + i D 2 |A+iB|^2=|C+iD|^2 , so we can spend time looking at factorizations in the Gaussian integers...

Mark Hennings - 4 months, 1 week ago

For example 65 = 5 × 13 = ( 2 + i ) ( 2 i ) ( 3 + 2 i ) ( 3 2 i ) = 4 2 + 7 2 = 8 2 + 1 2 65 = 5 \times13 = (2+i)(2-i)(3+2i)(3-2i) = 4^2 + 7^2 = 8^2 + 1^2 because ( 2 + i ) ( 3 + 2 i ) = 4 + 7 i (2+i)(3+2i) = 4+7i and ( 2 + i ) ( 3 2 i ) = 8 i (2+i)(3-2i)=8-i , while 85 = 5 × 17 = ( 2 + i ) ( 2 i ) ( 4 + i ) ( 4 1 ) = 7 2 + 6 2 = 9 2 + 2 2 85 = 5 \times 17 = (2+i)(2-i)(4+i)(4-1) = 7^2 + 6^2 = 9^2 + 2^2 because ( 2 + i ) ( 4 + i ) = 7 + 6 i (2+i)(4+i)=7+6i and ( 2 + i ) ( 4 i ) = 9 + 2 i (2+i)(4-i)=9+2i .

Mark Hennings - 4 months, 1 week ago

Log in to reply

I did it by rearranging A 2 + D 2 = B 2 + C 2 A^2 + D^2 = B^2 + C^2 to ( A C ) ( A + C ) = ( B D ) ( B + D ) (A - C)(A + C) = (B - D)(B + D) and examining numbers that can be factored in two different ways, but it was a long proof.

David Vreken - 4 months, 1 week ago

I'm sure I've made a silly error, but I cannot seem to draw the solution quadrilateral. There are three distinct quadrilaterals when all four sides are given. Right? The lower right quadrilateral is the closest, its sides' midpoints are a rectangle, but clearly not a square. Where did I go wrong? Thanks!

Hmm. I seem unable to upload an image in a comment. Here's a link

Fletcher Mattox - 4 months, 1 week ago

Log in to reply

David Vreken - 4 months, 1 week ago

Well, that's embarrassing. I had convinced myself that four lengths in an ordered tuple uniquely determined a quadrilateral. Like I said. Silly. Thank you.

Fletcher Mattox - 4 months, 1 week ago

Log in to reply

The quadrilateral has diagonals of length d d that meet at right angles. One is split into lengths x , d x x,d-x , and the other into lengths. y , d y y,d-y by the intersection.

You can get pictures in comments, but it is a two-stage process. Find a solution of your own. Edit it, and add the graphic you want. Copy the generated text, and cancel out of your solution. Go back to the comment, and paste the code in...

Mark Hennings - 4 months, 1 week ago

Log in to reply

Aha. That works. Thanks for the tip.

Fletcher Mattox - 4 months, 1 week ago

I got to the point where I concluded that the sides should satisfy a 2 + c 2 = b 2 + d 2 a^2+c^2=b^2+d^2 . Then I just looked for appropriate numbers. Got 1 + 8 + 4 + 7 = 20 1+8+4+7=20 wrong and just went with the next possible. Your solution is once again amazing, congrats!

Veselin Dimov - 4 months ago
David Vreken
Feb 5, 2021

Use the following diagram, and let a = A B a = AB , b = B C b = BC , c = C D c = CD , d = A D d = AD , p = A C p = AC , q = B D q = BD , m = I D m = ID , n = I C n = IC , and s = E F = F G = H G = H E s = EF = FG = HG = HE :

Since H E HE is the mid-segment of A B D \triangle ABD , H E B D HE || BD and q = B D = 2 H E = 2 s q = BD = 2HE = 2s .

Similarly, since A C AC is the mid-segment of A B C \triangle ABC , E F A C EF || AC and p = A C = 2 E F = 2 s p = AC = 2EF = 2s .

Therefore, p = 2 s = q p = 2s = q , and since H E E F HE \perp EF , B D A C BD \perp AC . In other words, the diagonals of A B C D ABCD are both congruent and perpendicular to each other.

By the Pythagorean Theorem on A I B \triangle AIB , B I C \triangle BIC , C I D \triangle CID , and A I D \triangle AID , a 2 = ( p m ) 2 + ( p n ) 2 a^2 = (p - m)^2 + (p - n)^2 , b 2 = ( p m ) 2 + n 2 b^2 = (p - m)^2 + n^2 , c 2 = m 2 + n 2 c^2 = m^2 + n^2 , and d 2 = ( p n ) 2 + m 2 d^2 = (p - n)^2 + m^2 , which means that d 2 a 2 = m 2 ( p m ) 2 = c 2 b 2 d^2 - a^2 = m^2 - (p - m)^2 = c^2 - b^2 , and ( d a ) ( d + a ) = ( c b ) ( c + b ) (d - a)(d + a) = (c - b)(c + b) .

Let k = ( d a ) ( d + a ) = ( c b ) ( c + b ) k = (d - a)(d + a) = (c - b)(c + b) . Without loss of generality, let d > a d > a and d + a > c + b d + a > c + b . Since a a and d d are positive distinct integers and k = ( d a ) ( d + a ) k = (d - a)(d + a) , k k must also be a positive integer. Also, since b b and c c are positive distinct integers and k = ( c b ) ( c + b ) k = (c - b)(c + b) , c > b c > b .

Also from k = ( d a ) ( d + a ) = ( c b ) ( c + b ) k = (d - a)(d + a) = (c - b)(c + b) , we can also conclude that k k can be factored in two different ways, and since a a , b b , c c , and d d are all distinct integers, the pairs of factors must have the same parity.

The largest that a + d = A B + A D a + d = AB + AD could be would be if B C BC and C D CD were collinear and if C C were at B B (or D D ), so that p = B D = B C + C D = b + c p = BD = BC + CD = b + c , and the other diagonal A C B D AC \perp BD would be the height of A B D \triangle ABD at B B (or D D ), making an isosceles right triangle such that A B = a = b + c AB = a = b + c is the leg and B D = d = 2 ( b + c ) BD = d = \sqrt{2}(b + c) is the hypotenuse so that a + d = ( 1 + 2 ) ( b + c ) a + d = (1 + \sqrt{2})(b + c) .

However, since p < b + c p < b + c by the properties of a triangle, a + d < ( 1 + 2 ) ( b + c ) a + d < (1 + \sqrt{2})(b + c) .

By a similar argument, c + d < ( 1 + 2 ) ( a + b ) c + d < (1 + \sqrt{2})(a + b) , b + c < ( 1 + 2 ) ( a + d ) b + c < (1 + \sqrt{2})(a + d) , and a + b < ( 1 + 2 ) ( c + d ) a + b < (1 + \sqrt{2})(c + d) .

Let u = d a u = d - a and let v = c b v = c - b . Then by substitution k = u ( a + d ) = v ( b + c ) k = u(a + d) = v(b + c) , which means a + d = v u ( b + c ) a + d = \cfrac{v}{u}(b + c) , and substituting this into b + c < a + d < ( 1 + 2 ) ( b + c ) b + c < a + d < (1 + \sqrt{2})(b + c) gives b + c < v u ( b + c ) < ( 1 + 2 ) ( b + c ) b + c < \cfrac{v}{u}(b + c) < (1 + \sqrt{2})(b + c) , so that 1 < v u < 1 + 2 1 < \cfrac{v}{u} < 1 + \sqrt{2} .

Assume d a = u = 1 d - a = u = 1 . Then since the pairs of factors of k k have the same parity, a + d a + d is also odd, which means k k is odd, which means c b = v c - b = v and c + b c + b must also be odd. However, there are no odd integers for 1 < v 1 < 1 + 2 1 < \cfrac{v}{1} < 1 + \sqrt{2} , so d a = u 1 d - a = u \neq 1 .

Let d a = u = 2 d - a = u = 2 . Then since the pairs of factors of k k have the same parity, a + d a + d is also even, which means k k is even, which means c b = v c - b = v and c + b c + b must also be even. From 1 < v u < 1 + 2 1 < \cfrac{v}{u} < 1 + \sqrt{2} we can conclude that v = 4 v = 4 . Therefore, if u = 2 u = 2 then k k is a multiple of 8 8 .

However, k 8 k \neq 8 because 8 8 does not have two different pairs of even factors. If k = 16 k = 16 and d a = u = 2 d - a = u = 2 , then a + d = 8 a + d = 8 , and c b = v = 4 c - b = v = 4 and c + b = 4 c + b = 4 , which would lead to b = 0 b = 0 . If k = 24 k = 24 and d a = u = 2 d - a = u = 2 , then a + d = 12 a + d = 12 , which would lead to a = 5 a = 5 and d = 7 d = 7 , and c b = v = 4 c - b = v = 4 and c + b = 6 c + b = 6 , which would lead to b = 1 b = 1 and c = 5 c = 5 , so that a = c = 5 a = c = 5 , which are not distinct.

But if k = 32 k = 32 and d a = u = 2 d - a = u = 2 , then a + d = 16 a + d = 16 , which would lead to a = 7 a = 7 and d = 9 d = 9 , and c b = v = 4 c - b = v = 4 and c + b = 8 c + b = 8 , which would lead to b = 2 b = 2 and c = 6 c = 6 , all distinct integers. Therefore, a quadrilateral with distinct integer sides a = 7 a = 7 , b = 2 b = 2 , c = 6 c = 6 , and d = 9 d = 9 will have the property that a square is formed when the midpoints of its consecutive sides are joined, and its perimeter is a + b + c + d = 24 a + b + c + d = 24 .

But is this the smallest perimeter possible?

Choosing larger integers for k k for u = 2 u = 2 leads to larger perimeters, so there are no smaller perimeters possible for u = 2 u = 2 .

If u = 3 u = 3 , then the smallest value for k k where v v is an odd integer greater than u = 3 u = 3 is k = 45 k = 45 , which leads to a = 6 a = 6 , b = 2 b = 2 , c = 7 c = 7 , d = 9 d = 9 , and P = 24 P = 24 (the same minimum perimeter as before), and choosing larger integers for k k with u = 3 u = 3 leads to larger perimeters.

In general, if d a = u d - a = u , then d + a = k u d + a = \cfrac{k}{u} , which makes d = k + u 2 2 u d = \cfrac{k + u^2}{2u} and a = k u 2 2 u a = \cfrac{k - u^2}{2u} , and if c b = v c - b = v , then c + b = k v c + b = \cfrac{k}{v} , which makes c = k + v 2 2 v c = \cfrac{k + v^2}{2v} and b = k v 2 2 v b = \cfrac{k - v^2}{2v} . The perimeter is then P = a + b + c + d = k u + k v = k ( u + v ) u v P = a + b + c + d = \cfrac{k}{u} + \cfrac{k}{v} = \cfrac{k(u + v)}{uv} . Since u u and v v must have the same parity, the smallest perimeter for a given k k and u u will be when v = u + 2 v = u + 2 .

Substituting these values for a a , b b , c c , and d d into c + d < ( 1 + 2 ) ( a + b ) c + d < (1 + \sqrt{2})(a + b) and rearranging, we find that k > ( 1 + 2 ) u v 3 u v k > (1 + \sqrt{2})uv \geq 3uv , and substituting this and v = u + 2 v = u + 2 into P = k ( u + v ) u v P =\cfrac{k(u + v)}{uv} gives P 6 ( u + 1 ) P \geq 6(u + 1) . Therefore, for u 4 u \geq 4 , P 30 P \geq 30 .

Therefore, the smallest possible perimeter for a quadrilateral with the given conditions is 24 \boxed{24} .

K T
Feb 5, 2021

It is straightforward to show that the equilateral P Q R S PQRS can be moved so that its vertices P , R P,R are on the x-axis and Q , S Q,S are on the y-axis. To show this, work from the inside out, we start with a square with side k R k \in \R , say the square A B C D ABCD with A = ( k 2 , k 2 ) , B = ( k 2 , k 2 ) , C = ( k 2 , k 2 ) , D = ( k 2 , k 2 ) A=(\frac{k}{2}, \frac{k}{2}), B=(-\frac{k}{2},\frac{k}{2}), C=(-\frac{k}{2}, -\frac{k}{2}),D=(\frac{k}{2}, -\frac{k}{2}) , Construct a quadrilateral P Q R S PQRS around it, starting at a point P = ( x p , y p ) P=(x_p,y_p) and find the other vertices by point-mirroring: Q = 2 A P , R = 2 B Q Q=2A-P, R=2B-Q , etc. until we are back at P. We find P = ( x p , y p ) , Q = ( k x p , k y p ) , R = ( 2 k + x p , y p ) , S = ( k x p , k y p ) P=(x_p,y_p),Q=(k-x_p,k-y_p), R=(-2k+x_p,y_p), S=(k-x_p, -k-y_p) ). Notice that P , Q , R , S P, Q, R, S are each on a side of a circum scribing square with side 2 k 2k . Also, notice that y p = y r y_p=y_r and x q = x s x_q=x_s .

After the correct translation, we have P = ( p , 0 ) , Q = ( 0 , q ) , R = ( r , 0 ) , S = ( 0 , s ) P=(p,0), Q=(0,q), R=(-r,0), S=(0,-s) and we will set P Q = a , Q R = b , R S = c , S P = d PQ=a, QR=b, RS=c, SP =d . The convexness criterion then corresponds to p , q , r , s > 0 p,q,r,s>0 .

Without loss of generality we may assume that p < r a < b ; d < c p<r \Rightarrow a<b; d<c and also q < s a < d ; b < c q<s \Rightarrow a<d; b<c . By reflection in the line x = y x=y , b b and d d interchange, so we can also assume that b < d b<d and so a < b < d < c a<b<d<c

We can identify 4 right-angled triangles and we have that the axes PR and QS have equal lengths:

{ p 2 + q 2 = a 2 q 2 + r 2 = b 2 r 2 + s 2 = c 2 s 2 + p 2 = d 2 r + p = q + s { r 2 p 2 = b 2 a 2 = c 2 d 2 s 2 q 2 = c 2 b 2 = d 2 a 2 r + p = q + s \begin{cases} p^2+q^2=a^2\\ q^2+r^2=b^2\\ r^2+s^2=c^2\\ s^2+p^2=d^2\\ r+p=q+s \end{cases}\, \Rightarrow \begin{cases} r^2-p^2=b^2-a^2=c^2-d^2\\ s^2-q^2=c^2-b^2 =d^2-a^2\\ r+p=q+s \end{cases}\,

The following code searches for fit combinations of a,b,c,d, that fulfill these requirements. It outputs

a=2, b=6, c=9, d=7, perimeter=24

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
def FindQuadrilateral():
    perimeter = 9
    cont= True
    while cont and perimeter < 100:
        perimeter+=1
        a=1
        while 4*a+6 <= perimeter:
            b=a+1
            while a+3*b+3 <= perimeter:
                d=b+1
                while a+b+2*d+1 <= perimeter:
                    c=perimeter-a-b-d
                    if c*c-d*d == b*b-a*a:
                        if (b+a)*(b+a) > d*d-a*a:  
                            #this checks that a geometric configuration with p,q,r,s > 0 exists
                            print ("a={}, b={}, c={}, d={}, perimeter={}".format(a,b,c,d,perimeter))
                            cont=False
                    d+=1
                b+=1
            a+=1

FindQuadrilateral()    

@K T How to use { in LaTeX?

{ means the simultaneous equation symbol.

. . - 3 months, 2 weeks ago

Log in to reply

Used the following, all enclosed in a formula:

\begin{equation} \begin{cases} p^2+q^2=a^2\ q^2+r^2=b^2\ r^2+s^2=c^2\ s^2+p^2=d^2\ r+p=q+s \end{cases}\, \end{equation} \Rightarrow \begin{equation} \begin{cases} r^2-p^2=b^2-a^2=c^2-d^2\ s^2-q^2=c^2-b^2 =d^2-a^2\ r+p=q+s \end{cases}\, \end{equation}

K T - 3 months, 2 weeks ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...