r/mathriddles • u/The_Math_Hatter • 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.
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}
both have integer sides;
both are non-similar;
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
0
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
7
u/Cosmologicon Sep 28 '20
I don't understand why 3,4,5 and 5,5,8 isn't a counterexample.