Line through point with position vector a, parallel to vector b. λ ∈ ℝ is the parameter. Every point on the line corresponds to a unique λ.
Let the line pass through point A (position vector a) and be parallel to vector b.
For any point P (position vector r) on the line, the vector AP=r−a must be parallel to b:
r−a=λbfor some λ∈R
r=a+λb
Different values of λ give different points on the line:
- λ=0: point A itself
- λ>0: points in the direction of b from A
- λ<0: points in the opposite direction
Line through two points A(a) and B(b):
r=a+λ(b−a)=(1−λ)a+λb
Converting to Cartesian: If a=(x1,y1,z1) and b=(a,b,c), writing r=(x,y,z):
x=x1+λa,y=y1+λb,z=z1+λc
Eliminating λ: (x−x1)/a=(y−y1)/b=(z−z1)/c.