Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Topic: Equation for Line Segment
Replies: 4   Last Post: Nov 12, 2012 6:03 PM

 Messages: [ Previous | Next ]
 Steven Fontaine Posts: 3 Registered: 8/23/12
Equation for Line Segment
Posted: Aug 23, 2012 12:15 AM

So, I've been searching through the internet looking for a place to put this, and I found this.. Basically, I've come up with a (new to me) way to graph a line segment other than using the cheaty way with inequalities. Given a starting point (A,B) and an ending point (C,D), using this equation, you can graph a line segment. Anyway, here's the equation.. (m is the slope of the line equal to (D-B)/(C-A))
y=(sqrt((mX)+(-A/(1/m)))^2+-sqrt((m(-X))+(C/(1/m)))^2)/2+(B+D)/2

This works on the idea that you cannot graph imaginary numbers, and makes any points less than your starting point or greater than your ending point imaginary. Again, I'm not sure if this equation has been found before this, but I just thought I'd put this out there..

Date Subject Author
8/23/12 Steven Fontaine
8/28/12 Tippysuz
9/2/12 Steven Fontaine
11/5/12 Salahuddin
11/12/12 Steven Fontaine