Equation of a rectangle's radius

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

The discussion centers on the mathematical equation for calculating the "radius" of a rectangle, defined as the distance from its center to the perimeter at a given angle θ. The formula presented is (w/2)*sqrt(cos²(θ)) + (h/2)*sqrt(sin²(θ)), which is applicable for rectangles of width w and height h. However, it is noted that this equation has limitations and may yield incorrect results for certain angles, such as π/6. A more comprehensive approach involves determining whether the line segment intersects the rectangle's top or sides, using angles β and φ to derive the correct radius R based on the rectangle's dimensions.

PREREQUISITES
  • Understanding of trigonometric functions (sine, cosine)
  • Familiarity with polar coordinates
  • Basic knowledge of geometry, specifically rectangles
  • Ability to manipulate and solve equations involving angles
NEXT STEPS
  • Research the properties of polar coordinates in geometry
  • Learn about piecewise functions and their applications in geometry
  • Study the implications of angle intersections in geometric shapes
  • Explore advanced trigonometric identities and their uses in calculations
USEFUL FOR

Students studying geometry, mathematicians interested in trigonometric applications, and educators looking for innovative ways to teach rectangle properties and polar coordinates.

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):
\frac{w}{2}\sqrt{cos^{2}(\theta)} + \frac{h}{2}\sqrt{sin^{2}(\theta)}

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 \pi/6 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: 766
This equation does not work.

Consider an angle theta, such that 0^\circ \le \theta \le 90^\circ[/tex]<br /> <br /> The &quot;radius&quot; of a rectangle with this angle would lie in the upper right quadrant of the rectangle.<br /> <br /> Let&#039;s assume \theta = 30^\circ[/tex]&lt;br /&gt; This would result in one of three different situations:&lt;br /&gt; 1) the radius will intersect the upper right vertex of the rectangle&lt;br /&gt; 2) the radius will intersect the top of the rectangle&lt;br /&gt; 3) the radius will intersect the right side of the rectangle&lt;br /&gt; &lt;br /&gt; Now, let&amp;#039;s assume our radius is 2 units long.&lt;br /&gt; &lt;br /&gt; With an angle of 30^\circ[/tex], this means we have a 30-60-90 triangle with a height of 1 unit and a base of \sqrt{3}[/tex] units.&amp;amp;lt;br /&amp;amp;gt; &amp;amp;lt;br /&amp;amp;gt; I&amp;amp;amp;#039;ve drawn this triangle inside three different rectangles (each representing the upper right quadrant of the &amp;amp;amp;quot;whole&amp;amp;amp;quot; rectangle) using random values for situations #2 &amp;amp;amp;amp; #3.&amp;amp;lt;br /&amp;amp;gt; (See attachment)&amp;amp;lt;br /&amp;amp;gt; &amp;amp;lt;br /&amp;amp;gt; The dimension of the &amp;amp;amp;quot;whole&amp;amp;amp;quot; rectangles are as such:&amp;amp;lt;br /&amp;amp;gt; 1) h = 2, w = 2\sqrt{3}[/tex]&amp;amp;amp;lt;br /&amp;amp;amp;gt; 2) h = 2, w = 4&amp;amp;amp;lt;br /&amp;amp;amp;gt; &amp;amp;amp;lt;br /&amp;amp;amp;gt; 3) h = 2.4, w = 2\sqrt{3}[/tex]&amp;amp;amp;amp;lt;br /&amp;amp;amp;amp;gt; &amp;amp;amp;amp;lt;br /&amp;amp;amp;amp;gt; &amp;amp;amp;amp;lt;br /&amp;amp;amp;amp;gt; For situation #2, it&amp;amp;amp;amp;amp;#039;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 \sqrt{3}[/tex]&amp;amp;amp;amp;amp;lt;br /&amp;amp;amp;amp;amp;gt; &amp;amp;amp;amp;amp;lt;br /&amp;amp;amp;amp;amp;gt; 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.
 

Attachments

  • Lines-Layout2a.PNG
    Lines-Layout2a.PNG
    4.9 KB · Views: 720
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 (\theta[/tex]) and the rectangle&#039;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 \beta[/tex] such that 0^\circ \le \beta \le 90^\circ[/tex] which intersects the rectangle in the same way as the original angle \theta[/tex].&amp;amp;lt;br /&amp;amp;gt; &amp;amp;lt;br /&amp;amp;gt; &amp;amp;lt;br /&amp;amp;gt; To do this, I use&amp;amp;lt;br /&amp;amp;gt; &amp;amp;lt;br /&amp;amp;gt; \beta = \tan^{-1} \left| \tan(\theta) \right|&amp;amp;lt;br /&amp;amp;gt; &amp;amp;lt;br /&amp;amp;gt; &amp;amp;lt;br /&amp;amp;gt; &amp;amp;lt;br /&amp;amp;gt; Next, determine the angle of the diagonal from the rectangle&amp;amp;amp;#039;s center to it&amp;amp;amp;#039;s upper-right vertex:&amp;amp;lt;br /&amp;amp;gt; &amp;amp;lt;br /&amp;amp;gt; \phi = \tan^{-1} \left( \frac{H}{L} \right)&amp;amp;lt;br /&amp;amp;gt; &amp;amp;lt;br /&amp;amp;gt; &amp;amp;lt;br /&amp;amp;gt; &amp;amp;lt;br /&amp;amp;gt; Finally, compare \beta[/tex] to \phi[/tex] and use the appropriate formula to determine the length of the &amp;amp;amp;amp;amp;quot;radius&amp;amp;amp;amp;amp;quot; R:&amp;amp;amp;amp;lt;br /&amp;amp;amp;amp;gt; &amp;amp;amp;amp;lt;br /&amp;amp;amp;amp;gt; If \beta \ge \phi[/tex], then R = H/(2 \sin \beta)[/tex]&amp;amp;amp;amp;amp;amp;lt;br /&amp;amp;amp;amp;amp;amp;gt; &amp;amp;amp;amp;amp;amp;lt;br /&amp;amp;amp;amp;amp;amp;gt; If \beta &amp;amp;amp;amp;amp;amp;amp;amp;lt; \phi[/tex], then R = W/(2 \cos \beta)[/tex]
 

Similar threads

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