Fitting an equilateral triangle to three points (corrected)

Geometry Level pending

This problem is a correction of a previous problem . It is repeated here for convenience, with the corrections.

Three points in the Cartesian plane are given by: A ( 1 , 1 ) , B ( 5 , 4 ) , C ( 3 , 7 ) A(1,1) , B(5,4), C(3, 7) . You want to draw an equilateral triangle of side length 8 8 that will pass through A , B A, B and C C , with one point on each side.

It turns out there are two solutions (as indicated in the figure below). Report as your answer the sum θ i + x 0 i + y 0 i \theta_i + x_{0i} + y_{0i} , where the angle θ i \theta_i (in degrees), 0 θ i < 12 0 0^{\circ} \le \theta_i \lt 120^{\circ} , is the counter-clockwise angle of rotation of the triangle (of solution number i i ) with respect to the standard orientation of an equilateral triangle which has one side parallel to the x-axis and the opposing vertex directly above it. And ( x 0 i , y 0 i ) (x_{0i}, y_{0i}) are the coordinates of the center of the triangle (of solution number i i ). Written compactly, report the following quantity,

i = 1 2 θ i + x 0 i + y 0 i \displaystyle \sum_{i=1}^{2} \theta_i + x_{0i} + y_{0i}


The answer is 169.3.

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.

2 solutions

David Vreken
May 1, 2020

Draw A B AB , B C BC , and A C AC , and label the two equilateral triangles D E F \triangle DEF and D E F \triangle D'E'F' , as shown below. Also let a = A D a = AD , b = B E b = BE , and c = C F c = CF , so that 8 a = A F 8 - a = AF , 8 b = B D 8 - b = BD , and 8 c = C E 8 - c = CE , and similarly let a = A D a' = AD' , b = B E b' = BE' , and c = C F c' = CF' , so that 8 a = A F 8 - a' = AF' , 8 b = B D 8 - b' = BD' , and 8 c = C E 8 - c' = CE' .

By the distance formula, A B 2 = ( 5 1 ) 2 + ( 4 1 ) 2 = 25 AB^2 = (5 - 1)^2 + (4 - 1)^2 = 25 , B C 2 = ( 3 5 ) 2 + ( 7 4 ) 2 = 13 BC^2 = (3 - 5)^2 + (7 - 4)^2 = 13 , and A C 2 = ( 3 1 ) 2 + ( 7 1 ) 2 = 40 AC^2 = (3 - 1)^2 + (7 - 1)^2 = 40 .

Since D E F \triangle DEF is an equilateral triangle, A D B = 60 ° \angle ADB = 60° , so by the law of cosines on A B D \triangle ABD , A B 2 = A D 2 + B D 2 2 A D B D cos 60 ° AB^2 = AD^2 + BD^2 - 2 \cdot AD \cdot BD \cdot \cos 60° or 25 = a 2 + ( 8 b ) 2 a ( 8 b ) 25 = a^2 + (8 - b)^2 - a(8 - b) . Similarly on B C E \triangle BCE and A C F \triangle ACF , 13 = b 2 + ( 8 c ) 2 b ( 8 c ) 13 = b^2 + (8 - c)^2 - b(8 - c) and 40 = c 2 + ( 8 a ) 2 c ( 8 a ) 40 = c^2 + (8 - a)^2 - c(8 - a) , and to match the diagram, these three equations solve to:

a 0.7029 a \approx 0.7029 , b 2.6857 b \approx 2.6857 , and c 3.9021 c \approx 3.9021

From A D 0.70290 AD \approx 0.70290 we have ( x D 1 ) 2 + ( y D 1 ) 2 = 0.702 9 2 (x_D - 1)^2 + (y_D - 1)^2 = 0.7029^2 and from B D 8 2.6857 5.3143 BD \approx 8 - 2.6857 \approx 5.3143 we have ( x D 5 ) 2 + ( y D 4 ) 2 = 5.314 3 2 (x_D - 5)^2 + (y_D - 4)^2 = 5.3143^2 , which solves to x D 1.1684 x_D \approx 1.1684 and y D 0.3176 ) y_D \approx 0.3176) (to match the diagram). Similarly, from B E 2.6857 BE \approx 2.6857 we have ( x E 5 ) 2 + ( y E 4 ) 2 = 2.685 7 2 (x_E - 5)^2 + (y_E - 4)^2 = 2.6857^2 and from C E 8 3.9021 4.0979 CE \approx 8 - 3.9021 \approx 4.0979 we have ( x E 3 ) 2 + ( y E 7 ) 2 = 4.097 9 2 (x_E - 3)^2 + (y_E - 7)^2 = 4.0979^2 , and to match the diagram, these two equations solve to:

x E 6.9364 x_E \approx 6.9364 and y E 5.8610 y_E \approx 5.8610

Because D E F \triangle DEF has a side of 8 8 , its center ( x O , y O ) (x_O, y_O) is 8 3 3 \frac{8\sqrt{3}}{3} away from both D D and E E , so ( x O 1.1684 ) 2 + ( y O 0.3175 ) 2 = ( 8 3 3 ) 2 (x_O - 1.1684)^2 + (y_O - 0.3175)^2 = (\frac{8\sqrt{3}}{3})^2 and ( x O 6.9364 ) 2 + ( y O 5.8610 ) 2 = ( 8 3 3 ) 2 (x_O - 6.9364)^2 + (y_O - 5.8610)^2 = (\frac{8\sqrt{3}}{3})^2 , and to match the diagram, these two equations solve to:

x O 2.4522 x_O \approx 2.4522 and y O 4.7544 y_O \approx 4.7544

Finally, since the slope m m of D E DE is m = y E y D x E x D 5.8610 0.3176 6.9364 1.1684 0.9611 m = \frac{y_E - y_D}{x_E - x_D} \approx \frac{5.8610 - 0.3176}{6.9364 - 1.1684} \approx 0.9611 , the counter-clockwise angle θ \theta is θ tan 1 m tan 1 0.9611 \theta \approx \tan^{-1} m \approx \tan^{-1} 0.9611 or:

θ 43.8625 ° \theta \approx 43.8625°


By the same steps on equilateral triangle D E F \triangle D'E'F' :

a 5.5871 a' \approx 5.5871 , b 3.9463 b' \approx 3.9463 , and c 7.1758 c' \approx 7.1758

x D 6.5364 x_{D'} \approx 6.5364 and y D 0.2487 y_{D'} \approx 0.2487

x E 3.5043 x_{E'} \approx 3.5043 and y E 7.6519 y_{E'} \approx 7.6519

x O 2.8832 x_{O'} \approx 2.8832 and y O 3.0750 y_{O'} \approx 3.0750

θ 112.2723 ° \theta' \approx 112.2723°


Therefore, θ + x O + y O + θ + x O + y O 43.8625 + 2.4522 + 4.7544 + 112.2723 + 2.8832 + 3.0750 169.3 \theta + x_O + y_O + \theta' + x_{O'} + y_{O'} \approx 43.8625 + 2.4522 + 4.7544 + 112.2723 + 2.8832 + 3.0750 \approx \boxed{169.3} .

Hosam Hajjir
Apr 30, 2020

If the fitted triangle is centered at r 0 r_0 and tilted by an angle θ \theta from the standard orientation, then using simple geometry on the equilateral triangle, we can write the following equation iterated for the three points.

( P i r 0 ) T R ( θ ) v i = 1 2 3 L , i = 1 , 2 , 3 (P_i - r_0)^T R(\theta) v_i = \dfrac{1}{2 \sqrt{3} } L , \hspace{12pt} i = 1,2,3

where { P i } \{ P_i \} are the three given points, and R ( θ ) R(\theta) is the standard 2D rotation matrix, and is given by

R ( θ ) = [ cos θ sin θ sin θ cos θ ] R(\theta) = \begin{bmatrix} \cos \theta && -\sin \theta \\ \sin \theta && \cos \theta \end{bmatrix}

And the { v i } \{ v_i \} are three unit vectors pointing from the center of the equilateral in standard orientation (without rotation) to the center of the three sides of the triangle, and they are given by,

v 1 = [ cos π 6 , sin π 6 ] T v_1 = [\cos \frac{\pi}{6} , \sin \frac{\pi}{6} ]^T

v 2 = [ cos 5 π 6 , sin 5 π 6 ] T v_2 = [\cos \frac{5 \pi}{6} , \sin \frac{5 \pi}{6} ]^T

v 3 = [ cos 3 π 2 , sin 3 π 2 ] T v_3 = [\cos \frac{3 \pi}{2} , \sin \frac{3 \pi}{2} ]^T

Now the key trick here is to eliminate r 0 r_0 from the three equations, by simply adding them up. This is possible because v 1 + v 2 + v 3 = 0 v_1 + v_2 + v_3 = 0 .

Hence, the result of addition is a single equation,

P 1 T R ( θ ) v 1 + P 2 T R ( θ ) v 2 + P 3 T R ( θ ) v 3 = 3 2 L P_1^T R(\theta) v_1 + P_2^T R(\theta) v_2 + P_3^T R(\theta) v_3 = \dfrac{\sqrt{3}}{2} L

The left hand side of the above equation is the sum of three quadratic forms, and can be expressed as a certain linear combination of cos θ \cos \theta and sin θ \sin \theta , so that the equation becomes,

A cos θ + B sin θ = C A \cos \theta + B \sin \theta = C

where

A = i = 1 3 P i x v i x + P i y v i y A = \displaystyle \sum_{i = 1 }^{3} P_{ix} v_{ix} + P_{iy} v_{iy}

B = i = 1 3 P i y v i x P i x v i y B = \displaystyle \sum_{i=1}^{3} P_{iy} v_{ix} - P_{ix} v_{iy}

C = 3 2 L C = \dfrac{\sqrt{3}}{2} L

Evaluating A , B , C A, B, C , we obtain,

A = 2.598076211 A = -2.598076211

B = 7.964101615 B = -7.964101615

C = 6.92820323 C = 6.92820323

The trigonometric equation can be solved using standard methods, and its two solutions are:

θ 1 = 2.8599456 = 163.8 6 \theta_1 = 2.8599456 = 163.86^{\circ}

θ 2 = 4.0539157 = 232.2 7 \theta_2 = 4.0539157 = 232.27^{\circ}

Next, we want to find the center of the triangle for each value of θ \theta , so for each of the above two values, we build a linear system of 2 2 equations in the 2 2 unknowns which are x 0 x_0 and y 0 y_0 , and these can be solved readily resulting in,

( x 01 , y 01 ) = ( 2.452 , 4.754 ) (x_{01}, y_{01} ) = (2.452, 4.754) corresponding to θ 1 \theta_1 and ( x 02 , y 02 ) = ( 2.883 , 3.075 ) (x_{02}, y_{02} ) = (2.883, 3.075) corresponding to θ 2 \theta_2

Since rotating an equilateral triangle by 12 0 120^{\circ} about its center does not change it, we'll take the angles we obtained mod 120 120 .

The final answer is 43.86 + 2.45 + 4.75 + 112.27 + 2.88 + 3.08 = 169.3 43.86 + 2.45 + 4.75 + 112.27 + 2.88 + 3.08 = 169.3

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...