Question about a rounded rectangle

  • MHB
  • Thread starter Opalg
  • Start date
  • Tags
    Rectangle
In summary: This is the same as saying that the length of the diagonal is reduced by a factor of $\sqrt{2}\left(r+w+\sqrt{2w}\right).$
  • #1
Opalg
Gold Member
MHB
2,778
13
Someone has asked for a fuller explanation of a reply that I gave to this thread on another site eleven years ago.

The question concerns a rectangle (dimensions $l\times w$) whose corners have been replaced by quadrants of a circle of radius $r$. This diagram shows an enlargement of one corner of the rectangle.
[TIKZ]\fill [red!20!white] (0,0) -- (0,-4.5) -- (4,-4.5) -- cycle ;
\draw (0,-6) |- (6,0) ;
\draw (-1,-6) -| (6,1) ;
\draw (0,-6) arc (-90:0:6) ;
\draw (-1,-0.75) -- (6,-6) ;
\draw (5,-5) node{$x$} ;
\draw (3,-6.2) node{$r$} ;
\draw (6.2,-3) node{$r$} ;
\draw (2.3,-2.2) node{$r$} ;
\draw (5.4,-5.8) node{$\theta$} ;
\draw [dashed] (0,-4.5) -- (6,-4.5) ;
\draw [dashed] (4,0) -- (4,-6) ;
\draw [dashed] (0,0) -- (4,-4.5) ;[/TIKZ]
If the diagonal makes an angle $\theta$ with the base of the rectangle then $\tan\theta = \dfrac wl$. So $\cos\theta = \dfrac l{\sqrt{l^2+w^2}}$ and $\sin\theta = \dfrac w{\sqrt{l^2+w^2}}$.
Apply Pythagoras to the coloured triangle to get $$ (r- x\sin\theta)^2 + (r - x\cos\theta)^2 = r^2,$$ $$x^2 - 2rx(\sin\theta + \cos\theta) + r^2 = 0.$$ The solutions to that quadratic equation for $x$ are $$x = r(\sin\theta + \cos\theta) \pm\sqrt{r^2(\sin\theta+\cos\theta)^2 - r^2} = r\bigl(\sin\theta + \cos\theta\pm\sqrt{2\sin\theta\cos\theta}\bigr).$$ We want the smaller solution (the larger one would be where the diagonal meets the other side of the circle), so $$x = r\bigl(\sin\theta + \cos\theta - \sqrt{2\sin\theta\cos\theta}\bigr) = \dfrac{r\bigl(w+l-\sqrt{2lw}\bigr)}{\sqrt{l^2+w^2}}.$$
 
Mathematics news on Phys.org
  • #2
I am not quite sure of what you are looking for, but: Take any corner of the rectangle. Assume that l>2r and w>2r. Place a square with side r in each corner. When you replace the square with a quarter circle, you reduce the area from r2 to π/4*r2. Thus the total area is reduced from l*w to l*w-πr2.
 
  • Like
Likes benorin

FAQ: Question about a rounded rectangle

What is a rounded rectangle?

A rounded rectangle is a shape with four sides and rounded corners, similar to a rectangle but with curved edges instead of straight ones.

How is a rounded rectangle different from a regular rectangle?

A rounded rectangle has rounded corners, while a regular rectangle has sharp corners. This gives it a softer and more curved appearance.

What are the common uses of a rounded rectangle?

Rounded rectangles are commonly used in graphic design and web design for buttons, icons, and frames. They are also used in user interfaces for mobile and desktop applications.

How do you create a rounded rectangle?

Rounded rectangles can be created using various design software such as Adobe Photoshop or Illustrator. They can also be created using HTML and CSS by setting the border-radius property to a specific value.

Can the corners of a rounded rectangle have different degrees of roundness?

Yes, the corners of a rounded rectangle can have different degrees of roundness. This can be achieved by specifying different values for the border-radius property for each corner.

Similar threads

Replies
2
Views
806
Replies
5
Views
1K
Replies
29
Views
2K
Replies
2
Views
1K
Replies
12
Views
820
Back
Top