A Primer on Index Notation



Similar documents
CBE 6333, R. Levicky 1. Tensor Notation.

The Matrix Elements of a 3 3 Orthogonal Matrix Revisited

Brief Review of Tensors

Vectors and Index Notation

Physics 235 Chapter 1. Chapter 1 Matrices, Vectors, and Vector Calculus

State of Stress at Point

Figure 1.1 Vector A and Vector F

Lecture 2 Matrix Operations

Introduction to Tensor Calculus

13 MATH FACTS a = The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

Introduction to Matrix Algebra

Section V.3: Dot Product

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

Torgerson s Classical MDS derivation: 1: Determining Coordinates from Euclidean Distances

Scalars, Vectors and Tensors

Vector Calculus: a quick review

F Matrix Calculus F 1

Linear Algebra Review. Vectors

Matrix Differentiation

A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form

CBE 6333, R. Levicky 1 Differential Balance Equations

Elasticity Theory Basics

Solution to Homework 2

1 Introduction to Matrices

6. Vectors Scott Surgent (surgent@asu.edu)

Lecture L3 - Vectors, Matrices and Coordinate Transformations

Vector and Tensor Algebra (including Column and Matrix Notation)

1 Vectors: Geometric Approach

Wavelet analysis. Wavelet requirements. Example signals. Stationary signal 2 Hz + 10 Hz + 20Hz. Zero mean, oscillatory (wave) Fast decay (let)

Linear Programming. March 14, 2014

Review of Vector Analysis in Cartesian Coordinates

Scalar Valued Functions of Several Variables; the Gradient Vector

The Characteristic Polynomial

DATA ANALYSIS II. Matrix Algorithms

A vector is a directed line segment used to represent a vector quantity.

Chapter 5A. Torque. A PowerPoint Presentation by Paul E. Tippens, Professor of Physics Southern Polytechnic State University

NOTES ON LINEAR TRANSFORMATIONS

Linear Algebra Notes for Marsden and Tromba Vector Calculus

5.3 The Cross Product in R 3

Notes on Determinant

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes

Similarity and Diagonalization. Similar Matrices

Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013

v w is orthogonal to both v and w. the three vectors v, w and v w form a right-handed set of vectors.

Vectors VECTOR PRODUCT. Graham S McDonald. A Tutorial Module for learning about the vector product of two vectors. Table of contents Begin Tutorial

Section 5.3. Section 5.3. u m ] l jj. = l jj u j + + l mj u m. v j = [ u 1 u j. l mj

Unit 3 (Review of) Language of Stress/Strain Analysis

Math 312 Homework 1 Solutions

Matrix Multiplication

Inner product. Definition of inner product

Mathematics Course 111: Algebra I Part IV: Vector Spaces

MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set.

STATISTICS AND DATA ANALYSIS IN GEOLOGY, 3rd ed. Clarificationof zonationprocedure described onpp

Section Inner Products and Norms

Unified Lecture # 4 Vectors

[1] Diagonal factorization

Linear Algebra: Vectors

Continued Fractions and the Euclidean Algorithm

Systems of Linear Equations

CURVE FITTING LEAST SQUARES APPROXIMATION

Math 215 HW #6 Solutions

Lecture 7. Matthew T. Mason. Mechanics of Manipulation. Lecture 7. Representing Rotation. Kinematic representation: goals, overview

Review A: Vector Analysis

Inner Product Spaces and Orthogonality

Vector and Matrix Norms

Differentiation of vectors

Vector Math Computer Graphics Scott D. Anderson

Lecture 8 : Coordinate Geometry. The coordinate plane The points on a line can be referenced if we choose an origin and a unit of 20

Linear Algebra: Determinants, Inverses, Rank

DETERMINANTS IN THE KRONECKER PRODUCT OF MATRICES: THE INCIDENCE MATRIX OF A COMPLETE GRAPH

Introduction to Matrices for Engineers

Recall that two vectors in are perpendicular or orthogonal provided that their dot

7 Gaussian Elimination and LU Factorization

AP Physics - Vector Algrebra Tutorial

5 Homogeneous systems

Solving Rational Equations

Binary Adders: Half Adders and Full Adders

APPENDIX D. VECTOR ANALYSIS 1. The following conventions are used in this appendix and throughout the book:

When the fluid velocity is zero, called the hydrostatic condition, the pressure variation is due only to the weight of the fluid.

The Singular Value Decomposition in Symmetric (Löwdin) Orthogonalization and Data Compression

9 Multiplication of Vectors: The Scalar or Dot Product

3.1. RATIONAL EXPRESSIONS

Inner products on R n, and more

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

Data Mining: Algorithms and Applications Matrix Math Review

Orthogonal Diagonalization of Symmetric Matrices

Special Theory of Relativity

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

T ( a i x i ) = a i T (x i ).

Vectors Math 122 Calculus III D Joyce, Fall 2012

Bindel, Spring 2012 Intro to Scientific Computing (CS 3220) Week 3: Wednesday, Feb 8

Structure of the Root Spaces for Simple Lie Algebras

1 VECTOR SPACES AND SUBSPACES

Notes on Symmetric Matrices

x1 x 2 x 3 y 1 y 2 y 3 x 1 y 2 x 2 y 1 0.

Use order of operations to simplify. Show all steps in the space provided below each problem. INTEGER OPERATIONS

MATH APPLIED MATRIX THEORY

a.) Write the line 2x - 4y = 9 into slope intercept form b.) Find the slope of the line parallel to part a

Transcription:

A Primer on John Crimaldi August 28, 2006 1. Index versus Index notation (a.k.a. Cartesian notation) is a powerful tool for manipulating multidimensional equations. However, there are times when the more conventional vector notation is more useful. It is therefore important to be able to easily convert back and forth between the two. This primer will use both index and vector formulations, and will adhere to the notation conventions summarized below: Vector Index Notation Notation scalar a a vector a a i tensor A A ij In either notation, we tend to group quantities into one of three categories: scalar A magnitude that does not change with a rotation of axes. vector Associates a scalar with a direction. tensor Associates a vector (or tensor) with a direction. 2. Free Indices (a) A free index appears once and only once within each additive term in an expression. In the equation below, i is a free index: a i = ɛ ijk b j c k + D ij e j (b) A free index implies three distinct equations. That is, the free index sequentially assumes the values 1, 2, and 3. Thus, a j = b j + c j implies a 1 = b 1 + c 1 a 2 = b 2 + c 2 a 3 = b 3 + c 3 1

(c) The same letter must be used for the free index in every additive term. The free index may be renamed if and only if it is renamed in every term. (d) Terms in an expression may have more than one free index so long as the indices are distinct. For example the vector-notation expression A = B T is written A ij = (B ij ) T = B ji in index notation. This expression implies nine distinct equations, since i and j are both free indices. (e) The number of free indices in a term equals the rank of the term: Notation Rank scalar a 0 vector a i 1 tensor A ij 2 tensor A ijk 3 Technically, a scalar is a tensor with rank 0, and a vector is a tensor of rank 1. Tensors may assume a rank of any integer greater than or equal to zero. You may only sum together terms with equal rank. (f) The first free index in a term corresponds to the row, and the second corresponds to the column. Thus, a vector (which has only one free index) is written as a column of three rows, a = a i = and a rank-2 tensor is written as 3. Dummy Indices A = A ij = a 1 a 2 a 3 A 11 A 12 A 13 A 21 A 22 A 23 A 31 A 32 A 33 (a) A dummy index appears twice within an additive term of an expression. In the equation below, j and k are both dummy indices: a i = ɛ ijk b j c k + D ij e j (b) A dummy index implies a summation over the range of the index: a ii a 11 + a 22 + a 33 2

(c) A dummy index may be renamed to any letter not currently being used as a free index (or already in use as another dummy index pair in that term). The dummy index is local to an individual additive term. It may be renamed in one term (so long as the renaming doesn t conflict with other indices), and it does not need to be renamed in other terms (and, in fact, may not necessarily even be present in other terms). 4. The Kronecker Delta The Kronecker delta is a rank-2 symmetric tensor defined as follows: δ ij = { 1 if i = j 0 if i j or, δ ij = 1 0 0 0 1 0 0 0 1 5. The Alternating Unit Tensor (a) The alternating unit tensor is a rank-3 antisymmetric tensor defined as follows: 1 if ijk = 123, 231, or 312 ɛ ijk = 0 if any two indices are the same 1 if ijk = 132, 213, or 321 The alternating unit tensor is positive when the indices assume any clockwise cyclical progression, as shown in the figure: 3 + 2 1 (b) The following identity is extremely useful: ɛ ijk ɛ ilm = δ jl δ km δ jm δ kl 3

6. Commutation and Association in Vector and (a) In general, operations in vector notation do not have commutative or associative properties. For example, a b b a (b) All of the terms in index notation are scalars (although the term may represent multiple scalars in multiple equations), and only multiplication/division and addition/subtraction operations are defined. Therefore, commutative and associative properties hold. Thus, and, a i b j = b j a i (a i b j )c k = a i (b j c k ) A caveat to the commutative property is that calculus operators (discussed later) are not, in general, commutative. 7. Vector Operations using (a) Multiplication of a vector by a scalar: a b = c The index i is a free index in this case. ab i = c i (b) Scalar product of two vectors (a.k.a. dot or inner product): a b = c a i b i = c The index i is a dummy index in this case. The term scalar product refers to the fact that the result is a scalar. (c) Scalar product of two tensors (a.k.a. inner or dot product): A : B = c A ij B ji = c The two dots in the vector notation indicate that both indices are to be summed. Again, the result is a scalar. 4

(d) Tensor product of two vectors (a.k.a. dyadic product): a b = C a i b j = C ij The term tensor product refers to the fact that the result is a tensor. (e) Tensor product of two tensors: A B = C A ij B jk = C ik The single dot refers to the fact that only the inner index is to be summed. Note that this is not an inner product. (f) Vector product of a tensor and a vector: a B = c a i B ij = c j Given a unit vector ˆn, we can form the vector product ˆn B = c. In the language of the definition of a tensor, we say here that then tensor B associates the vector c with the direction given by the vector ˆn. Also, note that a B B a. (g) Cross product of two vectors: Recall that a b = c ɛ ijk a j b k = c i (a 1, a 2, a 3 ) (b 1, b 2, b 3 ) = (a 2 b 3 a 3 b 2, a 3 b 1 a 1 b 3, a 1 b 2 a 2 b 1 ) Now, note that the notation ɛ ijk a j b k represents three terms, the first 5

of which is ɛ 1jk a j b k = ɛ 11k a 1 b k + ɛ 12k a 2 b k + ɛ 13k a 3 b k = ɛ 111 a 1 b 1 + ɛ 112 a 1 b 2 + ɛ 113 a 1 b 3 + ɛ 121 a 2 b 1 + ɛ 122 a 2 b 2 + ɛ 123 a 2 b 3 + ɛ 131 a 3 b 1 + ɛ 132 a 3 b 2 + ɛ 133 a 3 b 3 = ɛ 123 a 2 b 3 + ɛ 132 a 3 b 2 = a 2 b 3 a 3 b 2 (h) Contraction or Trace of a tensor (sum of diagonal terms): tr ( A ) = b A ii = b 8. Calculus Operations using Note: The spatial coordinates (x, y, z) are renamed as follows: x x 1 y x 2 z x 3 (a) Temporal derivative of a scalar field φ(x 1, x 2, x 3, t): φ t 0φ There is no physical significance to the 0 subscript. Other notation may be used. (b) Gradient (spatial derivatives) of a scalar field φ(x 1, x 2, x 3, t): φ x 1 1 φ φ x 2 2 φ φ x 3 3 φ 6

These three equations can be written collectively as φ x i i φ In vector notation, i φ is written φ or grad φ. Note that i φ is a vector (rank=1). Some equivalent notations for i φ are i φ x i φ and, occasionally, i φ φ, i (c) Gradient (spatial derivatives) of a vector field a(x 1, x 2, x 3, t): a x 1 1 a i a x 2 2 a i a x 3 3 a i These three equations can be written collectively as a i x j j a i In vector notation, j a i is written a or grad a Note that j a i is a tensor (rank=2): grad a = a i = j a i = 1a 1 1 a 2 1 a 3 2 a 1 2 a 2 2 a 3 x j 3 a 1 3 a 2 3 a 3 The index on the denominator of the derivative is the row index. Note that the gradient increases by one the rank of the expression on which it operates. (d) Divergence of a vector field a(x 1, x 2, x 3, t): div a = a = i a i = b Notice that i a i is a scalar (rank=0). Important note: The divergence decreases by one the rank of the expression on which it operates by one. It is not possible to take the divergence of a scalar. 7

(e) Curl of a vector field a(x 1, x 2, x 3, t): curl a = a = ɛ ijk j a k = b i Notice that ɛ ijk j a k is a vector (rank=1 ). Important note: The curl does not change the rank of the expression on which it operates. It is not possible to take the curl of a scalar. (f) Laplacian of a vector field a(x 1, x 2, x 3, t): 2 a ( a) = div (grad a) = i i a j = b j 9. The ordering of terms in expression involving calculus operators Index notation is used to represent vector (and tensor) quantities in terms of their constitutive scalar components. For example, a i is the i th component of the vector a. Thus, a i is actually a collection of three scalar quantities that collectively represent a vector. Since index notation represents quantities of all ranks in terms of their scalar components, the order in which these terms are written within an expression is usually unimportant. This differs from vector notation, where the order of terms in an expression is often very important. An extremely important caveat to the above discussion on independence of order is to pay special attention to operators (e.g. div, grad, curl). In particular, remember that the rules of calculus (e.g. product rule, chain rule) still apply. Example 1: x k (a i b j ) k (a i b j ) = a i k b j + b j k a i (product rule) Example 2: Show that a a whereas Thus, a = i a i = a 1 x 1 + a 2 x 2 + a 3 x 3 = a = a i i = a 1 () + a 2 () + a 3 () = x 1 x 2 x 3 i a i a i i a scalar an operator 8

10. Decomposition of a Tensor into Symmetric and Antisymmetric Parts (a) A tensor Q symmetric if it is equal to its transpose: Q ij = Q ji (b) A tensor R antisymmetric if it is equal to the negative of its transpose: R ij = R ji Note that the diagonal terms of R ij must necessarily be zero. (c) Any arbitrary tensor T may be decomposed into the sum of a symmetric tensor (denoted T (ij) ) and an antisymmetric tensor (denoted T [ij] ). T ij = T (ij) + T [ij] To show this, we start with T and then add and subtract one-half of its transpose: T ij = ( 1 T ij = T ij + 2 T ji 1 ) 2 T ji ( 1 2 T ij + 1 ) ( 1 2 T ij + 2 T ji 1 ) 2 T ji Thus, T ij = 1 2 (T ij + T ji ) + 1 } {{ } 2 (T ij T ji ) } {{ } symmetric antisymmetric T (ij) = 1 2 (T ij + T ji ) and T [ij] = 1 2 (T ij T ji ) (d) It is also possible to show that the antisymmetric component of T can be calculated as T [ij] = 1 2 ɛ ijkɛ klm T lm (e) The scalar product of any symmetric and antisymmetric tensor is zero (Proof is assigned as Problem 3). Q : R = R : Q = 0 if Q ij = Q ji and R ij = R ji 9

(f) A more general form of the previous relationship can be stated as follows. The expression A ijkl... B jklm... = 0 is equal to zero if A and B are symmetric and antisymmetric (respectively) with respect to the same indices. For example, A ijkl B jklm = 0 if A ijkl = A ikjl and B jklm = B kjlm. (The proof for this is assigned as Problem 4). 10

Problems 1. Write the following vector expressions in Cartesian : (a) a a (b) ( a ) a (c) a a (d) A : A (e) A : A T (f) curl grad div( a b) 2. Is the expression curl [ a (grad φ)] valid? Why or why not? 3. Show that Q : R = R : Q = 0 if Q is symmetric and R is antisymmetric. 4. Show that A ijkl B jklm = 0 if A is symmetric with respect to indices j and k, and B is antisymemtric with respect to j and k. Note that this is a more general version of problem 3. 5. Show that ρ u u = ρ u u + ρ u( u ) 6. Show that a i j a i = ( ) 1 2 a a 7. Show that curl (grad φ)=0 8. Show that a ( b c ) = ( a c ) b ( a b ) c 9. Show that ( a b ) ( c d ) = ( a c )( b d ) ( a d )( b c ) 10. Show that ( a ) = 0 11. Show that ( a b ) = b ( a ) a ( b ) 12. Show that ( a b ) = a( b ) + b a a b b( a ) 13. Show that if div u = 0, div v = 0, and curl w = 0 then [( u v ) w] = w [( v ) u ( u ) v] 11

14. Show that [ ( 1 2 a a ) a ( a ) ] = ( a a ) 15. Using the identity given in problem 14, show that ( a a ) = a ( a ) + ( a )( a ) ( a ) ( a) 12