Worked solution: vector equation of the line through (1,2,3) and (4,5,6)
Step-by-step working for this vector lines, planes and distances problem, produced and checked by the solver.
Equation of a line Answer checked
Answer
- Direction vector = difference of the two points
- Vector equation: a point plus a multiple of the direction
- Parametric form
- Check: λ = 1 gives the second point
Change the numbers and solve your own
The method in brief
- Magnitude: |a| = √(x² + y² + z²).
- Unit vector: divide each component by the magnitude.
- Line through A and B: r = a + λ(b - a).
- Plane through three points: find the normal with a cross product, then use n · r = n · a.
Full guide: Vectors in 3D: lines, planes, magnitude and distances.