Equation of a rectangle's radius

  • Context: High School 
  • Thread starter Thread starter Samzor123
  • Start date Start date
  • Tags Tags
    Radius
Click For Summary

Discussion Overview

The discussion revolves around the equation for the "radius" of a rectangle, defined as the distance from its center to its perimeter at a given angle. Participants explore the mathematical formulation, implications, and potential errors in the equation, as well as alternative approaches to determine this distance.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents an equation for the radius of a rectangle based on its width (w), height (h), and angle (theta), expressing excitement about its discovery.
  • Another participant praises the equation as clever but notes it is a more complicated representation of a rectangle in polar coordinates.
  • A third participant identifies potential errors in the original equation, suggesting that it fails under certain conditions and provides examples to illustrate different scenarios based on angle and rectangle dimensions.
  • One participant proposes a method to determine the length of the line segment from the center to the perimeter by analyzing the intersection of the line segment with the rectangle's boundaries, introducing new variables and conditions for calculation.

Areas of Agreement / Disagreement

Participants express differing views on the validity of the original equation, with some supporting its cleverness while others point out its limitations and errors. The discussion remains unresolved regarding the accuracy of the proposed equation and the best method to calculate the radius.

Contextual Notes

Limitations include the dependence on specific angle ranges and rectangle dimensions, as well as the need for further generalization of the proposed solutions. Some mathematical steps and assumptions remain unresolved.

Samzor123
Messages
1
Reaction score
0
A few days ago I got really excited when I found the equation for a retangles radius (distance from its center to its perimeter given an angle)

I have no idea if this is something very simple and stupid but my math teacher said it was impressive, I'm still in high school

It's like this:
(w/2)*sqrt(cos^2(theta)) + (h/2)*sqrt(sin^2(theta))

(Or my attempt at latex):
[tex]\frac{w}{2}\sqrt{cos^{2}(\theta)} + \frac{h}{2}\sqrt{sin^{2}(\theta)}[/tex]

gives the length of the line from the center of a rectangle (width w, height h) to its perimeter at angle of theta.

I graphed it also with x = theta (radians), for a rectangle of width 1 and height 1:
http://dl.dropbox.com/u/1828729/rr/graph.png (it's a big image)

I needed to share this, excuse me if it's ridiculously simple.
 
Last edited by a moderator:
Mathematics news on Phys.org
That's NOT "ridiculously simple", it is, in fact, very clever.
 
Basically what you have done is a polar coordinate construction of rectangle that's centered at origin It's a quite more complicated way to represent rectangles but nonetheless interesting.

There is an error though, you could try plugging in [tex]\pi/6[/tex] for the formula and you get the wrong answer. Your answer is close to

I found a paper in which I had worked on the same problem. I didn't generalize it for rectangles of different sizes but that would be easy enough to do so. The solution is a piecewise one since I didn't bother to try to combine these. You can view the attachment to see the graph of solution for square (with side length 2). As you can see how it involves reciprocal of sine and cosine instead of just sine and cosine.
 

Attachments

  • polar.JPG
    polar.JPG
    56.5 KB · Views: 773
This equation does not work.

Consider an angle theta, such that [itex]0^\circ \le \theta \le 90^\circ[/tex]<br /> <br /> The "radius" of a rectangle with this angle would lie in the upper right quadrant of the rectangle.<br /> <br /> Let's assume [itex]\theta = 30^\circ[/tex]<br /> This would result in one of three different situations:<br /> 1) the radius will intersect the upper right vertex of the rectangle<br /> 2) the radius will intersect the top of the rectangle<br /> 3) the radius will intersect the right side of the rectangle<br /> <br /> Now, let's assume our radius is 2 units long.<br /> <br /> With an angle of [itex]30^\circ[/tex], this means we have a 30-60-90 triangle with a height of 1 unit and a base of [itex]\sqrt{3}[/tex] units.<br /> <br /> I've drawn this triangle inside three different rectangles (each representing the upper right quadrant of the "whole" rectangle) using random values for situations #2 & #3.<br /> (See attachment)<br /> <br /> The dimension of the "whole" rectangles are as such:<br /> 1) h = 2, w = 2[itex]\sqrt{3}[/tex]<br /> 2) h = 2, w = 4<br /> <br /> 3) h = 2.4, w = 2[itex]\sqrt{3}[/tex]<br /> <br /> <br /> For situation #2, it's easy to see that this triangle will fit any upper right quadrant with a height of 1 unit and a width greater than or equal to [itex]\sqrt{3}[/tex]<br /> <br /> So, in the case where the radius at a given angle intersects the top of the rectangle, you can increase the width of the rectangle without affecting the length of the radius. And, since w is increasing, the value of your equation is increasing, yet the length of the radius remains the same.[/itex][/itex][/itex][/itex][/itex][/itex][/itex]
 

Attachments

  • Lines-Layout2a.PNG
    Lines-Layout2a.PNG
    4.9 KB · Views: 729
Since no one addressed this problem, I'll give my solution...


In order to find the length of the line segment from the center of a rectangle to it's perimeter (or, what the OP calls the "radius" of a rectangle), given the angle of the line segment ([itex]\theta[/tex]) and the rectangle's dimensions (H and W), you must first determine whether the line segment intersects either the top or bottom (one of the widths), or one of the sides.<br /> <br /> <br /> To simplify the problem, I find it easier to find a similar angle in the first quadrant. That is, an angle [itex]\beta[/tex] such that [itex]0^\circ \le \beta \le 90^\circ[/tex] which intersects the rectangle in the same way as the original angle [itex]\theta[/tex].<br /> <br /> <br /> To do this, I use<br /> <br /> [tex]\beta = \tan^{-1} \left| \tan(\theta) \right|[/tex]<br /> <br /> <br /> <br /> Next, determine the angle of the diagonal from the rectangle's center to it's upper-right vertex:<br /> <br /> [tex]\phi = \tan^{-1} \left( \frac{H}{L} \right)[/tex]<br /> <br /> <br /> <br /> Finally, compare [itex]\beta[/tex] to [itex]\phi[/tex] and use the appropriate formula to determine the length of the "radius" R:<br /> <br /> If [itex]\beta \ge \phi[/tex], then [itex]R = H/(2 \sin \beta)[/tex]<br /> <br /> If [itex]\beta < \phi[/tex], then [itex]R = W/(2 \cos \beta)[/tex][/itex][/itex][/itex][/itex][/itex][/itex][/itex][/itex][/itex][/itex]
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
8K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 70 ·
3
Replies
70
Views
7K
  • · Replies 29 ·
Replies
29
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K