Skip to content

Instantly share code, notes, and snippets.

@krishraghuram
Created December 22, 2017 11:44
Show Gist options
  • Save krishraghuram/7f00e0dc1b17765c0382c12ee1fdb5eb to your computer and use it in GitHub Desktop.
Save krishraghuram/7f00e0dc1b17765c0382c12ee1fdb5eb to your computer and use it in GitHub Desktop.
This gist was made for ...
We start by taking a random point A on the curve, and drawing a random line passing through it.
The line divides the curve into two parts.
Let’s name the parts R(for Red) and G(for Green).
As we rotate the line about A, the size of R and G changes.
R goes from 0 -> 1, while
G goes from 1 -> 0
Thus, there must be some point where they are equal. We can say this because "area is continuous" under rotation.
R = G for some rotated line passing through A.
But, the total area of the curve can be written as,
Area of Curve = R + G
Thus, R = G = 0.5 * (Area of Curve)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment