r/mathriddles • • Sep 28 '20

Medium Triangles With Integer Sides

Suppose you have two nonidentical triangles abc & def, where all of {a,b,c,d,e,f} are integers and {a,b,c}=/={k*d,k*e,k*f}, where k is rational. Show that, if one of the angles {A,B,C} is equal to one of the angles {D,E,F}, then the triangles are right triangles, and the right angles are the equal angles.

0 Upvotes

20 comments sorted by

7

u/Cosmologicon Sep 28 '20

I don't understand why 3,4,5 and 5,5,8 isn't a counterexample.

2

u/The_Math_Hatter Sep 28 '20

The simple answer is I don't know enough rigorous mathematical language to say "also you can't just smash two right angle triangles together".

8

u/Cosmologicon Sep 28 '20

How about 1-4-4 and 4-5-6? They each have an angle that's arccos(1/8).

EDIT: As does 6-10-11 if you want to exclude all isosceles.

3

u/The_Math_Hatter Sep 28 '20

That's certainly a counterexample. Well done. My premise was flawed.

2

u/Cosmologicon Sep 28 '20

I'm curious, did you have a proof in mind? It might work for a slightly modified problem.

1

u/The_Math_Hatter Sep 28 '20

I just thought that when you had integer sides, the angles would be more varied between the triangles, and the law of cosines felt like every combination would be something weird. I had no proof in mind.

1

u/Cosmologicon Sep 29 '20

Ah that's cool. Well, it's perfectly fine to post questions here you haven't proven the answer to, but I think people appreciate if you just make it clear you don't know the answer in your post. You can also just say "Prove or disprove:" so it's doable either way.

2

u/instalockquinn Sep 29 '20

Actually, that's against one of the rules...

My two cents, you only know a problem is interesting after you find an interesting solution to it. If you don't have a solution, then the solution that would be worked on could be trivial, straightforward, or formulaic. That's why this subreddit is called mathriddles and not mathquestions.

I hope I'm not gatekeeping too hard here.

2

u/Cosmologicon Sep 29 '20

Oh yeah I see what you mean. I agree that we should follow the subreddit rules.

1

u/sfa00062 Sep 28 '20

Luckily we can still remove a right angle triangle from another... :)

1

u/The_Math_Hatter Sep 28 '20

But those right triangle would be similar, and thus fall under the k-rule in the problem.

1

u/sfa00062 Sep 29 '20 edited Sep 29 '20

I mean at first glance most wouldn't identify {5,7,20} being two distinct right angle triangles apart from {13,20,21}

1

u/pichutarius Sep 28 '20

so the counterexamples are given. the follow-up question is, given integer sides {a,b,c}, is there an algorithm to generate {d,e,f} such that the triangle formed from {a,b,c} and {d,e,f}

  1. both have integer sides;

  2. both are non-similar;

  3. has one of the internal angle equal.

Obviously the algorithm must be better than brute force.

1

u/The_Math_Hatter Sep 28 '20

Pretty sure most people here used the law of cosines, where c^2=a^2+b^2-2*a*b*cos(C).

Let's say we want C and F to be the equal angles (it doesn't matter by the symmetries of sets and triangles). Then we can re-arrange for cos(C) in the previous equation.

a^2+b^2-c^2=2*a*b*cos(C) => cos(C)=(a^2+b^2-c^2)/(2*a*b)

Since C=F, cos(C)=cos(F), and thus (a^2+b^2-c^2)/(2*a*b)=(d^2+e^2-f^2)/(2*d*e).

I don't know if there's a way to generate triplets from that equality, but it's a good start.

0

u/OmriZemer Sep 28 '20 edited Sep 28 '20

This is false. Consider for example a=1, b=c=2, d=f=2, e=1. Then angle A equals angle E, but both triangles aren't right.

Edit: I didn't notice the {} signifying unordered multisets.

3

u/sfa00062 Sep 28 '20

I think by {} the author means unordered multiset.

1

u/The_Math_Hatter Sep 28 '20

Indeed. {1,2,2} and {2,1,2} describe the same triangle.

2

u/OmriZemer Sep 28 '20

Now I see, sorry

0

u/[deleted] Sep 29 '20

[deleted]

1

u/The_Math_Hatter Sep 29 '20

Well, I have never been more delighted to be proven thoroughly wrong. Good job on your "proof of infinite ascent", perhaps.

0

u/[deleted] Sep 28 '20

[deleted]

1

u/The_Math_Hatter Sep 28 '20

That's certainly a counterexample. Well done. My premise was flawed.