## Lines and points

A line segment is a part of a line limited by a point in both ends.

The midpoint of the line segment between the two points A(x_{1}, y_{1}) and B(x_{2}, y_{2}) is given by:

A line segment is a part of a line limited by a point in both ends.

The midpoint of the line segment between the two points A(x_{1}, y_{1}) and B(x_{2}, y_{2}) is given by: