From Vector to Line

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

Any nonzero vector defines a unique perpendicular line in 2D. Except for lines through the origin, every line defines a nonzero vector. Hover over the blue line to see the equation of the line generated by the movable point.

Contributed by: Ed Pegg Jr (March 2011)
Open content licensed under CC BY-NC-SA



The vector is in standard position, starting at the origin. The line passes through the tip of the vector.

Conversely, a line determines the vector from the origin to the closest point to the line from the origin.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.