Lines and Slopes

Graphs a line using either two given points or given slope and y-intercept.
How to use   ||   Examples   ||   Other Notes


How to use The text input fields can accept real numbers in decimal notation. The buttons under the graph allow various manipulations of the graph coordinates.
Examples
Slope and Intercept
m=2
b=-1
    Points
(x0,y0)=(-1,-2)
(x1,y1)=(1,1)
    Point and Slope
(x0,y0)=(-1,-2)
m=2
    Vertical
(x0,y0)=(-1,-2)
(x1,y1)=(-1,2)
Perpendicular Lines:
First Line:
(x0,y0)=(-1,-3)
(x1,y1)=(1,1)
(two points)
    Second Line:
same (x0,y0)
slope -1/m
(point-slope)

Other Notes:
When a line is specified in slope-intercept form, the current values of x0 and x1 (the x-coordinates of the two points) are preserved -- the values of y0 and y1 are adjusted to fit the new line. Similarly, when a line is specified in point-slope form, the current value of x1 is preserved and the value of y1 is adjusted.