
Two points ${P}_{1}$ and ${P}_{2}$ on a line, $L$ , determine $L$ .
$L$ can be described parametrically as the set of points with coordinates those of $\stackrel{\u27f6}{O{P}_{1}}+s*\stackrel{\u27f6}{{P}_{1}{P}_{2}}$ for some number $s$ .
$\stackrel{\u27f6}{{P}_{1}{P}_{2}}$ is a vector which points in the direction of $L$ .
In two dimensions so that the vectors here are 2vectors, there is only one direction perpendicular to
$L$
, and that direction can be obtained by switching the coordinates of
$\stackrel{\u27f6}{{P}_{1}{P}_{2}}$
and changing one sign, (thus
$(7,4)$
is perpendicular to
$(4,7)$
).
With
$\stackrel{\u27f6}{N}$
the perpendicular vector, the equation of the line becomes
$\stackrel{\u27f6}{N}\xb7\stackrel{\u27f6}{r}=\stackrel{\u27f6}{N}\xb7\stackrel{\u27f6}{{P}_{1}}$
.
We do this out explicitly $L$ consists of the points obeying
and the equation for $L$ is
which when solved for $y$ is
$y=\left(\frac{{P}_{2y}{P}_{1y}}{{P}_{2x}{P}_{1x}}\right)x+C$ for some constant $C$ .
The ratio $\left(\frac{{P}_{2y}{P}_{1y}}{{P}_{2x}{P}_{1x}}\right)$ , the coefficient of $x$ in the equation for the line, is the difference of $y$ coordinates of the two points divided by the difference in $x$ coordinates. It is called the slope of the line $L$ .
The constant $C$ is called the yintercept of the line $L$ . It is the value of $y$ on $L$ where $L$ meets the $y$ axis.
In three dimensions, a line is determined by two equations. You can describe it as above parametrically (though now all points and vectors have three components), but you must find two vectors normal to $\stackrel{\u27f6}{{P}_{1}{P}_{2}}$ to find equations that characterize it. You have infinite choice in doing so, but two convenient choices are
and
and you can require that the dot product of each of these with $\stackrel{\u27f6}{r}$ (recall $\stackrel{\u27f6}{r}=(x,y,z)$ ) is what it is with ${P}_{1}$ . This gives you two equations which together determine the line.
To find a point on a line from equations you fix one coordinate arbitrarily and solve the two equations for the other two coordinates.
The following applet allows you two enter two arbitrary points. It then shows you the line in 3 space that your points determine, and the parametric representation of that line.
Exercises 5.1 Find two equations for the default line in this applet. Then choose two random points, and find two equations for the line they lie on.
