I Help finding a triangle inside a triangle

  • I
  • Thread starter Thread starter aheight
  • Start date Start date
  • Tags Tags
    Triangle
aheight
Messages
318
Reaction score
108
TL;DR Summary
Finding precise location of triangle in a right triangle with the give conditions
I would like to find the triangle ##\bigtriangleup DEF## in the plot below that is inside the right triangle ##\bigtriangleup ABC## given ##\overline{AB}=3, \overline{AC}=4## with ##\overline{BD}=\overline{DE},\overline{AE}=\overline{EF}, \overline{FC}=2\overline{DF}##. However, I'm finding it difficult to actually find precisely in the larger triangle where it is (diagram below is only approx.) . Surely if I let ##D=(x_3,y_3),F=(x_2,y_2), E=(x_1,y_1)## as per the diagram and solve the following six simultaneous equation for the coordinates of D,E, and F inside the larger triangle should do it but when I attempt to numerically solve the equations (in Mathematica), I obtain the empty set. However, the triangle does exist. I was wondering if someone could look at my work and confirm that I have a valid set of equations to find these points? For example, the first equation is obtained by noting:
## x_1^2+y_1^2=z^2## and ##(x_2-x_1)^2+(y_2-y_1)^2=z^2## and so forth.

triangleproblem.jpg




Thanks guys.

$$\begin{array}{l}
x_1^2+y_1^2=(x_2-x_1)^2+(y_2-y_1)^2 \\
x_3^2+(3-y_3)^2=(x_3-x_1)^2+(y_3-y_1)^2 \\
4[(x_3-x_2)^2+(y_3-y_2)^2]=(4-x_2)^2+y_2^2 \\
x_2^2+y_2^2=4(x_1^2+y_1^2)\\
4[x_3^2+(3-y_3)^2]=x_1^2+(3-y_1)^2\\
9[(x_3-y_2)^2+(y_3-y_2)^2]=(4-x_3)^2+y_3^2
\end{array}
$$
 
Last edited:
  • Like
Likes Delta2
Mathematics news on Phys.org
I didn't check your equations thorously but I think the reason that mathematica can't solve it, is that the system probably has infinite solutions. I think if you manually enter coordinates for say (x1,y1) and leave x2,y2 and x3,y3 as unknowns, mathematica will be able to solve it.
 
  • Like
Likes aheight
aheight said:
the triangle does exist
How do you know this?
aheight said:
## (x_3−y_2)^2 ##
Doesn't look right.
[Edit: ## \LaTeX ## corrected]
 
pbuk said:
How do you know this?
I think from the scheme is obvious that for this right triangle ABC it exists at least one DEF triangle.

Moreover I think that for any right triangle there exist infinite triangles DEF which "oscillate" around a "central" DEF_0 triangle.

To see this pick any line from B that intersects the side AC at an internal point. Then we can choose randomly a point D on this line and then choose a point E such that BD=DE. Now within a range of angles that the line BD makes with side AB and within a range of magnitude of BD, we can choose point F such AE=EF and E,F are internal to the triangle ABC (they will not be internal for all angles and for all lengths of BD, but within a range of those ,E,F will be internal) so the triangle DEF will be internal.

EDIT: BIG OOPS, i overlooked that we also have the restriction FC=2DF, this might make the triangle non existant...
 
Last edited:
Here's the solution guys (I had an error in the Solve parameters initially). I believe there is only one solution. And here's the Mathematica code I used to solve it (Solve took 30 minutes to find the solution). Also, I confirmed the answer by computing the area via Heron's formula against the known area of 3/5.

[CODE title="Mathematica code"](* takes about 40 minutes to find the solutions below *)
r1 = Polygon[{{0, 0}, {0, 3}, {4, 0}}];
eqn1 = x1^2 + y1^2 == (x2 - x1)^2 + (y2 - y1)^2;
eqn2 = x3^2 + (3 - y3)^2 == (x3 - x1)^2 + (y3 - y1)^2;
eqn3 = 4 ((x3 - x2)^2 + (y3 - y2)^2) == (x2 - 4)^2 + y2^2;
eqn4 = x2^2 + y2^2 == 4 (x1^2 + y1^2);
eqn5 = 4 (x3^2 + (3 - y3)^2) == x1^2 + (3 - y1)^2;
eqn6 = 9 ((x3 - x2)^2 + (y3 - y2)^2) == (4 - x3)^2 + y3^2;
Solve[{eqn1 && eqn2 && eqn3 && eqn4 && eqn5 && eqn6 &&
Element[Alternatives @@ {{x1, y1}, {x2, y2}, {x3, y3}}, r1]}, {x1,
x2, x3, y1, y2, y3}][/CODE]

{{x1->4/5,x2->8/5,x3->2/5,y1->3/5,y2->6/5,y3->9/5}}
solutiontriangle.jpg
 

Attachments

  • solutiontriangle.jpg
    solutiontriangle.jpg
    9.1 KB · Views: 364
  • Like
Likes Delta2
This takes a fraction of a second to find a solution

Code:
Clear["Global`````*"]; (*I cannot make it display just and only one grave followed by asterisk*)
a={0,0}; b={0,3}; c={4,0}; d={dx,dy}; e={ex,ey}; f={fx,fy};
Reduce[b-d==d-e && a-e==e-f && f-c==2(d-f), {dx,dy,ex,ey,fx,fy}]
  (*which returns*)
dx==2/5 && dy==9/5 && ex==4/5 && ey==3/5 && fx==8/5 && fy==6/5

  (*check the result*)
{b-d==d-e, a-e==e-f, f-c==2(d-f)}/.{dx->2/5, dy->9/5, ex->4/5, ey->3/5, fx->8/5, fy->6/5}
(*which returns*)
  {True,True,True}
 
Last edited:
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top