A median of a triangle is a line segment joining a vertex of a triangle to the midpoint of the opposite side. The three medians of a triangle are drawn below.
Note that the three medians appear to intersect at the same point! Let's try this out with a particular triangle. Consider the triangle ABC with A = (-5,4), B = (9,2), and C = (4,1).
(a) Let D, E, F be the midpoints of BC, AC, AB, respectively. Find the equations of medians AD, BE, and CF.
(b) Show that the three medians in part (a) all pass through the same point.