Equation of a line segment in 3D?

  • Thread starter Thread starter question99
  • Start date Start date
  • Tags Tags
    3d Line
AI Thread Summary
The discussion focuses on finding an equation for a line segment in 3D Cartesian coordinates between the points (0,0,0) and (5,5,5). It highlights that while a single equation cannot represent a one-dimensional figure in three dimensions, parametric equations can be used with restrictions on the parameter t, typically between 0 and 1. The parametric form is expressed as x = (x2 - x1)t + x1, y = (y2 - y1)t + y1, z = (z2 - z1)t + z1. Additionally, a symmetric form can be derived by equating the expressions for t from each coordinate. The discussion also explores alternative parametrizations, including those that asymptotically approach the endpoints.
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:
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Back
Top