The polygon is defined by a series of
coordinates
listed in counterclockwise order.
Please know that I present these derivations/formulas more as observation and insight rather than as industrial strength computer techniques.
First, the triangle. Let’s offset the top vertex horizontally a distance,
The area is unchanged (of course). The center of gravity,
, shifts by
.
Here’s the proof with examples.
Skip to PDF content Though I have given a (belabored) explicit proof above, the same result could have been seen far easier by the formula given in Centers of Gravity of the Triangle and Lean-To Trapezoid Jan 2026.In that post, I presented the following
![]()
Since
is a constant for a given triangle, we know that
must shift by
.
In fact, moving any one vertex in any triangle a horizontal distance,
,
will shift the
by
.
I note that, in a general triangle:
![Rendered by QuickLaTeX.com \[CG_x = \frac{1}{3} \sum_{i=0}^{2}{x_i}\]](https://www.mathpax.com/wp-content/ql-cache/quicklatex.com-3486b4a23045e98406ab981efa01706b_l3.png)
![Rendered by QuickLaTeX.com \[CG_y = \frac{1}{3} \sum_{i=0}^{2}{y_i}\]](https://www.mathpax.com/wp-content/ql-cache/quicklatex.com-0b645e6319f134cb89d2533b2edb7978_l3.png)
Second, the general polygon.
Let’s offset the
vertex by a coordinate distance,
.
The
is indeed changed.
![]()
Here’s an example.
Skip to PDF content I did make a considerable effort to evaluate the offset in the CG for a polygon. I obtained a formula for the derivative. After working the problem, I concluded that it is simpler/better to recalculate the CG using the usual methods rather than calculating the derivative of the CG.A method of determining the new CG after moving a point (and thereby adding an area element) uses the general formulas below.
![]()
![]()
![]()


