# Line element

by Swapnil
Tags: element, line
 Share this thread:
 P: 460 A general orthogonal coordinate system (u,v,w) will have a line elemet of the form: $$ds^2 = f^2 du^2 + g^2dv^2 + h^2dw^2$$ I have done a lot of vector calculus, but for some reason I can't figure out what this means! What is a line element? I know about the differential length element and its a vector, but this is a scalar! Also, what's up with all the squares?
 P: 212 Think of it as the definition of length (the straight line) of the vector (or "line element") which is defined using components du, dv, dw. Note I'll do a lot of handwaving and putting things in quotes, since I'm being a little imprecise/crude here. Consider normal Euclidean space with the usual coordinates/basis: $$(\Delta s)^2 = (\Delta x)^2 + (\Delta y)^2 + (\Delta z)^2$$ Which basically encapsulates the pythagorian theorem and distance function, by stating the differential length between two "points" is the sum of the squares of the differential of the individual components. When dealing with such "metrics" it is useful to consider it for an "infinitesimal" element: $$ds^2 = dx^2 + dy^2 + dz^2$$ for euclidean space with the standard basis. Why is this significant? We can consider alternative spaces: $$ds^2 = - dt^2 + dx^2 + dy^2 + dz^2$$ is the metric of flat spacetime in special relativity. In other words, the "distance" between two "location-events" $$(t, x, y, z)$$ and $$(t + dt, x + dx, y + dy, z + dz)$$ is $$ds$$ Now back to your original question. What is the meaning of $$ds^2 = f^2 du^2 + g^2dv^2 + h^2dw^2$$? Well, consider: $$ds^2=dr^2+r^2 d \theta\ ^2+ r^2 \sin ^2 d \phi\ ^2$$ Which fits the form of the above, with suitable substitutions for symbols and functions for f, g, and h. This is merely euclidean space, defined exactly as I did above! The "infinitesimal" elements are in polar (or technically, spherical) coordinates and so in order to find the euclidean distance you must change the "metric" to match the change of variables, which then preserves the "nature" of the space in question.
 Sci Advisor HW Helper PF Gold P: 4,771 Here's my take on it... Take for exemple the spherical case*, where $\vec{r}=r\hat{r}$. You know that given a parametrized curve $\vec{r}(t)$, its lenght is given by $$L=\int_{t_1}^{t_2}\left\Vert\frac{d\vec{r}}{dt} \right\Vert dt$$ Well, in spherical coordinates, $$\frac{d\vec{r}}{dt} = \frac{dr}{dt}\hat{r}+r\frac{d\theta}{dt}\hat{\theta}+r\sin\theta\frac{d \phi}{dt}\hat{\phi}$$ $$\Rightarrow \left\Vert\frac{d\vec{r}}{dt} \right\Vert = \sqrt{\left(\frac{dr}{dt}\right)^2+\left(r\frac{d\theta}{dt}\right)^2+\ left(r\sin\theta\frac{d\phi}{dt}\right)^2}$$ $$\Rightarrow L=\int_{t_1}^{t_2}\sqrt{\left(\frac{dr}{dt}\right)^2+\left(r\frac{d\the ta}{dt}\right)^2+\left(r\sin\theta\frac{d\phi}{dt}\right)^2}dt$$ And now we say, let us define the line element dl by (Could we say "Let us implicitely define the function l by its total differential"?) $$dl=\sqrt{\left(\frac{dr}{dt}\right)^2+\left(r\frac{d\theta}{dt}\right)^ 2+\left(r\sin\theta\frac{d\phi}{dt}\right)^2}dt$$ $$\Rightarrow (dl)^2=\left(\frac{dr}{dt}dt\right)^2+\left(r\frac{d\theta}{dt}dt\right )^2+\left(r\sin\theta\frac{d\phi}{dt}dt\right)^2$$ But $\frac{du(t)}{dt}dt$ is the definition of the differential du. Hence, we can write, $$\Rightarrow (dl)^2=(dr)^2+(rd\theta)^2+(r\sin\theta\phi)^2$$ which is of the above form, with f=1,g=r,h=rsinO IMO, the concept of a line element is superfluous and I plain don't like it because it assumes the dt in the integral to be a "living entity" instead of an inert part of the integral notation. *the cartesian case is dull; f,g,h=1.
 P: 460 Line element Both of your guys' explanations make sense. I have one more question though. In all the texts that I have seen, they all write the length of the infinitesimal length vector like the following: $$ds^2 = f^2 du^2 + g^2dv^2 + h^2dw^2$$ Why not just write: $$ds = \sqrt{f^2 du^2 + g^2dv^2 + h^2dw^2}$$ it makes much more sense this way. Also, how does it make sense to have a square of a differential? I mean, aren't you going to get zero if you square such infinitesimal quantity? (sorry if that sounds dumb, because I have never been able to get comfortable with differentials/infinitesimals).
Sci Advisor
HW Helper
PF Gold
P: 4,771
 Quote by Swapnil Also, how does it make sense to have a square of a differential? I mean, aren't you going to get zero if you square such infinitesimal quantity? (sorry if that sounds dumb, because I have never been able to get comfortable with differentials/infinitesimals).
A differential is defined this way: If f(x) is a function differentiable at x, then the differential df is defined by

$$df=f'(x)dx$$

Notice that df is a function of the two independant variables x and dx. For a fixed x, it is the equation of a line tangeant to f at x. In several variables, df is defined analogously by

$$df=\frac{\partial f}{\partial x}dx+\frac{\partial f}{\partial y}dy$$

df is a function of the 4 independant variables (x,y,z,dx,dy). For x,y fixed, it is the equations of a plane tangeant to f(x,y). When dx,dy approach zero, df approaches f(x+dx,y+dy).

Anyway, the point is, a differential is not an infinitesimal*; it is a function, so its square is well defined.

I think this topic borders on differential geometry/differential forms, a subject I am not familar with, so there may be discrepancies in what I said. I got the info from a very basic calculus book (Stewart).

*There is a thing called non-standard analysis that introduces the field of the hyperreal as an extension to the real and in which infinitesimal numbers exists and are well defined. Non-starndard analysis is another way of doing calculus in which, I believe, dx do denote a so-called infinitesimal. (Hurkyl will be able to tell you more)
 P: 212 This is where the "hand waving" gets too vague to be really called mathematical. Notice I put "infinitesimal" in quotes; in reality, when dealing with modern analysis (excepting the "surreal numbers", etc) there are no "infinitesimals" in the traditional sense of an infinitely small number. Why $$ds^2$$?. While this isn't really an answer, let me give you an idea. The norm of a vector is (usually) defined with the dot product on itself: $$\bf{s} \cdot \bf{s} = ds^2 = dx^2 + dy^2 + dz^2$$ When dealing with traditional euclidean-style metrics (i.e., Riemannian), which forces that inner product to be positive definite(excepting zero vectors), we could take the square root of that positive quantity...but then we would be writing this: $$\sqrt{ \bf{s} \cdot \bf{s} } = ds = \sqrt{ dx^2 + dy^2 + dz^2 }$$ With square roots on both sides. Now, in cases such as relativity, the metric is not euclidean or euclidean-style at all. Rather, it is considered lorenzian, or more generally, pseudo-Riemannian, which does not enforce a condition that the inner product be positive definite; rather, it need only be nondegenerate. What does this mean? It means that vectors in the pseudo-Riemannian space can result in either a positive or negative inner product (in the language of relativity, timelike or spacelike) If we were to take the square root of this, we would get an imaginary quantity. While this may be considered just an acceptable interpretation of the mathematics, when dealing with real cases (particularly physics of general relativity) it is less than convienient. Thus, the squared quantity is somewhat preferred. You can also see this in the fact that many people choose to use the metric: $$ds^2 = - dt^2 + dx^2 +dy^2 + dz^2$$ over the perhaps more "consistant": $$ds^2 = + (i dt)^2 + dx^2 +dy^2 + dz^2$$
P: 460
 Quote by jbusc Now, in cases such as relativity, the metric is not euclidean or euclidean-style at all. Rather, it is considered lorenzian, or more generally, pseudo-Riemannian, which does not enforce a condition that the inner product be positive definite; rather, it need only be nondegenerate. What does this mean? It means that vectors in the pseudo-Riemannian space can result in either a positive or negative inner product (in the language of relativity, timelike or spacelike) If we were to take the square root of this, we would get an imaginary quantity. While this may be considered just an acceptable interpretation of the mathematics, when dealing with real cases (particularly physics of general relativity) it is less than convienient. Thus, the squared quantity is somewhat preferred.
I see. Thanks.

 Related Discussions Special & General Relativity 2 Special & General Relativity 2 Advanced Physics Homework 2 Cosmology 8 Advanced Physics Homework 2