Equation of a line segment in 3D?

  • Context: Undergrad 
  • Thread starter Thread starter question99
  • Start date Start date
  • Tags Tags
    3d Line
Click For Summary

Discussion Overview

The discussion revolves around the representation of a line segment in 3D Cartesian coordinates, specifically between two points: (0,0,0) and (5,5,5). Participants explore various methods to express this line segment, including parametric equations and potential inequalities.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant inquires about the existence of an equation for a line segment in 3D and whether it involves inequalities.
  • Another participant suggests that to define a segment, restrictions on the values of x, y, and z are necessary, proposing inequalities such as 0
  • There is mention of a parametric representation where a parameter t runs from 0 to 1, with x, y, and z defined as x=5t, y=5t, z=5t.
  • One participant argues that a one-dimensional figure like a line segment cannot be expressed with a single equation in three dimensions, proposing instead parametric equations or a symmetric form.
  • Another participant introduces a different parametrization involving the arctangent function, suggesting that it could cover the entire real line while still representing the segment.

Areas of Agreement / Disagreement

Participants express differing views on how to represent the line segment, with no consensus on a single method or equation. Various approaches are proposed, and the discussion remains unresolved regarding the best representation.

Contextual Notes

Some proposed methods rely on specific parameterizations and assumptions about the range of values for t, which may not be universally applicable. The discussion highlights the complexity of representing a line segment in three-dimensional space.

question99
Messages
5
Reaction score
0
Is there an equation for say a line segment in 3D Cartesian Coordinates that is between these two points?

Point One: x=0, y=0, z=0
Point Two: x=5, y=5, z=5

Does it involve inequalities?
 
Mathematics news on Phys.org
For a segment, you need to somehow restrict the allowed values of x,y,z.
So, you could require 0<x<5, 0<y<5, 0<z<5... for the line that passes through (0,0,0) and (5,5,5).
You could also do it parametrically... but that too has a restriction (which could be interpreted as an inequality.. e.g.
0<t<1, x=5t,y=5t,z=5t).

Maybe, you could so some crazy parametrization where t runs from -infinity to infinity
and asymptotically meets the end points... something akin to x=Aarctan(t),y=Barctan(t),z=Carctan(t), for all t.
 
Last edited:
A one dimensional figure, such as a line or line segment cannot be written in a single equation in three dimensions. You can write three parametric equation in a single parameter or write it in "symmetric" form.

The line through (x_1, y_1, z_1) and (x_2, y_2, z_2) can be written as
x= (x_2- x_1)t+ x_1
y= (y_2- y_1)t+ y_1
z= (z_2- z_1)t+ z_1

To write it in "symmetric" form, solve each of those for t,
t= \frac{x- x_1}{x_1- x_1}
t = \frac{y- y_1}{y_2- y_1}
t= \frac{z- z_1}{z_2- z_1}
and set them equal:
\frac{x- x_1}{x_1- x_1}= \frac{y- y_1}{y_2- y_1}= \frac{z- z_1}{z_2- z_1}
 
\vec x (t) = \vec{x}_1 + (\vec{x}_2 - \vec{x}_1)f(t) where 0 \leq f(t) \leq 1.

If say f(t) = \frac{1}{\pi}\arctan(t) + \frac{1}{2}, then you've covered the entire real line.

As for an equation, \vec{x}_1 + (\vec{x}_2 - \vec{x}_1)(\frac{1}{\pi}\arctan(t) + \frac{1}{2}) - \vec x = 0 works, yes?
 
Last edited:

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 29 ·
Replies
29
Views
3K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K