2D lines can be written if:

Vector Equation

or Where:

  • and is a position vector to any point on line
  • and is the position vector to a known point
  • and is the direction vector

Creating Vector Equation Example

Closed Triangle Vector Addition Representation

Slope Equation

Pretty much the same as in The formula of a 3d line can be determined if:

  • Given slope
  • Given point Or
  • Given 2 Points

Vector Equation

or Where:

  • and is the position vector
  • and is the direction vector