Enter two points, or a point and a direction, to write the equation of the line.
Write the three coordinates, like (1, 2, 3).
Write the three coordinates, like (1, 2, 3).
Try
Result
You enteredline through (1,2,3) and (4,6,8)
r=(1,2,3)+t(3,4,5)
Parametric
x=1+3t,y=2+4t,z=3+5t
Symmetric
3x−1=4y−2=5z−3
Show the work
1
Direction from two points
The line runs from P1 to P2, so the vector between them points along it. Subtract the coordinates of P1 from those of P2.
d=P2−P1=(4,6,8)−(1,2,3)=(3,4,5)
2
Vector form of a line
A line is fixed by one point on it, a, and a direction, d. Every point on the line is a plus some multiple t of d, and each value of t gives one point.
r=a+td=(1,2,3)+t(3,4,5)
3
Parametric form
Writing the vector equation one coordinate at a time gives three equations in t.
Using x=x0+td1,y=y0+td2,z=z0+td3
x=1+3t,y=2+4t,z=3+5t
4
Symmetric form
Solving each parametric equation for t and setting the three results equal removes the parameter.