User Tools

Site Tools


math121b:tmp

Tensor Analysis for physics and engineering students

There are two ways to introduce Laplacian in curvilinear coordinate, one is following Boas, one is following the standard math language. I will present both approaches.

Curvi-linear coordinate

Definition(Smooth functions)

  • Let URnU \subset \R^n be an open set, and f:URf: U \to \R be a function. We say ff is a smooth function, if all the partial derivatives of ff exists and is smooth, that is, for all a1,,an0a_1, \cdots, a_n \geq 0, we have a1x1a1anxnanf exists and is smooth \gdef\d{\partial} \frac{\d^{a_1}}{\d x_1^{a_1}} \cdots \frac{\d^{a_n}}{\d x_n^{a_n}} f \text{ exists and is smooth}.
  • Let URnU \subset \R^n be an open set, and f:URkf: U \to \R^k be a function, i.e., f(x1,,xn)=(f1(x1,,xn),,fk(x1,,xn)), for (x1,,xn)U.f(x_1,\cdots, x_n) = \left( f_1(x_1, \cdots, x_n),\cdots, f_k(x_1, \cdots, x_n) \right), \quad \text{ for } (x_1, \cdots, x_n) \in U. We say ff is a smooth function, if each fif_i is a smooth function.

Definition(Curviliear coordinates) Let UU be an open set in Rn\R^n. A curvilinear coordinate on UU is a smooth function f=(f1,,fn):URnf=(f_1,\cdots,f_n): U \to \R^n, such that

  • ff is a bijection between UU and its image f(U)f(U)
  • and the inverse function f1:f(U)Uf^{-1}: f(U) \to U is also smooth.

Example

  1. Polar coordinate on R2\R^2. Let U=R2{(x,y)x0,y=0}U = \R^2 - \{(x,y) | x \leq 0, y = 0\} be an open subset in R2\R^2. Then f=(r,θ):U(0,)×(π,π),(x,y)(x2+y2,θ(x,y)) f=(r, \theta) : U \to (0, \infty) \times (-\pi, \pi), \quad (x,y) \mapsto (\sqrt{x^2+y^2}, \theta(x,y)) is an example of curvilinear coordinates, where θ(x,y)\theta(x,y) is the rotation angle from the direction of the positive xx axis to the ray passing through (x,y)(x,y). The inverse is given by x(r,θ)=rcosθ,y(r,θ)=rsinθ x(r,\theta) = r \cos\theta, \quad y(r,\theta) = r \sin \theta
  2. Polar coordinate on R3\R^3. Let U=R3{(x,y,z)x0,y=0}U = \R^3 - \{(x,y,z)| x \leq 0, y=0\}. We have f:U(0,)×(π,π)×(0,π),(x,y,z)(r,θ,ϕ) f: U \to (0, \infty) \times (-\pi, \pi) \times (0, \pi), \quad (x,y,z)\mapsto (r, \theta, \phi) whose inverse is given by f1:(r,θ,ϕ)(x,y,z),(x=rsin(ϕ)cosθ,y=rsin(ϕ)sin(θ),z=rcos(ϕ). f^{-1}: (r, \theta, \phi) \mapsto (x,y,z), \quad (x = r \sin(\phi) \cos\theta, \quad y = r \sin(\phi) \sin(\theta), \quad z = r \cos(\phi).

Remark The reason that we cannot take UU to be the entire R2\R^2 or R3\R^3 is because we want to have our coordinate map to be a bijection.

Notation We reserve the notation (x1,,xn)(x_1, \cdots, x_n) to be the standard Cartesian coordinate on Rn\R^n. We use notation of a pair (U,(u1,,un))(U, (u_1, \cdots, u_n)), or (U,(f1,,fn))(U, (f_1, \cdots, f_n)) for a coordinate on URnU \subset \R^n.

Tangent Vector

\gdef\b{\mathbf} \gdef\d{\partial}

Consider the n-dimensional Euclidean space Rn\R^n with basis vectors e1,,en\b e_1, \cdots, \b e_n. A vector v=v1e1++vnen\b v = v^1 \b e_1 + \cdots + v^n \b e_n has two possible meansings

  1. it can represent a location in the space Rn\R^n. You cannot add two locations (can you add New York to San Francisco?)
  2. it can represent a velocity vector (an arrow with direction and length).

In order to represent both the position and the velocity 1), we need consider the notion of a tangent vector on Rn\R^n.

Definition (Tangent vector) A tangent vector on Rn\R^n is a pair (a,v)(\b a, \b v) representing the location and velocity of a particle, where aRn\b a \in \R^n represent the position, and vRn\b v \in \R^n represent the velocity. The set of tangent vectors with the same position, say equal to a0\b a_0, forms the tangent space at a0\b a_0, Rna0={(a,v)a=a0,vRn}.\R^n|_{\b a_0} = \{ (\b a, \b v) \mid \b a = \b a_0, \b v \in \R^n \}.

Warning: Only tangent vectors standing over the same position can be added or subtracted.

Definition (Vector field) A vector field on URnU \subset \R^n is an assignment of tangent vectors v\b v to each point aU\b a \in U, such that v\b v varies smoothly with respect to a\b a.

Example(the vector field /ui\d / \d u_i) Let (U,(u1,,un))(U, (u_1, \cdots, u_n)) be a coordinate system on UU. Let pUp \in U be a point, and choose an i{1,,n}i \in \{1, \cdots, n\}. We will define a tangent vector uip\frac{\d}{\d u_i} \vert_p at pp “physically” as follows. Consider the motion of a particle on UU, describe by the following curve γ:(ϵ,+ϵ)U\gamma: (-\epsilon, +\epsilon) \to U, such that γ(0)=p\gamma(0) = p, and for t(ϵ,+ϵ)t \in (-\epsilon, +\epsilon) uj(γ(t))={uj(γ(0))jiuj(γ(0))+tj=i u_j(\gamma(t)) = \begin{cases} u_j(\gamma(0)) & j \neq i \cr u_j(\gamma(0))+t & j = i \end{cases} . Then, we define uip\frac{\d}{\d u_i} \vert_p to be the velocity of the particle at the moment t=0t=0. As we vary pUp \in U, the tangent vectors uip\frac{\d}{\d u_i} \vert_p forms a vector field, denoted as ui\frac{\d}{\d u_i}.

We sometimes denote /ui\d / \d u_i by ui\d_{u_i}.

Example(Polar coordinate (r,θ)(r,\theta)) Draw the picture for r\d_r and θ\d_\theta.

Dual Vector Space and Dual basis

Let VV be a finite dimensional vector space over R\R. We let VV^* denote the set of linear functions on VV. One can verify that VV^* is also a vector space over R\R. If dimV=n\dim V=n, then dimV=n\dim V^*=n as well.

Let e1,,ene_1, \cdots, e_n be a basis of VV, to specify an element in VV^*, we just need to specify its value on the basis elements. We define the following elements h1,,hnh_1, \cdots, h_n in VV^*: hi(ej)=δij h_i (e_j) = \delta_{ij} One can show that hih_i forms a basis of VV^*. {hi}\{h_i\} is said to be the dual basis of {ei}\{e_i\}.

There is a canonical pairing between VV and VV^*, denoted as ,:V×VR,(v,h)h(v) \langle -, -\rangle: V \times V^* \to \R, \quad (v, h) \mapsto h(v) . It is linear in both VV and VV^*, hence we can extend it to a map of ,:VVR. \langle -, - \rangle: V \otimes V^* \to \R.

Tensor algebra and Exterior Algebra

Let VV be a finite dimensional vector space over R\R. We denote the kk copies tensor product VVV \otimes \cdots \otimes V as VkV^{\otimes k}, its elements are linear combinations of terms like v1vkv_1 \otimes \cdots v_k.

\gdef\ot\otimes

Definition (Tensor Algebra T(V)T(V) ) T(V)=RVV2V3T(V) = \R \oplus V \oplus V^{2} \oplus \oplus V^{3} \oplus \cdots Given two elements T=w1wkT = w_1 \ot \cdots \ot w_k and T=v1vlT' = v_1 \ot \cdots \ot v_l, their products is defined by juxtapostion. TT=w1wkv1vl T \ot T' = w_1 \ot \cdots \ot w_k \ot v_1 \ot \cdots \ot v_l

Definition (Exterior product k(V)\wedge^k(V)) The kk-th exterior product k(V)\wedge^k(V) is the vector space consisting of linear combinations of the following terms v1vkv_1 \wedge \cdots \wedge v_k, where the expression is linear in each slot, c(v1vk)=(cv1)v2vk c \cdot (v_1 \wedge \cdots \wedge v_k) = (c v_1) \wedge v_2 \wedge \cdots \wedge v_k (v1+v1)vk=v1vk+v1vk (v_1+v_1') \wedge \cdots \wedge v_k = v_1 \wedge \cdots \wedge v_k + v_1'\wedge \cdots \wedge v_k and the expression changes signs if we swap any two slots v1vivjvk=v1vjvivk,1i<jk. v_1 \wedge \cdots \wedge v_i \wedge \cdots \wedge v_j\wedge \cdots \wedge v_k = - v_1 \wedge \cdots \wedge v_j \wedge \cdots \wedge v_i\wedge \cdots \wedge v_k, \forall 1 \leq i < j \leq k.

If we choose a basis e1,,ene_1, \cdots, e_n of VV, then for 0kn0 \leq k \leq n, the space k(V)\wedge^k(V) has a basis consisting of the following vectors ei1eik,1i1<i2<<ikn. e_{i_1} \wedge \cdots \wedge e_{i_k}, \quad 1 \leq i_1 < i_2 < \cdots < i_k \leq n. The basis vectors are labelled by size kk subset II of {1,,n}\{1, \cdots, n\}, hence we also denote the above basis vector by eIe_I.

We may consider all kV\wedge^k V together, as V=k=0dimVkV, where 0V:=R. \wedge V = \bigoplus_{k=0}^{\dim V} \wedge^k V, \quad \text{ where } \wedge^0 V:= \R. Then, we can define wedge products on V\wedge V. If A=v1vkkVA = v_1 \wedge \cdots \wedge v_k \in \wedge^k V, B=w1wllVB = w_1 \wedge \cdots \wedge w_l \in \wedge^l V, then we define the product by juxtaposition AB:=v1vkw1wlk+1V. A \wedge B := v_1 \wedge \cdots \wedge v_k \wedge w_1 \wedge \cdots \wedge w_l \in \wedge^{k+1} V.

Example on V=R3V=\R^3 Consider the 2V\wedge^2 V, its dimension is (32)=3{3 \choose 2} = 3. If we use the standard basis e1,e2,e3e_1, e_2, e_3 on VV, then we have the following basis for 2V\wedge^2 V: e1e2,e1e3,e2e3. e_1 \wedge e_2, \quad e_1 \wedge e_3, \quad e_2 \wedge e_3.

For 3V\wedge^3 V, it is one-dimensional, with e1e2e3e_1 \wedge e_2 \wedge e_3 as a basis.

There is a bijection from 2VV\wedge^2 V \to V, called “Hodge star” \star, which goes as follows: :e1e2e3,e2e3e1,e3e1e2. \star: e_1 \wedge e_2 \mapsto e_3, \quad e_2 \wedge e_3 \mapsto e_1, \quad e_3 \wedge e_1 \mapsto e_2.

Thus, we may recover our familiar cross-product v×w\b v \times \b w formula as following V×V2VV. V \times V \xrightarrow{\wedge} \wedge^2 V \xrightarrow{\star} V.

Exercise: convince yourself that vw=(vw)\b v \wedge \b w = \star(\b v \wedge \b w).

Remark : If V=R3V=\R^3, then elements of 2V\wedge^2 V are called pseudo-vectors, and elements of 3V\wedge^3 V are called pseudo-scalar.

Volume Forms and Determinant

Still, in the example of V=R3V=\R^3. Given three vectors v1,v2,v3v_1, v_2, v_3, how to compute the signed volume formed by the parallelogram P(v1,v2,v3)P(v_1, v_2, v_3) (skewed boxes) with sides v1,v2,v3v_1, v_2, v_3?

From vector calculus, we know the answer is the determinant of the 33 by 33 matrix, whose column-vectors are v1,v2,v3v_1, v_2, v_3.  Volume of P(v1,v2,v3)=det(v11v21v31v12v22v32v13v23v33) \text{ Volume of } P(v_1, v_2, v_3) = \det \begin{pmatrix} v_{11} & v_{21} & v_{31} \cr v_{12} & v_{22} & v_{32} \cr v_{13} & v_{23} & v_{33} \end{pmatrix}

Now, we have another way to express it.  Volume of P(v1,v2,v3)=v1v2v3e1e2e3 \text{ Volume of } P(v_1, v_2, v_3) = \frac{ v_1 \wedge v_2 \wedge v_3}{e_1 \wedge e_2 \wedge e_3} Indeed, since both the numerator and denominators are elements of the one-dim vector space 3V\wedge^3 V, the raio makes sense.

(constant coefficient) Metric Tensor

Let VV be an nn-dimensional vector space, assume that we have an inner product, i.e., a symmetric bilinear form (,):V×VR (-, -): V \times V \to \R such that for any vV0v \in V \neq 0, (v,v)>0(v,v) > 0. Such a space is called an nn-dimensional Euclidean vector space .

The metric tensor gg for VV is a rank-2 symmetric tensor gVVg \in V^* \otimes V^*. Just as VV^* is defined as linear function from VRV \to \R, we may interpret VVV^* \otimes V^* as bilinear functions V×VRV \times V \to \R. Under this interpretation, the metric tensor gg is the inner product (,)(-,-).

If $e_1,\cdots, \e_n$ are a ortho-normal basis of VV, and h1,,hnh_1, \cdots, h_n are the dual basis. Then we may write gg as g=i=1nhihi. g = \sum_{i=1}^n h_i \otimes h_i.

In general, for any basis e1,,ene_1, \cdots, e_n and corresponding dual basis h1,,hnh_1, \cdots, h_n, we have g=i,j=1n(ei,ej)hihj g = \sum_{i,j=1}^n (e_i, e_j) h_i \otimes h_j

Metric Tensor

1)
the use of the terminology 'velocity' is not standard in math.
math121b/tmp.txt · Last modified: 2020/01/26 17:25 (external edit)