GEOMETRYCoordinate GeometryMathematics Calculator
โ†’

Vector Equation of a Line

A 3D line through point rโ‚€ with direction v: r = rโ‚€ + tv. Parametric: x = xโ‚€+at, y = yโ‚€+bt, z = zโ‚€+ct. Symmetric: (xโˆ’xโ‚€)/a = (yโˆ’yโ‚€)/b = (zโˆ’zโ‚€)/c. Used in ray tracing and 3D geometry.

Concept Fundamentals
r = rโ‚€ + tv
Vector
x = xโ‚€+at, y = yโ‚€+bt, z = zโ‚€+ct
Parametric
(xโˆ’xโ‚€)/a = (yโˆ’yโ‚€)/b = (zโˆ’zโ‚€)/c
Symmetric
v = (a,b,c)
Direction

Did our AI summary help? Let us know.

t is the parameter along the line. Direction vector v can be any non-zero multiple. Symmetric form fails when a, b, or c is 0.

Key quantities
r = rโ‚€ + tv
Vector
Key relation
x = xโ‚€+at, y = yโ‚€+bt, z = zโ‚€+ct
Parametric
Key relation
(xโˆ’xโ‚€)/a = (yโˆ’yโ‚€)/b = (zโˆ’zโ‚€)/c
Symmetric
Key relation
v = (a,b,c)
Direction
Key relation

Ready to run the numbers?

Why: Vector line equations are used in ray tracing, collision detection, and 3D graphics. Parametric form is ideal for computing points on the line; symmetric form for intersection tests.

How: Given point (xโ‚€,yโ‚€,zโ‚€) and direction (a,b,c): vector form r = rโ‚€ + tv. Parametric: x = xโ‚€+at, etc. Symmetric when a,b,c โ‰  0: (xโˆ’xโ‚€)/a = (yโˆ’yโ‚€)/b = (zโˆ’zโ‚€)/c.

t is the parameter along the line.Direction vector v can be any non-zero multiple.

Run the calculator when you are ready.

Find Line EquationEnter point and direction

Sample Examples

Input

Point on Line (rโ‚€)

Direction Vector (v)

Results

Vector: r = (1, 2, 3) + t(1, 1, 1)
Parametric: x = 1 + 1t, y = 2 + 1t, z = 3 + 1t
Symmetric: (x-1)/1 = (y-2)/1 = (z-3)/1

Step-by-Step

Point rโ‚€ = (1, 2, 3)

Direction v = (1, 1, 1)

Vector form: r = rโ‚€ + tv

Parametric: x = xโ‚€ + at, y = yโ‚€ + bt, z = zโ‚€ + ct

Symmetric: (x-1)/1 = (y-2)/1 = (z-3)/1

For educational and informational purposes only. Verify with a qualified professional.

๐Ÿงฎ Fascinating Math Facts

โ†’

r = rโ‚€ + tv (vector form).

โ€” Line Equation

t

Parametric: x = xโ‚€+at, y = yโ‚€+bt, z = zโ‚€+ct.

โ€” Parametric

Key Takeaways

  • Vector form: vecr=vecr0+tvecv\\vec{r} = \\vec{r}_0 + t\\vec{v}, where rโ‚€ is a point and v is the direction vector.
  • Parametric: x=x0+at,quady=y0+bt,quadz=z0+ctx = x_0 + at,\\quad y = y_0 + bt,\\quad z = z_0 + ct.
  • Symmetric: fracxโˆ’x0a=fracyโˆ’y0b=fraczโˆ’z0c\\frac{x-x_0}{a} = \\frac{y-y_0}{b} = \\frac{z-z_0}{c} (when a,b,c โ‰  0).
  • Direction vector must be non-zero.
  • Parallel lines have proportional direction vectors.

Did You Know?

Ray tracing uses line equations to find intersections with surfaces.
Robotics uses parametric lines for motion planning.
When one direction component is zero, symmetric form has fewer terms.
Two skew lines in 3D never intersect and aren't parallel.
Physics uses these for particle trajectories.
CAD software represents edges as parametric lines.

Understanding

A line in 3D is determined by a point and a direction. The parameter t sweeps through all real numbers.

vecr=vecr0+tvecv\\vec{r} = \\vec{r}_0 + t\\vec{v}
x=x0+at,quady=y0+bt,quadz=z0+ctx = x_0 + at,\\quad y = y_0 + bt,\\quad z = z_0 + ct
fracxโˆ’x0a=fracyโˆ’y0b=fraczโˆ’z0c\\frac{x-x_0}{a} = \\frac{y-y_0}{b} = \\frac{z-z_0}{c}

Expert Tips

Normalize the direction vector for unit-speed parametrization.
Check a,b,c โ‰  0 before writing symmetric form.
Use t=0 for the given point, t=1 for point + direction.
Dot product of direction with plane normal gives line-plane angle.

FAQ

Q: What if direction vector is zero?
A: Not a valid line; need non-zero direction.
Q: Can direction have negative components?
A: Yes; it only affects which way t increases.
Q: How to find line through two points?
A: Use one point and direction = Pโ‚‚ - Pโ‚.
Q: When is symmetric form undefined?
A: When any of a,b,c is zero; omit that term.
Q: What is the difference from 2D line?
A: 3D adds z component; same parametric idea.
Q: How to check if point is on line?
A: Find t such that point = rโ‚€ + tv; solve for t.
Q: Applications in computer graphics?
A: Ray casting, clipping, path animation.

How to Use

  1. Enter point on line (xโ‚€, yโ‚€, zโ‚€).
  2. Enter direction vector (a, b, c).
  3. View vector, parametric, and symmetric forms.

Disclaimer

Direction vector must be non-zero. Symmetric form may omit terms when components are zero.

๐Ÿ‘ˆ START HERE
โฌ…๏ธJump in and explore the concept!
AI

Related Calculators