Optimization: maximize a triangle surface

Click For Summary

Homework Help Overview

The discussion revolves around optimizing the area of a triangle given a fixed perimeter P. Participants explore the mathematical relationships and conditions necessary to identify the triangle configuration that maximizes the area.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss using Lagrange multipliers to find the maximum area, questioning the validity of their derivatives and the implications of their findings. There is exploration of the conditions leading to an isosceles triangle and the relationships between the triangle's sides.

Discussion Status

Some participants have provided guidance on simplifying the problem and focusing on key equations. There is an ongoing exploration of different cases, particularly concerning the equality of the triangle's sides, but no consensus has been reached on a definitive solution.

Contextual Notes

Participants are working under the constraint of a fixed perimeter, which limits the degrees of freedom in their equations. There are indications of confusion regarding the implications of certain algebraic manipulations and the nature of the triangle's dimensions.

Telemachus
Messages
820
Reaction score
30
See if anyone can help me with this: Among all triangles of perimeter equal to P, find the one with the largest area. (Hint: use the formula [tex]A=\sqrt[ ]{p(p-x)(p-y)(p-z)}[/tex] where [tex]P=2p[/tex], [tex]P[/tex] is the perimeter).

So, I have [tex]f|_s[/tex], I think that must be solved using Lagrange multipliers, at least I don't see any other way.

I've proceeded this way: [tex]f=\sqrt[ ]{p(p-x)(p-y)(p-z)}[/tex], [tex]s=p=\displaystyle\frac{x+y+z}{2}[/tex]

Well, I have done so, but all derivatives did wrong (I did [tex]A^2[/tex] arising as if [tex]f=A^2[/tex] and then apply the multiplier to with the 4 conditions ), it became ugly, maybe it was because of that. Anyway, would you tell me if what I did here is ok? Greetings.
 
Physics news on Phys.org
Yes, what you're doing is good. And since f is an ugly function, I can imagine that the partial derivatives of f are very ugly to...
 
Thanks. I know that I must arrive to x=z=y, an isosceles triangle, but it seems to be harder than what I thought.

[tex]A^2=p(p^2-py-xp+xy)(p-z)=p^4-p^3y-p^3x+p^2xy-p^3z+p^2zy+p^2zx-pzxy[/tex]
Then I call: [tex]f=p(p^2-py-xp+xy)(p-z)=p^4-p^3y-p^3x+p^2xy-p^3z+p^2zy+p^2zx-pzxy[/tex]

And [tex]s=p=\displaystyle\frac{P}{2}=\displaystyle\frac{x+y+z}{2}[/tex]

[tex]\begin{Bmatrix}f_x=p(py+pz-zy-p^2)\\f_y=p(px+pz-zx-p^2)\\f_z=p(px+py-p^2-xy)\end{matrix}[/tex]

[tex]p\neq{0}[/tex]
Then:
[tex]\begin{Bmatrix}py+pz-zy-p^2=\displaystyle\frac{\lambda}{2}\\px+pz-zx-p^2=\displaystyle\frac{\lambda}{2}\\px+py-p^2-xy=\displaystyle\frac{\lambda}{2}\\p=\displaystyle\frac{x+y+z}{2} \end{matrix}[/tex]

From the last condition I replaced p to get lambda.
Then I've found that:
[tex]\displaystyle\frac{\lambda}{2}=-x^2+y^2+z^2-2zy[/tex]
Then I replace in one of the equations

[tex]-x^2+y^2+z^2-2zy=\displaystyle\frac{(x+y+z)}{2}x+\displaystyle\frac{(x+y+z)}{2}z-zx-(\displaystyle\frac{(x+y+z)}{2})^2[/tex]
So I get into what I think its an absurd:
[tex]z=\displaystyle\frac{2y^2-2x^2}{2y-2x}[/tex]
I think its an absurd, but I haven't go ahead from hear. And the reason is that I think I should have an isosceles triangel, so I would be dividing be zero on this equality.
 
Last edited:
At the end, you have to discriminate between to cases: x=y and x is not y. In the last case, you indeed have

[tex]z=\frac{2x^2-2y^2}{2x-2y}=x+y[/tex]

Together with x+y+z=2p, this yields that z=p. And thus this gives the point (0,0,p).
 
I think I've arrived at this conclusion before following another way. But I thought I was wrong, because I've arrived to x=p, z=y=x, and then I thought that what I had was a point, not a surface, so I thought I had a minimum there, not a maximum. And here I think the same, if we got z=p then A=0 from here: [tex]A=\sqrt[ ]{p(p-x)(p-y)(p-z)}[/tex]

I think the solution must be [tex]x=y=z\neq{p}[/tex]
 
It will probably make things a lot clearer if you don't expand all of those products. It looks to me like your f_x equation is -(y-p)(z-p)=lambda/2 and your f_y equation is -(x-p)(z-p)=lambda/2. I think you can draw an important conclusion from those two alone.
 
Alright, thanks Dick, I'll try that way, and then I'll tell you :P
 
Dick said:
I think you can draw an important conclusion from those two alone.
Exactly. Since the perimeter P is a given constant and x+y+z=P, there are only two degrees of freedom here.
 
I thought so, I think I did something like this in calculus 1 but with a square, that's what's in part drives me to think that the isosceles triangle is the one I'm looking for. But anyway this case seems complicated, maybe it is because I'm not seeing it clearly.
 
  • #10
Telemachus said:
I thought so, I think I did something like this in calculus 1 but with a square, that's what's in part drives me to think that the isosceles triangle is the one I'm looking for. But anyway this case seems complicated, maybe it is because I'm not seeing it clearly.

It LOOKS complicated because you are multiplying everything out. Don't do that. It's not complicated.
 
  • #11
This is what I have without the multiplications:

[tex]\begin{Bmatrix}-p(p-y)(p-z)=\displaystyle\frac{\lambda}{2}\\-p(p-x)(p-z)=\displaystyle\frac{\lambda}{2}\\-p(p-x)(p-y)=\displaystyle\frac{\lambda}{2}\\p=\displaystyle \frac{x+y+z}{2} \end{matrix}[/tex]

Then I did: [tex]-p(p-y)(p-z)=\displaystyle\frac{\lambda}{2}\rightarrow{}z=\displaystyle\frac{\lambda}{2p(p-y)}+p[/tex]

[tex]p=\displaystyle \frac{x+y+z}{2}\rightarrow{}z=-x-y+2p[/tex]

[tex]-x-y+2p=\displaystyle\frac{\lambda}{2p(p-y)}+p\rightarrow{}\displaystyle\frac{\lambda}{2}=(-x-y+p)p(p-y)[/tex]

Then:
[tex](-x-y+p)p(p-y)=-p(p-x)(p-y)\rightarrow{}-p+x=-x-y+p\rightarrow{}2x=-y+2p\rightarrow{}x=\displaystyle\frac{-y}{2}+p[/tex]

[tex]z=-x-y+2p\rightarrow{}z=\displaystyle\frac{y}{2}-p-y+2p\rightarrow{}z=\displaystyle\frac{-y}{2}+p\therefore{z=x}[/tex]

Now the problem is "y".
[tex]p=\displaystyle \frac{x+y+z}{2}\rightarrow{}y=2p-2x[/tex] it should give equal to x and z...
 
  • #12
Ok, I did something really stupid there. I've found the way. Thank you all guys.
 
  • #13
Telemachus said:
Ok, I did something really stupid there. I've found the way. Thank you all guys.

You're welcome and glad you got it. But I still don't think you are seeing the easy way. Look at the first two derivative equations. Don't they tell you really directly that (p-x)=(p-y)?
 
  • #14
Haha yes, that's what I saw after I've posted here :P
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
9
Views
4K