Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Using the following image for a visual: enter image description here

Is there a formula or equation I can use to find the area of the circle NOT overlapped with the rectangle (i.e. the filled in orange part)? I know all of the coordinates & sizes of both the rectangle and the circle, I'm just not sure how to apply them.

share|improve this question
    
What do u mean by having the coordinates? do u know the coordinates of the vertexes of the rectangle? do u know the coordinate of centre of the circle? –  B. S. Jun 6 '13 at 13:14
    
Sorry - wasn't specific enough. Yes, I know the x,y position of the rectangle, and the height/width. I also know the diameter, radius, and center of the circle. I can post them if you'd like, but I didn't want to seem like I'm trying to have someone solve it for me :) –  lhan16 Jun 6 '13 at 13:15
    
Is it enough to do it when one side of the rectangle lies along the diameter of the circle, or could the rectangle and circle be placed in any way? –  in_wolframAlpha_we_trust Jun 6 '13 at 13:15
    
they could be placed in any way –  lhan16 Jun 6 '13 at 13:17

1 Answer 1

up vote 3 down vote accepted

You can break up the overlapping area into a segment and a triangle by drawing a diagonal line between the two intersection points and then the formulae for the areas of each of these shapes are very well known. Subtracting these areas from the area of the whole circle will then give you your answer.

share|improve this answer
    
Thank you. I'll give this a try. –  lhan16 Jun 6 '13 at 13:17
    
No problem at all. –  john Jun 6 '13 at 13:18
    
Yep that worked out. Thanks again! –  lhan16 Jun 6 '13 at 13:22
    
Will your method work if one of the sides of the rectangle does not pass through the center of the circle (as is presumably intended to be the case from the illustration included)? –  Dilip Sarwate Jun 6 '13 at 14:56
    
Yes. It's all just a matter of geometry. Note that the method doesn't use the sides of the rectangle (except in the triangle area which is pretty basic), only the intersection points as these define the sector. –  john Jun 6 '13 at 15:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.