2
$\begingroup$

I have a circle that's off-center, but I want to find out the area of the part of the circle in the positive x and y region. Not sure how to do this because of the multiple variables involved.

  • 2
    Divide your portion of the circle into a [circular segment](http://en.wikipedia.org/wiki/Circular_segment) and a right triangle.2011-12-22
  • 0
    How does that work? Can it not be done with integral?2011-12-22
  • 0
    It can be done with integral, but that method is much easier. For example: draw a circle with center in bottom left, mark its intersections with axes A and B, let O be point (0,0) and S center of the circle; then you've got circular segment ABS and triangles ASO and BSO.2011-12-22
  • 1
    @sdcvvc, why two triangles? Segment AB and triangle ASB should do it.2011-12-22
  • 0
    Henning's answer is probably the best you can hope for. In general this is kind of a messy problem as is the case anytime you intersect circles and squares/rectangles and try to find areas -- they just don't play that nice together. The integrals you end up with are fairly nasty (involving a lot of inverse trig functions etc).2011-12-22
  • 0
    Is there a picture of this? I'm afraid I'm not getting it2011-12-22
  • 0
    @Henning: Right, I was confused; it's triangle ASB2011-12-22
  • 0
    The accepted answer is incorrect; see my comment. @Henning, can you post your comment with more explanation, as it is the right answer? P.S. Don't you mean triangle $AOB$ instead of $ASB$?2011-12-23
  • 0
    @Rahul, Yes of course triangle AOB. I had hoped somebody else would expand this into an answer because it deserves some drawings that I'm not in a position to digitize easily.2011-12-23

1 Answers 1

5

Here's a picture for you. The area you want is the sum of the coloured areas.

enter image description here

Let the circle be centered at $C = (c_x, c_y)$ with radius $r$. Using the Pythagorean theorem, it's easy to find the coordinates of $A$ and $B$, and from there the areas of triangles $OAC$ and $OBC$. For the green sector $CAB$, let's call the two marked angles $\theta_1$ and $\theta_2$; these satisfy $r\sin\theta_1 = c_x$ and $r\sin\theta_2 = c_y$ respectively. The area of the sector is then $\frac12(\theta_1 + \pi/2 + \theta_2)r^2$.

@Henning: As I was making this diagram, I felt that this dissection was easier to analyse than dividing the area into a segment $AB$ and triangle $OAB$, as one can only find the area of the segment by first finding the area of the sector and then subtracting the area of triangle $CAB$.

P.S. This will still work if $c_x$ and/or $c_y$ are negative, as the areas of the corresponding triangles will simply become negative and be subtracted from the area of the sector, giving the right answer in the end. However, it won't work if the origin $O$ lies outside the circle itself. If that's a case you need to consider, it will take some more care, but a similar approach should work.