Given a simple polygon with vertices (in order) $v_1,v_2,\ldots,v_n$, the area of this polygon can be computed based on only the coordinates of these vertices via the shoelace formula:
$$A=\frac{1}{2}\left|\ \sum_{i=1}^{n-1} (x_iy_{i+1}-y_ix_{i+1}) + (x_{n}y_{1} - y_{n}x_{1})\ \right|,$$ where $v_i=(x_i,y_i)$.
We can still compute this value if we have a polygon that is formed by a single boundary (so no holes), but has multiple crossings. Does the value $A$ have a geometric meaning in this case?
To motivate the problem, let me give an example. Take the following polygonal chain with vertices A-F:
In this case, $A=15$. If we sum up the areas of ABH, EFHG, and GCD, we get the same value. So, in this case the area in GHI is counted two times, and in the other parts of the polygon the area is counted once.
So, it seems that $A$ is equal to the total area in the polygon, but certain regions are counted more than once, depending on the specific order of crossing. This leads to the following questions:
- Is it indeed true that $A$ is a weighted sum of the 'subareas' of the polygon, and how can we prove this?
- How can we determine the weights for each area?