At least I don’t think resorting to Trigonometry should be necessary; but here’s hoping.
My question is related to what’s known as the right triangle altitude theorem, aka. the geometric mean theorem. Basically, when you have a right triangle with the hypotenuse taken as the base, the theorem relates the relationship between the hypotenuse, the vertical altitude, and the bases of the two resulting smaller similar triangles:
If h denotes the altitude in a right triangle and p and q the segments on the hypotenuse then the theorem can be stated as h = {\sqrt {p×q}}
To give an example with all whole numbers, if you have a 3-4-5 right triangle of hypotenuse 25 with sides of 15 and 20, the altitude will be 12 and p and q will be 9 and 16.
My question is concerned with a rectangle containing the right triangle, with height the same as the altitude and a length of p + q. I want to be able to take the ratio of length to width of the rectangle as a single number, and plug that into a formula that will give the ratio p : q. This should be doable, yet my algebra skills seem insufficient. Anyone?