Formula for lengths of a rectangle - why does it give both lengths?

  • Context: Undergrad 
  • Thread starter Thread starter autodidude
  • Start date Start date
  • Tags Tags
    Formula Rectangle
autodidude
Messages
332
Reaction score
0
Why does the formula [P±√(P^2-16A)]/4 give the values of either of two different lengths of a rectangle? (P is perimeter and A is area)

I derived it by solving two simultaneous equations, A = xy and P=x+y and then applying the quadratic formula to the resulting second-order equation 2y^2 + Py+2A thus getting y=[P±√(P^2-16A)]/4

I tried out some numbers just to test it out and was surprised that both solutions were lengths of the rectangle, so it gave y but also x…I fail to see how this so, shouldn't it only give the length y (or x, if I'd eliminated y instead when I solved the simultaneous equations)?

Thanks
 
Mathematics news on Phys.org
The equations cannot 'know' which is x and which is y. If x = A, y = B is a solution then so is x = B, y = A.
Btw, the perimeter would be 2x+2y.
 
haruspex said:
The equations cannot 'know' which is x and which is y. If x = A, y = B is a solution then so is x = B, y = A.
Btw, the perimeter would be 2x+2y.

I believe its a typo, his derivation is correct in the quadratic formula, the quadratic had a sign error also
 
Hmmm...I guess that makes sense...I'll think about it, thanks.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
1
Views
2K
Replies
5
Views
2K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K