# Lines from 2 points

- Author:
- Mike May

- Topic:
- Straight Lines

This worksheet looks at lines, starting with two points and then converts the information into the various formats we have for lines.
The two points are P and Q and they can be moved by dragging.
The 2 point version of the line, or L2pt(x) is obtained by plugging in the coordinates of P and Q.
For the point slope form, or LPtSlp(x) we first need to computer the slope by finding the change in y and the change in x between the points.
For the slope-intercept form, or LSlpInt(x), we need to compute the intercept b.
For the general form of the line or LGen(x) I need to show that the change in x and y, times the values of y and x equal the result form a given point.