Tuesday, June 3, 2014

Centroids

In a beginning geometry course, students can find the centroids of triangles by constructing two or three medians. As an extension, I ask my students to think about finding the centroid of a non-special quadrilateral. Most quickly recognize that medians of a non-special quadrilateral are not concurrent, so that method is out. I offer the suggestion to treat a quadrilateral as two triangles:


A few stall out, but a couple students think to look at the other two triangles.


This method is very intuitive and lends itself immediately to the solution --


-- but this method is not scalable. Go ahead; try it for a pentagon. I dare you!

The key to a scalable method relies in understanding that the first pair of centroids is sufficient to find the center of gravity. The solution must lie on this line:


Furthermore, the center of gravity must be positioned on that line proportionally to the relative areas of the two triangles. If the two triangles are equal in area, it must be the midpoint. In my example, the left triangle has an area of 11 sq. units, and the right triangle has an area of 13 sq. units. Therefore, the center of gravity must be 13/24 of the way from the left triangle's centroid to the right triangle's centroid. In effect, this treats each triangle as a point-mass.

This is a method that will work for pentagons. Here is an example:


The centroids of each triangle are marked. Now all one has to do is use the three point-masses (location and area) and then find their collective center of gravity. Is there a way to do this simply with coordinates? Yes. And it is one of the more surprising results I think I have ever seen.

*   *   *

Let's start with finding the centroid of a triangle. Is there any easy method, using the coordinates, to find it?


The easiest way to find the centroid is by vectors. The centroid is 2/3 of the way from A to D, the midpoint of side BC. That means we need to find 2/3 of vector w and add it to point A. One can show in several different ways that w = 0.5 u + 0.5 v. Using this, one can show that E = u/3 + v/3 + A.

Now it is possible to put everything in coordinates. If A=(x1,y1), B=(x2, y2), C=(x3, y3), then u=x2-x1,y2-y1, v=x3-x1,y3-y1. Thus, the coordinate of E is given by:

13x2-x1+13x3-x1+x1,13y2-y1+13y3-y1+y1=x1+x2+x33,y1+y2+y33

It is quite easy to find the centroid of a triangle.

*   *   *

How about area? Is there an easy way to find area using coordinates?

Once easy way to find the area using the coordinates is to think about vectors. Specifically, look at two vectors: u = a, b and v = c, d.



How do we find the shaded area between these two vectors? Copy the two vectors again to make a parallelogram:


Now box it in with a rectangle. The rectangle has an area of (a+c)(b+d). Now label all the other parts in terms of a, b, c, and/or d.


Therefore, the area of the parallelogram is (a+c)(b+d) - 2ad - 2 (0.5 ab) - 2 (0.5 cd), which simplifies down to bc - ad. Thus, the area of the triangle formed by vectors u and v is half the area of the parallelogram. Since we know that a=x2-x1, b=y2-y1, c=x3-x1, d=y3-y1, we can find the area of the triangle very simply in terms of the coordinates:

x2y1-x1y2+x3y2-x2y3+x1y3-x3y12

This pattern is remarkable, and it extends to any polygon. For example, try it on a quadrilateral.

Set up the areas for each triangle, and the amazing part is that two terms from the first triangle will cancel out two terms from the second: x2y4, x4y2. That leaves the area formula:

x2y1-x1y2+x3y2-x2y3+x4y3-x3y4+x4y1-x1y4

This formula extends easily to any polygon.

*   *   *

Now we are ready to combine it all together. In overall form, the first step to find the center of gravity of a pentagon is to divide it into three triangles, find the centroid of each, and find the area of each. Given three point-masses, the center of gravity can be found by weighting the triangle centroid formula, like so:

a1xc1+a2xc2+a3xc3a1+a2+a3, a1yc1+a2yc2+a3yc3a1+a2+a3

Now all that remains is to substitute in.


It is an amazing monstrosity to try to simplify it. I only did the x-coordinate because it takes so much time. Here is the result:




It is one of the most surprisingly simple results. This works for a polygon that does not intersect itself, whether it be convex or concave.

I also put together another post on centroids and area.

No comments:

Post a Comment