Find the area of a region bounded by a simple closed curve

areacurvesintegrationpolar coordinates

I have the following equation:

$$
\frac{p}{(a-x)^2+y^2}+\frac{1-p}{(b-x)^2+y^2}=1 \text{ where } 0\leq p\leq 1
$$

Which represent a simple close curve. Obviously, when $p=0,p=1$ or $a=b$ we recover a unit circle. However the shape of the curve is more interesting in the other cases. Here is an example for $p=0.2$, $a=1$ and $b=0$:
example for p=0.2

The area inside the curve is supposed to represent an uniform distribution, thus I suspect the area to be equal to one (unless I did a mistake!). However I don't know how to compute it. My attempt was to shift to polar coordinates and compute a double integral. However I have trouble determining the boundaries of these integrals.

Any hints or general advice are appreciated !

Best Answer

The $xy$-integration is still easier than the polar coordinates for this problem.

Due to $y$-symmetry, the integration is between the two intersection points with the $x$-axis, which can be obtained by setting $y = 0$ in the curve equation (for $a=1$, $b=0$) $$ \frac{p}{(1-x)^2}+\frac{1-p}{x^2}=1 $$ or $$ x^4-2x^3+2(1-p)x-(1-p)=0 $$ Unfortunately, for general value of $p$, it has to be solved numerically. In your example of $p=0.2$, it has two real roots as expected. Let $x_1$ and $x_2$ be the two roots to be used as the integration bounds below.

The curve itself can be expressed as below by rearranging the original equation, $$ y(x)= \left[ -x(x-1)+\sqrt{x^2+(1-p)(1-2x)} \right]^{1/2} $$ The area can then be integrated with, $$ A = 2\int_{x_1}^{x_2}y(x)dx$$

It could not be done analytically, though. But, it is straightforward numerically. For the special case of $p=1$, the area integral reduces significantly and can be carried out by hand,

$$A_{p=1}=2\int_0^2 \sqrt{x(2-x)}=\pi$$ which is expected for a unit circle.