Graph Theory 1
Graph Theory 1
Graph Theory 1
Tutorial
BC B1C1 BC AB
= 1
⇒ 1 1=
AB AB BC AB1
Figure 2 represents a straight-line graph with fixed points: A and B and a general point G along the
line. They have the coordinates (XA,YA) , (XB,YB) and (X,Y) respectively. The extensions of lines
GD and BC are perpendicular to the X axis, thus they are parallel to each other. Hence, ABC and
AGD are similar triangles.
Graph Theory – Straight Line Graphs
Tutorial
BC AC
=
GD AD
(YB − YC ) ( X C − X A )
=
(Y − YD ) ( X D − X A )
(YB − YA ) ( X B − X A )
= (1)
(Y − YA ) (X − X A)
(Y − Y ) (Y − Y )
Y = B A X − B A X A + YA
(XB − X A) (XB − X A)
NB: Please DON’T memorize this equation.