Solve Trigonometry Puzzle with P, S and H

AI Thread Summary
The discussion centers on determining the dimensions of a triangle given its perimeter (P), one side (S), and the height (H) from that side. The key point is that these parameters uniquely define the triangle. The conversation delves into deriving the expressions for the other two sides using the properties of an ellipse, where the foci are separated by S and the major axis is P. The mathematical approach involves setting up an equation based on the ellipse's properties, leading to a complex equation that relates the sides of the triangle. A correction is noted regarding the initial formula, emphasizing that the sum of the two other sides equals P - S, not P. Participants discuss the challenges of solving the resulting non-linear equations, with one contributor providing a detailed method for isolating x, ultimately leading to a positive solution for x in terms of the triangle's parameters. The conversation highlights the intricacies of applying geometric principles and algebraic manipulation to solve the problem effectively.
arildno
Science Advisor
Homework Helper
Gold Member
Dearly Missed
Messages
10,119
Reaction score
138
Trigonometry "puzzle"

If we know the perimeter P of a triangle, a side S of it, and the height H down on the line going through S, then we have uniquely determined the triangle.

It is not wholly trivial to derive the expressions for the other two sides in terms of P,S and H.
 
Physics news on Phys.org
I'm forgetting my algebra, but:

1) Essentially, we are given an ellipse, with the focii separated by S, a major axis of P, and if expressed as y=f(x), the corresponding y value of H for which we must solve.

2) The ellipse as a function (not purely as a function of x) might be:
sqrt((x+S/2)^2 + y^2) + sqrt((x-S/2)^2 + y^2) = P - S

3) Solve for x, given that y=H:
sqrt((x+S/2)^2 + H^2) + sqrt((x-S/2)^2 + H^2) = P - S
(I forget exactly how to go about this...)

4) With x in hand, it becomes trivial. The other sides would be:
Side 1 = sqrt((x+S/2)^2+y^2)
Side 2 = sqrt((x-S/2)^2+y^2)

DaveE
 
Last edited:
The neat touch is, of course, to go over to a coordinate representation of the end points and utilize the properties of an ellipse.

The "brute force" approach to directly relate the SIDE LENGTHS to each other, say with a couple of Pythagorases will lead to ugly non-linear equations.

EDIT
NOTE:
Your initial formula is wrong. On your right-hand side, it should say P-S, not P!
(The sum of the two other sides is constant)
 
Last edited:
arildno said:
The neat touch is, of course, to go over to a coordinate representation of the end points and utilize the properties of an ellipse.

Heh, that's all well and good if you remember your ellipse properties, but for those of us who're 14 years out of their geometry classes, we're stuck with brute force :) (short of going and looking up all those old properties)

arildno said:
The "brute force" approach to directly relate the SIDE LENGTHS to each other, say with a couple of Pythagorases will lead to ugly non-linear equations.

Out of curiosity, how *would* you go about solving that ugly equation for x? Anyone?

arildno said:
Your initial formula is wrong. On your right-hand side, it should say P-S, not P!

Ooops, fixed!

DaveE
 
Hmm..you gave the simple ellipse approach in your initial post.
Now, as for solving for x, the simplest way is like this:
\sqrt{(x-\frac{S}{2})^{2}+H^{2}}=(P-S)-\sqrt{(x+\frac{S}{2})^{2}+H^{2}}
Square this expression, gaining:
(x-\frac{S}{2})^{2}+H^{2}=(x+\frac{S}{2})^{2}+(P-S)^{2}-2(P-S)\sqrt{(x+\frac{S}{2})^{2}+H^{2}}
Simplify to:
\sqrt{(x+\frac{S}{2})^{2}+H^{2}}=\frac{xS}{(P-S)}+\frac{(P-S)}{2}
Re-square:
(x+\frac{S}{2})^{2}+H^{2}=\frac{S^{2}}{(P-S)^{2}}x^{2}+xs+\frac{(P-S)^{2}}{4}
Simplify this to:
(1-\frac{S^{2}}{(P-S)^{2}})x^{2}=\frac{P(P-2S)}{4}-H^{2}
From which we gain the positive solution:
x=\frac{(P-S)}{2}\sqrt{1-\epsilon},\epsilon=\frac{4H^{2}}{P(P-2S)}
 
Cool question man.
 
Similar to the 2024 thread, here I start the 2025 thread. As always it is getting increasingly difficult to predict, so I will make a list based on other article predictions. You can also leave your prediction here. Here are the predictions of 2024 that did not make it: Peter Shor, David Deutsch and all the rest of the quantum computing community (various sources) Pablo Jarrillo Herrero, Allan McDonald and Rafi Bistritzer for magic angle in twisted graphene (various sources) Christoph...
Thread 'My experience as a hostage'
I believe it was the summer of 2001 that I made a trip to Peru for my work. I was a private contractor doing automation engineering and programming for various companies, including Frito Lay. Frito had purchased a snack food plant near Lima, Peru, and sent me down to oversee the upgrades to the systems and the startup. Peru was still suffering the ills of a recent civil war and I knew it was dicey, but the money was too good to pass up. It was a long trip to Lima; about 14 hours of airtime...
Back
Top