Two Points Determine a Line

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

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

Any two distinct points in a plane determine a line, which has an equation determined by the coordinates of the points.

Contributed by: George Brown (March 2011)
Open content licensed under CC BY-NC-SA



When "grid" is chosen to be "integer", the locator points snap to integer coordinates on the grid. This tends to simplify the coefficients for the equation. When "grid" is chosen to be "open", the coordinates and coefficients in the equations are given to as many as five significant digits.

When "coefficients" is chosen to be "rational", the coefficients in the equation are rounded to a nearby rational value. High school students often have a preference for decimal coefficients over rational ones, even though exact rational ones are usually more useful. Within the visual accuracy of the graphs, the rational coefficients can be considered exact.

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.