Help finding a triangle inside a triangle

  • I
  • Thread starter aheight
  • Start date
  • Tags
    Triangle
In summary, there is a unique solution for the triangle ##\bigtriangleup DEF## 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}##. Using the equations provided and solving them with Mathematica, we can find the coordinates of the points D, E, and F to be (2/5, 9/5), (4/5, 3/5), and (8/5, 6/5) respectively
  • #1
aheight
321
109
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
  • #2
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
  • #3
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]
 
  • #4
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:
  • #5
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.

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}]

{{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: 310
  • Like
Likes Delta2
  • #6
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:

What is a triangle inside a triangle?

A triangle inside a triangle refers to a smaller triangle that is completely enclosed within a larger triangle. It shares at least one side with the larger triangle and has its own set of three sides and three angles.

Why would someone need to find a triangle inside a triangle?

Finding a triangle inside a triangle can be useful in various mathematical and scientific applications. It can help with calculating the area or perimeter of the smaller triangle, or it can be used to determine the relationship between the two triangles.

How do you find a triangle inside a triangle?

To find a triangle inside a triangle, you can use various methods such as the Pythagorean theorem, trigonometry, or basic geometry principles. It is important to have the measurements of at least one side and one angle of both triangles to accurately find the smaller triangle.

What are some real-life examples of a triangle inside a triangle?

A common example of a triangle inside a triangle is a roof truss, where smaller triangles are used to provide support and stability to the larger triangle-shaped roof. Another example is a mountain, where smaller triangular peaks can be found within a larger triangular mountain range.

Is there a specific formula for finding a triangle inside a triangle?

There is no specific formula for finding a triangle inside a triangle, as it depends on the given measurements and the method used to solve for the smaller triangle. However, there are general principles and formulas in geometry that can be applied to find the smaller triangle.

Similar threads

Replies
3
Views
727
  • General Math
Replies
1
Views
594
Replies
5
Views
965
Replies
1
Views
687
  • Linear and Abstract Algebra
Replies
14
Views
1K
Replies
7
Views
3K
  • General Math
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
748
Replies
1
Views
3K
Back
Top