Size of a Vector: Inner Product & Magnitude

  • B
  • Thread starter snoopies622
  • Start date
  • Tags
    Vector
In summary, the man in the YouTube video was trying to derive the Christoffel symbols for the surface of a sphere, and he got confused because he was using two coordinate systems simultaneously. The magnitude of a vector is the square root of its inner product with itself, and this is what the man in the video was trying to calculate.
  • #1
snoopies622
840
28
TL;DR Summary
How to calculate the size of a vector, confusion with basis vectors.
I'm stumbling on something rather basic here, will explain with an example. (Pardon the LaTeX problems, trying to fix..)

Suppose I have a plane, and in the plane I put the familiar (x,y) Cartesian coordinate system, and the metric is the usual Euclidean metric with [itex] ds^2 = dx ^2 + dy^2 [/itex].

Now suppose I add into this another coordinate system defined by

u=x+2y
v=x-y

and so it follows that

x=(1/3)(u + 2v)
y=(1/3)(u-v).

The basis vectors for u and v are
[itex] \vec{e}_u = < \frac {\partial x}{\partial u},\frac {\partial y}{\partial u} > ,= < 1/3 , 1/3 > [/itex]
[itex] \vec{e}_v = < \frac {\partial x}{\partial v},\frac {\partial y}{\partial v} > ,= < 2/3 , -1/3 > [/itex]
and the corresponding covectors are

[itex] \bar{e}^u = < \frac {\partial u}{\partial x},\frac {\partial u}{\partial y} > ,= < 1 , 2 > [/itex]
[itex] \bar{e}^v = < \frac {\partial v}{\partial x},\frac {\partial v}{\partial y} > ,= < 1 , -1 > [/itex].

The inner products of the basis vectors and covectors are
[itex] \vec{e}_u \cdot \bar{e}^u = < 1/3 , 1/3 > \cdot < 1 , 2 > =1 [/itex]
[itex] \vec{e}_v \cdot \bar{e}^v = < 2/3 , -1/3 > \cdot < 1 , -1 > =1 [/itex]

. . as one would expect.

My confusion is this: Isn't the magnitude of a vector equal to the square root of its inner product with itself?

[itex]
\vec {v} \cdot \vec{v} = v^a v^b g_{ab} =
v^a (v^b g_{ab}) = v^a v_a
[/itex]

This would imply that [itex] \vec{e}_u [/itex], for example, has a magnitude of 1, when clearly it's the square root of [itex] (1/3)^2 + (1/3)^2 = 2/9 [/itex].
 
Last edited:
Physics news on Phys.org
  • #2
The inner product changes, too, or better: its calculation changes! You cannot turn to ##(u,v)## coordinates and still compute angles and lengths in ##(x,y)## coordinates. Angles, lengths and the quadratic form might be invariant, its matrix is not.
 
  • #3
I should add that I thought this rule was good for a tensor of any rank — just use index gymnastics to create the "opposite" tensor and stick them together.

[tex] R^{a}_{bcd} R ^{bcd}_{a} =
[/tex]
the square of the size, or magnitude of the fourth rank tensor [itex] \bf{R} [/itex], although perhaps in cases like this there is no clear meaning to this quantity.
 
  • #4
So would you say that the size of [itex] \vec {e}_u [/itex] is 1 or the square root of 2/9? I'm guessing the latter since, as you say, vector lengths must be invariant.
 
  • #5
Yes, I'm mixing up (x,y) and (u,v) here - since I guess in (u,v) [itex] \vec{e}_u [/itex] is simply (1,0). Perhaps that's the root of my confusion.
 
  • #6
Don't ask me about coordinates, and even less about this index juggling by physicists.
What you have is ##(x,y) \longmapsto x^\tau Q y##. So we have for ##v=Sx, w=Sy##
$$
x^\tau Q y= v^\tau (S^{-1})^\tau Q S^{-1}w = v^\tau \left( \underbrace{(S^{-1})^\tau Q S^{-1}}_{=Q'} \right)w
$$
and the matrix changed from ##Q## to ##Q'##.
 
  • #7
Thanks fresh_42, that's fascinating. Will see if I can compute the inner products properly in (u,v)..
 
  • #8
fresh_42 said:
Don't ask me about coordinates, and even less about this index juggling by physicists.
@Orodruin can probably help here.
 
  • #9
snoopies622 said:
My confusion is this: Isn't the magnitude of a vector equal to the square root of its inner product with itself?

[itex]
\vec {v} \cdot \vec{v} = v^a v^b g_{ab} =
v^a (v^b g_{ab}) = v^a v_a
[/itex]

This would imply that [itex] \vec{e}_u [/itex], for example, has a magnitude of 1, when clearly it's the square root of [itex] (1/3)^2 + (1/3)^2 = 2/9 [/itex].

It is ##\sqrt{2/9}##. ##\vec e_u \cdot \vec e^u## is not the inner product of ##\vec e_u## with itself, it is the inner product between ##\vec e_u## and ##\vec e^u##, which are different vectors.
 
  • #10
I should add, what led me here was a YouTube video of a man deriving the Christoffel symbols for the surface of a sphere. He took the inner products of the basis vector derivatives with the basis covectors, and I've been trying to understand why he bothered to make sure they were covectors. Will post a link to the video when I find it..

(In that case there was again the complication of using two coordinate systems simultaneously - the phi and theta for the sphere and the (x,y,z) of the Cartesian 3-space.)
 
  • #11
If you want to treat this in a proper differential geometry fashion, you should not be using an embedding 3D space at all. All you need is the 2-dimensional description of the sphere (although you typically assume that the metric is that induced by the embedding in ##\mathbb R^3##).
 
  • #12
I agree. My interest was to show by example that the covariant derivative of a metric tensor is zero, even in a non-flat continuum. So I wanted the Christoffel symbols for the surface of a sphere. I know one can produce them using that formula with the partial derivatives of the components of the metric, but of course that assumes [itex] \nabla g = 0 [/itex] in the first place.
cs.jpg
 
  • #13
Follow up: I realize that one of the sources of my confusion has been that I've been trying to transform basis vectors in the contravariant way instead of covariantly. That they transform covariantly is puzzling to me: Since a vector is a linear combination of basis vectors, aren't basis vectors themselves vectors? Why would they be exceptional in this regard?
 

1. What is a vector?

A vector is a mathematical concept that represents a quantity that has both magnitude (size) and direction. It is commonly represented by an arrow, with the length of the arrow representing the magnitude and the direction of the arrow representing the direction.

2. What is the inner product of two vectors?

The inner product of two vectors is a mathematical operation that results in a scalar (a single number) as the output. It is also known as the dot product, and it is calculated by multiplying the corresponding components of the two vectors and adding them together.

3. How is the magnitude of a vector calculated?

The magnitude of a vector is calculated by taking the square root of the sum of the squares of its components. In other words, it is the length of the vector. This can also be thought of as the distance from the origin to the tip of the arrow representing the vector.

4. What is the relationship between the inner product and the magnitude of a vector?

The inner product of a vector with itself is equal to the square of its magnitude. In other words, the inner product and the magnitude of a vector are related by the equation: ||v||^2 = v · v.

5. How are vectors used in science?

Vectors are used in many areas of science, including physics, engineering, and mathematics. They are particularly useful in describing and analyzing physical quantities such as force, velocity, and acceleration. Vectors are also used in computer graphics and machine learning for tasks such as image recognition and data analysis.

Similar threads

  • Linear and Abstract Algebra
Replies
3
Views
293
  • Advanced Physics Homework Help
Replies
6
Views
300
  • Linear and Abstract Algebra
Replies
3
Views
981
  • Advanced Physics Homework Help
Replies
3
Views
386
  • Calculus and Beyond Homework Help
Replies
5
Views
618
  • Introductory Physics Homework Help
Replies
1
Views
127
  • Calculus and Beyond Homework Help
Replies
4
Views
688
Replies
4
Views
645
Replies
6
Views
927
Replies
1
Views
2K
Back
Top