7.1 Vectors, Tensors and the Index Notation
Total Page:16
File Type:pdf, Size:1020Kb
Section 7.1 7.1 Vectors, Tensors and the Index Notation The equations governing three dimensional mechanics problems can be quite lengthy. For this reason, it is essential to use a short-hand notation called the index notation1. Consider first the notation used for vectors. 7.1.1 Vectors Vectors are used to describe physical quantities which have both a magnitude and a direction associated with them. Geometrically, a vector is represented by an arrow; the arrow defines the direction of the vector and the magnitude of the vector is represented by the length of the arrow. Analytically, in what follows, vectors will be represented by lowercase bold-face Latin letters, e.g. a, b. The dot product of two vectors a and b is denoted by a ⋅b and is a scalar defined by a ⋅b = a b cosθ . (7.1.1) θ here is the angle between the vectors when their initial points coincide and is restricted to the range 0 ≤ θ ≤ π . Cartesian Coordinate System So far the short discussion has been in symbolic notation2, that is, no reference to ‘axes’ or ‘components’ or ‘coordinates’ is made, implied or required. Vectors exist independently of any coordinate system. The symbolic notation is very useful, but there are many circumstances in which use of the component forms of vectors is more helpful – or essential. To this end, introduce the vectors e1 , e 2 , e3 having the properties e1 ⋅e 2 = e 2 ⋅ e3 = e3 ⋅e1 = 0, (7.1.2) so that they are mutually perpendicular, and e1 ⋅e1 = e 2 ⋅ e 2 = e3 ⋅e3 = 1, (7.1.3) so that they are unit vectors. Such a set of orthogonal unit vectors is called an orthonormal set, Fig. 7.1.1. This set of vectors forms a basis, by which is meant that any other vector can be written as a linear combination of these vectors, i.e. in the form a = a1e1 + a2e 2 + a3e3 (7.1.4) where a1 , a2 and a3 are scalars, called the Cartesian components or coordinates of a along the given three directions. The unit vectors are called base vectors when used for 1 or indicial or subscript or suffix notation 2 or absolute or invariant or direct or vector notation Solid Mechanics Part II 191 Kelly Section 7.1 this purpose. The components a1 , a2 and a3 are measured along lines called the x1 , x2 and x3 axes, drawn through the base vectors. a e3 a3 e 2 e1 a1 a2 Figure 7.1.1: an orthonormal set of base vectors and Cartesian coordinates Note further that this orthonormal system {e1 ,e 2 ,e3 } is right-handed, by which is meant e1 × e 2 = e3 (or e 2 × e3 = e1 or e3 × e1 = e 2 ). In the index notation, the expression for the vector a in terms of the components a1 , a2 ,a3 and the corresponding basis vectors e1 ,e 2 ,e3 is written as 3 a = a1e1 + a2e 2 + a3e3 = ∑ aiei (7.1.5) i=1 This can be simplified further by using Einstein’s summation convention, whereby the summation sign is dropped and it is understood that for a repeated index (i in this case) a summation over the range of the index (3 in this case3) is implied. Thus one writes a = aiei . This can be further shortened to, simply, ai . The dot product of two vectors u and v, referred to this coordinate system, is u ⋅ v = (u1e1 + u2e 2 + u3e3 )⋅ (v1e1 + v2e 2 + v3e3 ) = u1v1 (e1 ⋅e1 )+ u1v2 (e1 ⋅e 2 )+ u1v3 (e1 ⋅e3 ) + u2v1 (e 2 ⋅e1 )+ u2v2 (e 2 ⋅e 2 )+ u2v3 (e 2 ⋅e3 ) (7.1.6) + u3v1 (e3 ⋅e1 )+ u3v2 (e3 ⋅e 2 )+ u3v3 (e3 ⋅e3 ) = u1v1 + u2v2 + u3v3 The dot product of two vectors written in the index notation reads u ⋅ v = ui vi Dot Product (7.1.7) 3 2 in the case of a two-dimensional space/analysis Solid Mechanics Part II 192 Kelly Section 7.1 The repeated index i is called a dummy index, because it can be replaced with any other letter and the sum is the same; for example, this could equally well be written as u ⋅ v = u j v j or uk vk . Introduce next the Kronecker delta symbol δ ij , defined by 0, i ≠ j δ ij = (7.1.8) 1, i = j Note that δ11 = 1 but, using the index notation, δ ii = 3. The Kronecker delta allows one to write the expressions defining the orthonormal basis vectors (7.1.2, 7.1.3) in the compact form ei ⋅e j = δ ij Orthonormal Basis Rule (7.1.9) Example Recall the equations of motion, Eqns. 1.1.9, which in full read ∂σ 11 ∂σ 12 ∂σ 13 + + + b1 = ρa1 ∂x1 ∂x2 ∂x3 ∂σ 21 ∂σ 22 ∂σ 23 + + + b2 = ρa2 (7.1.10) ∂x1 ∂x2 ∂x3 ∂σ 31 ∂σ 32 ∂σ 33 + + + b3 = ρa3 ∂x1 ∂x2 ∂x3 The index notation for these equations is ∂σ ij + bi = ρai (7.1.11) ∂x j Note the dummy index j. The index i is called a free index; if one term has a free index i, then, to be consistent, all terms must have it. One free index, as here, indicates three separate equations. 7.1.2 Matrix Notation The symbolic notation v and index notation viei (or simply vi ) can be used to denote a vector. Another notation is the matrix notation: the vector v can be represented by a 3×1 matrix (a column vector): Solid Mechanics Part II 193 Kelly Section 7.1 v1 v2 v 3 Matrices will be denoted by square brackets, so a shorthand notation for this matrix/vector would be [v]. The elements of the matrix [v] can be written in the index notation vi . Note the distinction between a vector and a 3×1 matrix: the former is a mathematical object independent of any coordinate system, the latter is a representation of the vector in a particular coordinate system – matrix notation, as with the index notation, relies on a particular coordinate system. As an example, the dot product can be written in the matrix notation as v1 T = [u ][v] [u1 u2 u3 ]v2 v3 “short” matrix notation “full” matrix notation Here, the notation [u T ] denotes the 1× 3 matrix (the row vector). The result is a 1×1 matrix, ui vi . The matrix notation for the Kronecker delta δ ij is the identity matrix 1 0 0 [I] = 0 1 0 0 0 1 Then, for example, in both index and matrix notation: 1 0 0u1 u1 δ = = = ij u j ui [I][u] [u] 0 1 0u2 u2 (7.1.12) 0 0 1u3 u3 Matrix – Matrix Multiplication When discussing vector transformation equations further below, it will be necessary to multiply various matrices with each other (of sizes 3×1, 1× 3 and 3× 3). It will be helpful to write these matrix multiplications in the short-hand notation. Solid Mechanics Part II 194 Kelly Section 7.1 First, it has been seen that the dot product of two vectors can be represented by [u T ][v] or T ui vi . Similarly, the matrix multiplication [u][v ] gives a 3× 3 matrix with element form ui v j or, in full, u1v1 u1v2 u1v3 u2v1 u2v2 u2v3 u3v1 u3v2 u3v3 This operation is called the tensor product of two vectors, written in symbolic notation as u ⊗ v (or simply uv). Next, the matrix multiplication Q11 Q12 Q13 u1 ≡ [Q][u] Q21 Q22 Q23 u2 Q31 Q32 Q33 u3 is a 3×1 matrix with elements ([Q][u])i ≡ Qij u j . The elements of [Q][u] are the same as T T T T those of [u ][Q ], which can be expressed as ([u ][Q ])i ≡ u j Qij . The expression [u][Q] is meaningless, but [uT ][Q] {▲Problem 4} is a 1× 3 matrix with T elements ([u ][Q])i ≡ u j Q ji . This leads to the following rule: 1. if a vector pre-multiplies a matrix [Q] → the vector is the transpose [u T ] 2. if a matrix [Q] pre-multiplies the vector → the vector is [u] 3. if summed indices are “beside each other”, as the j in u j Q ji or Qij u j → the matrix is [Q] 4. if summed indices are not beside each other, as the j in u jQij → the matrix is the transpose, [Q T ] Finally, consider the multiplication of 3× 3 matrices. Again, this follows the “beside each other” rule for the summed index. For example, [A][B] gives the 3× 3 matrix T {▲Problem 8} ([A][B])ij = Aik Bkj , and the multiplication [A ][B] is written as T ([A ][B])ij = Aki Bkj . There is also the important identity ([A][B])T = [B T ][A T ] (7.1.13) Note also the following: Solid Mechanics Part II 195 Kelly Section 7.1 (i) if there is no free index, as in ui vi , there is one element (ii) if there is one free index, as in u j Q ji , it is a 3×1 (or 1× 3 ) matrix (iii) if there are two free indices, as in Aki Bkj , it is a 3× 3 matrix 7.1.3 Vector Transformation Rule Introduce two Cartesian coordinate systems with base vectors ei and e′i and common origin o, Fig. 7.1.2. The vector u can then be expressed in two ways: u = uiei = ui′e′i (7.1.14) x2 x2′ u1′ u2′ u ′ u2 θ x1 ′ e2 e′ 1 θ o x1 u 1 Figure 7.1.2: a vector represented using two different coordinate systems Note that the xi′ coordinate system is obtained from the xi system by a rotation of the base vectors.