Through Any Three Points

Drag the three locators anywhere in the plot area. Then move the slider button to the right, to show that a straight line can pass through ANY three points in a plane…



  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


The Snapshots show some possible positions for the three locators and the automatically oriented line.
An idealized mathematical line has zero thickness. As in other real-world depictions of a line, a plotted line in Mathematica must have sufficient positive thickness in order to be visible. (In mathematics the region between two parallel lines is called a strip.) It is easier to make a strip with some positive thickness pass through several points than if the corresponding line has zero thickness. This Demonstration shows that if the thickness can be increased indefinitely, then the strip can be made to pass through any three points in a plane. Of course, this is not what is normally understood by the phrase "to pass a line through any three points in a plane"!
When the three locators identify the vertices of a triangle, the line is automatically oriented so as to join the midpoint of the triangle's shortest side with the vertex opposite that side. Then, as the slider is used to increase the thickness, the three points identified by locators will eventually be covered by a strip of minimum thickness, at which point a message appears above the plot area. The message can also be made to appear without increasing the thickness by moving the locators so that two or all three lie directly on top of one another or by positioning them so that all three lie at different locations along a zero-thickness line (for example, along one of the dashed axis lines).
A strip of maximum thickness, i.e., one so thick it fills the entire plot area before the message appears, can be forced by dragging two of the locators to adjacent corners of the plot area and the third to the midpoint of the opposite side, as shown in Snapshot 3. The dashed axis lines can be helpful in the precise placement of the three locators.
The source of the quip on which this Demonstration is based is unknown to the author.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2017 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+