where:

- the slope of the line is
- the y-intercept is

Given two points and on the line, we can write that:

in order to determine , and .

where is the slope:

where is the angle between the line and the axis.

can also be expressed parametrically as:

where are the components of the points and of the line.

Given two points and and a connecting line , the point-intercept form of the line is given by:

where is the slope of the line.

In parametric form:

where:

- is a generic point on the line.
- is the starting point of the line segment.
- is the end point of the line segment.
- is a parameter with where by taking values and working out the equation yields points on the line.

Knowing the components of two points and , we can determine the midpoint of the segment whose components are:

fuss/mathematics/geometry/shapes/lines.txt ยท Last modified: 2017/02/22 18:30 (external edit)

For the copyright, license, warranty and privacy terms for the usage of this website please see the license, privacy and plagiarism pages.