You are on page 1of 197

T ensor A nalysis

for E ngineers
Second Edition

Tensor-Analysis-for-Engineers_2E_CH00_FM.indd 1 10/3/2020 10:17:02 AM


LICENSE, DISCLAIMER OF LIABILITY, AND LIMITED WARRANTY
By purchasing or using this book (the “Work”), you agree that this license grants
permission to use the contents contained herein, but does not give you the right
of ownership to any of the textual content in the book or ownership to any of the
information or products contained in it. This license does not permit uploading of the
Work onto the Internet or on a network (of any kind) without the written consent of
the Publisher. Duplication or dissemination of any text, code, simulations, images,
etc. contained herein is limited to and subject to licensing terms for the respective
products, and permission must be obtained from the Publisher or the owner of the
content, etc., in order to reproduce or network any portion of the textual material (in
any media) that is contained in the Work.
Mercury Learning and Information (“MLI” or “the Publisher”) and anyone
involved in the creation, writing, or production of the companion disc, accompanying
algorithms, code, or computer programs (“the software”), and any accompanying Web
site or software of the Work, cannot and do not warrant the performance or results
that might be obtained by using the contents of the Work. The author, developers,
and the Publisher have used their best efforts to insure the accuracy and functionality
of the textual material and/or programs contained in this package; we, however,
make no warranty of any kind, express or implied, regarding the performance of
these contents or programs. The Work is sold “as is” without warranty (except for
defective materials used in manufacturing the book or due to faulty workmanship).
The author, developers, and the publisher of any accompanying content, and anyone
involved in the composition, production, and manufacturing of this work will not be
liable for damages of any kind arising out of the use of (or the inability to use) the
algorithms, source code, computer programs, or textual material contained in this
publication. This includes, but is not limited to, loss of revenue or profit, or other
incidental, physical, or consequential damages arising out of the use of this Work.
The sole remedy in the event of a claim of any kind is expressly limited to replacement
of the book, and only at the discretion of the Publisher. The use of “implied warranty”
and certain “exclusions” vary from state to state, and might not apply to the purchaser
of this product.

Tensor-Analysis-for-Engineers_2E_CH00_FM.indd 2 10/3/2020 10:17:02 AM


T ensor A nalysis
for E ngineers
Transformations-Mathematics-Applications
Second Edition

Mehrzad Tabatabaian, PhD, PEng

MERCURY LEARNING AND INFORMATION


Dulles, Virginia
Boston, Massachusetts
New Delhi

Tensor-Analysis-for-Engineers_2E_CH00_FM.indd 3 10/3/2020 10:17:04 AM


Copyright © 2021 by Mercury Learning and Information LLC. All rights reserved.

This publication, portions of it, or any accompanying software may not be reproduced in any
way, stored in a retrieval system of any type, or transmitted by any means, media, electronic display
or mechanical display, including, but not limited to, photocopy, recording, Internet postings, or
scanning, without prior permission in writing from the publisher.

Publisher: David Pallai


Mercury Learning and Information
22841 Quicksilver Drive
Dulles, VA 20166
info@merclearning.com
www.merclearning.com
(800) 232-0223

M. Tabatabaian. Tensor Analysis for Engineers: Transformations-Mathematics-Applications, Second


Edition.
ISBN: 978-1-68392-601-6

The publisher recognizes and respects all marks used by companies, manufacturers, and developers
as a means to distinguish their products. All brand names and product names mentioned in this book
are trademarks or service marks of their respective companies. Any omission or misuse (of any kind) of
service marks or trademarks, etc. is not an attempt to infringe on the property of others.

Library of Congress Control Number: 2020946631

202122321  This book is printed on acid-free paper in the United States of America.

Our titles are available for adoption, license, or bulk purchase by institutions, corporations, etc. For
additional information, please contact the Customer Service Dept. at 800-232-0223(toll free).

All of our titles are available in digital format at www.academiccourseware.com and other digital vendors.
The sole obligation of Mercury Learning and Information to the purchaser is to replace the book,
based on defective materials or faulty workmanship, but not based on the operation or functionality of
the product.

Tensor-Analysis-for-Engineers_2E_CH00_FM.indd 4 10/3/2020 10:17:04 AM


To my teachers and mentors
for their invaluable transfer of knowledge and direction.

Tensor-Analysis-for-Engineers_2E_CH00_FM.indd 5 10/3/2020 10:17:04 AM


Tensor-Analysis-for-Engineers_2E_CH00_FM.indd 6 10/3/2020 10:17:04 AM
CONTENTS
Prefacexi
About the Author xiii

Chapter 1: Introduction 1
1.1 Index Notation—The Einstein Summation Convention 2
Chapter 2: Coordinate Systems Definition 3
Chapter 3: Basis Vectors and Scale Factors 5
Chapter 4: Contravariant Components and Transformations 9
Chapter 5: Covariant Components and Transformations 13
Chapter 6: Physical Components and Transformations 15
Chapter 7: Tensors—Mixed and Metric 17
Chapter 8: Metric Tensor Operation on Tensor Indices 21
8.1  Example: Cylindrical Coordinate Systems 23
8.2  Example: Spherical Coordinate Systems 25
Chapter 9: Dot and Cross Products of Tensors 29
9.1 Determinant of an N × N Matrix Using
Permutation Symbols 34
Chapter 10: Gradient Vector Operator—Christoffel Symbols 35
10.1 Covariant Derivatives of Vectors—Christoffel
Symbols of the 2nd Kind 35
10.2  Contravariant Derivatives of Vectors 39
10.3  Covariant Derivatives of a Mixed Tensor 40
10.4 Christoffel Symbol Relations and
Properties—1st and 2nd Kinds 41

Tensor-Analysis-for-Engineers_2E_CH00_FM.indd 7 10/3/2020 10:17:04 AM


viii • Contents

Chapter 11: Derivative Forms—Curl, Divergence, Laplacian 51


11.1  Curl Operations on Tensors 51
11.2 Physical Components of the Curl of
Tensors—3D Orthogonal Systems 54
11.3 Divergence Operation on Tensors 55
11.4  Laplacian Operations on Tensors 57
11.5  Biharmonic Operations on Tensors 58
11.6 Physical Components of the Laplacian of
a Vector—3D Orthogonal Systems 59
Chapter 12: Cartesian Tensor Transformation—Rotations 65
12.1  Rotation Matrix 67
12.2 Equivalent Single Rotation: Eigenvalues and
Eigenvectors67
Chapter 13: Coordinate Independent Governing Equations 75
13.1 The Acceleration Vector—Contravariant Components 76
13.2 The Acceleration Vector—Physical Components 78
13.3 The Acceleration Vector in Orthogonal
Systems—Physical Components 79
13.4 Substantial Time Derivatives of Tensors 82
13.5 Conservation Equations—Coordinate
Independent Forms 85
Chapter 14: Collection of Relations for Selected Coordinate
Systems89
14.1  Cartesian Coordinate System 89
14.2  Cylindrical Coordinate Systems 91
14.3  Spherical Coordinate Systems 93
14.4  Parabolic Coordinate Systems 96
14.5 Orthogonal Curvilinear Coordinate Systems 98
Chapter 15: Rigid Body Rotation: Euler Angles, Quaternions,
and Rotation Matrix 103
15.1  Active and Passive Rotations 104
15.2  Euler Angles 107

Tensor-Analysis-for-Engineers_2E_CH00_FM.indd 8 10/3/2020 10:17:04 AM


Contents • ix

15.3  Categorizing Euler Angles 113


15.4  Gimbal Lock-Euler Angles Limitation 121
15.5 Quaternions-Applications for Rigid Body Rotation 123
15.6  From a Given Quaternion to Rotation Matrix 135
15.7  From a Given Rotation Matrix to Quaternion 138
15.8  From Euler Angles to a Quaternion 139
15.9  Putting It All Together 140
Chapter 16: Worked-out Examples 143
16.1 Example: Einstein Summation Conventions 143
16.2 Example: Conversion from Vector to Index
Notations144
16.3 Example: Oblique Rectilinear Coordinate Systems 145
16.4 Example: Quantities Related to Parabolic
Coordinate System 149
16.5 Example: Quantities Related to Bi-Polar
Coordinate Systems 152
16.6 Example: Application of Contravariant Metric
Tensors155
16.7 Example: Dot and Cross Products in Cylindrical and
Spherical Coordinates 155
16.8 Example: Relation between Jacobian and
Metric Tensor Determinants 157
16.9 Example: Determinant of Metric Tensors Using
Displacement Vectors 158
16.10 Example: Determinant of a 4 × 4 Matrix
Using Permutation Symbols 159
16.11  Example: Time Derivatives of the Jacobian 159
16.12 Example: Covariant Derivatives of a Constant Vector 160
16.13 Example: Covariant Derivatives of Physical
Components of a Vector 161
16.14 Example: Continuity Equations in Several
Coordinate Systems 161
16.15  Example: 4D Spherical Coordinate Systems 162

Tensor-Analysis-for-Engineers_2E_CH00_FM.indd 9 10/3/2020 10:17:04 AM


x • Contents

16.16 Example: Complex Double Dot-Cross Product


Expressions165
16.17 Example: Covariant Derivatives of Metric Tensors 166
16.18 Example: Active Rotation Using Single-Axis and
Quaternions Methods 166
16.19 Example: Passive Rotation Using Single-Axis
and Quaternions Methods 168
16.20 Example: Successive Rotations Using
Quaternions Method 170
Chapter 17: Exercise Problems 171

References 177
Index 179

Tensor-Analysis-for-Engineers_2E_CH00_FM.indd 10 10/3/2020 10:17:04 AM


PREFACE
This is the second edition of the published textbook: Tensor Analysis for
Engineers. In this edition, we expand the content on the rigid body rota-
tion and Cartesian tensors by including Euler angles and quaternions meth-
ods. In addition to the rotation matrix method, presented in the first edition
and included in this edition, we collect all three methods in this volume of
the textbook. In this edition, the quaternions and their algebraic calculation
rules are presented. We also discuss the active and passive rotations and pre-
sent several worked-out examples using the Euler angles and quaternions
methods applications and their interrelations. The problem of gimbal lock is
also analyzed and presented with detailed worked out examples. Additional
references have been included in the second edition.
In engineering and science, physical quantities are often represented
by mathematical functions, namely tensors. Examples include tempera-
ture, pressure, force, mechanical stress, electric/magnetic fields, velocity,
­enthalpy, entropy, etc. In turn, tensors are categorized based on their rank,
i.e. rank zero, one, and so forth. The so-called scalar quantities (e.g., tem-
perature) are tensors of rank zero. Likewise, velocity and force are tensors
of rank one and mechanical stress and gradient of velocity are tensors of
rank two. In Euclidean space, which could be of dimension N = 3, 4, ..., we
can define several coordinate systems for our calculation and measurement
of physical quantities. For example, in a 3D space, we can have ­Cartesian,
­cylindrical, and spherical coordinate systems. In general, we prefer defining
a coordinate system whose coordinate surfaces (where one of the ­coordinate
variables is invariant or remains constant) match to the physical problem
geometry at hand. This enables us to easily define the boundary condi-
tions of the physical problem to the related governing equations, written
in terms of the selected coordinate system. This action requires transfor-
mation of the tensor quantities and their related derivatives (e.g., gradient,

Tensor-Analysis-for-Engineers_2E_CH00_FM.indd 11 10/3/2020 10:17:04 AM


xii • Preface

curl, ­divergence) from Cartesian to the selected coordinate system or vice


versa. The topic of tensor analysis (also referred to as “tensor calculus” or
“Ricci’s calculus” since originally developed by Ricci, 1835–1925, [1], [2]), is
mainly engaged with the definition of tensor-like quantities and their trans-
formation among coordinate systems and others. The topic provides a set of
mathematical tools which enables users to perform transformation and cal-
culations of tensors for any well-defined coordinate systems in a systematic
way—it is a “machine.” The merit of tensor analysis is to provide a systematic
mathematical formulation to derive the general form of the governing equa-
tions for arbitrary coordinate systems.
In this book, we aim to provide engineers and applied scientists the tools
and techniques of tensor analysis for applications in practical problem solv-
ing and analysis activities. The geometry is limited to the Euclidean space/
geometry, where the Pythagorean Theorem applies, with well-defined Car-
tesian coordinate systems as the reference. We discuss quantities defined in
curvilinear coordinate systems, like cylindrical, spherical, parabolic, etc., and
present several examples and coordinates sketches with related calculations.
In addition, we listed several worked-out examples for helping the readers
with mastering the topics provided in the prior sections. A list of exercises is
provided for further practice for readers.

 Mehrzad Tabatabaian, PhD, PEng


 Vancouver, BC
 September 30, 2020

Tensor-Analysis-for-Engineers_2E_CH00_FM.indd 12 10/3/2020 10:17:04 AM


ABOUT THE AUTHOR
Dr. Mehrzad Tabatabaian is a faculty member at the Mechanical Engineering
Department, School of Energy at BCIT. He has several years of teaching
and industry experiences. In addition to teaching courses in mechanical
engineering, he performs research on renewable energy systems and
modelling. Dr. Tabatabaian is currently Chair of the BCIT School of Energy
Research Committee. He has published several papers in scientific journals
and conferences, and he has written textbooks on multiphysics and turbulent
flow modelling, advanced thermodynamics, tensor analysis, and direct
energy conversion. He holds several registered patents in the energy field.
Recently, Dr. Tabatabaian volunteered to help establish the Energy
Efficiency and Renewable Energy Division (EERED), a new division at
Engineers and Geoscientists British Columbia (EGBC).
Mehrzad Tabatabaian received his BEng from Sharif University of
Technology and advanced degrees from McGill University (MEng and
PhD). He has been an active academic, professor, and engineer in leading
alternative energy, oil, and gas industries. Mehrzad has also a Leadership
Certificate from the University of Alberta and holds an EGBC P.Eng. license.

Tensor-Analysis-for-Engineers_2E_CH00_FM.indd 13 10/3/2020 10:17:04 AM


Tensor-Analysis-for-Engineers_2E_CH00_FM.indd 14 10/3/2020 10:17:04 AM
CHAPTER

1
INTRODUCTION

Physical quantities can be represented mathematically by t­ ensors. In further


sections of this book we will define tensors more rigorously; however, for the
introduction we will use this definition. An example of a tensor-like quantity
is the temperature in a room (which could be a function of space and time)
expressed as a scalar, a tensor of rank zero. Wind velocity is another example,
which can be defined when we know both its magnitude and speed—a scalar
­quantity—and its direction. We define velocity as a vector or a t­ ensor of rank
one. Scalars and vectors are familiar quantities to us and we encounter them
in our daily life. However, there are quantities, or tensors of rank two, three,
or higher that are normally dealt with in technical engineering computa-
tions. Examples include mechanical stress in a continuum, like the wall of a
pressure vessel—a tensor of rank two—the modulus of elasticity or viscosity
in a fluid—tensors of rank four—and so on.
Engineers and scientists calculate and analyze tensor quantities, including
their derivatives, using the laws of physics, mostly in the form of govern-
ing equations related to the phenomena. These laws must be expressed in
an objective form as governing equations, and not subjected to the coor-
dinate system considered. For example, the amount of internal stress in a
continuum should not depend on what coordinate system is used for calcu-
lations. Sometimes tensors and their involved derivatives in a study must be
transformed from one coordinate system to another. Therefore, to satisfy
these ­technical/engineering needs, a mathematical “machine” is required to
perform these operations accurately and systematically between arbitrary
coordinate systems. Furthermore, the communication of technical compu-
tations requires precise definitions for tensors to guarantee a reliable level
of standardization, i.e., identifying true ­tensor quantities from apparently

Tensor-Analysis-for-Engineers_2E_CH01.indd 1 10/3/2020 10:18:04 AM


2 • Tensor Analysis for Engineers, 2E

tensor-like or non-tensor ones. This machine is called tensor analysis [2],


[3], [4], [5], [6], [7].
The subject of tensor analysis has two major parts: a) definitions and proper-
ties of tensors including their calculus, and b) rules of transformation of ten-
sor quantities among different coordinate systems. For example, consider
again the wind velocity vector. By using tensor analysis, we can show that this
quantity is a true tensor and transform it from a Cartesian coordinate system
to a spherical one, for example. A major outcome of tensor analysis is having
general relations for gradient-like operations in arbitrary coordinate systems,
including gradient, curl, divergence, Laplacian, etc. which appear in many
governing equations in engineering and science. Using tensor notation and
definitions, we can write theses governing equations in explicit coordinate-­
independent forms.

1.1 INDEX NOTATION—THE EINSTEIN SUMMATION


CONVENTION
Writing expressions containing tensors could become cumbersome, especially
when higher ranked tensors and higher dimensional space are involved. For
example, we usually use hatted arrow symbol for vectors (like A) and bold-
font symbols for second rank tensors (like A). But this approach is very lim-
ited for expressing, for example, the modulus of elasticity, a 4th ranked tensor.
Another limitation shows up when writing the components  of a tensor in
N -­dimension space. For example, in 3D we write vector A in a Cartesian coor-
 3    
dinate system as A = ∑Ai Ei = A1 E1 + A2 E2 + A3 E3 , where Ai is the compo-
 1
nent and Ei the unit vector. Taking this approach for N -dimension space and
carrying the summation symbol (i.e., Σ) is cumbersome and seems unnecessary.
The Einstein summation convention allows us to dispose of the summa-
tion symbol, if we carry summation operation for repeated indices in prod-
uct-type expressions (unless otherwise specified). Using this approach, we
     
can write A = Ai Ei and a tensor of rank 4, for example, as T = Tijkl Ei E j Ek El ,
with all ­indices range for 1 to N. In practice, however, we even ignore ­writing
the unit vectors and just use the component representing the original t­ ensor;
hence
 this method is also referred to as component or index notation, or
A ≡ Ai and T ≡ Tijkl . In addition, we represent a tensor’s rank by the n
­ umber
of free (i.e., not repeated) indices. We use these definitions and ­conventions
­throughout this book.

Tensor-Analysis-for-Engineers_2E_CH01.indd 2 10/3/2020 10:18:08 AM


CHAPTER

2
COORDINATE SYSTEMS
DEFINITION

For measuring and calculating physical quantities associated with geometrical


points in space we require coordinate systems for reference. These systems
(for example, in a 3D space) are composed of surfaces that mutually
intersect to specify a geometrical point. For reference, an ideal system of
coordinates called a Cartesian system is defined, in Euclidean space, such
that it composes of three flat planes. These planes are considered by default
to be mutually perpendicular to each other to form an orthogonal Cartesian
system. In general, the orthogonality is not required to form a coordinate
system—this kind of coordinate system is an oblique or slanted system.
A Cartesian coordinate system, although ideal, is central to engineering
and scientific calculations, since it is used as the reference compared to
other coordinate systems. It also has properties, as will be shown in further
sections, that enable us to calculate the values of tensors [3].
For practical purposes, sometimes it is more convenient to consider curved
planes instead of flat ones in a coordinate system. For example, for cases
when a cylindrical or a spherical water or an oil tank is involved, we prefer
that all or some of coordinate surfaces match the geometry of the tank. For
a cylindrical coordinate system, we consider the Cartesian system again but
replace one of its planes with a cylinder, whereas for a spherical system we
replace two flat planes with a sphere and a cone.

Tensor-Analysis-for-Engineers_2E_CH02.indd 3 10/3/2020 10:19:06 AM


4 • Tensor Analysis for Engineers, 2E

FIGURE 2.1  Sketches of Cartesian, Cylindrical, and Spherical coordinate systems.

Many other coordinate systems are defined/used in practice such as


­parabolic, bi-spherical, etc. Figure 2.1 shows some examples of common
coordinate systems. Animations of the coordinates shown in Figure 2.1 are
provided in the accompanying files.
For organizing the future usage of symbols for arbitrary coordinate systems
we define coordinate variables with superscripted letters, for reasons that
will be explained in further sections. For Cartesian systems we use yi and
for other arbitrary systems we use x i —note that i is merely an index, not a
raised power. For example, in a 3D space we have y1 ≡ X , y2 ≡ Y, and y3 ≡ Z
where ( X , Y, Z ) are common notations for Cartesian coordinates. In general,
for N dimensional systems we have

 yi ≡ ( y1 , y2 , y3 ,, yN ) Cartesian coordinates


 i 2.1
 x ≡ ( x , x , x ,, x ) arbitrary coordinates
1 2 3 N

In this book, we limit the geometry to that known as Euclidean geometry [2], [4],
[5]. Therefore, curved space geometry (i.e., Riemann geometry), space-time,
and discussions of General Relativity are not included. However, curvilinear
coordinate systems and oblique non-orthogonal systems are covered, where
applicable, and defined with reference to Euclidean geometry/space.

Tensor-Analysis-for-Engineers_2E_CH02.indd 4 10/3/2020 10:19:10 AM


CHAPTER

3
BASIS VECTORS AND
SCALE FACTORS

For the measurement of quantities we need to define metrics or scales in


whatever coordinate system we use. These scales are, usually, vectors defined
at a point (such as the origin) and are tangent to the coordinate surfaces at
that point. These vectors
 are called basis vectors. For Cartesian system yi we
define basis vector Ei (see Figure 3.1). Note that subscript i (i.e., i = 1,2,, N)
is merely an index and the reason why we used it as a subscript for basis
­vectors willbe
 explained in a further section. Now, considering an incremen-
tal vector ds , from point P to neighboring point P′ , we define the direc-

tion of the basis vector as moving from P to P′ or Ei = yi P → yi + dyi P′ .
 
For example, E1 = y1 P → y1 + dy1 P′. Now we define the magnitude of Ei
such that the magnitude of distance from P to P′ is given as

ds ( i ) = dyi Ei 3.1

Also, we can get the distance = PP′ ds = ( i ) dyi in a Cartesian coordinate



system. Therefore, the basis vectors magnitude is unity, or Ei = 1 . In
other words, the basis vectors in Cartesian system have unit lengths and
  
are ­well-known unit vectors (usually represented by i , j, k ). This is more
than a trivial result and as shown in further sections, enables us to calculate/­
measure quantities in other coordinate systems  with reference to the
Cartesian ­system. The directed distance vector ds is given as
 N i  
= ds ∑ =dy Ei dyi Ei 3.2
i =1

Tensor-Analysis-for-Engineers_2E_CH03.indd 5 10/3/2020 10:19:31 AM


6 • Tensor Analysis for Engineers, 2E


The magnitude of this vector is the square root of the dot-product of ds with
itself,
    
ds = ds ⋅ ds = dyi dy j Ei ⋅ E j 3.3


FIGURE 3.1  A Cartesian system with unit vectors and an incremental vector ds.

Assuming the Pythagorean theorem holds in Euclidean space we have



=ds =
dyi dyi ∑ ( dy ) i 2
3.4
i

From Equations 3.3 and 3.4, we can conclude that

  1 for i = j
Ei ⋅ E j =
 3.5
 0 for i ≠ j
Which also shows that the basis/unit vectors in Cartesian system yi are mutu-
ally perpendicular or the system is orthogonal, as defined.
Now we assume an arbitrary system x i, which may be neither rectilinear
nor orthogonal (see Figure 3.2). In this system the distance between
 two
points—say P and P′—is the same when considering the vector ds . In other
words, the vector components in system x i compared to those in system yi
could change along with the basis vector corresponding to system x i such
that the vector itself remains the same, or as an invariant. This requirement
is simply a statement of independence of physical quantities (and the laws of
nature) regardless of the coordinate system we consider for calculation and
analysis. Therefore, we have
 i

= ds dx = ei dyi Ei 3.6

Tensor-Analysis-for-Engineers_2E_CH03.indd 6 10/3/2020 10:19:33 AM


Basis Vectors and Scale Factors • 7


where ei is the basis vector corresponding to system x i. In general the basis

vector ei can vary, both in magnitude and/or direction, from point to point
in space. Also, the dx i may be dimensionless, like the angle coordinate in a
polar coordinate system.

FIGURE 3.2  Sketches of a curvilinear coordinate system and basis vectors1.


The magnitude of basis vector ei is the scale factor hi, or

hi = ei 3.7

Note that hi is unity for a Cartesian coordinate system and may be d
­ ifferent
from unity in general curvilinear systems. We will derive formulae for
the calculation of hi in an arbitrary coordinate system in further sections.

The unit vector e ( i ) can be defined as

 ei
e ( i) = ( no summation on i ) 3.8
hi
Obviously, in a Cartesian system the unit vectors and the basis vectors are
identical, since hi is unity.

1
  Common copyright (cc), https://commons.m.wikimedia.org/wiki/File:Vector_1-form.
svg#mw-jump-to-license

Tensor-Analysis-for-Engineers_2E_CH03.indd 7 10/3/2020 10:19:34 AM


Tensor-Analysis-for-Engineers_2E_CH03.indd 8 10/3/2020 10:19:34 AM
CHAPTER

4
CONTRAVARIANT
COMPONENTS AND
TRANSFORMATIONS

For transformations between systems x i and Cartesian yi , we must have the


functional relationships between their coordinate variables. For example,

x i = Fi ( y1 , y2 ,, yN )4.1
gives N number of functions transforming yi to x i system. Inversely [4], we
can transform from x i to yi system using function Gi given as

yi = Gi ( x1 , x2 ,, x N ) 4.2
For example, for a 2D polar coordinate system, ( r ,θ ) ≡ ( x1 , x2 ) with refer-
ence to Cartesian system ( X , Y ) ≡ ( y1 , y2 ) we have

 X = r cosθ  y = x cos ( x )
1 1 2

 ≡ 2 . Or inversely,
Y = r sin θ  y = x sin ( x )
1 2

 1
( y1 ) + ( y2 )
2 2
r
= X2 + Y2 =  x
 
 −1  Y 
≡  y2  .
θ = tan    x2 = tan −1  1 
 X  y 

Tensor-Analysis-for-Engineers_2E_CH04.indd 9 10/3/2020 10:19:53 AM


10 • Tensor Analysis for Engineers, 2E

Now by taking partial derivatives of Gi (see Equation 4.2) we can relate


i
the differentials dyi , in a Cartesian system, to dx in an arbitrary coordinate
­system as
∂yi j
dyi = dx 4.3
∂x j
∂y1 1 ∂y1 2
For example, after expanding Equation 4.3 for i = 1 we get, dy
= 1
dx + 2 dx + 
∂x1 ∂x
∂y1 1 ∂y1 2 ∂y1 N ∂yi
=
dy1
dx + dx +  + dx . The transformation coefficient can be
∂x1 ∂x2 ∂x N ∂x j
 ∂y1 ∂y1 
 1  
∂x ∂x N 
∂yi 
written in matrix form as j =     . The determinant of the
∂x  N 
 ∂y 
∂yN 
 ∂x1 ∂x N 
transformation coefficient matrix is defined as the Jacobian of the transfor-
mation, or
∂y1 ∂y1

∂ ( y1 , y2 ,, yN ) ∂x1 ∂x N
= =    4.4
∂ ( x1 , x2 ,, x N )
∂yN ∂yN

∂x1 ∂x N

The Jacobian can be interpreted as the density of the space. In other words,
let’s say that we have  = 5 for a given system x i . This means that we have
packed 5 units of Cartesian space into a volume in x i space through trans-
formation from Cartesian to the given system. The smaller the Jacobian, the
smaller the space density would be and vice versa.
Similarly, we can use function Fi (see Equation 4.1) to have

∂x i
dx i = dy j4.5
∂y j
It can be shown [4], [2], that the determinant of transformation coefficient
∂x i
is the inverse of  , or
∂y j

Tensor-Analysis-for-Engineers_2E_CH04.indd 10 10/3/2020 10:19:55 AM


Contravariant Components and Transformations • 11

∂x1 ∂x1

∂y1 ∂yN
∂ ( x1 , x2 ,, x N )
−1
= =    4.6
∂ ( y1 , y2 ,, yN )
∂x N
∂x N

∂y1 ∂yN 

Equations 4.3 and 4.5 show a pattern for the transformation of differentials
dyi and dx i, respectively. That is, the partial derivatives of the c­ orresponding
coordinates appear in the numerator of the transformation coefficient.
Nevertheless, one can ask: does this pattern maintain for general system-to-
system transformation? The short answer is “yes” [7]. Hence, for arbitrary
systems x i and x′i we have

∂x i ∂x′i j
=dx i = dx′ j
and dx′ i
dx 4.7
∂x′ j ∂x j
Any quantity, say A i, that transforms according to Equation 4.7 is defined as
a contravariant type, with the standard notation of having the index i as a
superscript. Therefore, transformation A i  A′i reads

∂x′i j ∂x j i
=A′i = A and A j
A′ 4.8
∂x j ∂x′i
Obviously, performing the related calculations requires the functional
relations between the two systems, i.e., x i = func ( x′1 , x′2 ,, x′N ) or
x′i = func ( x1 , x2 ,, x N ) . This in turn requires having the Cartesian system
as a reference for calculating the values of A j or A′i, since x i and x′i are arbi-
i
trary. For example, transforming A directly from a spherical to a cylindrical
system requires having the functional relations between these coordinates
with reference to the Cartesian system as the main reference.
The contravariant component of a vector has a geometrical meaning as well.
To show this, we consider a rectilinear non-orthogonal system ( x1 , x2 ) in 2D,
as shown in Figure 4.1. The components of vector A can be obtained by
drawing parallel lines to the coordinates x1 and x2 to find contravariant com-
ponents A1 and A2, respectively.

Tensor-Analysis-for-Engineers_2E_CH04.indd 11 10/3/2020 10:19:57 AM


12 • Tensor Analysis for Engineers, 2E

FIGURE 4.1  Contravariant components of a vector in an oblique coordinate system.

With reference to Figure 4.1, we can also find another set of components,
A1 and A2 of the same vector A by drawing perpendicular lines to the
­coordinates x1 and x2 . This is shown in Figure 4.2. Obviously, components
A1 and A2 are different in magnitude from the contravariant components.
We define A1 and A2 as covariant components. In the next section we define
the transformation rule for covariant quantities.

FIGURE 4.2  Covariant components of a vector in an oblique coordinate system.

We can conclude from these definitions that contravariant and covariant


components of a vector in a Cartesian system are identical and there is no
distinction between them.

Tensor-Analysis-for-Engineers_2E_CH04.indd 12 10/3/2020 10:19:58 AM


CHAPTER

5
COVARIANT COMPONENTS
AND TRANSFORMATIONS

We use the standard notation of writing the index i as a subscript for



­covariant quantities. We consider basis vector ei as a covariant quantity.
We can rewrite Equation 3.6, considering two arbitrary systems x j and x′k

and the fact that ds is coordinate-system independent or invariant, as
  
= ds dx= ′k e′k dx j e j 5.1

 ∂x j 
After substituting for dx j , using Equation 4.7, we get dx′k e′k = k dx′k e j or
∂x′
 ∂x j  
dx′k  e′k − k e j  =
0 5.2
 ∂x′ 

Since dx′k is arbitrary (i.e., the relation is valid for any choice of system
x′k and selections
=
of dx′k i ≠ 0 and dx′k ≠ i =
0 , for all values of i = 1,2,, N )
therefore the expression in the bracket must be equal to zero, or we have

 ∂x j 
e′k = k e j 5.3
∂x′

Tensor-Analysis-for-Engineers_2E_CH05.indd 13 10/3/2020 10:20:15 AM


14 • Tensor Analysis for Engineers, 2E

All quantities, say Ai , that transform according to Equation 5.3 defined


as covariant type, with the standard notation of writing the index i as a
­subscript. Therefore, transformation Ai  A′j reads

∂x′ j ∂x i
=Ai = A′ and A′ Ai 5.4
∂x′ j
j j
∂x i
See Figure 4.2 for the geometrical interpretation of the covariant c­ omponent
of a vector.

Tensor-Analysis-for-Engineers_2E_CH05.indd 14 10/3/2020 10:20:15 AM


CHAPTER

6
PHYSICAL COMPONENTS
AND TRANSFORMATIONS

Having defined the contravariant and covariant quantities, like those of the
components of a vector, one can ask this question: which one of these two types
of components is the actual vector’s components in magnitude? The short
answer is “none”! However, note that the combination of the contravariant or
covariant components and their corresponding basis vectors (contravariant
basis vectors will be defined in further section) gives the magnitude of the
vector correctly. To find the actual magnitude of the vector, we should find
the unit vectors and then the components of the vector corresponding to
these unit vectors, or the physical components. In other words, the physical
components of a vector (or in general, a tensor) are scalars whose physical
dimensions and magnitudes are those of the components
 vectors tangent
to the coordinates’ lines. Therefore, for vector A , if we designate A ( i ) as

its physical component and the corresponding unit vector as e ( i ) we can
write, then
 i 
=A A= ei A ( i ) e ( i ) 6.1

Now, using Equation 3.8 and substituting for ei we can write
i 
A e ( i ) hi = A ( i ) e ( i ) . Therefore,

A ( i ) = A i hi , ( no summation on i ) 6.2

Or A (1 ) = A1 h1 , A ( 2 ) = A2 h2 , and so forth. The scale factor hi is the param-


eter that turns the contravariant component into the physical component,
when multiplied by it. Again, we can conclude that in a Cartesian system the
physical and contravariant/covariant components are identical, since hi = 1 .

Tensor-Analysis-for-Engineers_2E_CH06.indd 15 10/3/2020 10:20:31 AM


16 • Tensor Analysis for Engineers, 2E

Up to this point we have defined contravariant, covariant, and physical com-


ponents of a vector along with covariant and physical/unit basis vectors. In
principle, we can represent a vector by any combination of its components
with the corresponding basis vectors. This requires having the contravariant
basis vector definition. We will define this quantity and how it is transformed
in a further section. First, we must have the definition of a tensor, as well as
a specific tensor called a metric tensor.

Tensor-Analysis-for-Engineers_2E_CH06.indd 16 10/3/2020 10:20:32 AM


CHAPTER

7
TENSORS—MIXED AND
METRIC

In previous sections, we defined vectors or tensors of rank one. Higher order


tensors could be defined based on similar definitions. For example, a ten-
sor of rank two requires more than one free index, like mechanical stress or
strain tensors. In general, we have the contravariant components written as
A ij for tensor A . We avoid placing double-arrows over the symbol for ten-
sors, for simplicity and generality. Since, in principle, we can have tensors of
rank N, designating them with N number of hatted arrows is not a practical
exercise. The invariant quantity is written as

A = A ij ei e j 7.1

Since A is invariant, its value remains the same regardless of the coordi-
nate system used. We transform A from an arbitrary coordinate system x′i
ij   
to another system, say x i , or A′ e′i e′j = A km ek em . Now, using Equation 5.3,
 
we transform the covariant basis vectors ek and em to system x′i . Therefore,
 ∂x′i ∂x′ j  
we have A km ek em = A km k m e′i e′j . Using these last two relations, we obtain
∂x ∂x
  ∂x ′ i
∂x ′ j

e′i e′j  A′ij − k m A km  = 0 . Therefore, since basis vectors are non-zero,
 ∂x ∂x 
we have
∂x′i ∂x′ j km
A′ij = A 7.2
∂x k ∂x m

Tensor-Analysis-for-Engineers_2E_CH07.indd 17 10/3/2020 10:20:47 AM


18 • Tensor Analysis for Engineers, 2E

Quantities that transform according to Equation 7.2 are defined as doubly


contravariant tensors, of rank two. Similarly, we can define mixed tensors,
for example of rank two, as
∂x′i ∂x m k
A′ji = Am 7.3
∂x k ∂x′ j
The rule for transformation of tensors is like those given for vectors, i.e., the
contravariant component of the tensor transforms like a contravariant vector
and the covariant component like a covariant vector. Also, we can expand the
definition to a doubly covariant tensor, like
∂x k ∂x m
A′ij = Akm 7.4
∂x′i ∂x′ j
Equations 7.2–7.4 are useful relations defining second rank tensors and their
transformations. Expanding this rule, we can write the transformation of a
N -rank tensor, for example contravariant components, as
∂x′i ∂x′ j ∂x′N kmM
A′ijN =  A 7.5
∂x k ∂x m ∂x M
In an arbitrary curvilinear system, the Pythagorean Theorem applies but does
not appear in the same form as it does in flat Cartesian systems. This is mainly
due to the fact that basis vectors in an arbitrary system change in magnitude
and/or direction, from point to point. Therefore, measuring the distance ds
between two points on a curved surface, like a sphere, for example, requires
scaling the coordinates by multiplying them with some scalar coefficients.
These coefficients are the components of a tensor, called a metric tensor,
associated with the coordinate system selected. Recalling Equation  3.6,
we can find the square of the magnitude
  of differential distance ds by dot-­
 
( )
product operation, or ds2 = ds ⋅ ds = ( dx i ei ) ⋅ dx j e j . The result is
 
= ( )
ds2 dx i dx j ei ⋅ e j 7.6

The term in the bracket, on the R.H.S of Equation 7.6, is a scalar (i.e., a t­ ensor
of rank zero) resulting from a dot-product operation on the basis ­vectors.
Hence, we can write it as
   
= j cos α
ei ⋅ e j ei e= hi h j cos α
7.7

Tensor-Analysis-for-Engineers_2E_CH07.indd 18 10/3/2020 10:20:48 AM


Tensors—Mixed and Metric • 19

where α is the angle between the tangents to x i and x j axes of the c­ oordinate
system at the selected point in space. Geometrically speaking, Equation 7.7
is the multiplication of the magnitude of a basis vector with the projection of
the other one along the direction of the original one. Therefore, this ­quantity
could be used to identify whether a system (or at least the basis vectors
selected) is orthogonal or not. Also, it could be a metric for ­measuring the
distance over a curved surface. It has more properties and applications, which
we will encounter in future sections; hence, it is designated by a s­ ymbol and
a name, i.e., metric tensor gij
 
gij= ei ⋅ e j 7.8

It is easily seen from Equation 7.8 that a metric tensor is symmetric since
order in a dot-product is irrelevant (i.e., commutative). Also, if gij = 0 for
i ≠ j then the coordinates of the system x i are orthogonal. For example, the
metric tensor in a 3D orthogonal system can be represented by a 3 × 3 matrix
containing null off-diagonal elements,

 g11 0 0 
 
gij =  0 g22 0  , orthogonal system 7.9
 0 0 g33 

It would be useful to apply metric tensor definitions and expand Equation
7.6 using Equations 7.7 and 7.9 for an orthogonal 3D system, which gives

ds2 = h12 ( dx1 ) + h22 ( dx2 ) + h32 ( dx3 ) 7.10


2 2 2


For example, in a Cartesian system we recover the familiar form of
  theorem (i.e., ds = ( dX ) + ( dY ) + ( dZ ) ), since
2 2 2 2
the Pythagorean
g11 = g22 = g33 = Ei ⋅ Ei = 1. Similarly, for a spherical coordinate system ( r ,ϕ ,θ )

no sum on i
we have h= 2
1 g=
11 1 , h=
2
2 g=22 r 2 , and h=2
3 g=
33 r 2 sin 2 ϕ (see Example 8.2
for scale factors). Therefore, we obtain ds =2
( dr ) + r 2 ( dϕ )2 + r 2 sin 2 ϕ ( dθ )2 .
2

So far, we have not shown that gij is a tensor. To do this, we transform the
metric tensor to another arbitrary coordinate system, say x′i . We then can
  ∂x k ∂x m   ∂x k ∂x m
write g′ij = e′i ⋅ e′j = i ( e ⋅ e ) . Therefore, we have g ′ = gkm ;
∂x′ ∂x′ j  k  ∂x′i ∂x′ j
m ij
= gkm
that is, when compared to Equation 7.4 we can conclude that gkm is a doubly
covariant tensor.

Tensor-Analysis-for-Engineers_2E_CH07.indd 19 10/3/2020 10:20:51 AM


20 • Tensor Analysis for Engineers, 2E

As mentioned in the previous sections, to calculate or measure tensor-


like quantities we use a Cartesian system as the reference. To evaluate gij

we use Equation 7.8 and transform the covariant basis vector ei to the
m 
  ∂y ∂y
k 
Cartesian system, yi . Therefore, gij = ei ⋅ e j = i
  ∂x ∂x
(j )
Ek ⋅ Em . The quan-
tity Ek ⋅ Em , or the dot-product of the basis/unit vectors in the Cartesian
­system, is either one or zero, due to orthogonality of the coordinates. Hence,
  1, when k = m
Ek ⋅ Em =  . Using this property, we can write
0, when k ≠ m
∂yk ∂yk
gij = 7.11
∂x i ∂x j
Using Equation 7.11, we can readily conclude that the metric   tensor in
a Cartesian system is the familiar Kronecker delta, δ= ij Ei ⋅ E j . For 3D
1 0 0 
 
Cartesian coordinates, we receive a diagonal unity matrix δ ij = 0 1 0  .
0 0 1 
It can be shown ([3], [4]) that the determinant of a metric tensor is equal to
the square of the Jacobian of the transformation matrix, or

=
g g=
ij  2 7.12

Therefore, in an orthogonal system xi , having gij = 0 for i ≠ j , we receive

=g g=
11 g22  g NN h12 h12  hN2 , orthogonal system 7.13
 
Note that= gii e= i ei hi2 (no sum on i ) (see Equation 7.7). From
Equations 7.12 and 7.13 we can conclude that the Jacobian for an orthogonal
system is equal to the products of the scale factors, or

 = h1 h2  hN , orthogonal system7.14

For example, in a spherical coordinate system the Jacobian is


=
spherical h=
r hϕ hθ r 2 sin ϕ (see Example 8.2 for scale factors).

Tensor-Analysis-for-Engineers_2E_CH07.indd 20 10/3/2020 10:20:53 AM


CHAPTER

8
METRIC TENSOR OPERATION
ON TENSOR INDICES

An important and useful application of metric tensor is that it can be


used to lower and raise indices of a tensor. Therefore, we can change a
contravariant component of a tensor to a covariant one, or vice versa, by
multiplying the appropriate metric tensor to the tensor at hand. For
example, let’s define the covariant component of a vector (i.e., a tensor
of rank one) as Ai = A gij , where A j is the given contravariant compo-
j

j
nent. Now, we show that the quantity A gij is transformed like a covari-
ant quantity, according to Equation 5.4. Considering systems x i and x′i ,
 ∂x′ j k   ∂x m ∂x n   ∂x′ j ∂x n  ∂x m k
=
we can write A′ j g′ij = A   i g
j mn   k j 
A gmn .
 ∂x   ∂x′ ∂x′   ∂x ∂x′  ∂x′
k i

∂x′ j ∂x n ∂x n 1 , n = k
Note that the expression = = δ kn , where δ kn =  is
∂x ∂x′
k j
∂x k
 0, n ≠ k
a mixed second rank tensor (a Kronecker delta). Therefore, we have
 ∂x′ j ∂x n  ∂x m k ∂x m n k ∂x m n
 k = j 
A g = ( k ) mn ∂x′i ( A gmn ) . The expression in
δ A g
 ∂x ∂x′  ∂x′ ∂x′i 
i mn
n
=A
the last bracket is actually Am, according to our definition. Finally, we have
∂x m
A′i A=
= ′ j g′ij Am , which clearly shows that the quantity A′ j g′ij is trans-
∂x′i
formed like a covariant component (see Equation 5.4). Therefore, we have,
also using the symmetry property of a metric tensor or gij = g ji ,

=
Ai A=
j
gij A j g ji 8.1

Tensor-Analysis-for-Engineers_2E_CH08.indd 21 10/3/2020 10:21:18 AM


22 • Tensor Analysis for Engineers, 2E

Using Equation 8.1, we can write the expression for a contravariant basis
vector, or
 
ei = e j gij 8.2

which shows that the metric tensor lowers the contravariant index, whilethe
dummy index is dropped out. This will enable us to write the vector A in
terms of covariant or contravariant basis vectors, as
 i   
= A A= (
ei A i gij=
ej ) ( )
A i gij =
e j A j e j 8.3

Note that by using physical components and corresponding unit vectors, we


can write
 i j 
= A A= ei A=je A ( k ) e ( k ) 8.4

So far, we have defined the doubly covariant metric tensor gij . Similarly, the
 
doubly contravariant metric tensor is defined g ij = e i ⋅ e j . Therefore, we can
write
 i ij  
=A A= ei A j g= ei A j e j

Also, the combination of the two types of metric tensor gives the mixed
one, as
g ij g jk = δ ki 8.5

Equation 8.5 can be derived as follow: we have=


A i g=
ij
A j g ij g jk A k . In this

=Aj

expression, we write A = δ A , therefor we have A δ − g g jk =


i i
k
k k
( i
k
ij
0 , but)
since A is arbitrary the expression in the bracket is zero. Hence g g jk = δ ki.
k ij

With reference to Figure


 3.2, Figure 4.1, Figure 4.2, and Equation 8.3 we
can sketch the vector A in terms of its covariant/contravariant components
with their corresponding basis vectors, as shown in Figure 8.1 (see Example
15.3). Users may also want to watch a related video at
https://www.youtube.com/watch?v=CliW7kSxxWU.

Tensor-Analysis-for-Engineers_2E_CH08.indd 22 10/5/2020 11:42:13 AM


Metric Tensor Operation on Tensor Indices • 23

FIGURE 8.1  Sketch for covariant and contravariant components of a vector and
basis vectors in a non-orthogonal coordinate system xi and alternate system ξ i .

In the following subsections, we present two examples demonstrating related


calculations for cylindrical and spherical coordinate systems.

8.1  EXAMPLE: CYLINDRICAL COORDINATE SYSTEMS


Consider a cylindrical polar coordinate system ( x1 , x2 , x3 ) ≡ ( r ,θ , z ) where r
is the radial distance, θ the azimuth angle, and z the elevation from X − Y
plane, w.r.t. the Cartesian coordinates ( y1 , y2 , y3 ) ≡ ( X , Y, Z ) , as shown
in Figure 8.2. The functional relations corresponding to cylindrical and
Cartesian systems are:

FIGURE 8.2  Cylindrical coordinate system.

=  X r= cosθ  y1 x1 sin x2
  2
Y= r sin θ ≡  y= x1 sin x2. Find the inverse relations (i.e., x i = Fi ( y1 , y2 ,, yN )
=  Z z=  y3 x 3
 
 
x i = Fi ( y1 , y2 ,, yN ) , the basis vectors ei and e i for the cylindrical coordinate system in
terms of the Cartesian unit vectors. Also find the scale factors,  unit vectors,
and metric tensors gij and g ij and line element magnitude ds .

Tensor-Analysis-for-Engineers_2E_CH08.indd 23 10/3/2020 10:21:22 AM


24 • Tensor Analysis for Engineers, 2E

Solution:
The functions Fi can be obtained by solving for X , Y, Z , using the functional
relation, given
 1
=  r X +Y
2 2 = x ( y1 2
) + ( y )
2 2

 
 −1  Y   2  y1 
= θ tan   ≡ = x tan −1  2  . To find the covariant basis ­vectors,
 X  y 
z = Z  x3 = Y 3


 ∂y   ∂y  ∂y  ∂y   
j 1 2 3
we use ei = i E j . Therefore, we receive e1 = 1 E1 + 1 E2 + 1 E3 = cosθ E1 + sin θ E2
∂x ∂x ∂x ∂x
1  2  3  1  2  3   
∂y ∂y ∂y    ∂y ∂y ∂y
E 1 + E 2 + E 3 = cos θ E 1 + sin θ E 2
. Similarly, e 2 = E 1 + E 2 + E 3 =
− r sin θ E 1 + r cos θ E 2
,
∂x1 ∂x1 ∂x1 ∂x 2
∂x 2
∂x 2

 ∂y  ∂y  ∂y  
1 2 3
and e3 = 3 E1 + 3 E2 + 3 E3 = E3 . In terms of coordinates notation, we
∂x ∂x ∂x
have
  
=  er cosθ E1 + sin θ E2
   
 eθ = − r sin θ E1 + r cosθ E2
 
 ez = E3
 ∂x i 
For calculating contravariant basis vectors, we receive e i = j E j. After
­expansion and using the functional relations, we get ∂y
  
 e r cosθ E1 + sin θ E2
=

 θ sin θ  cosθ 
e = − E1 + E2
 r r

 e = E3
z

The scale factors are the magnitudes of the covariant basis vectors. Hence,
   
h= h= er ⋅ er = 1 , h= h=θ eθ ⋅ e=
θ r , and h= h= 1 . The unit vectors
1 r
 2 3 z
 e
e ( i ) = i , are
hi
  
 e ( r ) cosθ E1 + sin θ E2
=
   
 e (θ ) = − sin θ E1 + cosθ E2
 
 e ( z ) = E3

Tensor-Analysis-for-Engineers_2E_CH08.indd 24 10/3/2020 10:21:24 AM


Metric Tensor Operation on Tensor Indices • 25

 
Note that unit vectors e ( r ) and e (θ ) in cylindrical coordinate system change
with location and are not constant vectors.
 
The metric tensor is gij = ei ⋅ e j , or g=
rr h=
2
r 1 , gθθ= h=
2
θ r 2 , g=
zz h=
2
z 1 , and
the off-diagonal elements of the metric tensor are null, hence the coordinate
1 0 0 
 
system is orthogonal, or gij = 0 r 2 0  . The Jacobian= is  h= r hθ hz r.
0 0 1 
 
The contravariant metric tensor can be calculated using g ij = e i ⋅ e j , or
1 0 0 
 
g = 0 r −2 0  , which is equal to the inverse of covariant metric tensor.
ij

0 0 1 
Another way for calculating the contravariant basis vectors is by using the
 ij   11   2 22    33  
relation e i = g e j , or=
e 1 g= e1 e1 =, e g= e2 r −2 e2 , and=
e 3 g= e3 e3 .

For the line element we have, ds = ( hi dx i ) = ( dr ) + ( rdθ ) + ( dz ) .
2 2 2 2

8.2  EXAMPLE: SPHERICAL COORDINATE SYSTEMS


Consider a spherical polar coordinate system ( x1 , x2 , x3 ) ≡ ( r ,ϕ ,θ ) where
r is the radial distance, ϕ the polar/meridian angle, and θ the azimuthal
angle w.r.t. the Cartesian coordinates ( y1 , y2 , y3 ) ≡ ( X , Y, Z ) , as shown
in Figure 8.3. The functional relations corresponding to spherical and
Cartesian systems are:

FIGURE 8.3  Spherical coordinate system.

Tensor-Analysis-for-Engineers_2E_CH08.indd 25 10/3/2020 10:21:25 AM


26 • Tensor Analysis for Engineers, 2E

=  X r= sin ϕ cosθ  y1 x1 sin x2 cos x3


 
=Y r sin ϕ sin θ = ≡  y2 x1 sin x2 sin x3 . Find the inverse relations (i.e.,
=  cos ϕ  3
 Z r=
1 2
 y x cos x
 
x i = Fi ( y1 , y2 ,, yN ) , the basis vectors ei and e i for the spherical coordinate
system in terms of the Cartesian unit vectors. Also find the scale factorsand 
unit vectors and metric tensors gij and g ij and line element magnitude ds .

Solution:
The functions Fi can be obtained by solving for X , Y, Z , using corresponding func­

 x1 =
 ( y1 ) + ( y2 ) + ( y3 )
2 2 2

 r= X + Y + Z
2 2 2 
 
  
  Z  −1  y3 
=
tional relations, or ϕ cos  −1
=  ≡  x cos 
2
.
 X +Y +Z    ( y1 ) + ( y2 ) + ( y3 )
2 2 2 2 2 2
 
   
θ = tan −1  
Y
  y1 
 X  x3 = tan −1  2 
 y 
 ∂y 
j
To find the covariant basis vectors, we use ei = i E j. Therefore, we get
∂x
 ∂y  ∂y  ∂y    
1 2 3
e1 = 1 E1 + 1 E2 + 1 E3 = sin x2 cos x3 E1 + sin x3 sin x2 E2 + cos x2 E3 Similarly,
∂x ∂x ∂x
 ∂y  ∂y  ∂y    
1 2 3
e2 = 2 E1 + 2 E2 + 2 E3 = x1 cos x2 cos x3 E1 + x1 sin x3 cos x2 E2 − x1 sin x2 E3 , and
∂x ∂x ∂x
1  2 
 ∂y ∂y ∂y3   
e3 = E 1 + E 2 + E3 = − x1 sin x2 sin x3 E1 + x1 cos x3 sin x2 E2 . In terms of coor-
∂x 3
∂x 3
∂x 3

dinate variables, we have


   
 er = sin ϕ cosθ E1 + sin ϕ sin θ E2 + cos ϕ E3
    
 eϕ = r cos ϕ cosθ E1 + r cos ϕ sin θ E2 − r sin ϕ E3
  
 eθ = − r sin ϕ sin θ E1 + r sin ϕ cosθ E2

Tensor-Analysis-for-Engineers_2E_CH08.indd 26 10/3/2020 10:21:27 AM


Metric Tensor Operation on Tensor Indices • 27

The scale factors are the magnitudes of the basis vectors. Hence
     
h= h= er ⋅ er = 1 , h= h=
ϕ eϕ ⋅ e=
ϕ r , and h= h=θ eθ ⋅ e=
θ r sin ϕ .
1 r 2
 3
 e
The unit vectors e ( i ) = i , are
hi
   
 e ( r ) = sin ϕ cosθ E1 + sin ϕ sin θ E2 + cos ϕ E3
    
 e (ϕ ) = cos ϕ cosθ E1 + cos ϕ sin θ E2 − sin ϕ E3
  
 e (θ ) =− sin θ E1 + cosθ E2

Note that unit vectors in spherical coordinate system change with l­ocation
 
and are not constant vectors. The metric tensor is gij = ei ⋅ e j , or g=rr h=
2
r 1,
gϕϕ= h= 2
ϕ r , gθθ= h=
2
θ
2
r sin ϕ , and the off-diagonal elements of
2 2

the metric tensor are null, hence the coordinate system is orthogonal,
1 0 0 
 
gij = 0 r 2 0  . The Jacobian =is  h= r hϕ hθ r 2 sin ϕ . The g ii = hi−2 ,
 2
0 0 ( r sin ϕ ) 
1 0 0 
 
or g ij = 0 r −2 0  , then we can calculate the contravariant basis
 −2 
0 0 ( r sin ϕ ) 

     1   1 
vectors, as e j = g ij ei , or e 1 = e1 , e 2 = 2 e2 , and e 3 = 2 2 e3 which yields
r r sin ϕ
   
 e r = sin ϕ cosθ E1 + sin ϕ sin θ E2 + cos ϕ E3

 ϕ cos ϕ cosθ  cos ϕ sin θ  sin ϕ 
e = E1 + E2 − E3
 r r r
 θ sin θ  cosθ 
 e = − E1 + E2
 r sin ϕ r sin ϕ


For the line element we have, ds = ( h dx )
i
i 2
= ( dr )2 + ( rdϕ )2 + ( r sin ϕ dθ )2 .

Tensor-Analysis-for-Engineers_2E_CH08.indd 27 10/3/2020 10:21:29 AM


Tensor-Analysis-for-Engineers_2E_CH08.indd 28 10/3/2020 10:21:29 AM
CHAPTER

9
DOT AND CROSS PRODUCTS
OF TENSORS

We often must multiply tensors by each other. We consider two vectors for
discussion here, without losing generality. When we multiply two scalars (i.e.,
tensors of rank zero) we just deal with arithmetic multiplication. But a vector
has a direction, in addition to its magnitude, that should be taken into con-
sideration for multiplication operations.
 In principle we can have two vectors
just multiply by each other like AB, which is a tensor of rank two, called a
dyadic product. Or, multiply the vectors’ magnitudes and form a new vector
with the resulting magnitude directed perpendicular
  to the plane containing
the original vectors, the cross-product A × B, which is a tensor of rank one.
Or, multiply the vectors’ magnitudes and reduce the rank  of
 the product by
projecting one vector on the other one, the dot-product A ⋅ B , which is a ten-
sor of rank zero. Obviously, for higher than rank-one tensors we would have
a greater number of combinations as the result of their products. In general,
compared to the rank of original tensors, dyadic product increases the rank,
cross-product keeps the rank, and dot-product decreases the rank, i.e., the
result is a tensor quantity of higher, the same, or lower rank (by one level/
rank) w.r.t to the original quantities, respectively.
 
We start with dot-product operations. Let’s consider   two vectors A and B ;
 
the dot-product of these two vectors is given by A = ( )
⋅ B ( A i ei ) ⋅ B j e j , using
the contravariant components of the vectors. We expand this expression,
with Equations 7.7 and 7.8, to receive
 
A=⋅ B A i B=
j
gij A i B j hi h j cos α 9.1

Tensor-Analysis-for-Engineers_2E_CH09.indd 29 10/3/2020 10:22:00 AM


30 • Tensor Analysis for Engineers, 2E

where α is the angle between the two vectors. Further, using Equation 8.1
we receive
 
A⋅B
= A i B=i A j B j 9.2

Similarly, we could start with using the covariant components of the ­vector,
but the conclusive results would be the same as the expression given by
Equation 9.2. Readers may want to do this as an exercise. From Equation 9.2
we can conclude that the order of multiplication does not change the result
of the dot-product, or A i Bi = Bi A i .
In
 an
 orthogonal Cartesian system, either Equation 9.1 or 9.2 would result in
A ⋅ B= A i B jδ ij= A1 B1 + A2 B2 +  + A N BN= A1 B1 + A2 B2 +  + AN BN . The
second equality results from the fact that in orthogonal Cartesian systems
there is no distinction between contravariant and covariant components. An
example of the dot-product quantity of two vectors is the mechanical work—
the dot product of force and distance vectors.
The cross-product operation can be established with a more general
­formulation using the permutation symbol (also referred to as the Levi-
Civita symbol) defined as

+1 even permutation



ei1 i2 iN = −1 odd permutation 9.3
0 repeated index

For example, for N = 6 we receive ei1 i2 i6. The permutation is consid-
ered even if an even number of interchanges of indices put the indices
in arithmetic order (i.e., 123456 ), and is considered odd if an odd num-
ber of interchanges of indices put the indices in order. For any case with
a repeated index the permutation symbol is zero. As an example, let’s con-
sider e342165 . Examining the indices, we find out that 4 interchanges (i.e.
( 3 ↔1 ) (4↔2) (4↔3) (6 ↔ 5)
342165 → 142365 → 124365 → 123465 → 123456 ) put them in order;
note that the sequence of interchanges is irrelevant. Therefore e342165 = 1 .
Similarly, e362145 = −1 , since 5 interchanges put the indices in order. If any of
the indices is repeated then it is zero, for example e= 344165 e=
142165 0, etc. We
purposefully called the permutation symbol a symbol and not a tensor, for
reasons that will be explained later in this section. Another way of identifying
the even or odd number of permutations is to write down the given indices
as a set and connect them with the equivalent number set but in arithmetic

Tensor-Analysis-for-Engineers_2E_CH09.indd 30 10/3/2020 10:22:02 AM


Dot and Cross Products of Tensors • 31

order. Then the number of points at the cross-section of the lines connecting
the same numbers is the order of permutation. This method is shown in the
following figure for e342165. The connecting lines intersect at six points; hence
the permutation is even.

3 4 2 1 6 5

1 2 3 4 5 6
 
Now considering two vectors A and B in a Cartesian
 system the cross-
product of these two vectors is another vector C , given as (we propose this
expression, for now at least)

C i = eijk A j Bk = − eijk B j A k , Cartesian 9.4


   
A× B B× A

for the i -component of C . This relation clearly shows that the order of
multiplication matters for cross-product operation. For example, in a
­
 
3D Cartesian system we have A = ( A1 , A2 , A3 ) and B = ( B1 , B2 , B3 ) and
  
we find their cross-product using Equation 9.4, C= ( C1 , C2 , C3 )= A × B as,
=
C1 A2 B3 − A3 B2 =, C2 A3 B1 − A1 B3 , and=
C3 A1 B2 − A2 B1 .
Note that in Equation 9.4, we have written
 the relation for the contravari-
ant component of the resulting vector C. As we mentioned previously, in a
Cartesian system contravariant or covariant components need not be con-
sidered; hence we usually place all indices as subscripts. But in an arbitrary
system we should make sure that the resulting C i is transformed like a con-
travariant component/quantity. To show this, we set guidelines to form a
tensor expression in an arbitrary coordinate system, x i as follows:
a. Identify the rank of the expression representing the desired quantity
in terms of a tensor; i.e., zero is a scalar, one is a vector, two or more a
­tensor of the corresponding rank.
b. Identify and decide if the expression should be in contravariant or
­covariant form and place the indices appropriately (i.e., as subscript for
covariant and superscript for contravariant).
c. Form the expression based on guidelines (a) and (b).

Tensor-Analysis-for-Engineers_2E_CH09.indd 31 10/3/2020 10:22:04 AM


32 • Tensor Analysis for Engineers, 2E

d. Transform the expression from arbitrary system x i to another system,


∂x′i ∂x i
say x′i (or vice versa) using the linear operators j or according to
∂x ∂x′ j
the combination rule (see Sections 4 and 5).
e. Show that the resulting expression recovers the related familiar form in
Cartesian coordinates.
Usually, starting from an expression form in a Cartesian system (as listed
in part (e), above) gives a reasonable and usually the correct form to start
with. Let’s apply these guidelines to the expression given by Equation 9.4. By
observing the expression, we conclude that the contravariant components
A j and Bk are correct forms since they transform like contravariant quan-
tities. However, for the permutation symbol we need to make sure that it
is a tensor quantity, i.e., it transforms like a tensor. It can be shown that
the permutation symbol does not transform like a tensor unless a necessary
adjustment is implemented [2], [4], [7] by multiplying it by the Jacobian of
the transformation (see Equation 4.4). Now, we define the covariant and
contravariant permutation tensors by multiplying Jacobian and inverse of
Jacobian to the permutation symbol, respectively, given as

i1 i2 iN = ei1 i2 iN


 i1 i2 iN =  −1 e 9.5
 i1 i2  iN

Therefore, the general expression for the vector C, for example, is
Ci = eijk A j Bk and C i =  −1 eijk A j Bk . Using permutation tensor, we will get

Ci =
= j k
ijk A B eijk A j Bk covariant component
 i 9.6
=C =
ijk
A j Bk  −1 eijk A j Bk contravariant component

Note that in Equation 9.6, for the covariant (contravariant) component of
the resulting vector C , we used the combination of covariant (contravariant)
permutation tensor and contravariant
 (covariant) components of the two
contributing vectors A and B.
j
To show that, for example, ijk A Bk transforms like a covariant quan-
tity, we write down its transformation between two arbitrary systems, or
 ∂x l ∂x m ∂x n   p ∂x′ j   q ∂x′k  p q ∂x
l
= ′ A′ j B′k  lmn i
ijk k 
=
A p 
B q 
= A B δ mδ n
 ′ ′
∂x ∂x ∂x  
j
′ ∂x   ∂x 
lmn
∂x ′ i p q

∂x l
( lmn A m Bn )
∂x′i
. Similarly, for the contravariant form (i.e., the second
­expression in Equation 9.6) it can be shown that it does indeed transform
like a contravariant quantity. Readers may want to do this as an exercise.

Tensor-Analysis-for-Engineers_2E_CH09.indd 32 10/3/2020 10:22:06 AM


Dot and Cross Products of Tensors • 33

The cross-product of two vectors can be written in terms of their physical


components as well. This can be done using, for example, the contravariant
component when multiplied by the corresponding scale factor. Therefore,
we can write for an orthogonal system (using Equations 9.5, 9.6, and 11.8)
hi eijk hi eijk
, or C ( i ) =
hiC i = hi ijk A j Bk= A j Bk  h j hk A ( j ) B ( k )  , or

C( i )
   
eijk
C ( i) = hi h j hk  A ( j ) B ( k )  , orthogonal 9.7

For orthogonal coordinate systems, using  = h1 h2 h3 , we receive
 


( A × B) (1) =C (1) = A ( 2 ) B ( 3 ) − A ( 3 ) B ( 2 )
  
 ( A × B) ( 2 ) =C ( 2 ) = A ( 3 ) B (1) − A (1) B ( 3 ) 9.8
  
 ( A × B) ( 3 ) =C ( 3 ) = A (1) B ( 2 ) − A ( 2 ) B (1)
Expanding on these results, in a N -dimensional space, the generalized cross-
product of N − 1 vectors reads, using Equation 9.6,

 Ci1 = i1 i2 iN A i2 Bi3  Z iN


 i1 i i i
9.9
C =  1 2 N A 2 B 3  Z N
i i i


 vector C is perpendicular to the hyperplane formed by the N − 1
where now
vectors A through Z .
Immediately, using Equation 9.9 we can conclude that in an arbitrary system
the unit volume d is, [2],

d  = dx1 dx2  dx N 9.10


For example, in the spherical system ( r , ϕ , θ ) we have d  = r 2 sin ϕ drdϕ dθ .
Another useful extension is for the orthogonal systems (i.e., gi ≠ j = 0), for
   
which we get= gij ∏ = gii g11 g22  gNN . But g11 = e1 ⋅ e1 = h12 , g22 = e2 ⋅ e2 = h22
and so forth. Hence, gij = h12 h22  hN2 . Using the relationship gij =  2 , we
finally reach at

=
 ∏
=h i h1 h2  hN orthogonal system 9.11
i
And hence

d
= ∏
=h dx ( h dx )( h dx )( h
i
i
1
1
2
2
N dx N ) orthogonal system 9.12
i

Tensor-Analysis-for-Engineers_2E_CH09.indd 33 10/3/2020 10:22:08 AM


34 • Tensor Analysis for Engineers, 2E

9.1 DETERMINANT OF AN MATRIX USING


PERMUTATION SYMBOLS
Using the permutation symbol eijk (see Equation 9.3), we can write the
­determinant of a 3 × 3 matrix= [ M ] , as M e= ijk M1 i M2 j M3 k eijk M i1 M j 2 Mk 3,
given by expansion based on row or column, respectively, and M ij represent
the elements of the matrix [2], [4]. To expand on these results, we consider
[ M ] to be an N × N matrix, (N ≥ 3). Therefore, we can write its determinant as
= M e=
i1 i2 iN M1 i1 M2 i2  M NiN ei1 i2 iN M i1 1 M i2 2  M iN N 9.13

See the application example in Section 16.10.

Tensor-Analysis-for-Engineers_2E_CH09.indd 34 10/3/2020 10:22:09 AM


CHAPTER

10
GRADIENT VECTOR
OPERATOR—CHRISTOFFEL
SYMBOLS
In engineering and science, most if not all governing equations (e.g., equi-
librium, Navier-Stokes, Maxwell’s equations) contain terms that involve
derivatives of tensor quantities. These equations are mathematical models
of related quantity transports, like momentum, mass, energy, etc. Different
forms of derivatives result from the gradient operator, which is a vector that
takes the derivative of and performs dyadic, dot-product, cross-product, etc.
operations on the involved tensors. Depending on the rank of the tensors
under the gradient operation, the result could be complex expressions. In the
previous sections, we have defined and derived necessary formulae to tackle
the derivation of gradient vector transformation and consequently find the
general forms of related derivatives appearing in the governing equations.

10.1 COVARIANT DERIVATIVES OF VECTORS—


CHRISTOFFEL SYMBOLS OF THE 2ND KIND
 ∂
The covariant component of the gradient vector ∇ is defined as ∇ i = i ,
  ∂  ∂x
or we can write the full vector as ∇ = e i i = e i∇ i . To show that ∇ i trans-
∂x
forms like a covariant component between two arbitrary systems, we can
∂ ∂x j ∂ ∂x j
′i
write ∇= = = ∇ j . This expression clearly shows that ∇′i is a
∂x′i ∂x′i ∂x j ∂x′i
covariant quantity. The transformation from x′i to x i is obvious.

Tensor-Analysis-for-Engineers_2E_CH10.indd 35 10/3/2020 10:22:35 AM


36 • Tensor Analysis for Engineers, 2E

When a gradient operates on a scalar, or tensor, of rank zero like temperature,


pressure, or concentration, we can write it as ∇ iψ and the ­corresponding
∂x j
transformation is ∇′iψ ′ = ∇′iψ = i ∇ jψ , using the fact that scalar ψ is
∂x′
­invariant (or ψ = ψ ′ ) and independent of the coordinate systems
 selected.
Now, assuming that the gradient operates
 on a vector, say A , which is also
 result is ∇A, or a tensor of rank two. The covariant
an invariant quantity, the
component is then ∇ i A, which is a vector by itself. Expanding, we get
   
∇i A = (
∇i A je j =) ( ) ( )
e j ∇ i A j + A j ∇ i e j 10.1

The first term in the R.H.S of Equation 10.1 is the straight-forward deriva-
tive of the component A j . But the second term involves a gradient of the

basis vector e j , which is not necessarily zero in an arbitrary system since the
basis vector’s magnitude and/or direction  may change from point to point.
Note that in a Cartesian system, ∇ i E j = 0 , i.e., the second term in Equation

10.1, vanishes. Therefore, we can interpret ∇ i e j as a measure of the curva-
ture of the arbitrary coordinate surface x i = constant (e.g., in a spherical
coordinate system X 2 + Y 2 + Z 2 = r 2 is the surface of the sphere). The physi-
 
cal meaning of ∇ i e j is this that it represents the rate of change of e j with
i 
respect to coordinate variable x in the direction of basis vector ek . This
k
quantity is represented by Γ kij (some authors use   instead) and is the
 ij 
Christoffel symbol of the second kind [8].
It may be useful to pause at this point and make sure that the physical/
geometrical meaning of the Christoffel symbol is well understood. To help
with this understanding, we consider a simple 2D polar coordinate system,
( r,θ ) ≡ ( x1 , x2 ) as shown in Figure 10.1.

FIGURE 10.1  2D Polar coordinate system.

Tensor-Analysis-for-Engineers_2E_CH10.indd 36 10/3/2020 10:22:38 AM


Gradient Vector Operator—Christoffel Symbols • 37

 
As shown, the covariant basis vectors er and eθ change from point to point
in space, e.g., points A and A’ , in general. Let’s consider, for example
 ∂e 
∇θ eθ =θ which represents the change for basis vector eθ with respect to
∂θ
coordinate variable θ . This derivative is a vector and has two components in
the ( r,θ ) coordinate system. Therefore, we can write it as a linear combina-
 
tion of the basis vectors in polar coordinate system er and eθ , or

 ∂eθ  
∇θ eθ = = α er + β eθ 10.2
∂θ
Similar expressions can be written down for other possible derivatives (i.e.,
  
∇θ er , ∇ r eθ , ∇ r er ). In our example (see Equation 10.2), the coefficients α
and β are the corresponding Christoffel symbols, also  referred to as connec-
∂eθ 
tion coefficients. α is the component of the vector in the direction of er ,
 ∂ θ
∂eθ 
or Γθθ and β is the component of the vector
r
in the direction of eθ , or
∂θ
Γθθθ . Using these definitions, we can write all possible derivatives with their
corresponding Christoffel symbols as

 ∂eθ r  θ 
 ∂θ = Γθθ er + Γθθ eθ
 
 ∂er = Γ r e + Γθ e
 ∂θ rθ r rθ θ

  10.3
 ∂eθ = Γθr r er + Γθθ r eθ
 ∂r
 ∂e  
 r = Γ rrr er + Γθrr eθ
 ∂r

The values of Christoffel symbols can be calculated using the functional


relations between the polar and Cartesian systems. For this purpose,
we need the relations for the basis vectors. Using Equation 5.3, we have
 ∂X  ∂Y   ∂X  ∂Y  
=er E1 + E2 and= eθ E1 + E2 , where Ei are unit vectors in
∂r ∂r ∂θ ∂θ
Cartesian system. Performing the calculations, using the functional relation
between the polar and Cartesian systems, as X = r cosθ and Y = r sin θ , we
receive
  
=  er cosθ E1 + sin θ E2
   10.4
 eθ = − r sin θ E1 + r cosθ E2

Tensor-Analysis-for-Engineers_2E_CH10.indd 37 10/3/2020 10:22:43 AM


38 • Tensor Analysis for Engineers, 2E

  
∂eθ 
Using Equations 10.4 we receive = − r cosθ E1 − r sin θ E2 = − rer ,
    ∂θ  
∂er 1  ∂eθ 1 ∂e
=− sin θ E1 + cosθ E2 = eθ , = − sin θ E1 + cosθ E2 = eθ , and r = 0 .
∂θ r ∂r r ∂r
Finally, comparing these results with Equation 10.3, we find the Christoffel
1
symbols values for polar coordinate system as Γθθ r
=− r , Γθrθ = Γθθ r = , and
r
Γθθθ =Γθrr =Γθr r =Γ rrθ =Γ rrr =0 . Table 10.1 gives the summary of these results
and the matrix form of these symbols for polar coordinate systems.
TABLE 10.1  Christoffel symbols of the 2nd kind for a 2D polar coordinate system ( r ,θ ) .

Symbol Meaning Value Symmetry Matrix form


  −r −
Γθθ
r eθ change w.r.t θ in er direction
   Γr Γ rrθ 
Γθr r eθ change w.r.t r in er direction 0 = Γ r Γ r = rrr r 

 

Γθ r Γθθ 
Γ rrr er change w.r.t r in er direction 0 −
  −
Γθθθ eθ change w.r.t θ in eθ direction 0
θ
  Γθ = Γ rr Γθrθ 
Γθrθ er change w.r.t θ in eθ direction 1/r = Γ θ  θ θ 
θr
Γθ r Γθθ 
 
Γθrr er change w.r.t r in eθ direction 0 −

The number of independent Christoffel symbols can be obtained using


N 2 ( N + 1)
, for an N -dimensional system. For example, in a 2D polar coor-
2 4×3
dinate system ( r,θ ) with N = 2 , we receive = 6 symbols, among them
2
only two are non-zero. Note that Christoffel symbols are symmetric with
respect to the lower indices (see the next section).
Now we continue with our general formulation and discussion, after
establishing the physical/geometrical meaning of Christoffel symbols of
­
2nd kind with this example.

Rewriting ∇ i e j using the definition of Christoffel symbol (see Equation
10.3), we have
 
∇ie j =
Γ kij ek 10.5

Tensor-Analysis-for-Engineers_2E_CH10.indd 38 10/3/2020 10:22:48 AM


Gradient Vector Operator—Christoffel Symbols • 39

  
( )
Plugging back into Equation 10.1, we receive ∇ i A = e j ∇ i A j + A j Γ kij ek . In
this relation, for the last term  we interchange j and k indices, since they are
 
dummy indices. Then, ∇ i A ( ) ( )
= e j ∇ i A j + A k Γ ikj e=j  e j ∇ i A j + Γ ikj A k . The

expression in the bracket is a tensor, since both ∇ i A and e j are tensors. We
j
define the expression in the bracket as A, i where the comma in the subscript
indicates differentiation and index i represents the covariant component of
gradient vector. Hence,
∂A j
=A, ji + Γ ikj A k 10.6
∂x i

Equation
 10.6 is the covariant derivative of the contravariant component of
vector A . Or
 
∇i A = A, ji e j 10.7

10.2  CONTRAVARIANT DERIVATIVES OF VECTORS


At this point in our discussion, it seems logical to seek the contravariant
­component of gradient vector, ∇ i . We can write this operator as ∇ i = g ij ∇ j
using a metric tensor (see Section 8). Therefore, we can raise the derivative
index by multiplying the contravariant metric tensor to the expression, or

A,k ⋅i = g ij A ,kj 10.8

Equation 10.8
 is the contravariant derivative of the contravariant component
of vector A . Or
 
∇i A = A,k ⋅i ek 10.9

From the start we could use the covariant component of vector A , to find
the corresponding covariant and contravariant gradient components as well
(see Equation 10.1). To this end, we can write the covariant derivative of the
covariant component of vector A , as
   
∇i A = (
∇i A je j = ) ( ) (
e j ∇ i A j + A j ∇ i e j 10.10)
The first term on the R.H.S of Equation 10.10 is straight-forward, the
­derivative of the component A j . The second term involves the gradient of

Tensor-Analysis-for-Engineers_2E_CH10.indd 39 10/3/2020 10:22:50 AM


40 • Tensor Analysis for Engineers, 2E


the contravariant basis vector e j , for which we requirea new expression. To
 ∂e j 
find this quantity, we use Equation 10.6 to write = e, ji + Γ ikj e k . Due to the
 ∂x i

fact that e, ji is a tensor (this can be shown by transformation of the terms


involved between arbitrary systems, like A, ji ) and its value in a Cartesian
system is null, hence  it is equal to zero in any arbitrary coordinate system.
 j ∂e j 
Therefore, = e, i + Γ ikj =
e k 0 , or
∂x i

 j ∂e j 
∇ie = = −Γ ikj e k 10.11
∂x i

j
Substituting for ∇ i e from Equation 10.11, into Equation 10.10, we receive
  
( ) ( ) ( )
∇ i A j e j = e j ∇ i A j − A j Γ ikj e k . In this relation for the last term we inter-
change j and k indices, since they are dummy indices. Then, after factoring
  
( ) ( )
out e j , we get ∇ i A j e j = e j ∇ i A j − Ak Γ kij . We define the expression in the
bracket as A j,i where the comma in subscript indicates differentiation and i
represents the covariant component of gradient vector. Hence
∂A j
A=
− Γ kij Ak 10.12
j, i
∂x i
Equation
 10.12 is the covariant derivative of the covariant component of
vector A . Or
 
∇i A = A j, i e j 10.13

10.3  COVARIANT DERIVATIVES OF A MIXED TENSOR


Comparing Equations 10.6 and 10.12, we observe that for each index a term
involving a Christoffel symbol is added to the expression on the R.H.S and
when a covariant component of a vector is involved in a derivative operation,
a minus sign is multiplied to the corresponding Christoffel symbol, contrary
to a plus sign for when the contravariant component is involved. This rule
can be used to extend the derivative calculation of a tensor of higher ranks.
To show this, we consider a mixed tensor of third rank, for example Akij with
 
the invariant A = Akij ei e j e k . The covariant derivative can be written as
∂Akij
A=
ij
k, n + Γ nm
i
Akjm + Γ nm
j
Akim − Γ nk
m
Amij 10.14
∂x n
 
Therefore, ∇ n A = Akij, n ei e j e k which is the component n of a tensor of rank
  
four (i.e., ∇A = Akij, n ei e j e k e n ).

Tensor-Analysis-for-Engineers_2E_CH10.indd 40 10/3/2020 10:22:52 AM


Gradient Vector Operator—Christoffel Symbols • 41

10.4 CHRISTOFFEL SYMBOL RELATIONS AND


PROPERTIES—1ST AND 2ND KINDS
The definition of a Christoffel symbol of the first kind, properties, and some
relations for calculation of Christoffel symbols are discussed in this section.
The properties are:
1. Symmetry of the lower indices: The Christoffel symbol of the second
kind is symmetric w.r.t lower indices, or

Γ kij =Γ kji 10.15

To show this, we use Equation 10.5, after changing index k → n , and



­perform a dot product operation on it by contravariant basis vector e k. Or
   
e k ⋅ ∇ i e j = Γ nij e k ⋅ en = Γ kij. Therefore, we can write

δ nk
 
( )
Γ kij = e k ⋅ ∇ i e j 10.16

We can use Equation 10.16 to calculate Christoffel symbol Γ kij in Cartesian


coordinate system variables yi. After expanding the R.H.S ­ expression
by appropriate transformation and using chain rule, we will receive
   ∂x k   ∂yn ∂  ∂yp   ∂x k ∂yn ∂ ∂yp  m 
e k= ( )
⋅ ∇ i e j  m Em  ⋅ i n  = Ep  (E ⋅ Ep ) =
 ∂y  ∂x ∂y  ∂x  ∂y ∂x ∂y ∂x   
j m i n j

δm p

∂x k  ∂yn ∂x q  ∂ 2 y
p
∂x q
  . Where, in the last expression we inserted ( = 1,
∂yp  ∂x i ∂yn  ∂x q ∂x j ∂x q

δ iq
or using chain rule). Finally, we receive

∂x k ∂ 2 y
p

Γ kij = p i j 10.17
∂y ∂x ∂x
Equation 10.17 clearly shows the symmetry of Γ kij for its lower indices, since
∂ 2 yp ∂ 2 yp
the order of differentiation is irrelevant, i.e., i j = j i .
∂x ∂x ∂x ∂x
2. Christoffel symbol is not a tensor: Because its value in a Cartesian
­system is zero; hence, if it transforms as a tensor it should be zero in
any arbitrary system as well. But we know that this is not the case (see
Equations 10.10 and 10.17).

Tensor-Analysis-for-Engineers_2E_CH10.indd 41 10/3/2020 10:22:54 AM


42 • Tensor Analysis for Engineers, 2E

3. Covariant derivative of the metric tensor: This quantity leads to


a useful formula for calculating the value of a Christoffel symbol.
First, we find the covariant derivative of the metric tensor, or
     
( ) ( )
∇ i g jk =∇ i e j ⋅ ek =e j ⋅ ( ∇ i ek ) + ∇ i e j ⋅ ek . Now, using Equation
   
10.5, we can write ∇ i ek = Γ nik en and ∇ i e j =
Γ nij en . Therefore,
n   n  
∇ i g jk = Γ ik (e j ⋅ en ) + Γ ij (en ⋅ ek ) and finally we receive
 
g jn gnk

∂g jk
∇ i g jk =
= Γ nik g jn + Γ nij gnk 10.18
∂x i
Note that by comparing Equation 10.18 with the rule of covariant derivatives
of tensors (see Equation 10.14) we can conclude that g jk, i = 0, a reasonable
result considering that a metric tensor in a Cartesian system is a constant/
unity and hence its derivative is equal to zero in an arbitrary system.
4. Christoffel symbol of the first kind: So far, we have defined the Christ-
offel symbol of the second kind. We now derive formulas that can be
used for calculating its value as well as defining a Christoffel symbol of
the first kind. To do this, we manipulate Equation 10.18 by permuting
the indices (i.e., i → j, j → k, and k → i ), twice in sequence. Hence we
∂g
get two alternative but equivalent relations as kij = Γ nji g jn + Γ njk gni and
∂x
∂gij
= Γ kj gin + Γ ki gnj . Now we subtract Equation 10.18 from the sum of
n n

∂x k
the latter two relations, using along the way the symmetry of both metric
tensor and Christoffel symbols. The result reads
1  ∂g jk ∂gik ∂gij 
Γ nij gnk
=  + j − k  10.19
2  ∂x i ∂x ∂x 
In Equation 10.19, the quantity Γ nij gnk is the Christoffel symbol of the first
kind, also written as Γ ij, k ≡ ij, k. We can use Γ nij gnk to find a relation for
­calculation of the Christoffel symbol of the second kind in terms of ­metric
tensor. To do this we multiply it by g mk to get Γ nij gnk g mk =δ nm Γ nij =Γ mij .
Therefore, after multiplying Equation 10.19 by g mk, we get
g mk  ∂g jk ∂gik ∂gij 
=Γ mij  + j − k  10.20
2  ∂x i ∂x ∂x 
Equation 10.20 states that the Christoffel symbol of the second kind is equal
to the first kind multiplied by the doubly contravariant metric tensor related
to the coordinate system in use. Observing Equation 10.19, a symmetry
shows up. That is, the derivative is w.r.t. the coordinates indices and for each
term in the bracket the remaining indices are used for the metric tensor.

Tensor-Analysis-for-Engineers_2E_CH10.indd 42 10/3/2020 10:22:56 AM


Gradient Vector Operator—Christoffel Symbols • 43

5. For an orthogonal coordinate system we can simplify Equation 10.20,


using the property of gij and g ij being diagonal tensors or matrices
(see Equation 7.9). In other words, we can write g= ij g=
ij
0 for i ≠ j .
Therefore, examining the terms on the R.H.S of Equation 10.20, we can
∂gij ∂g
conclude that k = 0 and ikj ≠ 0 only when i = k . Also g mk ≠ 0 when
∂x ∂x
∂g jk
m = k and ≠ 0 , since j cannot be equal to k . By implementing
∂x i
these relations among the indices (i.e., i= k= m and i ≠ j ) and ­rewriting
Equation 10.20, we receive

g ii ∂gii
Γ iij = , no summmation on i 10.21
2 ∂x j

Equation 10.20, for i= j ≠ k = m reduces to

g kk ∂gii
Γ kii =− , no summmation on i and k 10.22
2 ∂x k

For orthogonal coordinate systems, using Equation 7.13, we substitute for


hi−2 ∂ ( hi )
2
−2
gii = hi and g = hi in Equation 10.21 to obtain Γ ij =
2 ii i
, or
2 ∂x j
1 ∂hi
Γ iij = , no summmation on i, ( orthogonal ) 10.23
hi ∂x j

Simply, by letting i = j in Equation 10.23, we receive

1 ∂hi
Γ iii = , no summmation on i, ( orthogonal ) 10.24
hi ∂x i

hk−2 ∂ ( hi )
2

Similarly, Equation 10.22 yields Γ =− k


ii, or
2 ∂x k
hi ∂hi
Γ kii =− , no summmation on i and k, ( orthogonal ) 10.25
hk2 ∂x k

6. Another useful relation can be derived for the value of Γ iin, which
 
is ei change w.r.t x n in the direction of ei. We use the fact that the
derivative of the permutation tensor, or ,nijk is zero, since its value
in the Cartesian coordinates is null. Using Equation 10.14, we can

Tensor-Analysis-for-Engineers_2E_CH10.indd 43 10/3/2020 10:22:59 AM


44 • Tensor Analysis for Engineers, 2E

∂ ijk
write =
,nijk + Γ nm
i
 mjk + Γ nmj
 imk + Γ knm = ijm
0 . To simplify the
∂x n
­derivation, without losing generality, we select=i 1,=j 2,= k 3. Hence,
∂ 123
we get = − ( Γ nm 
1 m 23
+ Γ nm 
2 1m3
+ Γ nm  ) . Collecting non-
3 12 m

∂x n
∂ 123
zero terms, we have = − ( Γ1n1  123 + Γ 2n2  123 + Γ 3n3  123 ) = − 123 Γ nii ,
∂x n

­summation applies on i . Recalling that  123 = 1 /  and Γ nii = Γ ini , we


∂ 1 1
get n   = − Γ iin (recall  is the Jacobian). Performing the
∂x    
­differentiation and rearranging terms, we receive

1 ∂
Γ iin = n 10.26
 ∂x

Note that Equation 10.26 works for arbitrary coordinate systems and it
recovers Equation 10.23 when the system is orthogonal.

10.4.1. Example: Christoffel symbols for cylindrical and spherical


coordinate systems
In this example, we calculate and derive the relations for Christoffel symbols
of the second kind, for cylindrical and spherical coordinate systems. The
results are also expressed in terms of unit vectors (i.e., the physical com-
ponents) for each coordinate system. Readers should note that the results
depend on the order of coordinate axes, defined. In other words, attention
should be given when reading comparable results from other references in
relation to their defined corresponding coordinates axes.

Cylindrical coordinates
From the results of Example 8.1, for a cylindrical coordinate system ( r ,θ , z )
(note the order of the coordinates defined here, see Figure 8.2) we can
write the non-zero terms of the metric tensor, as g= rr h=
2
r 1 , gθθ= h=
2
θ r 2,
and g=zz h=
2
z 1 . Therefore, the contravariant metric tensor reads g = 1,
rr

gθθ = r −2 , and g zz = 1 . Using Equations 10.20 and 10.25 and considering that
indices i, j, k, m are various permutations of cylindrical variables r,θ , z we
receive the Christoffel symbol of the second kind as

Tensor-Analysis-for-Engineers_2E_CH10.indd 44 10/3/2020 10:23:01 AM


Gradient Vector Operator—Christoffel Symbols • 45

  Γ rrr Γ rrθ Γ rrz  0 0 0 


 r  r   
Γ = Γθ r Γθθ Γθr z  = 0 − r 0 
r

  Γ rzr Γ rzθ Γ rzz  0 0 0 


 
  Γθ Γθrθ Γθrz   0 1 / r 0 
 θ  θrr θ   
Γ = Γθ r Γθθ Γθθ z  = 1 / r 0 0  10.27
  Γθzr Γθzθ Γθzz   0 0 0 
 
 Γz Γ rzθ Γ rzz  0 0 0 
 z  zrr   
Γ = Γθ r Γθθ Γθz z  = 0 0 0 
z

  Γ zzr Γ zzθ Γ zzz  0 0 0 


 

1 ∂ ( hθ ) 1 ∂r h ∂ ( hθ ) ∂r
For example, Γ12 2
= Γ 221 =Γθrθ = = =1 / r and Γθθ
r
=− θ2 = −r = −r
hθ ∂r r ∂r hr ∂r ∂r
h ∂ ( hθ ) ∂r
Γθθ
r
=− θ2 =−r = − r . Recall that the symbols, given by Equation 10.27 are defined
hr ∂r ∂r 
 ∂er 
based on the covariant basis vectors, ei (see Equation 10.5), or = (1 / r ) eθ
 ∂θ 
∂eθ  Γθr θ
and = ( − r ) er . It is useful to write the Christoffel symbols in terms of
∂θ  r
Γθθ
the ­physical components of the vectors involved. This is done by using
 
  ∂ ( re (θ ) )  ∂ ( e (θ ) ) 
Equation 3.8 (i.e. ei = hi e ( i ) ), or = − re ( r ) , hence = −e ( r ) ,
∂θ ∂θ
or the Christoffel symbol based on unit vector reads Γˆ θθ r
= −1 (hatted to
distinguish them from the relation given in Equation 10.27). Similarly, for
  
∂er  ∂ ( e ( r )) 1  ∂ ( e ( r )) 
= (1 / r ) eθ we can write = ( re (θ ) ) , hence = e (θ ), or
∂θ  ∂θ r ∂θ
Γθr θ
the Christoffel symbol based on unit vector reads Γˆ θ = rθ 1.
We could also calculate the Christoffel symbols Γˆ θrθ and Γˆ θθ r
, using the
unit vectors or the physical components, as given in Example 8.1. Writing
cosθ  − sin θ 
     
these relations in vector form, we have e ( r ) =  sin θ  , e (θ ) =  cosθ  ,
 0   0 
   

Tensor-Analysis-for-Engineers_2E_CH10.indd 45 10/3/2020 10:23:04 AM


46 • Tensor Analysis for Engineers, 2E

0    
   ∂e ( r ) ∂e (θ ) ∂e ( z )
and e ( z ) = 0  . Therefore, the derivatives are; = = = 0 ,
1  ∂r ∂r ∂r
 
 − sin θ   − cosθ     
∂e ( r )    ∂e (θ )    ∂e ( z ) ∂e ( r ) ∂e (θ ) ∂e ( z )
= = cosθ  e (θ ) , = − sin θ  = −e ( r ) , =
0, = = = 0
∂θ  0  ∂θ  0  ∂θ ∂z ∂z ∂z
   
  
∂e ( r ) ∂e (θ ) ∂e ( z )
= = = 0. Therefore, the non-zero Christoffel symbols calculated
∂z ∂z ∂z
based on the unit vectors are Γˆ θrθ = 1 and Γˆ θθ
r
= −1. The final results can be
summarized as

  Γˆ rrr Γˆ rrθ Γˆ rrz  0 0 0


    
Γˆ r = Γˆ θr r Γˆ r
θθ Γˆ θr z  = 0 −1 0 
 ˆr 
  Γ zr Γˆ rzθ Γˆ rzz  0 0 0 

  Γˆ θrr Γˆ θrθ Γˆ θrz  0 1 0
ˆθ  ˆθ   
Γ = Γθ r Γˆ θ
θθ Γˆ θθ z  = 1 0 0  10.28
  ˆθ 
  Γ zr Γˆ θzθ Γˆ θzz  0 0 0 

  Γˆ rrz Γˆ rzθ Γˆ rzz  0 0 0 
ˆz ˆz   
Γ = Γθ r Γˆ z
θθ Γˆ θz z  = 0 0 0 
 ˆz 
 Γ zr Γˆ zzθ Γˆ zzz  0 0 0 

Spherical coordinates
From the results of Example 8.2, for a spherical system ( r ,ϕ ,θ ) , (note
the order of the coordinates defined here, see Figure 8.3) we can write
the non-zero terms of the metric tensor as g= rr h=
2
r 1 , gϕϕ= h=
2
ϕ r 2 , and
gθθ= h=2
θ r sin ϕ . Therefore, the contravariant metric tensor reads g rr = 1 ,
2 2

g = 1 / r , and gθθ = 1 / ( r 2 sin 2 ϕ ) . Using Equations 10.20 and 10.25 and


ϕϕ 2

considering that indices i, j, k, m are various permutations of spherical


­variables r,ϕ ,θ we get the Christoffel symbol of the second kind as

Tensor-Analysis-for-Engineers_2E_CH10.indd 46 10/3/2020 10:23:07 AM


Gradient Vector Operator—Christoffel Symbols • 47

  Γ rrr Γ rrϕ Γ rrθ  0 0 0 


 r  r r   
Γ = Γϕ r Γϕϕ Γϕθ  = 0 − r
r
0 
  Γθr r Γθϕ
r r 
Γθθ  0 0 − r sin 2
ϕ 
   
  
  Γϕ Γϕrϕ Γϕrθ   0 1 / r 0 
 ϕ  ϕrr   
Γ = Γϕ r Γϕϕϕ Γϕϕθ  = 1 / r 0 0  10.29
  Γθϕr ϕ
Γθϕ ϕ 
Γθθ  sin 2ϕ 
    0 0 − 
  2 
 Γθrr Γθrϕ Γθrθ   0 0 1/r 
  θ   
Γθ = Γθϕ r Γθϕϕ Γϕθ  =  0 0 cot ϕ 
  Γθθ r
  Γθθϕ Γθθθ  1 / r cot ϕ 0 

ϕ h3 ∂h3 r sin ϕ ∂ ( r sin ϕ ) sin 2ϕ


For example, Γ 233 =Γθθ =− =− 2 =− sin ϕ cos ϕ =− .
h2 ∂x
2 2
r ∂ϕ 2
Recall that the
symbols are defined based on the covari-

 ∂eθ  sin 2ϕ  
ant basis vectors, ei (see Equation 10.5), or = −  eϕ .
∂θ 2
ϕ
Γθθ
We can write this relation in terms of the physical components,
 
∂ ( r sin ϕ e (θ ) )  sin 2ϕ   ∂ ( e (θ ) ) 
as = −  re (ϕ ) , or = ( − cos ϕ ) e (ϕ ) .
   
∂θ  2  ∂θ ϕ
Γˆ θθ
Similarly, the other non-zero symbols can be written as;
hϕ ∂hϕ ∂r h ∂h ∂ ( r sin ϕ )
Γϕϕ
r
= − 2 = −r = − r , Γθθ
r
= − θ2 θ = − r sin ϕ = − r sin 2 ϕ,
hr ∂r ∂r hr ∂r ∂r
1 ∂hϕ 1 ∂r 1 1 ∂hθ 1 ∂ ( r sin ϕ ) 1
Γϕϕ r = Γϕrϕ = = = , Γθrθ = Γθθ r = = =,
hϕ ∂r r ∂r r hθ ∂r r sin ϕ ∂r r
1 ∂h 1 ∂ ( r sin ϕ )
and Γθϕθ = θ
Γθϕ = θ
= =cot ϕ . In terms of ­ physical
hθ ∂ϕ r sin ϕ ∂ϕ 
∂eϕ 
components of the corresponding vectors, we have = ( − r ) er or
∂ϕ 
  Γϕr ϕ
∂ ( re(ϕ ) )   ∂e 
=− re ( r ) = ˆ
− e ( r ), hence Γϕϕ = −1 . Also,
r θ
= ( − r sin 2 ϕ ) er
∂ϕ ∂θ 
r
Γθθ

Tensor-Analysis-for-Engineers_2E_CH10.indd 47 10/3/2020 10:23:10 AM


48 • Tensor Analysis for Engineers, 2E


∂ ( r sin ϕ e(θ ) )  
or = − r sin 2 ϕ e ( r ) = (− sin ϕ ) e ( r ), hence Γˆ θθ r
= − sin ϕ.
∂θ  
  ˆ
Γθθr

∂er  ∂e ( r )  
Also, = (1 / r ) eϕ= or (1= / r ) re (ϕ ) e (ϕ ) , hence Γˆ ϕrϕ = 1. Also,
∂ϕ  ∂ϕ
Γϕrϕ
 
∂er  ∂e ( r )  
(
==1 / r ) eθ or (1= / r ) ( r sin ϕ e (θ ) ) sin  ϕ e (θ ) , hence Γˆ θrθ = sin ϕ.
∂θ θ
∂θ Γˆ θrθ
Γrθ 
∂eϕ  ∂ ( re (ϕ ) )  
Also, = ( cot ϕ )= eθ or =
cot ϕ ( r sin ϕ e (θ ) ) cos ϕ e (θ ) , hence
∂θ   ∂θ Γˆ θϕθ
Γθϕθ
ˆΓθ = cos ϕ .
ϕθ

The Christoffel symbols can be obtained directly using the unit vectors as
well. From the results of Example 8.1, writing the physical components rela-
sin ϕ cosθ  cos ϕ cosθ 
     
tions in vector form, we have e ( r ) =  sin ϕ sin θ  , e (ϕ ) =  cos ϕ sin θ  , and
 cos ϕ   − sin ϕ 
− sin θ     
  
   ∂e ( r ) ∂e (ϕ ) ∂e (θ )
e (θ ) =  cosθ  . Therefore, the derivatives are; = = = 0 ,
 0  ∂r ∂r ∂r
 
 cos ϕ cosθ   − sin ϕ cosθ  
∂e ( r )    ∂e (ϕ )    ∂e (θ )
= = cos ϕ sin θ  e (ϕ ) , =  − sin ϕ sin θ  = −e ( r ) , =
0,
∂ϕ  − sin ϕ  ∂ϕ  − cos ϕ  ∂ϕ
   
 − sin ϕ sin θ   − cos ϕ sin θ 
∂e ( r )    ∂e (ϕ )   
= = sin ϕ cosθ  e (θ ) sin ϕ= , = cos ϕ cosθ  e (θ ) cos ϕ ,
∂θ   ∂θ  
 0   0 
 − cosθ 
∂e (θ )    
=  − sin θ  = − e ( r ) sin ϕ − e (ϕ ) cos ϕ . Therefore, the non-zero
∂θ  0 
 
Christoffel symbols calculated based on the unit vectors are

Tensor-Analysis-for-Engineers_2E_CH10.indd 48 10/3/2020 10:23:13 AM


Gradient Vector Operator—Christoffel Symbols • 49

  Γˆ rrr Γˆ rrϕ Γˆ rrθ  0 0 0 


  r   
=ˆ ˆ
Γ Γϕ r Γϕϕ Γ=
r ˆ r ˆ r
0 −1
ϕθ   0 
 ˆr ˆr   
 Γθ r Γθϕ Γθθ  0 0 − sin ϕ 
 ˆr

  Γˆ ϕrr Γˆ ϕrϕ Γˆ ϕrθ  0 1 0 
ˆϕ ˆϕ ˆ ϕ ˆ ϕ
  
=
Γ = Γϕ r Γϕϕ Γϕθ  1 0 0  10.30
  ˆϕ ˆ ϕ ˆ ϕ   0 0 − cos ϕ 
  Γθ r Γθϕ Γθθ   

  Γˆ θrr Γˆ θrϕ Γˆ θrθ   0 0 sin ϕ 
ˆθ  ˆθ ˆ θ ˆ θ
  
Γ = Γϕ r Γϕϕ Γϕθ  =  0 0 cos ϕ 
  ˆθ ˆθ   0 
 Γθ r Γθϕ Γθθ  sin ϕ cos ϕ
ˆθ

Readers can use the Christoffel symbols of the 2nd kind calculated in this
example and further calculate the Christoffel symbols of the 1st kind using
Equation 10.19.

Tensor-Analysis-for-Engineers_2E_CH10.indd 49 10/3/2020 10:23:13 AM


Tensor-Analysis-for-Engineers_2E_CH10.indd 50 10/3/2020 10:23:13 AM
CHAPTER

11
DERIVATIVE FORMS—CURL,
DIVERGENCE, LAPLACIAN

In the governing equations for physical phenomena we usually have terms


which contain various forms of gradient operator, including the gradient
­vector itself—for example, when the gradient vector operates as cross prod-
uct or dot product with another tensor quantity. The cross-product is called
   
the curl, ∇ × A and the dot-product is the divergence, ∇ ⋅ A. For example, in
fluid mechanics the curl of the velocity vector is the vorticity vector and
divergence of velocity vector vanishes, for incompressible fluids.
As mentioned, one of the objectives of tensor analysis is to provide a tool to
write down the governing equations in coordinate-independent forms while
the covariancy or contravariancy of tensor quantities are correctly imple-
mented in these equations. In the following sections, we derive the coordi-
nate-independent relations for curl, divergence, Laplacian, and biharmonic
operators of tensors for an arbitrary coordinate system.

11.1  CURL OPERATIONS ON TENSORS


To form the curl operator expression, we first consider it for a vector in
3D coordinate space and then extend it to higher order dimension.
In Section 9, we gave a list of guidelines for forming expressions for t­ ensors.
Following these guidelines and using Equation 9.6,  we can write the
( )
­covariant component of the curl of a vector as Ci = ∇ × A = ijk ∇ j A k . We
i

Tensor-Analysis-for-Engineers_2E_CH11.indd 51 10/3/2020 10:24:00 AM


52 • Tensor Analysis for Engineers, 2E

know that ijk is a tensor (see Section 9). But the expression ∇ j A k does not
transform like a tensor, due to extra terms appearing when transformed to
another arbitrary coordinate system [4], [7]. However, if we use the results
obtained in Section 10 and replace ∇ j A k with the tensor A ,k ⋅ j (i.e., the con-
travariant derivative of the contravariant component) then we get the proper
expression as (see Equation 10.8)

Ci = ijk A k, ⋅ j 11.1
Similarly, the contravariant component of the curl is written as, using
Equations 9.6 and 10.12,

C i =  ijk Ak, j 11.2

Both expressions given by Equations 11.1 and 11.2 are tensors, since terms
are involved are tensors as well as both reduce to the Cartesian forms when
∂A
written in the Cartesian coordinate system (i.e., Ci = eijk kj because the
∂y
covariant and contravariant components are identical and Jacobian is unity).
To have a more practical and explicit relation for the curl, we write Equation
∂A
11.2 in detail or = C i  ijk A= k, j  ijk kj −  ijk Γ njk An examining the last term,
∂x
on the R.H.S, using the symmetry property of the Christoffel ­ symbol
(i.e., Γ njk = Γ kjn ) and the anti-symmetry of the permutation symbol (i.e.,
 ijk = − ikj) yields,  ijk Γ njk An = − ikj Γ nkj An . But after interchanging j ↔ k ,
dummy indices, only in the term on the R.H.S of the latter expression we
receive − ikj Γ nkj An = − ijk Γ njk An. After comparing this result with the original
expression (i.e., − ijk Γ njk An =  ijk Γ njk An) we can conclude that  ijk Γ njk An = 0.
Therefore, Equation 11.2 can be written as
  eijk  ∂Ak 
(∇× A)
i
Ci = =   11.3
  ∂x j 
 
The curl vector is then written as C = C i ei .
Similarly, we write Equation 11.1 in detail, also using Equation 10.8, or
∂A k
Ci = ijk A ,k ⋅ j = ijk g jn n + ijk g jnΓ nm
k
A m . Examining the last term on the
∂x
R.H.S, it turns out that it doesn’t vanish. Therefore, we have

Tensor-Analysis-for-Engineers_2E_CH11.indd 52 10/3/2020 10:24:03 AM


Derivative Forms—Curl, Divergence, Laplacian • 53

   ∂A k 
Ci = (∇× A) = g jn eijk  n + Γ nm
k
A m  11.4
i
 ∂x 

Note that the curl operation result


 is a tensor of the
 same rank as the original
quantities. As in our example C is a vector, like ∇ and A .
Now, we extend the discussion and find the relation for tensors of higher
rank. For simplicity of writing the expressions, without losing generality,
we consider a mixed tensor of second rank A ij . The invariant quantity is
   
( )
A = A ij ei e j and the curl reads ∇ × A = ∇ × A ij ei e j . The gradient operator

just differentiates all the terms in front of it but the vector part of ∇ can
 
form a cross-product with either ei or e j, both are possible and legitimate
operations. One can form, then two forms of the curl of the quantity A . In
general, we can have N number of forms for the curl of a tensor of order N.
For our example here, we have two forms:
1. We consider the case for which the cross-product operation occurring

with ei . Therefore, the contravariant component of A ij should be involved
with the permutation tensor indices.
  We can write, using Equation 11.1,

( )
the component of curl of A as ∇ × ei A ij e j . Careful attention should be
given to pick up the right indices to form the curl expression. Since we

picked the ei for cross-product operation with gradient, the covariant
permutation tensor should be used, say kmn . Therefore, the index m
corresponds to the contravariant differentiation and index n summed up
with the contravariant component of the tensor A . The index k , is then
the covariant component of the result or the curl tensor. The rank of the
result should be the same as the original quantity A ij (i.e., rank two),
hence the free covariant index j remains intact and we end up with a
doubly-covariant tensor, or

 ∂A nj 
= =
Ckj kmn A nj ,m⋅ g mp ekmn  p + Γ npq A qj  11.5
 ∂x 
 
2. We consider the case for which the cross-product operation occurs with

e j . Therefore, the covariant component of A ij should be involved with
the permutation tensor. We can write, using Equation 11.1, the compo-
  
( )
nent of curl of A as ∇ × e j A ij ei . Careful attentions should be given to
pick up the right indices to form the curl expression. Since we picked

the e j for cross-product operation with gradient, the contravariant

Tensor-Analysis-for-Engineers_2E_CH11.indd 53 10/3/2020 10:24:06 AM


54 • Tensor Analysis for Engineers, 2E

permutation tensor should be used, say  kmn . Therefore, the index m


corresponds to the covariant differentiation and index n is summed up
with the covariant component of the tensor A . The index k , is then the
contravariant component of the result or the curl. But the rank of the
result should be the same as the original quantity A ij (i.e., rank two),
hence the free contravariant index i remains intact and we end up with
a doubly contravariant tensor, or

ekmn  ∂Ani 
=C ki =
kmn i
An,m   11.6
  ∂x m 

A similar operation can be used to write down the curl of a tensor of rank N,
which has N possible outcomes.

11.2 PHYSICAL COMPONENTS OF THE CURL OF


TENSORS—3D ORTHOGONAL SYSTEMS
In many applications, we consider orthogonal systems (i.e., gij = 0 , i ≠ j ). In
this section, we derive expressions for the physical components of the curl
of a vector A in 3D orthogonal systems. Recalling from previous sections
 i i  
(see Sections 3 and 8), we can write= A A= ei A=ie A ( i ) e ( i ) and hi = ei .
 j  
Using ei ⋅ e = δ i j, for orthogonal systems we have ei ⋅ e i = 1 which means that
 
the covariant basis vector ei and contravariant basis vector e i both point in
 
the same direction. For example, e 1 and e1 are along the same line and point
in the same direction. Therefore,

e i = 1 / hi 11.7
       
Substituting ei = hi e ( i ) in A ( i ) e ( i ) = A i ei and e i = e ( i ) / hi in A ( i ) e ( i ) = Ai e i
gives

( i ) h=
A= iA
i
A i / hi no sum on i 11.8

(1) h=
Or A= 1A
1
( 2 ) h=
A1 / h1 , A= 2A
2
( 3 ) h=
A2 / h2 , A= 3A
3
A3 / h3 .

Tensor-Analysis-for-Engineers_2E_CH11.indd 54 10/3/2020 10:24:09 AM


Derivative Forms—Curl, Divergence, Laplacian • 55


Now we would like to write the physical components of the curl of vector A . To
  i eijk  ∂Ak 
do this we multiply Equation 11.3 by hi , or ∇ × A = hi h=
iC
i
hi(  )
  ∂x j 
.
But hiC i = C ( i ) and Ak = hk A ( k ) (see Equation 11.8).
 Therefore, we will get
the physical component C ( i ) of the curl of vector A in terms of its physical
component A ( k ) , as
eijk ∂ ( hk A ( k ) )
C ( i ) = hi no sum on i, orthogonal 11.9
 ∂x j
Or, using  = h1 h2 h3 for orthogonal systems, we have

   1  ∂ ( h3 A ( 3 ) ) ∂ ( h2 A ( 2 ) ) 


( ∇ × A )=
(1 ) (1 )
C= 
h2 h3  ∂x2

∂x3



    ∂ ( h1 A (1 ) ) ∂ ( h3 A ( 3 ) ) 
1
 (∇× A=
)(2) (2)
C=
∂x3
h1 h3

∂x1
 11.10
  

  1  ∂ ( h2 A ( 2 ) ) ∂ ( h1 A (1 ) ) 

 ( )
( 3 ) C=
∇× A = (3)
h1 h2 

∂x1

∂x2

 
It can be concluded that for a Cartesian system we recover the familiar
   ∂Az ∂Ay     ∂AX ∂AZ 
expressions, or ∇ × A = C= 1 ( − )  , ∇ × A = C= 2  − (
, )
1
 ∂Y ∂Z  2
 ∂Z ∂X 
   ∂AY ∂AX 
(
and ∇ × A = C=
3
3 
 ∂X
)−
∂Y 
 , since h=
1 h=
2 h=
3 1.

11.3 DIVERGENCE OPERATION ON TENSORS


To form the divergence operator expression, we first consider it for a vector in
3D coordinate space and then extend the results to higher order dimension.
In Section 9, we gave a list of guidelines for forming expressions. Following
these guidelines and using Equation 9.2, we can write the divergence (using
the covariant component of the gradient) as
 
∇ ⋅ A = A ,ii 11.11

Tensor-Analysis-for-Engineers_2E_CH11.indd 55 10/3/2020 10:24:11 AM


56 • Tensor Analysis for Engineers, 2E

which reduces to proper expression in Cartesian coordinates and shows


that the divergence of a vector results in a scalar, or in general divergence
operation reduces the rank of the tensor, on which it is operating, by one. To
further simplify Equation 11.11, we write it explicitly (see Equation 10.6) as
∂A i
A=i
,i + Γ ini A n and plug in for Γ iin from Equation 10.26 (after ­interchanging
∂x i

∂A i A i ∂
dummy indices i ↔ n), to get = A ,ii + . After substituting for A,i i
∂x i  ∂x i
into Equation 11.11 and performing some manipulations, we receive

  1 ∂ ( A i )
∇⋅A = 11.12
 ∂x i

In addition, Equation 11.11 can be written  inij terms of the covariant com-
 
ij
,i
( )
ponent of the vector using g , or ∇ ⋅ A = g A j , after expanding gives
=
,i
( )
∇ ⋅ A g ij A j + A=j g ij

, i
g ( )
ij
A j, i or after interchanging i ↔ j and using
=0
the symmetry of metric tensor, we receive
 
∇ ⋅ A = g ij Ai, j 11.13

Now we extend the discussion by considering a tensor of higher rank, for



example and without losing generality a tensor of second rank A = A ij ei e j.
  
( )
The divergence of A is ∇ ⋅ A = ∇ ⋅ A ij ei e j in which we have choices
 
between ei or e j for the gradient vector performing a dot-product opera-
tion. Therefore, we have two cases for this example:
     
(
1. ∇ dot products with ei: In this case we get ∇ ⋅ A = ∇ ⋅ ei A ij e j . Note )
that the gradient differentiates all terms in front of it but as a vector

onlydotted with ei . In other words, the contravariant index i is involved
in
 the dot-product operation. Using Equation 11.11 we can write
∇ ⋅ A = A ij, i which is a tensor of rank one, as expected since divergence
reduces the rank of A ij by one. But using Equation 11.12, we have
∂A ij
A= i
j, i + Γ im
i
A mj − Γ mij Ami in which the first two terms on the R.H.S.
∂x i

gives
∂A ij
+ Γ im A j =
i m
(
1 ∂ A j
i
) , using Equation 11.12. Finally, we get
∂x i  ∂x i
the result as

   i j 1 ∂ A j
i
( )
( )
∇ ⋅ A = ∇ ⋅ ei A j e =
 ∂x i
− Γ mij Ami 11.14

Tensor-Analysis-for-Engineers_2E_CH11.indd 56 10/3/2020 10:24:14 AM


Derivative Forms—Curl, Divergence, Laplacian • 57

     
( )
2. ∇ dot products with e j : In this case we get ∇ ⋅ A = ∇ ⋅ e j A ij ei . Note
that the gradient differentiates all terms in front of it but as a vector

only dotted with e j . In other words, the index j is involved
 in the dot-­
product operation. Using Equation 11.11 we can write ∇ ⋅ A = g kj Aki , j
which is a tensor of rank one, as expected since divergence reduces the
rank of A ij by one. Therefore, we have
   
( )
∇ ⋅ A = ∇ ⋅ e j A ij ei = Aki , . k 11.15

Using similar operations, we can write the expression for divergence of a


­tensor of rank N . Both relations given by Equations 11.14 and 11.15 reduce
to familiar forms for divergence in a Cartesian coordinate system. For
   ∂Ax ∂Ay ∂Az
­example, for divergence of vector A we get ∇ ⋅=A A= i, i + + .
∂x ∂y ∂z

11.4  LAPLACIAN OPERATIONS ON TENSORS


A Laplacian operator is the result of a gradient operator forming a dot-product
 
( )
with itself, or divergence of gradient, ∇ 2 = ∇ ⋅ ∇ . Performing Laplacian on
 
( )
a scalar ψ and using Equation 11.12, we can write ∇ 2ψ = ∇ ⋅ ∇ψ = ( ∇ψ ), i ,
i

1 ∂ ( ∇ ψ )
i
∂ψ
or ∇ ψ =
2
where ∇ iψ = g ij j . Therefore,
 ∂x i
∂x

1 ∂  ∂ψ 
∇ 2ψ = i  g ij j  11.16
 ∂x  ∂x 

Since ∇ 2 is a tensor of rank zero, then ∇ 2ψ is a scalar, as well. In general, the


rank is determined by the quantity that Laplacian is operating on.
We
 extend the discussion to find the Laplacian of a vector, for e­ xample

A = A i ei . Since for Laplacian the dot-product operation is performed
between the two gradients involved, we don’t have many choices, as was the
case for the divergence operator, and hence the formulation is more definite
in terms of the results. Using Equations 11.13 and 11.16, we can write the
contravariant component of the gradient of vector A as g nm A,in and the com-
( )
ponents of the Laplacian as g nm A,in . Note that index m indicates the dot-
,m
product

operation between the contravariant component of the gradient of
A and the covariant derivative of the second gradient involved. Expanding
(
the last expression, we receive g nm A = i
,n g,nm )
m A, n + g
,m
i nm
A,inm . But g,m = 0 ,
nm

Tensor-Analysis-for-Engineers_2E_CH11.indd 57 10/3/2020 10:24:17 AM


58 • Tensor Analysis for Engineers, 2E

since it is a tensor and its value is zero in the Cartesian coordinate system,
hence it should be zero for an arbitrary system, as well. Therefore, we have

( ∇=
A ) (g
2 i nm
, n ), m
A=i
g nm A,inm 11.17

The term A,inm which is the second covariant derivative is a new term, so
∂ ( A,in )
far. By expanding this term, we get= A,nm ( A
i
= , n ), m
i
+ Γ mj
i
A,nj − Γ mn
j
A,i j.
∂x m

∂ ( Ai ) i
=
But i
A,n A + Γ nk A and after substituting and rearranging similar
i k

∂x n
terms, we receive

∂2 Ai k ∂Γ nk
i
i ∂A
k
i ∂A
i
=
A,inm + A + Γ nk + Γ mj
∂x m ∂x n ∂x m ∂x m ∂x j
11.18
j ∂A
i
− Γ mn j + Γ mjΓ nk A − Γ mnΓ jk A
i j k j i k

∂x
Similar expressions can be written for higher order tensors, using hints
from Equation 11.18 for writing the terms involving
 Christoffel symbols
with appropriate signs. The
 higher the rank of A the more complicated the
related expression for ∇ A becomes.
2

For an orthogonal coordinate system, Equation 11.17 simplifies, since


g nm = 0 for m ≠ n , or (for N = 3 )

( )
∇ 2 A =i g11 A,i11 + g 22 A,i22 + g 33 A,i33 ( orthogonal )

11.5  BIHARMONIC OPERATIONS ON TENSORS


A biharmonic operator is the result of a Laplacian operator operating on
itself, or ∇ 4 =∇ 2 ( ∇ 2 ) . Performing the operation on a scalar ψ and using
Equation 11.12, we can write
 

1 ∂  ∂  1 ∂  ij ∂ψ   
∇ 4ψ = k g kl l   g   11.19
 ∂x  ∂x   ∂x i  ∂x j   
 
 ∇ 2ψ 

Tensor-Analysis-for-Engineers_2E_CH11.indd 58 10/3/2020 10:24:19 AM


Derivative Forms—Curl, Divergence, Laplacian • 59

When a biharmonic
 operates on a vector, thei result is a vector as well. For

example, for A = A i ei , we can write ∇ 4 A =B ei. Since the result is a vector
we can use Equation 11.17 to write

Bi = g lm g jk A,i jklm 11.20

The quantity A,i jklm is a lengthy expression and can be written in detail [2], [4],
[7] using hints taken from Equation 11.18. In principle, one can extend the
discussion to find operators like ∇ 2 n =∇ ∇
2 2
 ∇ 2
 . In practice we encounter
n times
mostly up to the level of the biharmonic operator in governing equations.

11.6 PHYSICAL COMPONENTS OF THE LAPLACIAN OF A


VECTOR—3D ORTHOGONAL SYSTEMS
In this section, we derive expressions for physical components of the
Laplacian of a vector. Relations for physical components are useful since
they are the magnitude of the components using unit vectors as the scale of
measurement (see Section 6).
 
We start with Equation 11.18 and write it for a vector, like A = A ( i ) e ( i )

 1 ∂  ∂A 
or ∇ 2 A = i  g ij j  . In an orthogonal system, we have g ij = 0 (when
 ∂x  ∂x 
i ≠ j ) and g = 1 / hi . Therefore, after substitution into the expression, we
ii 2


 1 ∂   ∂  A ( i ) e ( i )  
will have ∇ A = i  2
2
 . Performing the differentiations
 ∂x  hi ∂x i 
along with using related relations for Christoffel symbols and after some
manipulations, we get the physical j -component as [7]

  1 ∂h j ∂A ( i ) 1 ∂hi ∂A ( i ) 
∇2 A ∇2 A ( j ) + 2  2 i
= − 
 hi h j ∂x ∂x h j hi2 ∂x j ∂x i 
( j) j

 A ( i ) ∂h j ∂h j A ( i ) ∂hi ∂hi   A ( j ) ∂h j ∂h j A ( k ) ∂hi ∂hi 


+ + j 
− 2 2 i i +  11.21
 hi h j ∂x ∂x h j hi ∂x ∂x   hi h j ∂x ∂x hk h j hi2 ∂x k ∂x j 
3 j i 3 i

 A ( i ) ∂   ∂h j  A ( i ) ∂   ∂h  
+ j  −  j 
i

  ∂x  hi h j ∂x   ∂x  h j hi ∂x  
 2 i  i  2

Tensor-Analysis-for-Engineers_2E_CH11.indd 59 10/3/2020 10:24:20 AM


60 • Tensor Analysis for Engineers, 2E

In Equation 11.21, summation is done on indices i and k but not on index j,


since it is the free index. To show the application of Equation 11.21, we
present two examples to calculate the components of Laplacian of a vector
in cylindrical and spherical coordinate systems. Note that the Laplacian of a
vector is a vector as well, which has three components.

11.6.1 Example: Physical components of the Laplacian of a


vector—cylindrical systems
Consider a cylindrical coordinate system ( x1 , x2 , x3 ) ≡ ( r ,θ , z ) where r is the
radial distance, θ the azimuthal angle, and z the vertical coordinate, w.r.t.
the Cartesian coordinates ( y1 , y2 , y3 ) ≡ ( X , Y, Z ). The functional relations are
 X = r cosθ

 Y = r sin θ . Find the Laplacian expressions for a scalar and the ­physical
Z = z

components of a vector in this system. Let A (1 ) = Ar , A ( 2 ) = Aθ, and
A ( 3 ) = Az .

Solution:
 ∂y 
j

To find the covariant basis vectors, we use ei = i E j . Therefore, we get


∂x
 ∂X  ∂Y  ∂Z     ∂X  ∂Y 
e1 = E1 + E2 + E3 = cosθ E1 + sin θ E2. Similarly, e2 = E1 + E2 +
∂r ∂r ∂r ∂θ ∂θ
∂Z     ∂X  ∂Y  ∂Z  
E3 =− r sin θ E1 + r cosθ E2. And e3 = E1 + E2 + E3 = E3. Therefore,
∂θ ∂z ∂z ∂z
we have
  
=  er cosθ E1 + sin θ E2
   
 eθ = − r sin θ E1 + r cosθ E2
 
 ez = E3 
The scale factors are the magnitudes of the basis vectors. Hence
     
h1 = hr = er ⋅ er = 1, h2 = hθ = eθ ⋅ eθ = r , and h3 = hz = ez ⋅ ez = 1 . The
 e
unit vectors e ( i ) = i , are
hi
  
= e ( r ) cosθ E1 + sin θ E2
   
 e (θ ) = − sin θ E1 + cosθ E2
 
 e (ϕ ) = E3 

Tensor-Analysis-for-Engineers_2E_CH11.indd 60 10/3/2020 10:24:23 AM


Derivative Forms—Curl, Divergence, Laplacian • 61

1 0 0
The Jacobin =
is  h= r hθ hz r and g = h , or g = 0 1 / r 0  . Now
ii −2
i
 ij 2

0 0 1 
1 ∂  ∂ψ 
using Equation 11.16 for orthogonal system i.e. ∇ 2ψ = i  g ii i  ,
 ∂x  ∂x 
=
since g 0 for i ≠ j , and substituting for corresponding values we will get
ij

1 ∂  ∂ψ  1 ∂ 2ψ ∂ 2ψ
∇ 2ψ
= r + + . In other words, the Laplacian operator
r ∂r  ∂r  r 2 ∂θ 2 ∂z2
in cylindrical coordinate system reads

1 ∂  ∂  1  ∂ 2  ∂ 2 11.22
=∇2 r +  +
r ∂r  ∂r  r 2  ∂θ 2  ∂z2

Similarly, using Equation 11.21 we get the physical components of the


Laplacian for the vector A, as

 2 2 ∂A A
∇ 2 Ar − 2 θ − 2r
∇ A r = r ∂θ r
 
 2 2 ∂A A
∇ A θ =
∇ 2 Aθ + 2 r
− 2θ 11.23
  r ∂θ r
∇ A =
2
∇ Az
2

 z

Where the operator ∇ 2 is given


 by Equation 11.22 and Ar, Aθ , Az represent
the physical components of A.

11.6.2 Example: Physical components of the Laplacian of a


vector—spherical systems
Consider a spherical coordinate system ( x1 , x2 , x3 ) ≡ ( r , ϕ , θ ) where r is the
radial distance, ϕ the polar and θ the azimuthal angle, w.r.t. the Cartesian
coordinates ( y1 , y2 , y3 ) ≡ ( X , Y, Z ) . The functional relations are

 X = r sin ϕ cosθ

 Y = r sin ϕ sin θ . Find the Laplacian expressions for a scalar and the
 Z = r cos ϕ

­physical components of a vector in this system. Let A (1 ) = Ar, A ( 2 ) = Aϕ,
and A ( 3 ) = Aθ.

Tensor-Analysis-for-Engineers_2E_CH11.indd 61 10/3/2020 10:24:25 AM


62 • Tensor Analysis for Engineers, 2E

Solution:
 ∂y 
j

To find the covariant basis vectors, we use ei = i E j . Therefore, we get


∂x
 ∂X  ∂Y  ∂Z    
e1 = E1 + E2 + E3 = sin ϕ cosθ E1 + sin ϕ sin θ E2 + cos ϕ E3 . Similarly,
∂r ∂r ∂r
 ∂X  ∂Y  ∂Z    
e2 = E1 + E2 + E3 = r cos ϕ cosθ E1 + r cos ϕ sin θ E2 − r sin ϕ E3 . And
∂ϕ ∂ϕ ∂ϕ
 ∂X  ∂Y  ∂Z   
e3 = E1 + E2 + E3 = − r sin ϕ sin θ E1 + r sin ϕ cosθ E2 . Therefore, we
∂θ ∂θ ∂θ
have
   
 er = sin ϕ cosθ E1 + sin ϕ sin θ E2 + cos ϕ E3
    
 eϕ = r cos ϕ cosθ E1 + r cos ϕ sin θ E2 − r sin ϕ E3
  
 eθ = − r sin ϕ sin θ E 1 + r sin ϕ cos θ E 2

The scale factors are the magnitudes of the basis vectors. Hence
     
h1 = hr = er ⋅ er = 1 , h2 = hϕ = eϕ ⋅ eϕ = r , and h3 = hθ = eθ ⋅ eθ = r sin ϕ .

 e
The unit vectors e ( i ) = i , are
hi
   
 e ( r ) = sin ϕ cosθ E1 + sin ϕ sin θ E2 + cos ϕ E3
    
 e (ϕ ) = cos ϕ cosθ E1 + cos ϕ sin θ E2 − sin ϕ E3
  
 e (ϕ ) = − sin θ E1 + cosθ E2
 
1 0 0 
 
The Jacobin= is  h= r hϕ hθ r 2 sin ϕ and g ii = hi−2 , or g ij = 0 1 / r 2 0 
 
1 0 0  0 0 1 / ( r sin ϕ ) 
2 2

 
g ij = 0 1 / r 2 0  . Now using Equation 11.16 for orthogonal
 
0 0 1 / ( r sin ϕ ) 
2 2

1 ∂  ∂ψ 
system i.e. ∇ 2ψ = i  g ii i  , since = g ij 0 for i ≠ j, and substituting
 ∂x  ∂x 
1 ∂  2 ∂ψ  1 ∂
for corresponding values we will = get ∇ 2ψ r + 2
r ∂r  ∂r  r sin ϕ ∂ϕ
2

 ∂ψ  1 ∂ 2ψ
 sin ϕ + . In other words, the Laplacian operator in
 ∂ϕ  r 2 sin 2 ϕ ∂θ 2
spherical coordinate system reads

Tensor-Analysis-for-Engineers_2E_CH11.indd 62 10/3/2020 10:24:28 AM


Derivative Forms—Curl, Divergence, Laplacian • 63

1 ∂  2 ∂  1 ∂  ∂  1 ∂2
=∇2 r + 2  sin ϕ + 2 2 11.24
r ∂r  ∂r  r sin ϕ ∂ϕ 
2
∂ϕ  r sin ϕ ∂θ 2

Similarly, using Equation11.21 we receive the physical components of the


Laplacian for the vector A, as

 2 2A 2 ∂(sin ϕ Aϕ ) 2 ∂ Aθ
∇ A r =
∇ 2 Ar − 2 r − 2
r r sin ϕ ∂ϕ
− 2
r sin ϕ ∂θ

 2  A 2 ∂A 2 cos ϕ ∂Aθ
∇ 2 Aϕ − 2 ϕ 2 + 2 r − 2 2
∇ A ϕ = 11.25
 r sin ϕ r ∂ϕ r sin ϕ ∂ θ
 2 A 2 ∂Ar 2 cos ϕ ∂ Aϕ
∇ A θ =
∇ 2 Aθ − 2 θ 2 + 2 + 2 2
 r sin ϕ r sin ϕ ∂θ r sin ϕ ∂θ

Where the operator ∇ 2 is given


 by Equation 11.24 and Ar , Aϕ , Aθ represent
the physical components of A.
In the next section, we focus on relations pertinent to tensor transformations
between merely Cartesian coordinate systems.

Tensor-Analysis-for-Engineers_2E_CH11.indd 63 10/3/2020 10:24:29 AM


Tensor-Analysis-for-Engineers_2E_CH11.indd 64 10/3/2020 10:24:29 AM
CHAPTER

12
CARTESIAN TENSOR
TRANSFORMATION—
ROTATIONS

When transformation of tensors is performed from one Cartesian coordinate


system to another one, relations derived in previous sections take simpler
forms, called Cartesian tensors. As mentioned previously, a Cartesian
system consists of three mutually perpendicular flat surfaces for which; the
basis vectors are unit vectors, there is no distinction between covariant and
contravariant components, and the components of a tensor are the physical
components. Therefore, we use subscript indices for all types of components,
regardless.
We will consider two Cartesian systems, yi and y′i with a common origin—
otherwise we can always redefine them to have a common origin with
transforming, say, the origin of y′i to that of yi . Following the discussion from

Section 3, we can write the differential displacement ds in these systems, as
  
= =
ds dyi Ei dy′j E′j 12.1

 
where Ei and E′j are the corresponding unit vectors. However, we
∂y
have dyi = i dy′j , and after substituting in Equation 12.1 we get
∂y′j

Tensor-Analysis-for-Engineers_2E_CH12.indd 65 10/3/2020 10:25:12 AM


66 • Tensor Analysis for Engineers, 2E

 ∂yi    ∂yi  
 0 . Since dy′j is arbitrary, we conclude
Ei − E′j  dy′j = Ei = E′j or,
 
 ∂y′j  ∂y′j
by i ↔ j , we have

 ∂y j 
E′i = E j 12.2
∂y′i

Now performing dot-product on both sides of Equation 12.2 with Ek gives,
  ∂y j   ∂yk
E′i
Ek ⋅= E j ⋅=
Ek . Hence,
∂y′i  ∂y′i
δ jk

  ∂y
Ek ⋅ Ei′ =k 12.3
∂y′i
∂y
This means that the cosine of the angle between yk and y′i is equal to k ,
called the cosine direction. ∂y′i
 ∂y′  
Similarly, we can write Ek = i E′i , and after dot-product with E′j we receive
∂yk
  ′
∂yi   ∂y ′j
E′j ⋅ E=
k E′i ⋅ E=′j . Hence, interchanging i ↔ j, we receive
∂yk    ∂yk
δ ij

  ∂y′
E′i ⋅ Ek =i 12.4
∂yk
∂y′
This means that the cosine of the angle between yk and y′i is equal to i .
∂yk
Therefore, comparing Equations 12.3 and 12.4 and considering the commu-
tativity of the dot-product operation, we will have

∂y′i ∂yk
= 12.5
∂yk ∂y′i

∂yi ∂y′j  ∂y j  ∂y′i 


Equation 12.5 yields dyi = ∂y′j = dy′j and
= E′i = Ej E j , but
∂y′j ∂yi ∂y′i ∂y j
only in Cartesian coordinate systems. In other words, these relations prove
that there is no distinction between covariant and contravariant components
in a Cartesian system (see Equations 4.8 and 5.4, for comparison).

Tensor-Analysis-for-Engineers_2E_CH12.indd 66 10/3/2020 10:25:14 AM


Cartesian Tensor Transformation—Rotations • 67

12.1  ROTATION MATRIX


Now if we assume that coordinate system y′i is obtained by rotating coordi-

nates y j at an angle θ about an axis parallel to a unit vector n = ( n1 , n2 , n3 ) ,
∂yi′ 
then the quantity = Rij is a function of θ and n and it can be shown
∂y j
that [9], it reads as

( )
Rij = ni n j + δ ij − ni n j cosθ + eijk nk sin θ 12.6

Equation 12.6 is Rodrigues’ rotation formula, or the 3D rotation matrix.


Readers should note that the Right-Hand-Rule convention applies to the
rotation of coordinates with respect to the positive direction of unit vector
 
n when using Equation 12.6. For example, for n = ( 0,0,1 ) and θ = π / 2 , Rij
gives the transformation of x − y plane about the positive direction of z -axis
for an angle of 90° .
∂y′i
Now we integrate = dy′i = dy j Rij dy j which yields, y′i = Rij y j. Note that
∂y j
the constant of integration is zero due to having a common origin for both

systems, and Rij is a constant for given n and θ. Similarly, we can rotate

y′i at an angle (− θ ) about the same unit vector n to recover the ­original
y j coordinates. Therefore, we can write= yi R= −1
′ R ji y′j, by having
ij y j
−1
Rij being equal to the inverse or transpose of Rij [4]. Further examining
Equation 12.6, we can conclude that Rij for a given angle θ is equal to R ji,
or its transpose, calculated for angle ( −θ ). This is the result of the prop-
erty of the last term on the R.H.S of Equation 12.6 when i ↔ j to get R ji ,
or eijk nk sin θ =
− e jik nk sin θ =−e jik nk sin( θ ). The remaining terms are not
affected by this index-change operation.

12.2 EQUIVALENT SINGLE ROTATION: EIGENVALUES AND


EIGENVECTORS
It would be useful to write the matrix form of the Cartesian coordinate
rotations, as well. For example (in a 3D space with N = 3), y′i = Rij y j can be
 y1′   R11 R12 R13   y1 
    
written as  y2′  =  R21 R22 R23   y2 , and after using Equation 12.6, for
 y′   R  
 3   31 R32 R33   y3 

n = ( n1 , n2 , n3 ) and rotation angle θ, we get

Tensor-Analysis-for-Engineers_2E_CH12.indd 67 10/3/2020 10:25:20 AM


68 • Tensor Analysis for Engineers, 2E

 y1′ 
 
 y2′  =
 y′ 
 3
 12.7
 cosθ + n1 n1 (1 − cosθ ) n1 n2 (1 − cosθ ) + n3 sin θ n1 n3 (1 − cosθ ) − n2 sin θ   y1 
  
 n1 n2 (1 − cosθ ) − n3 sin θ cosθ + n2 n2 (1 − cosθ ) n2 n3 (1 − cosθ ) + n1 sin θ   y2 
 n1 n3 (1 − cosθ ) + n2 sin θ n2 n3 (1 − cosθ ) − n1 sin θ cosθ + n3 n3 (1 − cosθ )   y3 

From Equation 12.7 (or 12.6) we can conclude that the trace of the rotation
matrix (i.e., the sum of diagonal elements, Rii) is equal to 1 + 2 cosθ, (note
2 
that ni ni = n = n12 + n22 + n32 = 1, since n is a unit vector), or

 Rii − 1 
θ = cos−1   12.8
 2 

Equation 12.8 is a useful relation for finding rotation angle θ, once Rij is
known/given. However, readers may ask: if Rij is known, how can one find
the corresponding unit vector parallel to the axis of rotation? This q ­ uestion
is all the more significant considering that we can have a sequence of
­rotations to arrive at a final desired orientation of the coordinate axes. For
example, if we rotate the original system through a sequence of rotations
and arrive at the final system orientation, i.e., yi → yit 1 →  → yitn → y′i ,
 
sequence
then we can apply Equation 12.7 for each sequence and calculate the final
rotation matrix. That is {y′i } =  Rijtn   Rijtn−1    Rijt 1  {yi }. Note that for each

 Rij 
 
rotation in the sequence, the corresponding rotation matrix is pre-multiplied
to the previous ones, and the normal vector parallel to the rotation axis is
defined based on the current coordinate system at hand in the sequence (see
Example 12.2.1)
Now, if we want to replace all intermediate rotations with just one equivalent
rotation, Equation 12.8 gives the value of the angle for the desired equiva-
lent single rotation. However, to find the axis of rotation parallel to the unit
vector for the equivalent single rotation we need a mathematical procedure/
tool. This tool can be obtained by finding the real eigenvector of the given
rotation matrix since, through all rotations, only the eigenvectors remain in
the same direction [2], [4]. The mathematical procedure is as follows:

Tensor-Analysis-for-Engineers_2E_CH12.indd 68 10/3/2020 10:25:22 AM


Cartesian Tensor Transformation—Rotations • 69

We consider a normal unit vector ni perpendicular to a plane and write the


components of the rotation tensor on this plane, or Rij n j . This quantity is
a vector whose components are the elements of the rotation tensor on the
plane considered. We identify this quantity as Rij n j = Ti . In general, the
direction of the vector Ti does not necessarily coincide with the normal
vector to the plane, as shown in Figure 12.1.

 
FIGURE 12.1  Rotation matrix component T , about an arbitrary plane with normal n.

In other words, we could demand a specific plane and calculate its


corresponding normal direction such that vector Ti ends up in the same
direction as the normal to the plane considered. Therefore, we can write
Ti ni = Rij n j ni. This quantity, which is the projection of Ti in the direction of
ni, is a quadratic function of vector ni. To calculate its extremum value with
the constraint that ni ni = 1 (which means that having the normal vector as a
unit vector), we use the Lagrange multiplier method for extremizing the scalar
quantity  = Rij n j ni − λ ( ni ni − 1 ), where the constant λ is the Lagrange
∂
multiplier, or the eigenvalue of Rij . This is achieved by letting = 0,
∂ ∂ni
which leads to (note that the = 0 recovers the constraint, ni ni = 1)
∂λ
(R ij )
− λδ ij n j =
0 12.9

In matrix form, Equation 12.9 can be written as


 R11 − λ R12 R13   n1 
  
 R21 R22 − λ ε 23   n2  =0. This system of equations has a non-
 R31 R32  
R33 − λ   n3 
trivial (i.e., non-zero) solution, for ni, if the determinant of the matrix is
zero, or
R11 − λ R12 R13
( λδ ij
det Rij −= ) R21 R22 − λ = ε 23 0 12.10
R31 R32 R33 − λ

Tensor-Analysis-for-Engineers_2E_CH12.indd 69 10/3/2020 10:25:24 AM


70 • Tensor Analysis for Engineers, 2E

By evaluating the determinant, we get a cubic equation in terms of λ (which


has three roots, or eigenvalues) as
 Rii R jj − Rij R ji 
λ 3 − ( Rii ) λ 2 +   λ − Rij =
0 12.11
  2  
1 3
2

Equation 12.11 is known as the characteristic equation for matrix Rij, where
1 is the first principal scalar invariant, which is equal to the trace of Rij;
or 1 = Rii = λ1 + λ2 + λ3 ,  2 is the second principal scalar invariant, which
is  2 = λ1 λ2 + λ2 λ3 + λ3 λ1 , or the sum of the diagonal minors; and  3 is the
third principal scalar invariant, which is equal to the determinant of Rij, or
= 3 e= ijk R1 i R2 j R3 k λ1 λ2 λ3 .
Equation 12.11 contains several important properties and pieces of
information about the system’s rotation matrix. Some examples related to
the discussion here include:
„„ For symmetric tensors with real components there exist three real value
answers for λ (or λ1 , λ2 , and λ3). This is not the case for Rij, since it is not
symmetric, and we get only one real value λ, [10].
„„ The answers for λ are the eigenvalues (or principal values) of Rij.
„„ The corresponding ni, calculated and normalized for each eigenvalue,
are the eigenvectors (or principal directions) of Rij.
„„ A given eigenvector when multiplied by a constant real number (positive
or negative) it gives a new vector, but all have the same direction parallel
to the principal direction.
The method of finding equivalent rotation is very useful in practice for
designing the motion of machine parts in robotic applications, such as a
robot arm’s motion.

12.2.1 Example: Equivalent single rotation to sequential rotations of a


Cartesian system
Having a Cartesian system labeled as yi = ( y1 , y2 , y3 ) and its transformation
( )
to another system labeled as y′i = y′1 , y′2 , y′3 such that y′1 coincides with y2 ,
y2′ with y3 , and y3′ with y1 , as shown in Figure 12.2, find the overall equiva-

lent single rotation matrix for y′i = Rij y j , the axis of rotation direction n and
the angle of rotation θ.

Tensor-Analysis-for-Engineers_2E_CH12.indd 70 10/3/2020 10:25:27 AM


Cartesian Tensor Transformation—Rotations • 71

FIGURE 12.2  Sequential rotations of a Cartesian coordinate system (left) and the equivalent
single rotation (right).

Solution:
We consider two sequential rotations: 1) rotation about y3 -axis with normal
vector ( 0,0,1 ) with an angle of 90° (R.H.R. applies) to get the intermediate
transformation ( y1 , y2 , y3 ) → ( y1′ , y2t , y3 ) , and 2) rotation about new y′1 with
normal vector (1,0,0 ) with an angle of 90° (R.H.R. applies) to get the
second transformation ( y1′ , y2t , y3 ) → ( y1′ , y′2 , y′3 ) (see Figure 12.2). Therefore,
using Equation 12.7 and the data given for the first transformation with
 y1′   0 1 0   y1 
     
n = ( 0,0,1 ) we have  y2t  =  −1 0 0   y2 . Similarly, for the second
y   0 0 1  y 
 3   3
 y1′  1 0 0   y1′ 
     
rotation with n = (1,0,0 ) , we have  y2′  = 0 0 1   y2t . Note that
 y′  0 −1 0   y 
 3   3
the second rotation is performed on the current system at hand, which is
the result of the first rotation. Therefore, after substitution we can write
 y1′  1 0 0   0 1 0   y1   y1′  0 1 0   y1 
            
= y2′  0 0 1   −1 0 0   y2 , or  y2′  = 0 0 1   y2 . The final
 y′  0 −1 0   0 0 1   y   y′  1 0 0   y 
 3    3  3   3
0 1 0 
 
rotation matrix is then Rij = 0 0 1 . Note that each rotation matrix
1 0 0 

Tensor-Analysis-for-Engineers_2E_CH12.indd 71 10/3/2020 10:25:29 AM


72 • Tensor Analysis for Engineers, 2E

pre-multiplies the previous one in the sequence of rotations. Having the final
rotation matrix, we can calculate the single rotation angle. Using Equation 12.8,
−1  R ii − 1  −1  0 − 1  2π
we= get θ cos=  =
 cos   . The corresponding
 2   2  3
rotation axis is the eigenvector associated with the real eigenvalue for
0 1 0   −λ 1 0
   
Rij = 0 0 1  . We can write Rij − λδ ij = 0 −λ 1  =−λ 3 + 1 =0 .
1 0 0   1 0 −λ 
Hence, we get the characteristic equation as ( λ − 1 ) ( λ 2 + λ + 1) = 0 with its
only real root being λ = 1 . Note that we could use Equation 12.11 instead
for calculating the eigenvalues. For λ = 1 , we get the eigenvector by solving
0 1 0   n1   n1   n2 = n1
     
0 0 1   n2  = (1 )  n2  , or  n3 = n2 . This system is not determinate but
1 0 0   n3  n 
 3
n = n
 1 3

gives n=1 n=
2 n3. However, the constraint for having n as a unit vector
3
gives n12 + n22 + n32 =1, or 3 n12 = 1. Therefore, n= 1 n=
2 n=
3 and finally
3
  3 3 3
we have the equivalent rotation axis or the unit vector n =  , , .
 3 3 3 
In conclusion, we can say that instead of two intermediate sequential
rotations, as mentioned above, we can rotate the original yi = ( y1 , y2 , y3 ) at
an angle of 120°, using right-hand-rule convention, about an axis parallel
 3 3 3
to the unit vector  , ,  (see Figure 12.2). Readers should note
 3 3 3 
that for calculating the rotation matrix using Equation 12.7, values of the

components of n should be those of the unit vector. However, to obtain
the direction of the rotation axis we can multiply the components of the
unit vector by a constant—for this example the multiplier is 3 . As shown
in Figure 12.2, the result is a vector, or (1,1,1), which is a vector along the

same direction as the unit vector n . This is consistent with the property of
the eigenvalues. We can examine these results by using Equation 12.6 to
  3 3 3
θ 120° and n = 
calculate the single rotation matrix, using = , , ,
 3 3 3 

Tensor-Analysis-for-Engineers_2E_CH12.indd 72 10/3/2020 10:25:32 AM


Cartesian Tensor Transformation—Rotations • 73

 3   3 
2 2
1 1
or R11 =   + 1 −    cos (120° ) = − = 0, similarly R= R= 0.
 3    3  
22 33
3 3

 3   3 
2 2
 3
Also, we get=
R12   +  δ
12 −    cos (120° ) + 
e123   sin (120
= ° ) 1.
 3   = 0  3   =1 
3 
Similarly, we receive R=
23 R=
31 1, and the remaining elements
R=21 R=
32 R=
13 0. These results are identical with the one obtained using
sequential rotations.

Tensor-Analysis-for-Engineers_2E_CH12.indd 73 10/3/2020 10:25:34 AM


Tensor-Analysis-for-Engineers_2E_CH12.indd 74 10/3/2020 10:25:34 AM
CHAPTER

13
COORDINATE INDEPENDENT
GOVERNING EQUATIONS

Reliable mathematical models, also referred to as governing equations, are


important tools for engineering analysis. A reliable and validated mathemati-
cal model of a physical phenomenon is a set of algebraic relations among
quantities and their various derivatives, such as Newton’s 2nd law of motion,
equilibrium equations for momentum flux, Fourier’s law of heat flux, Fick’s
law of mass flux, Navier-Stokes equations for flow of fluids, Maxwell’s
­electromagnetic equations, etc. These governing equations, along with some
fundamental principles (like the 2nd law of thermodynamics, conservations
of energy, mass, electric charge, etc.) form the foundation of engineering
science and its applications.
The quantities related to any physical phenomenon can be represented
by tensors of different ranks stated in the relevant governing equations,
such as force and acceleration vectors and mass of a body as a scalar, in
Newton’s 2nd law of motion; gradient of temperature in Fourier’s law;
divergence of ­velocity vector in fluid flow, etc. Sometimes, for analysis and
design purposes, we need to have the relevant governing equations written
in coordinate systems other than the Cartesian system. For example, for
analyzing mechanical stresses in the wall of a cylindrical pressure vessel we
prefer to choose the cylindrical polar coordinate system that is a natural
fit to the shape of the vessel. This requirement has encouraged scientists
and engineers to define various coordinate systems suitable for solving the
governing equations in practice. In other words, and in the context of tensor
analysis, we would like to use the relations derived and discussed in the

Tensor-Analysis-for-Engineers_2E_CH13.indd 75 10/3/2020 10:26:18 AM


76 • Tensor Analysis for Engineers, 2E

previous sections to write down the terms involved in well-known governing


equations in engineering in a form that is general enough for application in
an arbitrary but well-defined coordinate system.
In this section, we derive some new relations mostly used in engineering, in
addition to those discussed in the previous sections. We hope that this helps
readers in writing down similar coordinate independent terms involved in
equations of their choice for their applications.

13.1 THE ACCELERATION VECTOR—CONTRAVARIANT


COMPONENTS
Newton’s 2nd law is a mathematical model for the motion mechanics of
physical objects—specifically, it is the balance of applied forces and the rate
of change of momentum, or mass times  acceleration. Velocity is the time
rate of change of displacement vector ds (see Section 2). Therefore, in  an
  ds
arbitrary coordinate system x , we can write the velocity vector v as v =
i

dt
for the corresponding time increment of dt . Using Equation 3.6, we have

 ds  dx i  
=
v = ei . Since ds is a vector, hence v is a vector and we can write it in
dt dt
terms of its contravariant component vi , or
 i dx i 
= v v= ei ei 13.1
dt
Equation 13.1 clearly gives the contravariant component of the velocity
dx i 
­vector as vi = . Acceleration vector a is the time derivative of the ­velocity
dt
vector, or

 dv 
=a = a i ei 13.2
dt
i
dv d ( v ei )  dvi
 
i dei
Using Equation 13.1, we can write= = ei +v . To relate
dt dt dt dt
d dx j ∂
the time derivative to the space gradient we use chain rule = ,
dt  dt ∂x j
vj
hence

Tensor-Analysis-for-Engineers_2E_CH13.indd 76 10/3/2020 10:26:21 AM


Coordinate Independent Governing Equations • 77

d ∂
= v j j 13.3
dt ∂x
 
 dv   j ∂vi  i  j ∂ei 
Substituting into Equation 13.2, we get = a = ei  v j 
+ v v j 
.
dt  ∂x   ∂x 

∂ei    ∂vi 
But j = Γ kij ek , using Equation 10.5. Therefore,=a ei v j j + vi v j Γ kij ek and
∂x ∂x
in the last term we interchange dummy indices i ↔ k and use the symmetry
property of the Christoffel symbol to obtain

  ∂vi 
=
a  v j j + vk v j Γ ijk  ei 13.4
 ∂x 

Comparing Equations 13.2 and 13.4, we get the contravariant component of


the acceleration vector as
 ∂vi 
=
a i v j  j + vkΓ ijk  13.5
 ∂x 
∂vi
In addition, we can write v,i j = + vkΓ ijk , after using Equation 10.6, to
∂x j
receive the compact form of Equation 13.5, as

a i = v j v,i j 13.6

Equation 13.6 recovers the familiar expression for acceleration in Cartesian


∂vi
coordinates (i.e., a i = v j j ).
∂x
We can also write the covariant component of the acceleration vector using a
metric tensor, or ak = gik a i (see Section 8) for an arbitrary coordinate system.
Now, we can write the Newton’s 2nd law in a general coordinate independ-
ent form. We choose to use the contravariant component of the acceleration
vector; hence, for compatibility we must use the contravariant component of
 
the total force vector, F = F i ei, as well. Therefore, we can write

∂vi
=
F i mv j + mvk v=Γ jk mv j v,i j 13.7
j i

∂x j

Tensor-Analysis-for-Engineers_2E_CH13.indd 77 10/3/2020 10:26:27 AM


78 • Tensor Analysis for Engineers, 2E

For example, in a 3D coordinate system we get three equations of motions


for each dimension, with summation on indices j and k only, as
 1 j ∂v
1

 F = mv + mvk v j Γ1jk
 ∂x j

j ∂v
2
 2
F = mv + mvk v j Γ 2jk 13.8
 ∂x j

 3 j ∂v
3

 F = mv + mvk v j Γ 3jk
 ∂x j

Note that in a Cartesian system the last term in Equation 13.7, associated with
the Christoffel symbol, is zero and we recover the familiar form of Newton’s
equation. But when we write this equation in a curvilinear coordinate system,
the term associated with the Christoffel symbol is not necessarily equal to
zero. This extra term acts like an inertia force and affects the path of moving
objects. For example, in a spherical coordinate system, like Earth’s geometry,
∂vi
we can write Equation 13.7 as F i − mvk v j Γ ijk =mv j j . The left-hand-side
∂x
∂vi
can be treated as a new total force, or F i = F i − mvk v j Γ ijk = mv j j . The
∂x
term mv v Γ jk is the Coriolis force, Fc
k j i i

=
Fci mvk v j Γ ijk 13.9

For example, from the point of view of an observer at the north pole of the
Earth an object with an initial velocity along a meridian towards the equator
will shift to the right, due to the inertia force resulting from the Coriolis force,
while to an observer at the South Pole it will shift to the left. Or we can say that
a force equivalent to the negative of the Coriolis force is acting on the object.

13.2 THE ACCELERATION VECTOR—PHYSICAL


COMPONENTS
Physical components of acceleration vector can be obtained using
Equation 6.2, or a ( i ) = hi a i. Substituting for a i , Equation 13.5 yields
∂vi dvi
a ( i ) = hi v j j + hi v j vk Γ ijk = hi + hi v j vk Γ ijk. In the latter expression,
∂x dt
dvi
=
dt

Tensor-Analysis-for-Engineers_2E_CH13.indd 78 10/3/2020 10:26:29 AM


Coordinate Independent Governing Equations • 79

we write the velocity components in terms of their physical components


d ( v ( i ) / hi ) v( j) v( k) i
as well to receive a ( i )= hi + hi Γ jk . But the first
dt h j hk
d ( v ( i ) / hi ) dv ( i ) d (1 / hi )
term can be expanded to get hi = + hi v ( i ) .
dt dt dt
dv ( i )
Now, we define = v ( i ) and use Equation 13.3 to write
dt
d (1 / hi ) 1 d ( hi ) v ( i ) v ( j ) ∂ ( hi )
hi v ( i ) − v( i)
= = − . Now substituting into
dt hi dt hi h j ∂x j
the relation for a ( i ), we obtain

v ( i ) v ( j ) ∂hi hi v ( j ) v ( k ) i
a ( i) =
v ( i ) − + Γ jk 13.10
hi h j ∂x j h j hk

Equation 13.10 gives the physical components of the acceleration vector in


curvilinear coordinate systems. Note that for Equation 13.10 summation
applies only on indices j and k , but not i.

13.3 THE ACCELERATION VECTOR IN ORTHOGONAL


SYSTEMS—PHYSICAL COMPONENTS
A useful application of Equation 13.10 is for orthogonal coordinate systems. As
mentioned previously, for an orthogonal system we should have g= ij g=
ij
0 for
i ≠ j and we can use relations given by Equations 10.23–10.25 for Christoffel
symbols. Therefore, expanding Equation 13.10, for example for i = 1, we
v (1 ) v ( j ) ∂h1 h1 v ( j ) v ( k )
receive a (1 ) =
v (1 ) − + Γ1jk , which after writing the
h1 h j ∂x j
h j hk
v (1 )  v (1 ) ∂h1 v ( 2 ) ∂h1 v ( 3 ) ∂h1 
­summations on j and k yields a (1 ) =
v (1 ) −  + + 
h1  h1 ∂x1 h2 ∂x2 h3 ∂x3 
 
sum on j

   
h1 v (1 )  v (1 ) 1 v ( 2 ) 1 v ( 3 ) 1  h1 v ( 2 )  v (1 ) 1 v ( 2 ) 1 v ( 3 ) 1 
+  Γ11 + Γ12 + Γ13  +  Γ 21 + Γ 22 + Γ 23  +
h1  h1 h h3
2  h2  h1

h2

h3

 sum on k , j =1   sum on k , j = 2 

Tensor-Analysis-for-Engineers_2E_CH13.indd 79 10/3/2020 10:26:32 AM


80 • Tensor Analysis for Engineers, 2E

 
h1 v ( 3 )  v (1 ) 1 v ( 2 ) 1 v ( 3 ) 1  But from Equations 10.23-10.25, we
 Γ 31 + Γ 32 + Γ 33  .
h3  h1 h h3
2 
 sum on k , j = 3 

1 ∂h 1 ∂h1 1 1 ∂h1 1 h ∂h
receive Γ111 = 11 , Γ112 = Γ121 = , Γ13 = Γ131 = , Γ 22 = − 2 2 12 ,
h1 ∂x h1 ∂x h1 ∂x ( h1 ) ∂x
2 3

h ∂h
and Γ133 = − 3 2 13 and Γ123 = Γ132 =. 0 Substituting for the corresponding
( 1)
h ∂ x
v (1 ) v ( 2 ) ∂h1
Christoffel symbols and simplifying, we receive a (1 ) = v (1 ) + +
h1 h2 ∂x2
v (1 ) v ( 3 ) ∂h1 v ( 2 ) v ( 2 ) ∂h2 v ( 3 ) v ( 3 ) ∂h3
− − . By similar operation we can
h1 h3 ∂x3 h1 h2 ∂x1 h1 h3 ∂x1
calculate the second and third components, i.e., a ( 2 ) and a ( 3 ) . Equation
13.11 lists all the physical components of acceleration vector in a 3D orthog-
onal coordinate system, as

 v (1 ) v ( 2 ) ∂h1 v (1 ) v ( 3 ) ∂h1 v ( 2 ) v ( 2 ) ∂h2 v ( 3 ) v ( 3 ) ∂h3


 a (1 ) = v (1 ) + + − −
 h 1 h 2 ∂x 2
h1 h3 ∂x 3
h1 h 2 ∂x 1
h1 h3 ∂x1
 v (1 ) v ( 2 ) ∂h2 v ( 2 ) v ( 3 ) ∂h2 v (1 ) v (1 ) ∂h1 v ( 3 ) v ( 3 ) ∂h3
a ( 2 ) =v ( 2 ) + + − − 13.11
 h 1 h 2 ∂ x 1
h 2 h3 ∂x 3
h 1 h 2 ∂ x 2
h 2 h 3 ∂x 2

 v (1 ) v ( 3 ) ∂h3 v ( 2 ) v ( 3 ) ∂h3 v (1 ) v (1 ) ∂h1 v ( 2 ) v ( 2 ) ∂h2


a ( 3 ) = v ( 3 ) + + − −
 h1 h3 ∂x1 h2 h3 ∂x2 h1 h3 ∂x3 h2 h3 ∂x3

Relations given by Equation 13.11 can be written in index form as, ­summation
on index j only,

v ( i ) v ( j ) ∂hi v ( j ) v ( j ) ∂h j
a ( i) =
v ( i ) + − 13.12
hi h j ∂x j hi h j ∂x i

In the next section, we use Equation 13.12 to calculate an acceleration


vector’s physical components in cylindrical and spherical coordinate systems.
For a Cartesian system, Equation 13.12 recovers the familiar relation (i.e.,
d ( v( i))
a ( i) = ).
dt

Tensor-Analysis-for-Engineers_2E_CH13.indd 80 10/3/2020 10:26:34 AM


Coordinate Independent Governing Equations • 81

13.3.1 Example: Acceleration vector physical components in cylindrical


and spherical coordinate systems
From the results obtained in Examples 8.1 and 8.2, we have the scale
factors for cylindrical and spherical coordinates as ( hr , hθ , hz ) = (1, r ,1 )
and ( h , h , h ) = (1, r, r sin ϕ ), respectively. Recall that the cylindrical
r ϕ θ

coordinates are ( x , x , x ) ≡ ( r ,θ , z ) and those of a spherical system are


1 2 3

( x , x , x ) ≡ ( r,ϕ ,θ ) . Now, using Equation 13.11 we can write the physi-


1 2 3

cal components of the acceleration vector for cylindrical coordinates as


v(2) v(2) v (1 ) v ( 2 )
a=(1) v (1) − ( 2 ) v ( 2 ) +
, a= , and a ( 3 ) = v ( 3 ) . In terms
r r
vθ2 vv
of coordinate notation, we can write it as a= r 
v r − , a=
θ vθ + r θ , and
r r
az = v z . Note that all components are the physical components of the cor-
responding vectors. Therefore, the acceleration vector is written as

  v2   vr vθ  
a =  v r − θ  e ( r ) +  vθ +  e (θ ) + v z e ( z )
 r   r 

Note that e ( i ) are unit vectors in cylindrical coordinates. We  can also write
the acceleration vector
 in terms
  of Cartesian  unit vectors
 Ei, by substitut-

 
e ( r ) cosθ E1 + sin θ E2, e (θ ) =
ing for= − sin θ E1 + cosθ E2, and e ( z ) = E3 (see
Example 8.1), or

  v2   vv   
a =  v r − θ  cosθ −  vθ + r θ  sin θ   E1
 r   r  
 13.13
 v2   vv    
+  v r − θ  sin θ +  vθ + r θ  cosθ   E2 + v z E3
 r   r  
In terms of coordinates themselves, we have


( ) (
r − rθ2 cosθ − rθ + 2 rθ sin θ  E1
a =  
  ) )
 
+  
 ( ) ( )
r − rθ sin θ + rθ + 2 rθ cosθ  E2 + zE3
2
 )
Similarly, for a spherical coordinate system, using Equation 13.11, we can
write the physical components of the acceleration vector for spherical
v2 v2 vr vϕ vθ2 cos ϕ
coordinates as a (1 ) = ar = v r − ϕ − θ , a ( 2 ) =aϕ =vϕ + − , and
r r r r sin ϕ

Tensor-Analysis-for-Engineers_2E_CH13.indd 81 10/3/2020 10:26:38 AM


82 • Tensor Analysis for Engineers, 2E

vr vθ vθ vϕ cos ϕ
a(3) =aθ =vθ + + . Note that all components are the physical
r r sin ϕ
components of the corresponding vectors. Therefore, the acceleration vector is

  vϕ2 + vθ2   vr vϕ vθ2 cos ϕ    vr vθ vθ vϕ cos ϕ  


a =  v r −  e ( r ) +  vϕ + −  e (ϕ ) +  vθ + +  e (θ )
 r   r r sin ϕ   r r sin ϕ 

Note that e ( i ) are unit vectors in spherical coordinates. In terms of the
coordinates themselves, we have
  
r − rϕ 2 − r sin 2 ϕθ2  e ( r ) +  rϕ + 2 rϕ − r sin ϕ cos ϕθ2  e (ϕ )
a =

+  rθsin ϕ + 2 rθ sin ϕ + 2 rϕθ   cos ϕ  e (θ ) .

We can also write the acceleration vector in terms of Cartesian unit


    
­vectors Ei, by substituting for e ( r ) = sin ϕ cosθ E1 + sin ϕ sin θ E2 + cos ϕ E3,
      
e (ϕ ) = cos ϕ cosθ E1 + cos ϕ sin θ E2 − sin ϕ E3, and e (θ ) =
− sin θ E1 + cosθ E2
(see Example 8.1), or 

  vϕ2 v2   vr vϕ vθ2 cos ϕ   vr vθ vθ vϕ cos ϕ  


a =  v r − − θ  sin ϕ cosθ +  vϕ + −  cos ϕ cosθ −  vθ + +  sin θ  E1
 r r   r r sin ϕ   r r sin ϕ  
 vϕ2 v2   vr vϕ vθ2 cos ϕ   vr vθ vθ vϕ cos ϕ    13.14
+  v r − − θ  sin ϕ sin θ +  vϕ + −  cos ϕ sin θ +  vθ + +  cosθ  E2
 r r   r r sin ϕ   r r sin ϕ  

+ ( cos ϕ − sin ϕ ) E3

Equations 13.13 and 13.14 are useful relations for calculating acceleration
vectors in cylindrical and spherical coordinate systems, respectively. Similar
calculations can be performed for arbitrary orthogonal curvilinear systems.

13.4 SUBSTANTIAL TIME DERIVATIVES OF TENSORS


Another form of derivative of tensors appearing in governing equations is
the substantial derivative—also referred to as the total or convective time
derivative. For a quantity like A —a scalar, vector, or tensor—that varies
with space and time, we would like to collect all its derivatives. Let’s assume
that we have a body of fluid moving in a fixed coordinate system, for e­ xample,
a Cartesian system. We consider two scenarios: a) we “ride” the fluid and

Tensor-Analysis-for-Engineers_2E_CH13.indd 82 10/3/2020 10:26:39 AM


Coordinate Independent Governing Equations • 83

move with it and register its variation with respect to time, and b) we stay at
a fixed location in space and register the variation of the fluid passing by with
respect to time. In case (a) the changes are due to any variation of the fluid
w.r.t time, since we move with it and relative space change is absent/null. In
other words, the change w.r.t space is implicitly included. But in case (b) we
may have changes w.r.t both time and space for the fluid in motion.

FIGURE 13.1  Local coordinates attached to a moving fluid body in a fixed Cartesian coordinate system.

Let’s consider function A = A ( yi , t ) , where A is the tensor quantity, yi is the


fixed Cartesian coordinate system, and t is time (see Figure 13.1). Here, we
δ yi
assume that the ratio = υ i applies, or the change of space coordinates of
δt
the fluid w.r.t time is the same as the local fluid velocity. Now the total time
DA  ∂A ∂A ∂yi 
derivative is given by the following =
limit, lim  + i  , or
Dt δ yi , δ t → 0 ∂t ∂y ∂t 

DA ∂A ∂A
= + υ i i 13.15
Dt ∂t ∂y

An immediate extension is to write the total derivative for A = A ij ei e j , a
i
mixed tensor of the second rank, in an arbitrary system x , or
i  j 
=
DA ∂ A j ei e ( +υ k
) (
∂ A ij ei e j
13.16
)
Dt ∂t ∂x k

Tensor-Analysis-for-Engineers_2E_CH13.indd 83 10/3/2020 10:26:40 AM


84 • Tensor Analysis for Engineers, 2E

Using Equation 10.14, we can write the second term on the right-hand-side

as υ k (
∂ A ij ei e j )
k i  j
= υ A j, k ei e . The first term is just equal to
∂A ij
, if the coor-
∂ xk ∂t
dinates x i are also fixed. Note that if the x i system is moving, we should
consider the changes of the basis vectors with reference to time as well (see
Equation 13.16). Therefore, we get the components (mixed contravariant/
covariant) of the substantial time derivative of A, as

 DA  ∂ A j
i i
( )
+ υ k A ij,k 13.17
= 
 Dt  j ∂t

∂A ij
Note that A= i
j, k + Γ km
i
A mj − Γ nkj Ani .
∂x k

A specific case is to let A be equal to velocity itself, which results in the total
derivative of vi , as
i
 Dυ  ∂υ
i
 = + υ jυ,ij 13.18
 Dt  ∂t
In orthogonal coordinate systems, we can write the physical components the
convective time derivative of a vector as

 DA  ∂A ( i ) v ( j ) ∂A ( i ) υ ( i ) A ( j ) ∂hi
  ( i) = + +
 Dt  ∂t h j ∂x j hi h j ∂x j
13.19
υ ( j ) A ( j ) ∂h j
− , no sum on i
hi h j ∂x i
Using Equation 13.19 we can write the total time derivative of vectors
like velocity or acceleration. The following example demonstrates these
calculations.

13.4.1 Example: Substantial time derivation of acceleration


vectors—physical components
From previous examples, we have ( hr , hθ , hz ) = (1, r ,1 ) for cylindrical coordi-
nate systems and ( hr , hϕ , hθ ) = (1, r , r sin ϕ ) for spherical coordinate systems.
We can write the physical components of the total derivative of acceleration

vector a = ( ar , aθ , az ) , in cylindrical coordinates, by using Equation 13.19, as

Tensor-Analysis-for-Engineers_2E_CH13.indd 84 10/3/2020 10:26:41 AM


Coordinate Independent Governing Equations • 85


 Da  ∂ar ∂ar υθ ∂ar ∂a a
  = + vr + + vz r − vθ θ
 Dt  r ∂t ∂r r ∂θ ∂z r
 Da  ∂aθ ∂aθ υθ ∂aθ ∂a υ a
  = + vr + + υ z θ + θ r 13.20
 Dt θ ∂t ∂r r ∂θ ∂z r
 Da  ∂az ∂az υθ ∂az ∂a
  = + vr + + vz z
 Dt  z ∂t ∂r r ∂θ ∂z
Similarly, for spherical coordinates we receive the physical components of
the total derivative of acceleration vector as

 Da  ∂ar ∂ar υϕ ∂ar υ ∂ar aϕ a


  = + vr + + θ − vϕ − vθ θ
 Dt  r ∂t ∂r r ∂ϕ r sin ϕ ∂θ r r
 Da  ∂aϕ ∂aϕ υϕ ∂aϕ υ ∂aϕ υϕ ar υθ aθ cos ϕ
  = + vr + + θ + − 13.21
 Dt ϕ ∂t ∂r r ∂ϕ r sin ϕ ∂θ r r sin ϕ
 Da  ∂aθ ∂a υϕ ∂aθ υ ∂aθ υθ ar υθ aϕ cos ϕ
  = + vr θ + + θ + +
 Dt θ ∂t ∂r r ∂ϕ r sin ϕ ∂θ r r sin ϕ

Note that in these relations (i.e., Equations 13.20 and 13.21) all components
are the physical components of the corresponding vectors.

13.5 CONSERVATION EQUATIONS—COORDINATE
INDEPENDENT FORMS
A fundamental equation for the transformation of a tensor quantity per

unit volume, Ψ in an arbitrary control volume with a velocity field V,
can be obtained using the Gauss divergence theorem and the law of the
principle of conservation [11]. An integral equation defining the time rate
and divergence of convective transformation balanced with the rate of
production/destruction Ω of the quantity leads to the differential relation
given by Equation 13.22, as
∂Ψ
+ ( Ψ V i ), i =Ω 13.22
∂t
The second term can be written as ( Ψ V i ), i= V i Ψ , i + Ψ V i, i since covariant
differentiation follows the differentiation product rule. Therefore, L.H.S

Tensor-Analysis-for-Engineers_2E_CH13.indd 85 10/3/2020 10:26:42 AM


86 • Tensor Analysis for Engineers, 2E

∂Ψ DΨ
of Equation 13.22 can be written as + V i Ψ , i + Ψ V=
i
,i + Ψ V i, i . In
∂t
 Dt

=
Dt
vector form, this equation reads
DΨ   DΨ
+ Ψ∇ ⋅ V = + Ψ V i, i = Ω 13.23
Dt Dt

Equation 13.22 (or equally Equation 13.23) can be considered the equation
of motion for the control volume or, in general, the medium that the quantity
Ψ transports in it. The source term is associated with the quantity in ques-
tion: for example, the mass, momentum, energy, electric charge, etc.
Now we consider mass conservation, or let Ψ =ρ where ρ is mass per
unit volume or density of the quantity in motion. After substitution in

Equation 13.23, we get + ρ V i, i =
Ω. If mass source is zero, then we get
Dt
the continuity equation, as

+ ρ V i, i =
0 13.24
Dt
Dρ ∂ρ
Note that = + V i ρ, i . Some specific cases can be observed:
Dt ∂t
„„ ρ = ρ ( t ) only, i.e., we have an inhomogeneous quantity whose den-
sity changes with time. In this case the continuity equation reads as
∂ρ ∂ρ
+ V i ( ρ, i ) + ρ V i , i =
0 , or + ρ V i, i =
0.
∂t  ∂t
=0
„„ ρ = ρ ( x i ) only, i.e., we have an inhomogeneous quantity whose density
changes from location to location in the continuum but remains constant
with time at any given location. In this case the continuity equation reads
as  ∂ρ  + V i ρ + ρ V i = 0 , or ( ρ V ) = 0 .
i
,i ,i
 ∂t 

=0
„„ ρ is a constant, i.e., we have a homogeneous quantity with constant
density at all locations and times in the continuum. In this case the
 Dρ 
 + ρ V ,i =
0 , or V i, i = 0.
i
continuity equation reads as 
Dt
 
=0

Tensor-Analysis-for-Engineers_2E_CH13.indd 86 10/3/2020 10:26:44 AM


Coordinate Independent Governing Equations • 87


Now we consider momentum conservation, or let Ψ =ρ V , i.e., momentum
per unit volume of the quantity in motion. In this case Ψ is a vector quantity.
Substituting in Equation 13.22, the i th contravariant component reads

∂ ( ρV i )

∂t
(
+ ρ V iV j )
, j
=
Ω i 13.25

Equation 13.25 is Newton’s 2nd law written in the coordinate ­independent


form for a medium, for example a fluid moving in the continuum. The L.H.S
is the inertia force and the R.H.S is the applied force on the material, per
unit volume. Considering the material as a fluid, then the applied force
could be, in general, a combination of hydrostatic, viscous, gravitational,
­electromagnetic, etc. forces.

Tensor-Analysis-for-Engineers_2E_CH13.indd 87 10/3/2020 10:26:45 AM


Tensor-Analysis-for-Engineers_2E_CH13.indd 88 10/3/2020 10:26:45 AM
CHAPTER

14
COLLECTION OF RELATIONS
FOR SELECTED COORDINATE
SYSTEMS

In this section, we provide a list of some commonly used coordinate systems


as well as relations for an arbitrary orthogonal curvilinear coordinate system.
We categorize the content based on the coordinate systems. All coordinates
are considered in a 3D Euclidean space. Cartesian coordinate systems are
fixed references consisting of three flat planes. The curvilinear coordinates
may include one or more curved coordinate surfaces.

14.1  CARTESIAN COORDINATE SYSTEM


     
( ) ( )
We use ( e (1 ) , e ( 2 ) , e ( 3 ) ) = Ex , Ey , Ez , ( A (1 ) , A ( 2 ) , A ( 3 ) ) = Ax , Ay , Az
symbols for physical components. Note that in a Cartesian system, all
contravariant, covariant, and physical components of a tensor quantity are
identical, hence all indices are shown as subscripts.

Tensor-Analysis-for-Engineers_2E_CH14.indd 89 10/3/2020 10:27:04 AM


90 • Tensor Analysis for Engineers, 2E

TABLE 14.1  Relations for tensors and their related derivatives in Cartesian coordinate systems.

Coordinates ( x, y, z ) ≡ ( X, Y, Z )
      
Basis/Unit vectors, Ei ( E , E , E ) ≡ ( i , j, k ), orthogonal
x y z

Scale factors, hi ( h , h , h ) = (1,1,1)


x y z

Metric tensors, gij g=


xx g=
yy g=
zz 1 , the rest are null

Jacobian  =1

Unit volume d𝕍 = dxdydz


    
Line element and magnitude dS = dxEx + dyEy + dzEz dS = ( dx ) + ( dy ) + ( dz )
2 2 2

   
Vector components ( )
A = Ax , Ay , Az = Ax Ex + Ay Ey + Az Ez

Christoffel symbols null


 
Dot-product (two vectors) A ⋅=
B Ax Bx + Ay By + Az Bz
   
A ×= ( )
B Ay Bz − Az By Ex + ( Az Bx − Ax Bz ) Ey
Cross-product (two vectors) 
+ Ax By − Ay Bx Ez ( )
  ∂  ∂  ∂
Gradient vector =
∇ Ex + Ey + Ez
∂x ∂y ∂z
  ∂Ψ  ∂Ψ  ∂Ψ
Gradient of a scalar, Ψ =
∇Ψ Ex + Ey + Ez
∂x ∂y ∂z

 ∂Ax ∂Ay ∂Az 


 
 ∂x ∂x ∂x 
    ∂Ax ∂Ay ∂Az 
Gradient of a vector, A ∇A =  
 ∂y ∂y ∂y 
 ∂A ∂Ay ∂Az 
 x 
 ∂z ∂z ∂z 
    ∂Az ∂Ay    ∂Ax ∂Az    ∂Ay ∂Ax  
Curl of a vector, A ∇= ×A  −  Ex +  −  Ey +  −  Ez
 ∂y ∂z   ∂z ∂x   ∂x ∂y 

   ∂Ax ∂Ay ∂Az


Divergence of a vector, A ∇ ⋅=A + +
∂x ∂y ∂z

(continued)

Tensor-Analysis-for-Engineers_2E_CH14.indd 90 10/3/2020 10:27:06 AM


Collection of Relations for Selected Coordinate Systems • 91

  ∂2 Ψ ∂2 Ψ ∂2 Ψ
Laplacian of a scalar, Ψ (
∇ 2 Ψ = ∇ ⋅ ∇Ψ =
∂x2
)
+ 2 + 2
∂y ∂z

∇ A=
2

 ∂ 2 Ax ∂ 2 Ax ∂ 2 Ax    ∂ Ay ∂ Ay ∂ Ay  
2 2 2

  2 + +  E + 
 ∂x2
+ +  Ey
∂z2 
x
Laplacian of a vector, A  ∂x ∂y2 ∂z2   ∂y2
 ∂ 2 A ∂ 2 Az ∂ 2 Az  
+  2z + + 2  Ez
 ∂x ∂y2 ∂z 

 ∂4 ∂4 ∂4   ∂4 ∂4 ∂4 
Biharmonic operator ∇ 4 = 4 + 4 + 4  + 2 2 2 + 2 2 + 2 2 
 ∂x ∂y ∂z   ∂x ∂y ∂y ∂z ∂x ∂z 

14.2  CYLINDRICAL COORDINATE SYSTEMS


      
We use ( e (1 ) , e ( 2 ) , e ( 3 ) ) = ( e ( r=
) , e (θ ) , e ( z ) ) , A (=
A (1 ) , A ( 2 ) , A ( 3 ) )

( A ( r ) , A (θ ) , A ( z) ) to designate the unit vectors e ( i ) and physical compo-
nents of vector A. Most of the expressions are written in terms of physical
components. For Christoffel symbols, see Equation 10.28.
TABLE 14.2  Relations for quantities and their related derivatives in cylindrical coordinate systems.

Coordinates
(orthogonal)
( x , x , x ) ≡ ( r,θ, z ) , θ is the azimuth angle
1 2 3

Coordinate functions x = r cos θ y = r sin θ z=z

Coordinate surfaces x 2 + y2 =
r 2, cylinders y / x = tan θ, planes z = constant, planes

 cos θ  − r sin θ  0  
  
( er , eθ , ez ) =   sin θ  ,  r cosθ  , 0  
Basis vectors, ei,   
covariant   0   0  1  
     

 cos θ  − sin θ / r  0  

Basis vectors, e i, ( e , e , e ) =   sin θ  ,  cosθ / r  , 0  
 r θ  z
contravariant  0    1  
   0   

Scale factors, hi ( hr , hθ , hz ) = (1, r,1)


(continued)

Tensor-Analysis-for-Engineers_2E_CH14.indd 91 10/3/2020 10:27:10 AM


92 • Tensor Analysis for Engineers, 2E

Unit vectors,  cos θ  − sin θ  0  


 
physical ( ( ) ( ) ( ) )   sin θ  ,  cosθ  , 0  

e r ,

e θ ,

e z =
components   0   0  1  
     

( g rr )= ( g zz )= 1, g= ( g )=
−1 −1 θθ −1
Metric tensors, gij g=
rr g=
zz θθ r 2 , the rest are
and g ij null-system is orthogonal
Jacobian  =r

Unit volume d𝕍 = rdrdθ dz


Line element and     
dS =dre ( r ) + rdθ e (θ ) + dze ( z ) dS = ( dr )2 + ( rdθ )2 + ( dz )2
magnitude
   
Vector components A = A ( r ) e ( r ) + A (θ ) e (θ ) + A ( z ) e ( z )
Christoffel symbols,
based on Unit Γˆ θθ
r
=−1 , Γˆ θrθ =Γˆ θθ r =,
1 the rest are null
vectors
Christoffel symbols,
based on covariant Γθθ
r
=− r , Γθrθ =Γθθ r =1 / r , the rest are null
Basis vectors
Dot-product  
A ⋅ B A ( r ) B ( r ) + A (θ ) B (θ ) + A ( z ) B ( z )
=
(two vectors)
  
A × B  A (θ ) B ( z ) − A ( z ) B (θ )  e ( r )
=
Cross-product 
+  A ( z ) B ( r ) − A ( r ) B ( z )  e (θ )
(two vectors)

+  A ( r ) B (θ ) − A (θ ) B ( r )  e ( z )
  ∂ 1 ∂  ∂
Gradient vector =
∇ er + eθ + ez
∂r r ∂θ ∂z
Gradient of a   ∂Ψ 1  ∂Ψ  ∂Ψ
=
∇Ψ er + eθ + ez
scalar, Ψ ∂r r ∂θ ∂z

 ∂A ( r ) ∂A (θ ) ∂A ( z ) 
 
 ∂r ∂r ∂r 
Gradient of a    ∂A ( r ) A (θ ) ∂A (θ ) A ( r ) ∂A ( z ) 
=
∇A  − +
vector, A
 r ∂θ r r ∂θ r r ∂θ 
 ∂A ( r ) ∂A (θ ) ∂A ( z ) 
 ∂z ∂z ∂z 

(continued)

Tensor-Analysis-for-Engineers_2E_CH14.indd 92 10/3/2020 10:27:13 AM


Collection of Relations for Selected Coordinate Systems • 93

   ∂A ( z ) ∂A (θ )    ∂A ( r ) ∂A ( z )  
=
∇×A  −  e (r) +  −  e (θ )
  r ∂θ ∂z   ∂z ∂r 
Curl of a vector, A
 ∂ ( rA (θ ) ) ∂A ( r )  
+ −  e ( z)
 r ∂r r ∂θ 

Divergence   ∂ ( rA ( r ) ) ∂A (θ ) ∂A ( z )
 of a =
∇⋅A + +
vector, A r ∂r r ∂θ ∂z
  1 ∂  ∂  1 ∂2 ∂2
Laplacian operator ∇2 = ∇ ⋅ ∇ =( )  r  + +
r ∂r  ∂r  r 2 ∂θ 2 ∂z2
  1 ∂  ∂Ψ  1 ∂ 2 Ψ ∂ 2 Ψ
Laplacian of a
scalar, Ψ
(
∇ 2 Ψ = ∇ ⋅ ∇Ψ = )
r + +
r ∂r  ∂r  r 2 ∂θ 2 ∂z2

  2 2 ∂A (θ ) A ( r )  
 A(r) − 2
∇ 2 A =∇ − 2  e (r)
Laplacian  r ∂θ r 
 of a
vector, A  2 ∂A ( r ) A (θ )   
+ ∇ 2 A (θ ) + 2 − 2  e (θ ) + ∇ 2 A ( z )  e ( z )
 r ∂θ r 

Biharmonic 1 ∂  ∂  1 ∂  ∂   1 ∂2  1 ∂2  ∂4
∇4 = r r  +  2 2 
+ 4
operator r ∂r  ∂r  r ∂r  ∂r    r 2 ∂θ 2  r ∂θ  ∂z

14.3  SPHERICAL COORDINATE SYSTEMS


     
We use ( e (1 ) , e ( 2 ) , e ( 3 ) ) = ( er , eϕ , eθ ), ( A (1 ) , A ( 2 ) , A ( 3 ) ) = ( A ( r ) , A (ϕ ) , A (θ ) )
 
to designate the unit vectors e ( i ) and physical components of vector A.
Most of the expressions are written in terms of physical components. For
Christoffel symbols, see Equation 10.28.
TABLE 14.3  Relations for quantities and their related derivatives in spherical coordinate systems.

Coordinates
(orthogonal)
( r,ϕ ,θ ), θ azimuth and ϕ polar angle
Coordinate x = r sin ϕ cos θ y = r sin ϕ sin θ z = r cos ϕ
functions

Coordinate surfaces
x2 + y2 + z2 =
r 2, (x + y2 ) / z 2 =
2
tan 2 ϕ, y / x = tan θ, planes
spheres cones

(continued)

Tensor-Analysis-for-Engineers_2E_CH14.indd 93 10/3/2020 10:27:17 AM


94 • Tensor Analysis for Engineers, 2E

 sin ϕ cos θ   r cos ϕ cos θ  − r sin ϕ sin θ  



Basis vectors, ei , ( r ϕ θ )   sin ϕ sin θ  ,  r cos ϕ sin θ  ,  r sin ϕ cosθ  
  
e , e , e =
covariant   cos ϕ   − r sin ϕ   0 
     

 sin ϕ cos θ  cos ϕ cos θ  − sin θ  



Basis vectors, e i , ( e , e , e ) =   sin ϕ sin θ  , r  cos ϕ sin θ  , r sin ϕ  cosθ  
 r  ϕ θ   1  1 
contravariant   cos ϕ   − sin ϕ   0 
     

Scale factors, hi ( h , h , h ) = (1, r, r sin ϕ )


r ϕ θ

Unit vectors,  sin ϕ cos θ  cos ϕ cos θ  − sin θ  


 
physical ( 
e ( r ) ,

e ( ϕ ) ,

e (θ ) )   sin ϕ sin θ  ,  cos ϕ sin θ  ,  cosθ  
=
components   cos ϕ   − sin ϕ   0  
     

( g=
)rr −1
(g =
)ϕϕ −1
(g =
) ( r sin ϕ ) , the rest
θθ −1 2
Metric tensors, gij =
grr 1,=
gϕϕ r 2=
, gθθ
ij
and g are null-system is orthogonal

Jacobian  = r 2 sin ϕ

Unit volume d𝕍 = r 2 sin ϕ drdϕ dθ


  
Line element and =dS dre ( r ) + rdϕ e (ϕ ) 
 dS = ( dr )2 + ( rdϕ )2 + ( r sin ϕ dθ )2
magnitude + r sin ϕ dθ e (θ )
   
Vector components A = A ( r ) e ( r ) + A (ϕ ) e (ϕ ) + A (θ ) e (θ )

Christoffel symbols, Γθθ


r
= ϕ
Γθθ = Γϕrϕ =Γθrθ
based on covariant Γϕϕ
r
=−r Γθϕθ =
cot ϕ
Basis vectors − r sin 2 ϕ − sin ϕ cos ϕ =1/r

Christoffel symbols, Γθθ


r
= ϕ
Γθθ = Γϕrϕ =
1,
based on Unit Γϕϕ
r
=−1 Γθϕθ =
cos ϕ
vectors − sin ϕ − cos ϕ Γθrθ =sin ϕ
Dot-product  
A ⋅ B A ( r ) B ( r ) + A (ϕ ) B (ϕ ) + A (θ ) B (θ )
=
(two vectors)
  
A × B  A (ϕ ) B (θ ) − A (θ ) B (ϕ )  e ( r )
=
Cross-product 
+  A (θ ) B ( r ) − A ( r ) B (θ )  e (ϕ )
(two vectors) 
+  A ( r ) B (ϕ ) − A (ϕ ) B ( r )  e (θ )

(continued)

Tensor-Analysis-for-Engineers_2E_CH14.indd 94 10/3/2020 10:27:20 AM


Collection of Relations for Selected Coordinate Systems • 95

  ∂  1 ∂   1 ∂ 
Gradient vector =∇   er +   eϕ +   eθ
 ∂r   r ∂ϕ   r sin ϕ ∂θ

Gradient of a  ∂Ψ   1 ∂Ψ    1 ∂Ψ  
=
∇Ψ er +   eϕ +   eθ
scalar, Ψ ∂r  r ∂ϕ   r sin ϕ ∂θ 
 
∇A =
 ∂A ( r ) ∂A (ϕ ) ∂A (θ ) 
 
 ∂r ∂r ∂r 
Gradient of a  ∂A ( r ) A (ϕ ) ∂A (ϕ ) A ( r ) ∂A (θ ) 
vector, A 
r ∂ϕ

r r ∂ϕ
+
r r ∂ϕ

 
 1 ∂A ( r ) A (θ ) 1 ∂A (ϕ ) A (θ ) 1 ∂A (θ ) A ( r ) A (ϕ ) 
 − − cot ϕ + + cot ϕ 
 r sin ϕ ∂θ r r sin ϕ ∂θ r r sin ϕ ∂θ r r 

  1  ∂ ( A (θ ) sin ϕ ) ∂A (ϕ )  
=∇×A  −  e (r)
r sin ϕ  ∂ϕ ∂θ 
1  1 ∂A ( r ) ∂ ( rA(θ )  
Curl +  −  e (ϕ )
r  sin ϕ ∂θ ∂r 
1  ∂ ( rA (ϕ ) ) ∂A ( r )  
+  −  e (θ )
r  ∂r ∂ϕ 

Divergence   1 ∂ ( r 2 A ( r ) ) 1 ∂ ( A (ϕ ) sin ϕ ) 1 ∂A (θ )


 of a=∇⋅A + +
vector, A r 2
∂r r sin ϕ ∂ϕ r sin ϕ ∂θ
  ∂ ( r 2 A ( rr ) ) 1 ∂ ( A ( rϕ ) sin ϕ ) A (ϕϕ ) + A (θθ ) 1 ∂A ( rθ )  
= ∇⋅ A  + − +  e (r)
 r 2
∂ r r sin ϕ r ∂ϕ r r sin ϕ ∂θ 

Divergence of a 2nd  ∂ ( r 2 A ( rϕ ) ) 1 ∂ ( A (ϕϕ ) sin ϕ ) A ( rϕ ) 1 ∂A (ϕθ ) A (θθ ) 
+ + + + − cot ϕ  e (ϕ )
rank tensor, A  ∂ ϕ ∂ϕ ϕ ∂θ 
2
 r r r sin r r r sin r 
 ∂ ( r A ( rθ ) ) ∂A (ϕθ )
2
1 ∂A (θθ ) A ( rθ ) 2 A (ϕθ ) 
+ + + + + cot ϕ  e (θ )
 r 2 ∂r r ∂ϕ r sin ϕ ∂θ r r 
 

  1 ∂  2 ∂  1 ∂  ∂  1 ∂2
Laplacian operator ( )
∇2 = ∇ ⋅ ∇ = 2 r + 2  sin ϕ
r ∂r  ∂r  r sin ϕ ∂ϕ 
+ 2 2
∂ϕ  r sin ϕ ∂θ 2

  1 ∂  2 ∂Ψ  1 ∂  ∂Ψ 
(
∇ 2 Ψ = ∇ ⋅ ∇Ψ = 2 )r +  sin ϕ
r ∂r  ∂r  r 2 sin ϕ ∂ϕ 

∂ϕ 
Laplacian of a
scalar, Ψ 1 ∂2 Ψ
+ 2 2
r sin ϕ ∂θ 2

(continued)

Tensor-Analysis-for-Engineers_2E_CH14.indd 95 10/3/2020 10:27:22 AM


96 • Tensor Analysis for Engineers, 2E

  2Ar  2   sin  A    2 A    
 2 A   2 A  r    2  2  er
 r 2
r sin    r sin   

Laplacian  A   2   A  r   2 cos  A    
 of a   2 A    2 2   2  2 2  e  
vector, A  r sin  r  r sin   
 A   2 A  r  2 coss    A     
  2 A    2 2  2  2 2  e  
 r sin  r sin   r sin   

1 ∂  2 ∂  1 ∂  2 ∂  
∇4 = 2 r r  
r ∂r  ∂r  r 2 ∂r  ∂r   
Biharmonic 1 ∂  ∂  1 ∂  ∂  
+ 2 sin ϕ  2  sin ϕ  
operator, ∇ 4 r sin ϕ ∂ϕ  ∂ϕ  r sin ϕ ∂ϕ  ∂ϕ   
1 ∂2  1 ∂2 
+ 2 2  
r sin ϕ ∂θ 2  r 2 sin 2 ϕ ∂θ 2 

14.4  PARABOLIC COORDINATE SYSTEMS


     
We use ( e (1 ) , e ( 2 ) , e ( 3 ) ) = ( e (ξ ) , e (η ) , e (θ ) ), ( A (1 ) , A ( 2 ) , A ( 3 ) ) =
( A (ξ ) , A (η ) , A (θ ) ) to designate the unit vectors e ( i ) and physical compo-
nents of vector A. Most of the expressions are written in terms of physical
components. For Christoffel symbols, see Example 15.4.
TABLE 14.4  Relations for quantities and their related derivatives in parabolic coordinate systems.

Coordinates
(ξ ,η ,θ )
(orthogonal)
Coordinate
functions
x = ξη cos θ y = ξη sin θ =
z (ξ 2
− η2 ) / 2

x 2 + y2 = x 2 + y2 =
Coordinate surfaces −2ξ 2 ( z − ξ 2 / 2 ) , −2η 2 ( z − η 2 / 2 ) , y / x = tan θ , planes
paraboloids paraboloids

 η cos θ  ξ cos θ  −ξη sin θ  



Basis vectors, ei- ( eξ , eη , eθ ) =  η sin θ  , ξ sin θ  ,  ξη cosθ  
  
covariant   ξ   −η   0 
     

(continued)

Tensor-Analysis-for-Engineers_2E_CH14.indd 96 10/3/2020 10:27:29 AM


Collection of Relations for Selected Coordinate Systems • 97

 η cos θ  ξ cos θ  − sin θ   


  1  
Basis vectors, e i, ( e , e , e ) =   ξ 2 + η 2 η sin θ  , ξ 2 +1 η 2
 ξ η θ   1 
ξ sin θ  ,  cos θ   
contravariant   ξ   −η  ξη  0   
      

Scale factors, hi ξ η (ξ
(h , h ,h ) =θ
2
+ η 2 , ξ 2 + η 2 , ξη )
( e (ξ ) , e (η ) , e (θ ) ) =
Unit vectors,  η cos θ  ξ cos θ  − sin θ  
physical  1   1    
components  2  η sin θ  , 2 ξ sin θ  ,  cos θ  
 ξ +η  ξ +η
2 2
    
  ξ   −η   0  

( gξξ ) =+ ( gηη ) =+ ( gθθ ) =


−1 −1 −1
Metric tensors, gij gξξ = ξ 2 η 2 , gηη = ξ 2 η 2 , gθθ = (ξη ) , 2

and g ij the rest are null

 η cos θ  ξ cos θ  − sin θ   


  1  
Basis vectors, e i , ( e , e , e ) =   ξ 2 + η 2 η sin θ  , ξ 2 + η 2 ξ sin θ  , ξη  cosθ   
 ξ η θ  1   1 
contravariant   ξ   −η   0 
      

Jacobian = ξη (ξ 2 + η 2 )

Unit volume d𝕍 ξη (ξ 2 + η 2 ) dξ dη dθ
=
 
  dS =
Line element and dS = ξ 2 + η 2  dξ e (ξ ) + dη e (η ) 

magnitude + ξη dθ e (θ ) (ξ 2
+ η 2 ) ( dξ ) + (ξ 2 + η 2 ) ( dη ) + (ξη dθ )
2 2 2

   
Vector components A = A (ξ ) e (ξ ) + A (η ) e (η ) + A (θ ) e (θ )

Γθξθ = θ
Γθξ
=1/ξ
Γξξξ = −Γηη
ξ
Γξξη = ξ
Γηξ
Christoffel symbols, ξ
Γθθ = Γηθθ = θ
Γηθ = θ
Γθη
based on covariant =Γηξη = η
Γηξ = Γηηη
−ξη / (ξ + η ) −ηξ / (ξ + η ) = 1 / η
2 2 2 2 2 2

Basis vectors = ξ / (ξ 2 += η 2 ) η / (ξ 2 + η 2 )
θ θ
Γηθ =Γθη
= 1 /η

Dot-product  
A ⋅ B A (ξ ) B (ξ ) + A (η ) B (η ) + A (θ ) B (θ )
=
(two vectors)
(continued)

Tensor-Analysis-for-Engineers_2E_CH14.indd 97 10/3/2020 10:27:32 AM


98 • Tensor Analysis for Engineers, 2E

  
A × B  A (η ) B (θ ) − A (θ ) B (η )  e (ξ )
=
Cross-product 
+  A (θ ) B (ξ ) − A (ξ ) B (θ )  e (η )
(two vectors) 
+  A (ξ ) B (η ) − A (η ) B (ξ )  e (θ )

  1 ∂   1 ∂   1 ∂ 
Gradient=
vector ∇   eξ +   eη +   eϕ
   
 ξ + η ∂r   ξ + η ∂η   ξη ∂ϕ 
2 2 2 2

Gradient =of a   1 ∂Ψ    1 ∂Ψ    1 ∂Ψ  
∇Ψ   eξ +  e + e
scalar, Ψ     η  ξη ∂ϕ  ϕ
 ξ + η ∂r   ξ + η ∂η 
2 2 2 2

  1 ∂  ∂  1 ∂  ∂ 
( )
∇2 = ∇ ⋅ ∇ =
ξ (ξ + η ) ∂ξ
ξ + η 
 ∂ξ  η (ξ + η ) ∂η  ∂η 
2 2 2 2

Laplacian operator
1 ∂2
+
(ξη )2 ∂θ 2

  1 ∂  ∂Ψ  1 ∂  ∂Ψ 
( )
∇ 2 Ψ = ∇ ⋅ ∇Ψ = 2 ξ + 2 2 η 
ξ (ξ + η ) ∂ξ  ∂ξ  η (ξ + η ) ∂η  ∂η 
2
Laplacian of a
scalar, Ψ 1 ∂2 Ψ
+
(ξη )2 ∂θ 2

Laplacian 
 of a ∇2 A =
, use Equation 11.21.
vector, A

For this coordinate system, we didn’t list all relations, since they are lengthy.
But readers can use the relations given in the next section, as they are appli-
cable to all orthogonal coordinate systems.

14.5 ORTHOGONAL CURVILINEAR COORDINATE


SYSTEMS
We use ( x1 , x2 , x3 ) ≡ ( x1 , x2 , x3 ) symbols for presentation. Note that all com-
ponents listed in Table 14.5 are given as physical components. The functional
relations for coordinate variables vs. those of Cartesian ones are required for
calculating the values of quantities listed in Table 14.5.

Tensor-Analysis-for-Engineers_2E_CH14.indd 98 10/3/2020 10:27:33 AM


Collection of Relations for Selected Coordinate Systems • 99

TABLE 14.5  Relations for quantities and their related derivatives in curvilinear orthogonal coordinate systems.

Coordinates
( x1 , x2 , x3 ) ≡ ( x1 , x2 , x3 )
(orthogonal)
   
Basis vectors ei , ( e1 , e2 , e3 )
covariant
Scale factors, hi ( h1 , h2 , h3 )

Unit vectors e ( i ) , ( e (1) , e ( 2 ) , e ( 3 ) ) = ( e1 / h1 , e2 / h2 , e3 / h3 )
physical components

g11 (= g11 ) (=
g ) ) , g (=
g )
−1 22 −1 33 −1
( h1 )= (h = ( h ) , the
2 2 2
Metric tensors, gij = , g22 2 33 3
ij
and g rest are null

Basis vectors e i
contravariant
( e , e , e ) = ( e g
1 2 3
1
11  
, e2 g 22 , e3 g 33 )

Jacobian  = h1 h2 h3

Unit volume d𝕍 = dx1 dx2 dx3


 
  dS =
Line element and=dS h1 dx1 e (1 ) + h2 dx2 e ( 2 )

magnitude + h3 dx3 e ( 3 ) ( h1 dx1 )
2
+ ( h2 dx2 ) + ( h3 dx3 )
2 2

   
Vector components A = A (1 ) e (1 ) + A ( 2 ) e ( 2 ) + A ( 3 ) e ( 3 )
Christoffel symbols (use Equations 10.20-10.25)
Dot-product  
A ⋅ B A (1 ) B (1 ) + A ( 2 ) B ( 2 ) + A ( 3 ) B ( 3 )
=
(two vectors)
  
A × B  A ( 2 ) B ( 3 ) − A ( 3 ) B ( 2 )  e (1 )
=
Cross-product 
+  A ( 3 ) B (1 ) − A (1 ) B ( 3 )  e ( 2 )
(two vectors) 
+  A (1 ) B ( 2 ) − A ( 2 ) B (1 )  e ( 3 )
 1 ∂  1 ∂  1 ∂ 
Gradient vector=∇ e (1 ) + e (2) + e (3)
h1 ∂x1 h2 ∂x2 h3 ∂x3

Gradient of a  1 ∂Ψ  1 ∂Ψ  1 ∂Ψ 
=∇Ψ e (1 ) + e (2) + e (3)
scalar, Ψ h1 ∂x1 h2 ∂x2 h3 ∂x3

(continued)

Tensor-Analysis-for-Engineers_2E_CH14.indd 99 10/3/2020 10:27:36 AM


100 • Tensor Analysis for Engineers, 2E

       ∂A i k i  j
Gradient of a
(
∇ A =∇ j A e j = )
∇ j ( A i ei ) e j = j + A Γ kj  ei e , see Example 15.13.
vector, A  ∂x 

  1  ∂ ( h3 A ( 3 ) ) ∂ ( h2 A ( 2 ) )  
=∇×A  −  e (1 )
h2 h3  ∂x2 ∂x3 
 1  ∂ ( h1 A (1 ) ) ∂ ( h3 A ( 3 ) )  
Curl of a vector, A +  −  e (2)
h1 h3  ∂x3 ∂x1 
1  ∂ ( h2 A ( 2 ) ) ∂ ( h1 A (1 ) )  
+  −  e (3)
h1 h2  ∂x1 ∂x2 

Divergence   1  ∂ ( h2 h3 A (1 ) ) ∂ ( h1 h3 A ( 2 ) ) ∂ ( h1 h2 A ( 3 ) ) 
 of a
= ∇ ⋅A  + + 
vector, A h1 h2 h3  ∂x1 ∂x2 ∂x3 
 1  ∂ ( h2 h3 A (11 ) ) ∂ ( h1 h3 A ( 21 ) ) ∂ ( h1 h2 A ( 31 ) )  
  + + 
  h1 h2 h3  ∂x1 ∂x2 ∂x3  
 e (1 )
∇ ⋅ A = 
+ A ( 12 ) ∂ h A ( 31 ) ∂h A ( 22 ) ∂ h A ( 33 ) ∂ h 
1
+ 1
− 2
− 3
 h1 h2 ∂x2 h1 h3 ∂x3 h1 h2 ∂x1 h1 h3 ∂x1 
 1  ∂ ( h2 h3 A (12 ) ) ∂ ( h1 h3 A ( 22 ) ) ∂ ( h1 h2 A ( 32 ) )  
  + + 
Divergence of a  h1 h2 h3  ∂x1 ∂x2 ∂x3  
 e (2)
+ 
2nd rank tensor, A + A ( 23 ) ∂ h A ( 12 ) ∂ h A ( 33 ) ∂h A ( 11 ) ∂ h 
2
+ 2
− 3
− 1
 h2 h3 ∂x3 h1 h2 ∂x1 h2 h3 ∂x2 h1 h2 ∂x2 
 1  ∂ ( h2 h3 A (13 ) ) ∂ ( h1 h3 A ( 23 ) ) ∂ ( h1 h2 A ( 33 ) )  
  + + 
 h1 h2 h3  ∂x1 ∂x2 ∂x3  
 e (3)
+ 
+ A ( 31 ) ∂ h A ( 23 ) ∂ h A ( 11 ) ∂ h A ( 22 ) ∂ h 
3
+ 3
− 1
− 2
 h1 h3 ∂x1 h2 h3 ∂x2 h3 h1 ∂x3 h2 h3 ∂x3 

 
∇ 2 Ψ = ∇ ⋅ ∇Ψ ( )
Laplacian of a
scalar, Ψ 1  ∂  h2 h3 ∂Ψ  ∂  h1 h3 ∂Ψ  ∂  h1 h2 ∂Ψ  
=   +  +  
h1 h2 h3  ∂x1  h1 ∂x1  ∂x2  h2 ∂x2  ∂x3  h3 ∂x3  

(continued)

Tensor-Analysis-for-Engineers_2E_CH14.indd 100 10/3/2020 10:27:37 AM


Collection of Relations for Selected Coordinate Systems • 101


∇2 A =
  ∂  h2  ∂ ( h1 A1 ) ∂ ( h3 A3 )    
    −   
 1 ∂   1  ∂x3  h1 h3  ∂x3 ∂x1     
 (∇⋅A + ) 
h2 h3  ∂  h  ∂ ( h2 A2 ) ∂ ( h1 A1 )    
  e1
 h1 ∂x1
 − ∂x  h h  ∂x −
3
 
   ∂x2    
 2 1 2 1 
  ∂  h3  ∂ ( h2 A2 ) ∂ ( h1 A1 )    
    −   
Laplacian
 of a  1 ∂   1  ∂x1  h1 h2  ∂x1 ∂x2     
vector, A + (
∇ ⋅A + ) 
h1 h3  ∂  h  ∂ ( h3 A3 ) ∂ ( h2 A2 )    
  e2
 h2 ∂x2
− −
1
   
 ∂x3  h2 h3  ∂x2 ∂x3    
 
  ∂  h1  ∂ ( h3 A3 ) ∂ ( h2 A2 )    
    −   
 1 ∂   1  ∂x2  h2 h3  ∂x2 ∂x3     
+ (
∇ ⋅A + ) 
h2 h1  ∂  h  ∂ ( h1 A1 ) ∂ ( h3 A3 )    
  e3
 h3 ∂x3
− −
2
   
 ∂x1  h1 h3  ∂x3 ∂x1    
 

 
1 ∂ 
 ∂  1 ∂  ∂   
∇4 = k 
g kl l  i 
g ij
j  
 ∂x  ∂x   ∂x  ∂x   

 ∇2 
 ∂ h h ∂  1 ∂  h2 h3 ∂    
Biharmonic  
2 3
    
 ∂x1  h1 ∂x1  h1 h2 h3 ∂x1  h1 ∂x1    
operator, ∇ 4  
1  ∂  h1 h3 ∂  1 ∂  h1 h3 ∂    
=  +      
h1 h2 h3  ∂x2  h2 ∂x2  h1 h2 h3 ∂x2  h2 ∂x2    
 
 + ∂  h1 h2 ∂  1 ∂  h1 h2 ∂    
      
 ∂x3  h3 ∂x3  h1 h2 h3 ∂x3  h3 ∂x3    

Modern engineering software tools provide facilities to include curvilin-


ear coordinate systems for computer modeling. For example, COMSOL
Multiphysics® has a curvilinear coordinate interface for defining object
­orientation in an arbitrary system [12].

Tensor-Analysis-for-Engineers_2E_CH14.indd 101 10/3/2020 10:27:38 AM


Tensor-Analysis-for-Engineers_2E_CH14.indd 102 10/3/2020 10:27:38 AM
CHAPTER

15
RIGID BODY ROTATION:
EULER ANGLES,
QUATERNIONS, AND
ROTATION MATRIX
In Chapter 12, we discussed Cartesian tensors and rotation of coordinate
system using Rodrigues’ formula (see Equation 12.6). For practical applica-
tions, mainly rigid body rotation, in this chapter we would like to expand on
this topic in relation to Euler angles and quaternions methods.
A rigid body transformation can be composed of two parts: a) translation
and b) rotation. The translation is usually referred to a vector connecting
the origin of the coordinate system to the centre of mass. Therefore, we can
always refer the rotation to the instantaneous center of mass and focus on
the rotation for calculation and analysis of rigid body motion.
In general, there are at least eight methods to represent rotation [13].
Among these three inter-related methods commonly used for calculating
rigid body orientation after it goes through possible rotations in a 3D space.
These are: 1) rotation matrix, 2) single axis-angle, and 3) quaternions. The
first two methods are discussed in Chapter 12 and expanded in this chapter
with the inclusion of Euler angles method. The third method is more robust
and with less limitations compared to the other methods in terms of practical
applications and is new to this second edition.
When dealing with rotation of a rigid body, several confusions may arise
in terms of definition of rotation matrix and rotation variables. To avoid
these ambiguities, identifying two definitions is critical. First, the assumed

Tensor-Analysis-for-Engineers_2E_CH15.indd 103 10/3/2020 10:28:34 AM


104 • Tensor Analysis for Engineers, 2E

transformation should be clear by the way the rotation matrix (see


Equation 12.7) is meant to be, i.e., it is meant to relate the coordinates
obtained after rotation to the original ones or vice versa. Second, how the
rotation itself is performed, i.e., is it that the coordinates are rotated and
quantities, like a vector, is kept fixed and we seek to find its new coordinates
with reference to the rotated ones or is it that the quantities, like a vector, are
rotated and the coordinates are kept fixed and we would like to calculate the
coordinates of the rotated vector with reference to the fix-kept coordinates.
In this book, we resolve these confusing issues by following the convention
described in Chapter 12, i.e., rotation matrix relates the known/given coor-
dinates prior to the rotation to those resulted from the rotation through the
rotation matrix ( y′i = Rij y j ). Therefore, we assign a passive convention, see
next section. Assuming this definition then the second definition- so-called
active and passive rotations [14]- is discussed in next section. Readers should
note that some authors/references may have different definition assumed
(sometimes implicitly) for the rotation matrix (e.g., y j = R ji y′i , or using the
transpose of the rotation matrix considered in this book).
Also, readers should note that an important fundamental property of all
methods mentioned above is that the rotation procedure reduces to the rota-
tion of one vector about another vector. This can be shown by finding the
equivalent single axis and angle for any combinations of rotations [14], see
Chapter 12.
Examples of practical applications of the methods mentioned above are:
rigid body rotation and orientation, computer graphics and animation,
aircraft maneuver control, robot arm control, signal processing, quantum
mechanics, special and general relativity-among others, [15], [16].

15.1  ACTIVE AND PASSIVE ROTATIONS


Following Section 12.1, let’s assume, without losing generality, a 2D coor-
dinate system ( y1 , y2 ) ≡ ( x, y ) being transformed to ( y1′ , y2′ ) ≡ ( x′, y′ ) through

rotation about the axis y3 ≡ z with unit vector n ≡ ni = ( 0,0,1) by an angle θ ,
according to R.H.R. Therefore, using the rotation matrix Rij (see
 x′   cosθ sin θ   x 
Equation 12.7) we have   =     and z′ = z. Readers should
 y′  − sin θ cosθ   y

Tensor-Analysis-for-Engineers_2E_CH15.indd 104 10/3/2020 10:28:35 AM


Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 105

note that the rotation matrix given here relates the rotated coordinates to the
( )
existing/current ones. Now if we have a vector V = Vx , Vy given in x − y
system and making angle ϕ with positive x axis then its components in x′ − y′
 V   cosθ sin θ   Vx 
system, in terms of Vx and Vy , are given as  x′  =     . This
Vy′   − sin θ cosθ  Vy 
type of transformation for which the vector is kept fixed and the coordinate
system rotates is called passive rotation. We can also perform the opposite
operation by rotating the vector and keep the original coordinate system

fixed. Therefore, we keep the system x − y fixed and rotate the vector V by
an angle equal to −θ about the same rotation axis (i.e., ni = ( 0,0,1 ) ) to get

the vector V′. This type of transformation for which the vector is rotated,
and the coordinate system is kept fixed is called active rotation. See Figure
  Vx′ 
15.1. The components of the rotated vector are V ′ =  ′  and are equivalent
Vy 
V 
to  x′  in their magnitudes. In other words, passive rotation through an
Vy′ 
angle θ is equivalent to corresponding active rotation through an angle equal
to −θ . For 3D rotations, we can expand the relationship between passive and
active rotations by using the properties of rotation matrix, see Section 12.1,
or
 
Rij (=
n,θ ) R ji ( n, −θ ) 15.1

Equation 15.1 states that the rotation matrix for a given angle and axis of
rotation is equal to its transpose when the rotation angle is in opposite direc-
tion but about the same rotation axis. As mentioned in this book, we consider
Rij, as given by Equation 12.7, for passive rotations and use its transpose (or
inverse) for active rotations.

15.1.1  Example: Active and Passive Rotations-Numerical Example



=
Vector V = ( )
Vx , Vy ( 3,4 ) is given in Cartesian coordinate system ( x, y ), as
shown in Figure 15.1. Show that passive and active rotations provide equiva-
lent answers. The absolute value of angle of rotation is θ = 30° and rotation
is about positive z-axis.

Tensor-Analysis-for-Engineers_2E_CH15.indd 105 10/3/2020 10:28:37 AM


106 • Tensor Analysis for Engineers, 2E

Solution:
 
The magnitude of the vector V is V = 3 2 + 4 2 = 5 and it makes an angle
4
=ϕ tan −1 =
  53.13° with the x-axis. For passive rotation, we keep the vec-
 3
tor V fixed and rotate the coordinate system ( x, y ) by 30° in the counter clock-
wise direction to get the resulted coordinate system ( x′, y′ ) . Therefore, the
 cos30 sin 30   3 /2 1/2 
rotation matrix is  = . The components of the
 − sin 30 cos30   −1/2 3 /2 
  3 /2 1/2  3  4.598 
are  x′ 
V
vector V in the ( x′, y′ ) system
= =    .
V
  passive  −1/2
y′ 4
3 /2    1.964 
For active rotation, we keep the coordinate system ( x, y ) fixed and rotate
the vector by 30° in the clockwise direction (or −30° ) to receive the vec-

( )
tor V ′ = Vx′, Vy′ that makes an angle ϕ=′ 53.13° − 30= °
23.13° with
the x-axis. Therefore, the components = are Vx′ 5cos
= ( 23.13 ) 4.598
V′
( 23.13 ) 1.964 , or  x  = 
4.598 
and Vy′ 5sin
= =  . Note that
Vy′  1.964  active

the rotation matrix follows the relation given in Equation 15.1, or


T
 cos30 sin 30  cos30 − sin 30 
Rij ( 30° ) =   = R ji ( −30 °
)  sin 30 cos30  .
=
 − sin 30 cos30   

y y

V
y
V
x
V



 
x x
Passive Active
FIGURE 15.1  Passive (left) and active (right) transformations for a 2D coordinate system.

Tensor-Analysis-for-Engineers_2E_CH15.indd 106 10/3/2020 10:28:42 AM


Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 107

15.2  EULER ANGLES


We expand the discussion presented in the previous section by consider-
ing 3D rotation of a rigid body, for example an airplane. With reference to
Chapter 12, we consider the following. Let’s assume the airplane maneuvers
in the sky, we can then relate its orientation, focusing on its rotation only, at
any given time to its original orientation in a step-wise manner in two ways;
1) by relating its successive rotations to a fixed global Cartesian coordinate
system or 2) by relating its orientations to its instantaneous body-attached
coordinate system resulted from successive rotations. The latter is so-called
Intrinsic, and the former is Extrinsic method. In this book, we use the intrin-
sic approach, [17], [18]. The extrinsic approach is more common for com-
puter graphics applications.
The concept of describing orientation of a rigid body by a limited number
of successive rotations goes back to Euler. His theorem, the Euler’s rotation
theorem [18], [19], [14] from a practical application point of view, states that
any orientation of a rigid body can be calculated through a single rotation
about a specified axis, with reference to its original orientation. This relates
to what we showed and used, single axis-angle method, in Chapter 12, see
Example 12.2.1. Further, Euler showed that the final orientation of a rigid
body can be obtained through at most three successive rotations, so called
Euler angles, [18], [20], [21]. The intrinsic method, as mentioned above, is
mostly used for successive rotations.
There exist several definitions for the body-attached coordinate system in
terms of axis orientations. Here we use the convention mostly used in engi-
neering by defining positive x-axis (roll) direction towards the front/cockpit,
y-axis (pitch) towards the right wing, and z-axis (yaw) downward towards
the ground along with positive rotations about each axis. See Figure 15.2, for
which R.H.R. applies.
Two immediate successive rotations around the same axis are not counted as
two separate/independent rotations since we can equally have a single rota-
tion equal to the algebraic sum of the two and hence the three-axis rotation
reduces to two-axis rotation. Therefore, in 3D space, having ( x, y, z) coordi-
nates, we can have 12 ( = 3 × 2 × 2) combinations of Euler angles as shown in
Table 15.1.

Tensor-Analysis-for-Engineers_2E_CH15.indd 107 10/3/2020 10:28:42 AM


108 • Tensor Analysis for Engineers, 2E

FIGURE 15.2  Body attached coordinates and corresponding Euler angles.

TABLE 15.1  Possible combination of Euler angles for rigid body rotations.

Roll group Pitch group Yaw group


xyz xzy yxz yzx zxy zyx
(roll-pitch- (roll-yaw- (pitch-roll- (pitch-yaw- (yaw-roll- (yaw-pitch-
yaw) pitch) yaw) roll) pitch) roll)
xyx xzx yxy yzy zxz zyz
(roll-pitch- (roll-yaw- (pitch-roll- (pitch-yaw- (yaw-roll- (yaw-pitch-
roll) roll) pitch) pitch) yaw) yaw)

Few points should be noted about the order of executing Euler angles. As pre-
viously explained the rotation matrix related to each successive rotation should
be pre-multiplied by the previous ones. Considering the order of rotations
as the reference. This is a direct consequence of our definition for rotation
matrix that transforms previous axes to the current rotated ones. Conversely,
if one defines the transpose of the rotation matrix given by Equation 12.7
(i.e., transforming current/rotated coordinates to the original ones) then the
sequence of rotations through Euler angles and their multiplications of their
corresponding rotation matrices to generate the final rotation matrix should
be performed in the same order. For example, according to our definition,
see Equation 12.7, considering the combination yxz the order of rotation

Tensor-Analysis-for-Engineers_2E_CH15.indd 108 10/3/2020 10:28:44 AM


Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 109

is pitch first, followed by roll and having yaw as the last rotation, or (pitch-

roll-yaw). With this definition, yxz should be read in backward order, yxz
to get the correct final rotation matrix resulted from multiplication of rota-
tion matrices combination, see Section 12.2. Therefore, the related rotation
T T T
matrices multiplication order is  Rθ3   Rθ2   Rθ1  =  Rθ1   Rθ2   Rθ3  ,
where θ1 is the first angle of rotation (for example pitch), θ 2 second (for
example roll), and θ 3 third (for example yaw). The resulted rotation matrix
reads

[ R ] =  Rθ 3
  Rθ2   Rθ1   15.2

In this book, we use the convention of index-order from 1 to 3 for succes-


sive rotations, i.e., first rotation expressed as θ1 and so on. Once the rotation
matrix [ R ] is given, it is possible to calculate the corresponding Euler angles
which are 12 sets, or mutations of 3 Euler angles corresponding to the rota-
tion matrix, see Table 15.1.
As discussed in Chapter 12, we can use rotation matrix [ R ] to calculate the sin-
gle axis-angle rotation equivalent to three successive rotations by Euler angles.
The single angle is given by Equation 12.8, repeated here for convenience, or
Rii − 1 R11 + R22 + R33 1
cosθ =
= − . Recall that Rii is the trace of matrix [ R ].
2 2 2
The single axis of rotation is the eigenvalue of [ R ], refer to Example 12.2.1.
Another method, and may be a quicker one, for calculating the components

of a unit vector along the rotation axis, represented by the unit vector n ≡ nk,
can be obtained by manipulating the diagonal elements of [ R ]. For exam-
ple, considering element R (1,1 ) = cosθ + ( n1 ) (1 − cosθ ), see Equation 12.7.
2

R −1 2 R −1
After substituting for cosθ we receive R (1,1 ) = ii + ( n1 )  1 − ii .
2  2 
2 R (1,1 ) − Rii + 1
Factoring out n1 gives, after some manipulation, n1 = .
3 − Rii

Therefore, for component k of the vector n = ( n1 , n2 , n3 ) , parallel to the rota-
tion axis, we receive

Tensor-Analysis-for-Engineers_2E_CH15.indd 109 10/3/2020 10:28:46 AM


110 • Tensor Analysis for Engineers, 2E

2 R ( k, k ) − Rii + 1
=nk = , k 1,2,3  15.3
3 − Rii

As an example, using data given in Example 12.2.1, we receive the trace of


the rotation matrix, Rii = 0 and R ( k, k ) = 0. Using Equation 15.3, we receive
 1
nk = 1/ 3 , or n = ± (1,1,1) . This is identical to the results obtained in
3
Example 12.2.1.

15.2.1  Example: Euler Angles-Numerical Example


An airplane undergoes a zyz (yaw-pitch-yaw) maneuver. The first yaw angle
is θ1 = 30, pitch angle θ 2 = 45, and the final yaw angle is θ 3 = 15. Calculate
its final orientation in the sky with reference to the earth fixed coordinates
and the equivalent single axis-angle rotation.

Solution:
We calculate the rotation matrices, using Equation 12.6 and multiply them
using Equation 15.2.
First yaw rotation: the rotation is about z-axis with ni = ( 0,0,1 ) and θ1 = 30
 3 1 
 cos30 sin 30 0   2 0
   2 
which gives  Rθ1  = − sin 30 cos30 0 = .
  1 3
 0 0 1   2− 0 
 2 
 0 0 1 

Pitch rotation: this rotation is about current y-axis (resulted from


the previous rotation) with ni = ( 0,1,0 ) and θ 2 = 45 which gives
 2 2
0 −
cos 45 0 − sin 45   2

2 

 Rθ2  =  
=  0 1 0   0 1 0 .
 sin 45 0 cos 45   2

2 
 0
 2 2 

Tensor-Analysis-for-Engineers_2E_CH15.indd 110 10/3/2020 10:28:48 AM


Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 111

Last yaw rotation: this rotation is about current z-axis (resulted from the
immediate previous rotation) with ni = ( 0,0,1 ) and θ 3 = 15 which gives
 3 +1 3 −1 
 0
 cos15 sin15 0  2 2 2 2

 Rθ3  =   
 − sin15 cos15 0  =
 3 −1 3 +1 .
 0  − 0 
0 1 
 2 2 2 2 
 0 0 1   2 2  3 1 
 0 −  0
 2 2  2 2 
For final rotation matrix, we first calculate  Rθ2   Rθ1  =  0 1 0  1 3 =
 6   − 0
2 2  2 2  2 2 
 2 2  3 1   −  0
 0 −  0  4 4 2   2 2   0
 0 1 
 2 2  2 2   1 3 
 Rθ2   Rθ1  =  0 1 0  1 3 = − 0 . The final operation is
  − 0  2 2 
 2 0 2  2 2   6 2 2 
 2 2   0 0 1   
 4 4 2 
to pre-multiply  Rθ3  to this result, or

 6 2 2
 3 +1 3 −1  − 
 0  4 4 2 
 2 2 2 2  1 3 
[ R ] = 3 − 1 3 +1  − 0 
− 0  2 2 
 2 2 2 2  6 2 2 
 0 0 1   
 4 4 2 

 3+ 2 + 3 − 6 1+3 2 + 3 − 6 1+ 3 
 − 
 8 8 4 
 −3 − 2 + 3 − 6 1+3 2 − 3 + 6 −1 + 3 
= 
 8 8 4 
 6 2 2 
 
 4 4 2 

Tensor-Analysis-for-Engineers_2E_CH15.indd 111 10/3/2020 10:28:49 AM


112 • Tensor Analysis for Engineers, 2E

 0.4621 0.5657 −0.6830 


 
≅  −0.6415 0.7450 0.1830  .
 0.6124 0.3536 0.7071 

The corresponding single rotation angle is, using Equation 12.8,


 2 1
=θ cos−1  −  = 62.8°. The elements of the unit vector along the single rota-
 2 4
2 × 0.4621 − 1.9142 + 1
tion axis are obtained using 15.3, or n=
1 = 9.6 × 10 −2,
3 − 1.9142
2 × 0.745 − 1.9142=
+1 2 × 0.7071 − 1.9142 + 1
=n2 = 0.7282, and n3 = 0.6786
3 − 1.9142 3 − 1.9142
2 × 0.7071 − 1.9142 + 1
0.6786. Answers are rounded. In other words, we can obtain the final ori-
3 − 1.9142 entation of the airplane by rotating it through an angle of 62.8° about an
axis in the direction of nk = ( 0.096, 0.7282, 0.6786 ) with reference to the
original coordinate system ( x, y, z ). The successive rotations are shown in
Figure 15.3.

FIGURE 15.3  Successive rotation of an airplane, Euler angels left-to-right, yaw=30, pitch=45, yaw=15 degrees.

Tensor-Analysis-for-Engineers_2E_CH15.indd 112 10/3/2020 10:28:50 AM


Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 113

It seems useful to refer the readers to some animation tools for Euler angles.
The following Apps, available through the following links, could be used for
demonstrating the Euler angles.
“Controlling Airplane Flight” [22], “Euler Angles for Space Shuttle” [23],
and “Euler Angles” [24].

15.3  CATEGORIZING EULER ANGLES


There are several ways possible to categorize Euler angles. With reference to
Table 15.1, we observe that there are two sets of Euler angles combination.
One set is those six combinations that contain repeated rotations (1st and 3rd)
about similar (but not the same) axes ( xyx, xzx, yxy, yzy, zxz, zyz), the so-
called proper Euler angles and another set that has different axis of rotations
for all three rotations (xyz, xzy, yxz, yzx, zxy, zyx), the so-called Tait-Bryan
angles. The latter is commonly used in engineering, specifically in aerospace
discipline [18], [19]. It is useful to collect all Euler angles types and their
corresponding rotation matrices, as shown in Table 15.2 and Table 15.3. The
corresponding single-axis rotation matrix of each case can be calculated as
well, like those in Section 15.2.1.

Tensor-Analysis-for-Engineers_2E_CH15.indd 113 10/3/2020 10:28:51 AM


TABLE 15.2  Proper Euler angles and rotation matrices.

unit vector-
rotation axis Roll: ni = (1,0,0 ) Pitch: ni = ( 0,1,0 ) Yaw: ni = ( 0,0,1 )

1 0 0  cos ( ) 0 − sin ( )   cos ( ) sin ( ) 0 


Rotation matrix-     
 0 cos ( ) sin ( )   0 1 0 
step  − sin ( ) cos ( ) 0 
0 − sin ( ) cos ( )   sin ( ) 0 cos ( )   0 0 1 

Tensor-Analysis-for-Engineers_2E_CH15.indd 114
Successive θ3
θ1 θ2 Matrices multiplication for successive rotations Rotation matrix
rotation-angles

1 0 0  cos (θ 2 ) 0 − sin (θ 2 )  1 0 0 
  
xyx roll pitch roll  0 cos (θ 3 ) sin (θ )
3  0 1 0  0 cos (θ 1 ) sin (θ1 )  =  xyx
0 − sin (θ 3 ) cos (θ 3 )   sin (θ 2 ) 0 cos (θ 2 )  0 − sin (θ1 ) cos (θ1 ) 
   

1 0 0   cos (θ 2 ) sin (θ 2 ) 0  1 0 0 
114 • Tensor Analysis for Engineers, 2E

  
xzx roll yaw roll  0 cos (θ 3 ) sin (θ )
3  − sin (θ 2 ) cos (θ 2 ) 0  0 cos (θ 1 ) sin (θ1 )  =  xzx
0 − sin (θ 3 ) cos (θ 3 )  
  0 0 1  0 − sin (θ1 ) cos (θ1 ) 

cos (θ 3 ) 0 − sin (θ 3 )  1 0 0   cos (θ1 ) 0 − sin (θ1 ) 


  
yxy pitch roll pitch  0 1 0  0 cos (θ 2 ) sin (θ2 )   0 1 0  =  yxy
 sin (θ 3 ) 0 cos (θ 3 )  0 − sin (θ 2 ) cos (θ 2 )   sin (θ1 ) 0 cos (θ1 ) 
   

cos (θ 3 ) 0 − sin (θ 3 )   cos (θ 2 ) sin (θ 2 ) 0  cos (θ1 ) 0 − sin (θ1 ) 


pitch yaw pitch    
yzy  0 1 0   − sin (θ 2 ) cos (θ 2 ) 0   0 1 0  =  yzy

Proper Euler Angles


  0 0
 sin (θ 3 ) 0 cos (θ 3 )   1   sin (θ1 ) 0 cos (θ1 ) 

 cos (θ 3 ) sin (θ 3 ) 0  1 0 0   cos (θ1 ) sin (θ1 ) 0 


 
zxz yaw roll yaw  − sin (θ 3 ) cos (θ 3 ) 0  0 cos (θ 2 ) sin (θ2 )   − sin (θ1 ) cos (θ1 ) 0  =  zxz
 0 0   0 0
 1  0 − sin (θ 2 ) cos (θ 2 )   1 

 cos (θ 3 ) sin (θ 3 ) 0  cos (θ 2 ) 0 − sin (θ 2 )   cos (θ1 ) sin (θ1 ) 0 


yaw pitch yaw     =  zyz
zyz  − sin (θ 3 ) cos (θ 3 ) 0   0 1 0   − sin (θ1 ) cos (θ1 ) 0 
 0 0     0 0
 1   sin (θ 2 ) 0 cos (θ 2 )   1 

10/3/2020 10:28:53 AM
Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 115

where,
 cos (θ 2 ) sin (θ1 ) sin (θ 2 ) −cos (θ1 ) sin (θ 2 ) 
 
 sin (θ 2 ) sin (θ 3 ) cos (θ 3 ) cos (θ1 ) cos (θ 3 ) sin (θ1 ) 
 xyx = − sin (θ 3 ) cos (θ 2 ) sin (θ1 ) + sin (θ 3 ) cos (θ 2 ) cos (θ1 ) 
 
cos (θ 3 ) sin (θ 2 ) − sin (θ 3 ) cos (θ1 ) cos (θ 3 ) cos (θ 2 ) cos (θ1 ) 
 − cos (θ 3 ) cos (θ 2 ) sin (θ1 ) − sin (θ 3 ) sin (θ1 ) 

Conversely; for a given single-axis rotation matrix the corresponding
 R (1,2 )   1 − R 2 (1,1 ) 
 , θ 2 = tan   , and
−1
Euler angles are: θ1 = tan 
−1

 − R ( 1,3 )  

R ( 1,1 ) 
 R ( 2,1 ) 
θ 3 = tan −1  
 R ( 3,1 ) 
 cos (θ 2 ) cos (θ1 ) sin (θ 2 ) sin (θ1 ) sin (θ 2 ) 
 
 − sin (θ 2 ) cos (θ 3 ) − sin (θ1 ) sin (θ 3 ) cos (θ1 ) sin (θ 3 ) 
 xzx = + cos (θ 3 ) cos (θ 2 ) cos (θ1 ) + sin (θ1 ) cos (θ 2 ) cos (θ 3 ) 
 
 sin (θ 2 ) sin (θ 3 ) − sin (θ1 ) cos (θ 3 ) cos (θ1 ) cos (θ 3 ) 
 − cos (θ ) cos (θ ) sin (θ ) − sin (θ ) cos (θ ) sin (θ ) 
 1 2 3 3 2 1 

Conversely; for a given single-axis rotation matrix the corresponding


 R (1,3 )   1 − R 2 (1,1 ) 
Euler angles are: θ1 = tan −1   , θ = tan −1
  , and
 R (1,2 )   R (1,1 ) 
2

 R ( 3,1 ) 
θ 3 = tan −1  
 − R ( 2,1 ) 
 cos (θ 3 ) cos (θ1 ) sin (θ 2 ) sin (θ 3 ) − cos (θ 3 ) sin (θ1 ) 
 
 − sin (θ 3 ) cos (θ 2 ) sin (θ1 ) − cos (θ1 ) cos (θ 2 ) sin (θ 3 ) 
 yxy = sin (θ1 ) sin (θ 2 ) cos (θ 2 ) cos (θ1 ) sin (θ 2 ) 
 
 sin (θ 3 ) cos (θ1 ) − sin (θ 2 ) cos (θ 3 ) cos (θ 3 ) cos (θ 2 ) cos (θ1 ) 
 + cos (θ ) cos (θ ) sin (θ ) − sin (θ 3 ) sin (θ1 ) 
 3 2 1

Conversely; for a given single-axis rotation matrix the corresponding


 R ( 2,1 )   1 − R 2 ( 2,2 ) 
Euler angles are: θ1 = tan −1   , θ = tan −1
  , and
 R ( 2,3 )   R ( 2,2 ) 
2

 R (1,2 ) 
θ 3 = tan −1  
 − R ( 3,2 ) 

Tensor-Analysis-for-Engineers_2E_CH15.indd 115 10/3/2020 10:28:55 AM


116 • Tensor Analysis for Engineers, 2E

 − sin (θ 3 ) sin (θ1 ) sin (θ 2 ) cos (θ 3 ) − sin (θ 3 ) cos (θ1 ) 


 
 + cos (θ 3 ) cos (θ 2 ) cos (θ1 ) − cos (θ 3 ) cos (θ 2 ) sin (θ1 ) 
 yzy = − cos (θ1 ) sin (θ 2 ) cos (θ 2 ) sin (θ1 ) sin (θ 2 ) 
 
 sin (θ1 ) cos (θ 3 ) sin (θ 2 ) sin (θ 3 ) − sin (θ 3 ) cos (θ 2 ) sin (θ1 ) 
 + cos (θ ) cos (θ ) sin (θ ) + cos (θ 3 ) cos (θ1 ) 
 1 2 3 

Conversely; for a given single-axis rotation matrix the corresponding


 R ( 2,3 )   1 − R 2 ( 2,2 ) 
 , θ 2 = tan   , and
−1
Euler angles are: θ1 = tan 
−1

 − R ( 2,1 )   R ( 2,2 ) 
 R ( 3,2 ) 
θ 3 = tan −1  
 R (1,2 ) 

 cos (θ 3 ) cos (θ1 ) cos (θ 3 ) sin (θ1 ) sin (θ 3 ) sin (θ 2 ) 


 
 − sin (θ 3 ) cos (θ 2 ) sin (θ1 ) + sin (θ 3 ) cos (θ 2 ) cos (θ1 ) 
 zxz = − sin (θ 3 ) cos (θ1 ) cos (θ 3 ) cos (θ 2 ) cos (θ1 ) cos (θ 3 ) sin (θ 2 ) 
 
 − sin (θ1 ) cos (θ 2 ) cos (θ 3 ) − sin (θ 3 ) sin (θ1 ) 
 sin (θ1 ) sin (θ 2 ) − cos (θ1 ) sin (θ 2 ) cos (θ 2 ) 
 

Conversely; for a given single-axis rotation matrix the corresponding


 R ( 3,1 )   1 − R 2 ( 3,3 ) 
Euler angles are: θ1 = tan −1   , θ = tan −1
  , and
 − R ( 3,2 )   R ( 3,3 ) 
2

 R (1,3 ) 
θ 3 = tan −1  
 R ( 2,3 ) 

 − sin (θ 3 ) sin (θ1 ) sin (θ 3 ) cos (θ1 ) − cos (θ 3 ) sin (θ 2 ) 


 
 + cos (θ 3 ) cos (θ 2 ) cos (θ1 ) + sin (θ1 ) cos (θ 2 ) cos (θ 3 ) 
 zyz = − sin (θ1 ) cos (θ 3 ) − sin (θ 3 ) cos (θ 2 ) sin (θ1 ) sin (θ 3 ) sin (θ 2 ) 
 
 − sin (θ 3 ) cos (θ 2 ) cos (θ1 ) + cos (θ 3 ) cos (θ1 ) 
 cos (θ1 ) sin (θ 2 ) sin (θ1 ) sin (θ 2 ) cos (θ 2 ) 
 

Conversely; for a given single-axis rotation matrix the corresponding


 R ( 3,2 )   1 − R 2 ( 3,3 ) 
Euler angles are: θ1 = tan −1   , θ = tan −1
  , and
 R ( 3,1 )   R ( 3,3 ) 
2

 R ( 2,3 ) 
θ 3 = tan −1  
 − R (1,3 ) 

Tensor-Analysis-for-Engineers_2E_CH15.indd 116 10/3/2020 10:28:57 AM


TABLE 15.3  Tait-Bryan angles and rotation matrices.

unit vector-
rotation axis Roll: ni = (1,0,0 ) Pitch: ni = ( 0,1,0 ) Yaw: ni = ( 0,0,1 )

1 0 0  cos ( ) 0 − sin ( )   cos ( ) sin ( ) 0 


Rotation matrix-     
 0 cos ( ) sin ( )   0 1 0   − sin ( ) cos ( ) 0 
step

Tensor-Analysis-for-Engineers_2E_CH15.indd 117
0 − sin ( ) cos ( )   sin ( ) 0 cos ( )   0 0 1 

Successive θ3
θ1 θ2 Matrices multiplication for successive rotations Rotation matrix
rotation-angles

 cos (θ 3 ) sin ( 3 ) 0  cos (θ 2 ) 0 − sin (θ 2 )  1 0 0 


xyz roll pitch yaw   
 − sin (θ 3 ) cos (θ 3 ) 0  0 1 0  0 cos (θ 1 ) sin (θ1 )  =  xyz
 0 0
 1   sin (θ 2 ) 0 cos (θ 2 )  0 − sin (θ1 ) cos (θ1 ) 

cos (θ 3 ) 0 − sin (θ 3 )   cos (θ 2 ) sin (θ 2 ) 0  1 0 0 


xzy   
roll yaw pitch  0 1 0  − sin (θ 2 ) cos (θ 2 ) 0  0 cos (θ 1 ) sin (θ1 )  =  xzy
 sin (θ 3 ) 0 cos (θ 3 )  
  0 0 1  0 − sin (θ1 ) cos (θ1 ) 

 cos (θ 3 ) sin (θ 3 ) 0  1 0 0  cos (θ1 ) 0 − sin (θ1 ) 


yxz   
pitch roll yaw  − sin (θ 3 ) cos (θ 3 ) 0  0 cos (θ 2 ) sin (θ2 )   0 1 0 
=  yxz
 0 0
 1  0 − sin (θ 2 ) cos (θ 2 )   sin (θ1 ) 0 cos (θ1 ) 

1 0 0   cos (θ 2 ) sin (θ 2 ) 0  cos (θ1 ) 0 − sin (θ1 ) 


yzx pitch yaw roll  
0 cos θ
( 3) sin 1 0 =  yzx

Tait-Bryan Angles
 (θ3 )   − sin (θ2 ) cos (θ2 ) 0   0 
0 − sin (θ 3 ) cos (θ 3 )  
  0 0 1   sin (θ1 ) 0 cos (θ1 ) 

cos (θ 3 ) 0 − sin (θ 3 )  1 0 0   cos (θ1 ) sin (θ1 ) 0 


zxy    
yaw roll pitch  0 1 0  0 cos (θ 2 ) sin (θ 2 )   − sin (θ1 ) cos (θ1 ) 0 
=  zxy
 sin (θ 3 ) 0 cos (θ 3 )  0 − sin (θ 2 ) cos (θ 2 )  
   0 0 1 

1 0 0  cos (θ 2 ) 0 − sin (θ 2 )   cos (θ1 ) sin (θ1 ) 0 


zyx   
yaw pitch roll  0 cos θ
( 3) sin (θ3 )   0 1 0   − sin (θ1 ) cos (θ1 ) 0  =  zyx
Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 117

0 − sin (θ 3 ) cos (θ 3 )   sin (θ 2 ) 0 cos (θ 2 )  


   0 0 1 

10/3/2020 10:29:00 AM
118 • Tensor Analysis for Engineers, 2E

where,
 cos (θ 2 ) cos (θ 3 ) cos (θ1 ) sin (θ 3 ) sin (θ 3 ) sin (θ1 ) 
 
 + cos (θ 3 ) sin (θ 2 ) sin (θ1 ) − cos (θ 3 ) sin (θ 2 ) cos (θ1 ) 
 xyz =  − cos (θ 2 ) sin (θ 3 ) − sin (θ 3 ) sin (θ 2 ) sin (θ1 ) cos (θ 3 ) sin (θ1 ) 
 
 + cos (θ 3 ) cos (θ1 ) + sin (θ 3 ) sin (θ 2 ) cos (θ1 ) 
 sin (θ 2 ) − cos (θ 2 ) sin (θ1 ) cos (θ 2 ) cos (θ1 ) 
 

Conversely; for a given single-axis rotation matrix the correspond-


 − R ( 3,2 )   R ( 3,1 ) 
ing Euler angles are: θ1 = tan −1   , θ 2 = tan 
−1
,
 R ( 3,3 )   1 − R 2 ( 3,1 ) 
 − R ( 2,1 ) 
θ 3 = tan −1  
 R (1,1 ) 

cos (θ 3 ) cos (θ 2 ) sin (θ 3 ) sin (θ1 ) − sin (θ 3 ) cos (θ1 ) 


 
 + cos (θ 3 ) sin (θ 2 ) cos (θ1 ) + cos (θ 3 ) sin (θ 2 ) sin (θ1 ) 
 xzy =  − sin (θ 2 ) cos (θ1 ) cos (θ 2 ) sin (θ1 ) cos (θ 2 ) 
 
 sin (θ 3 ) cos (θ 2 ) − cos (θ 3 ) sin (θ1 ) sin (θ 3 ) sin (θ 2 ) sin (θ1 ) 
 + cos (θ1 ) sin (θ 2 ) sin (θ 3 ) + cos (θ 3 ) cos (θ1 ) 
 

Conversely; for a given single-axis rotation matrix the correspond-


 R ( 2,3 )   − R ( 2,1 ) 
ing Euler angles are: θ1 = tan −1   , θ = tan −1
 ,
 R ( 2,2 ) 
2
 1 − R 2 ( 2,1 ) 
 R ( 3,1 ) 
θ 3 = tan −1  
 R (1,1 ) 

 cos (θ 3 ) cos (θ1 ) cos (θ 2 ) sin (θ 3 ) − cos (θ 3 ) sin (θ1 ) 


 
 + sin (θ 3 ) sin (θ 2 ) sin (θ1 ) + sin (θ 3 ) sin (θ 2 ) cos (θ1 ) 
 yxz = − sin (θ 3 ) cos (θ1 ) cos (θ 2 ) cos (θ 3 ) sin (θ 3 ) sin (θ1 ) 
 
 + cos (θ 3 ) sin (θ 2 ) sin (θ1 ) + cos (θ 3 ) sin (θ 2 ) cos (θ1 ) 
 sin (θ1 ) cos (θ 2 ) − sin (θ 2 ) cos (θ1 ) cos (θ 2 ) 
 

Tensor-Analysis-for-Engineers_2E_CH15.indd 118 10/3/2020 10:29:02 AM


Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 119

Conversely; for a given single-axis rotation matrix the corresponding


 R ( 3,1 )   − R ( 3,2 ) 
Euler angles are: θ1 = tan −1   , θ 2 = tan   , and
−1

 R ( 3,3 )   1 − R 2 ( 3,2 ) 
 R (1,2 ) 
θ 3 = tan −1  
 R ( 2,2 ) 

 cos (θ1 ) cos (θ 2 ) sin (θ 2 ) − sin (θ1 ) cos (θ 2 ) 


 
 sin (θ 3 ) sin (θ1 ) cos (θ 3 ) cos (θ 2 ) sin (θ 3 ) cos (θ1 ) 
 yzx =  − cos (θ 3 ) cos (θ 2 ) cos (θ1 ) + cos (θ 3 ) sin (θ 2 ) sin (θ1 ) 
 
 cos (θ 3 ) sin (θ1 ) − sin (θ 3 ) cos (θ 2 ) − sin (θ 3 ) sin (θ 2 ) sin (θ1 ) 
 
 + cos (θ1 ) sin (θ 2 ) sin (θ 3 ) + cos (θ 3 ) cos (θ1 ) 

Conversely; for a given single-axis rotation matrix the corresponding


 − R (1,3 )   R (1,2 ) 
Euler angles are: θ1 = tan −1   , θ 2 = tan 
−1
 , and
 R (1,1 )   1 − R 2 (1,2 ) 
 − R ( 3,2 ) 
θ 3 = tan −1  
 R ( 2,2 ) 

 cos (θ1 ) cos (θ 3 ) cos (θ 3 ) sin (θ1 ) − cos (θ 2 ) sin (θ 3 ) 


 
 − sin (θ1 ) sin (θ 2 ) sin (θ 3 ) + sin (θ 3 ) sin (θ 2 ) cos (θ1 ) 
 zxy = − sin (θ1 ) cos (θ 2 ) cos (θ1 ) cos (θ 2 ) sin (θ 2 ) 
 
 sin (θ 3 ) cos (θ1 ) − cos (θ 3 ) sin (θ 2 ) cos (θ1 ) cos (θ 2 ) cos (θ 3 ) 
 + sin (θ ) sin (θ ) cos (θ ) + sin (θ1 ) sin (θ 3 ) 
 1 2 3 

Conversely; for a given single-axis rotation matrix the corresponding


 − R ( 2,1 )   R ( 2,3 ) 
Euler angles are: θ1 = tan −1   , θ 2 = tan   , and
−1

 R ( 2,2 )   1 − R 2 ( 2,3 ) 
 −R (1,3 ) 
θ 3 = tan −1  
 R ( 3,3 ) 

Tensor-Analysis-for-Engineers_2E_CH15.indd 119 10/3/2020 10:29:03 AM


120 • Tensor Analysis for Engineers, 2E

 cos (θ1 ) cos (θ 2 ) sin (θ1 ) cos (θ 2 ) − sin (θ 2 ) 


 
 − cos (θ 3 ) sin (θ1 ) cos (θ 3 ) cos (θ1 ) cos (θ 2 ) sin (θ 3 ) 
 zyx =  + cos (θ1 ) sin (θ 2 ) sin (θ 3 ) + sin (θ 3 ) sin (θ 2 ) sin (θ1 ) 
 
 sin (θ 3 ) sin (θ1 ) − sin (θ 3 ) cos (θ1 ) cos (θ 2 ) cos (θ 3 ) 
 + cos (θ ) sin (θ ) cos (θ ) + sin (θ ) sin (θ ) cos (θ ) 
 3 2 1 1 2 3 

Conversely; for a given single-axis rotation matrix the corresponding


 − R (1,2 )   − R (1,3 ) 
Euler angles are: θ1 = tan −1   , θ 2 = tan   , and
−1

 R (1,1 )   1 − R 2 (1,3 ) 
 R ( 2,3 ) 
θ 3 = tan −1  
 R ( 3,3 ) 

15.3.1  Example: Euler Angles- Yaw-Pitch-Yaw, Numerical example


Repeat the example given in Section 15.2.1 using relation  zyz, given in
Table 15.2.
Solution: using Table 15.2, we have θ1 = 30 for first yaw rotation, θ 2 = 45
for pitch rotation, and θ1 = 15 for third yaw rotation. Substituting in relation
for  zyz gives
 − sin (15 ) sin ( 30 ) sin (15 ) cos ( 30 ) − cos (15 ) sin ( 45 ) 
 
 + cos (15 ) cos ( 45 ) cos ( 30 ) + sin ( 30 ) cos ( 45 ) cos (15 ) 
 zyz = − sin ( 30 ) cos (15 ) − sin (15 ) cos ( 45 ) sin ( 30 ) sin (15 ) sin ( 45 ) 
 
 − sin (15 ) cos ( 30 ) cos ( 45 ) + cos (15 ) cos ( 30 ) 
 cos ( ) ( )
30 sin 45 sin ( ) ( )
30 sin 45 cos ( )
45 
 

 0.4621 0.5657 −0.6830 


 
  −0.6415 0.7450 0.1830  . These results are identical with those
 0.6124 0.3536 0.7071 
from the example given in Section 15.2.1 Therefore,

 x′   0.4621 0.5657 −0.6830   x 


      , where ( x′ , y′, z′) are coordinates
 y′ =  −0.6415 0.7450 0.1830   y
   
 z′   0.6124 0.3536 0.7071   z 

Tensor-Analysis-for-Engineers_2E_CH15.indd 120 10/3/2020 10:29:05 AM


Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 121

of a fixed given point in space with initial coordinates ( x, y, z). In other words,
the initially body-attached axes ( x, y, z) orient themselves to the ( x′ , y′, z′)
after the airplane goes through the given successive yaw-pitch-yaw rotations.

15.4  GIMBAL LOCK-EULER ANGLES LIMITATION


For a wide range of applications, the Euler angles method provide us a use-
ful tool for calculating a rigid body orientation. However, for certain val-
ues of rotation angles the process breaks down and ran into a mathematical
”singularity” situation. This is usually referred to gimbal lock. This happens
when the rigid body loses one of its three rotational degrees of freedom and
rotation of two axes coincide when the rotation about the third remaining
π
axis is some integer multiple of . To see the mathematical explanation
2
and implication of gimbal lock, we use one of the cases from Table 15.3,
for example roll-pitch-yaw with final rotation matrix  xyz, repeated here for
convenience.
 cos (θ 2 ) cos (θ 3 ) cos (θ1 ) sin (θ 3 ) sin (θ 3 ) sin (θ1 ) 
 
 + cos (θ 3 ) sin (θ 2 ) sin (θ1 ) − cos (θ 3 ) sin (θ 2 ) cos (θ1 ) 
 xyz =  − cos (θ 2 ) sin (θ 3 ) − sin (θ 3 ) sin (θ 2 ) sin (θ1 ) cos (θ 3 ) sin (θ1 ) 
 
 + cos (θ 3 ) cos (θ1 ) + sin (θ 3 ) sin (θ 2 ) cos (θ1 ) 
 sin (θ 2 ) − cos (θ 2 ) sin (θ1 ) cos (θ 2 ) cos (θ1 ) 
 
π
Let the pitch angle be θ 2 = . Therefore, we receive, after some trigono-
2
metric simplifications,
0 sin (θ1 + θ 3 ) −cos (θ1 + θ 3 ) 
 
 xyz =0 cos (θ1 + θ 3 ) sin (θ1 + θ 3 )  . Writing the transformed coordi-
1 0 0 

 x′  0 sin ( β ) −cos ( β )   x 
    
nates, we receive  y′ = 0 cos ( β ) sin ( β )   y . Where β= θ1 + θ 3.
    z 
 z′  1 0 0

Tensor-Analysis-for-Engineers_2E_CH15.indd 121 10/3/2020 10:29:07 AM


122 • Tensor Analysis for Engineers, 2E

Writing the system of equations = ( β ), y′ ycos ( β ) + z sin ( β )


gives x′ y sin ( β ) − zcos=
=y′ ycos ( β ) + z sin ( β ), and z′ = x . Therefore, the rotated z-axis and x-axis are coincided, or
so-called locked. Obviously, the roll angle θ1 and yaw angle θ 3 can take on
several different values but their changes are indistinguishable since angle
β changes value if either of θ1 or θ 3 changes. When pitch angle is equal
π π
to (or in general, some odd integer multiple of ) then the rigid body
2 2
degrees of freedom is reduced from three to two, since z′ = x and yaw and
roll rotations provide the same result in terms of the rigid body orientation.
Similarly, other rotation matrices as listed in Table 15.2 and Table 15.3 can
be used to show their corresponding gimbal lock orientation, [25].
It seems useful to follow the successive rotations step-by-step as well, for
helping with understanding the gimbal lock. The first rotation is roll by
 x1  1 0 0   x
    
angle θ1 which results in orientation  y1  = 0 cos ( θ1 ) sin (θ1 )   y.
   
 z1  0 − sin (θ1 ) cos (θ1 )   z 
Obviously, these leaves x-axis intact, x1 = x and rotates y − z plane about
x-axis. The second rotation is pitch by angle θ 2 which results in orientation
 x2  cos (θ 2 ) 0 − sin (θ 2 )   x1 
      . Obviously, these leaves y -axis intact,
 y2  =  0 1 0   y1  1
 z   sin (θ ) 0 cos (θ )   z 
 2  2 2  1
π
y2 = y1 and rotates x1 − z1 plane about y1-axis. Now for the value of θ 2 =
2
 x2  0 0 −1  x1 
    
we receive  y2  = 0 1 0   y1 , or x2 = − z1, y2 = y1, and z= 2 x=
1 x.
 z  1 0 0   z 
 2   1
The latter relation shows that original x-axis is coinciding with z2 axis, or
so-called gimbal-locked. The last rotation is yaw by angle θ 3 which results
 x3   cos (θ 3 ) sin ( θ 3 ) 0   x2 
   
in orientation  y3  =  − sin (θ 3 ) cos (θ 3 ) 0   y2  . Obviously, these leaves
  1   z2 
 z3   0 0
z3-axis intact, z=
3 z=
2 x=
1 x and rotates x2 − y2 plane about z2-axis.

Tensor-Analysis-for-Engineers_2E_CH15.indd 122 10/3/2020 10:29:11 AM


Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 123

Performing the matrix multiplication using all three matrices, produces


 x′   x3   cos (θ 3 ) sin ( θ 3 ) 0  0 0 −1 1 0 0   x
        
 y  =  y3  =  − sin (θ 3 ) cos (θ 3 ) 0  0 1 0  0 cos ( θ1 ) sin (θ1 )   y ,

 z′   z   0 0 1  1 0 0  0 − sin (θ1 ) cos (θ1 )   z 
   3 
 x′  0 sin (θ1 + θ 3 ) −cos (θ1 + θ 3 )   x 
    
or  y′ =0 cos (θ1 + θ 3 ) sin (θ1 + θ 3 )   y, or again showing the loss of
 z′  1 0 0   z 
  
one degrees of freedom out of three as z′ = x , or gimbal lock.
To recover the lost degree of freedom due to gimbal lock situation we can
perform manual maneuver, if/when possible to rotate the rigid body as
smoothly as possible out of the gimbal lock position. This approach is not
practical, and the control system should be programmed such that close to
values of rotation angle that creates gimbal lock a warning sent out and users
become aware of it. As shown in the animation video, cited above/below, we
can use other more robust methods for removing gimbal lock. This method
makes use of quaternions. We discuss the mathematics of quaternions and
their applications in rigid body rotation and matrix transformation, in the
following sections. Readers interested in discussion about gimbal lock can
consult with references cited [14], [26], [18].
Readers may also find it helpful to consult with the following lecture series,
specifically those ones related to rigid body kinematics [27]. Also using
Wolfram Alpha, readers can visualize a given quaternion, along with some
related computations.
An example for animation of a gimbal lock position, which could be helpful
to visualize this phenomenon, can be found at references [28] and [29].

15.5 QUATERNIONS-APPLICATIONS FOR RIGID


BODY ROTATION
A quaternion is defined as a 4D complex number. Mathematically, it is rep-
resented with a combination of a scalar and a vector-like complex number.
Its development started when William R. Hamilton was visioning and work-
ing on extending the complex numbers to more than 2D space, a real and

Tensor-Analysis-for-Engineers_2E_CH15.indd 123 10/3/2020 10:29:12 AM


124 • Tensor Analysis for Engineers, 2E

a complex numbers dimension. He first struggled adding one dimension to


the complex number (i.e., defining it in 3D space) and ran into difficul-
ties for performing basic algebraic operations, like multiplications, etc. For
example, the product of two imaginary numbers ij is not defined in 3D space
when having one real and two imaginary dimensions. Then he realized that
adding an additional dimension to the complex numbers and defining it in
3D space would solve the problem, hence Quaternions are defined as com-
plex numbers in 4D space, [30]. This newly discovered mathematical quan-
tity, the quaternions, found to be very useful in several fields of science/
physics and engineering such as kinematics of rigid body orientation, robot-
ics, aerospace, computer graphics/animation and gaming software, relativity
(General and Special), quantum mechanics. In this section, we discuss their
definition, algebraic operations, and their applications for rigid body rotation
[18], [21].

15.5.1 Definition-Quaternion
A quaternion can be defined as the combination of a scalar and a vector, as

q = ( q0 , q ) . The vector-like part is in principle defined as a 3D complex num-
ber when using their multiplication relation defined as given by Equation
15.4. It is well-known that in 1843 Hamilton, excited with his spark discov-
ery, engraved this expression as a message on Broome Bridge in Dublin,
Ireland [31], [32].

i2 = j2 = k2 = ijk = −1  15.4

Therefore, we can write a quaternion q as

q =q0 + iq1 + jq2 + kq3 ≡ ( q0 , q1 , q2 , q3 )  15.5

where, q0 is a real number and remaining terms are complex numbers. For
example, 2 − i + 3 j + 2 k. Using Equation 15.5, we can write complex num-
=
bers i, j, k as quaternions, or i (=
0,1,0,0 ) , j ( 0,0,1,0
= ) , and k ( 0,0,0,1).
Note that the similarity between ( i, j, k), here defined as complex num-
 
  
( )
bers with those of unit vectors ( e1 , e2 , e3 ) ≡ i, j, k that justifies the vector-
like representation of a quaternion and hence to some extent simplifies the
mathematical expressions resulted from algebraic manipulation of quater-
nions. The relations for the product of these complex quantities follows
the cross-product of unit vectors, except for those of identical unit vectors

Tensor-Analysis-for-Engineers_2E_CH15.indd 124 10/3/2020 10:29:13 AM


Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 125

   
(e.g., i2 = −1, whereas i × i =0 and i ⋅ i =1, etc.). Please note i2 = ii is an
expression representing arithmetic multiplication of a complex number i by
itself, hence manipulation of quaternions is relatively easier than those of
vectors.
All possible combinations of complex numbers products are listed in Table
15.4, with clockwise multiplication considered to be positive. From these
relations we can conclude that these relations are not commutative, for
example, ij ≠ ji =− ij, etc.
TABLE 15.4  Hamilton relations, quaternions multiplication rule.

k i
+ i = ( 0,1,0,0 ) j = ( 0,0,1,0 ) k = ( 0,0,0,1 )
j

i i2 = −1 ij = k ik = − j

j ji = − k j2 = −1 jk = i

k ki = j kj = − i k2 = −1

In terms of geometrical visualization, it is difficult to vision a 4D space since


we are accustomed to visioning 3D space intuitively. It may help to imagine
the surface of a hypersphere as representation of a surface defined in 4D
space, like a 2D surface defined in a 3D space [21]. Readers may find it
useful to watch the video clip cited in reference [33], demonstrating some
animations of the geometry of a quaternion in terms of hyperspheres.

15.5.1.1  Example: Derivation of Hamilton Quaternion Relations


Using Equation 15.4, derive the identities given in Table 15.4. Recall that
quaternions are not commutative.

Solution:
We start with ijk = −1 and multiply both sides by i to receive 
i2 jk = − i .
Hence, jk = i. Similarly, kj = − i. −1

Now multiply both sides by j to receive ji jk = − j. Hence, − i j2 k =


− j or
 
ik = − j. Similarly, ki = j. − ij −1

Tensor-Analysis-for-Engineers_2E_CH15.indd 125 10/3/2020 10:29:15 AM


126 • Tensor Analysis for Engineers, 2E

 jk = − k. Hence, i kj
Now multiply both sides by k to receive ki

k = k or
− ik
− jk
− ij 
k2 =
k. Hence, ij = k. Similarly, ji = − k.
−1

15.5.2  Quaternions-Basic Algebraic Operations and Properties


We consider two quaternions, q =q0 + iq1 + jq2 + kq3 and p = p0 + ip1 + jp2 + kp3
p = p0 + ip1 + jp2 + kp3 . The summation/subtraction operation on these quantities
is straight forward and produces q ± p= ( q0 ± p0 ) + i(q1 ± p1 ) + j(q2 ± p2 ) + k ( q3 ± p3
p= ( q0 ± p0 ) + i(q1 ± p1 ) + j(q2 ± p2 ) + k ( q3 ± p3 ) . Obviously, for more than two quaternions it can
be extended to include as many as involved in the operation. However, the
multiplication operation is not as straight forward. As a matter of fact, it
was this operation that held Hamilton back for a while before he realized
that a 4D space is required to properly define quaternions. The multiplica-
tion operation is as follow: qp = ( q0 + iq1 + jq2 + kq3 )( p0 + ip1 + jp2 + kp3 ) .
Performing the term-by-term multiplications and using the relations given
in Table 15.4, after some rearranging, we receive

qp = q0 p0 − ( q1 p1 + q2 p2 + q3 p3 ) + q0 ( ip1 + jp2 + kp3 ) + p0 ( iq1 + jq2 + kq3 )


+ i ( q2 p3 − q3 p2 ) + j ( q3 p1 − q1 p3 ) + k ( q1 p2 − q2 p1 ) 15.6

This is a long expression and some simplifications is justified. We can make



use of properties of the vector-like part of the quaternion, q = iq1 + jq2 + kq3

and p = ip1 + jp2 + kp3, and their dot and cross products when the complex
 
numbers i, j, k are interpreted as unit vectors. Or q ⋅ p= q1 p1 + q2 p2 + q3 p3
 
and q= × p i ( q2 p3 − q3 p2 ) + j ( q3 p1 − q1 p3 ) + k ( q1 p2 − q2 p1 ) . Substituting for
these expressions back into multiplication result (Equation 15.6), we receive
     
= ( q0 p0 − q ⋅ p ) + ( q0 p + p0 q + q × p ) 15.7
qp
     
scalar vector − complex number

   
Equation 15.7 clearly demonstrates that qp ≠ pq, since q × p ≠ p × q.
The author’s caution is to note the dual interpretations of complex numbers
i, j, k as unit vectors when the complex part of a quaternion  is treated as
 
a vector (for example i = −1 but we treat as i ⋅ i =
2
1 or i × i = 0 for vec-
tor operation). Readers should note that simply the results of the product
operations are the same, not necessarily the term-by-term operation, hence
Equation 15.7 provides us with the same answer as that of Equation 15.6.

Tensor-Analysis-for-Engineers_2E_CH15.indd 126 10/3/2020 10:29:19 AM


Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 127

However, Equation 15.7 is presented in more compact memorable form of


the quaternions’ product expression.

It is useful to define conjugate of the quaternion, q∗ = ( q0 − q ) = q0 − ( iq1 + jq2 +

q∗ = ( q0 − q ) = q0 − ( iq1 + jq2 + kq3 ). We can use Equation 15.7, to show that
2
qq∗ = q∗ q = q02 + q = q02 + q12 + q22 + q32 . This quantity is equal to the square
of the norm or magnitude of the quaternion q , or

q= qq∗ = q02 + q12 + q22 + q32 = q∗ 15.8

q
A unit quaternion, Q = =Q0 + iQ1 + jQ2 + kQ3 is defined as a quaternion
q
with magnitude/norm equal to unity, with having QQ∗ = 1. Therefore, for a
given unit quaternion its inverse and conjugate are equal, Q −1 = Q∗ . Also,
2
since q∗ q = q , see Equation 15.8, we can define the inverse of the quater-
q∗
nion as q−1 = 2 . Therefore, the division operation of two quaternions can
q
be performed. This, however, has two forms since the quaternions are non-
commutative. For example, the ratio q (assuming p ≠ 0) can be written as
p
−1 −1
qp or p q. Users should define which quotient is desired for their related
calculations.

15.5.2.1  Quaternions Algebraic Operations-Numerical Example


Given q = 3 + i − 2 j + k and p = 2 − i + 2 j + 3 k , compute q + p, qp, their cor-
responding conjugate, norm, inverse, and unit quaternion.

Solution:
q + p =( 3 + i − 2 j + k ) + ( 2 − i + 2 j + 3 k ) =5 + 4 k . For the prod-
uct we calculate the dot and cross products of the correspond-
 
ing vectors, or q ⋅ p =(1, −2,1 ) ⋅ ( −1,2,3 ) =−1 − 4 + 3 =−2 and
 
q × p =emnl qn pl =−8 i − 4 j. Therefore, using Equation 15.7, we have
qp =[ 6 + 2 ] + −3 i + 6 j + 9 k + 2 i − 4 j + 2 k − 8 i − 4 j = 8 − 9 i − 2 j + 11k . The
conjugates are q∗ = 3 − ( i − 2 j + k ) and p∗ = 2 − ( − i + 2 j + 3 k ) . The
norm q = 9 + 1 + 4 + 1 = 15 and p = 4 + 1 + 4 + 9= 3 2.

Tensor-Analysis-for-Engineers_2E_CH15.indd 127 10/3/2020 10:29:22 AM


128 • Tensor Analysis for Engineers, 2E

q∗ 3 − i + 2 j − k 1 1 2 1
The inverse q−1 = 2 = = − i+ j− k and
q 15 5 15 15 15
p∗ 2 + i − 2 j − 3 k 1 1 1 1
p−1 = 2 = = + i − j − k. The unit quaternions are,
p 18 9 18 9 6
3+ i−2 j+k 15 15 2 15 15 and 2 − i + 2 j + 3k 2 2 2
Q= = + i− j+ k P= = − i+ j+
15 5 15 15 15 3 2 3 6 3
2 − i + 2 j + 3k 2 2 2 2
P= = − i+ j+ k.
3 2 3 6 3 2

Having the algebraic rules defined for quaternions, in the following sections
we present their application for coordinates system and rigid body rotation.
Since quaternions are basically an extension to the 2D complex numbers,
first we discuss the relation between 2D complex numbers and rotation
matrix followed by similar relations for 4D quaternions.

15.5.3  Complex Numbers and Rotation Matrix


Complex numbers can be used to represent rotation of a rigid body when
Euler formula is used. Euler formula relates an exponential complex num-
ber/variable to periodic sinusoidal functions [25], or

e iα cos α + i sin α 15.9


=

where i= −1 . For example, in a 2D space, we can define a complex vari-


able z= z ( x, y )= x + iy representing a vector drawn from coordinates’ ori-
 y
gin to the point z on the x − y plane and making an angle = tan −1   ,
 x
phase/argument, with the positive x-axis and having the magnitude
z = zz∗ = ( x + iy )( x − iy ) . Writing down the components, we get
x = z cos ϕ and y = z sin ϕ . Or z = z ( cosϕ + i sinϕ ) = z e iϕ . Now, we oper-
ate the unit vector e iθ on z, to
= get z′ e= iθ
z e iϕ z e i(ϕ +θ ) . Note that the magni-
tude of the original vector is preserved, but its phase angle changes to (ϕ + θ ) .
Expanding this expression, using Equation 15.9, we receive the components
of transformed vector z′ = ( x + iy) eiθ = x cosθ − y sin θ + i ( x sin θ + y cosθ ) ,
 x′  cosθ − sin θ   x 
as (omitting i)   =     . This is identical to active rotation
 y′  sin θ cosθ   y
operation discussed in Section 15.1. Similarly, operating e− iθ on z gives the
equivalent of passive rotation operation.

Tensor-Analysis-for-Engineers_2E_CH15.indd 128 10/3/2020 10:29:25 AM


Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 129

15.5.4  Quaternions and Rotation


To extend the application of complex numbers to 3D rotations, we make
use of the process/method mentioned in the previous section and include
quaternions in the discussion. First, we note that an arbitrary vector,

V = iV1 + jV2 + kV3 =( V1 , V2 , V3 ) can be considered as a quaternion whose
real part is zero, i.e., pure quaternions. Similarly, a real quaternion is a quater-
nion whose vector part is null with non-zero real part. Now, we consider a unit
 2
quaternion Q = Q0 + Q. Therefore, Q = Q02 + Q = Q02 + Q12 + Q22 + Q32 = 1
which implies that we can define an angle β such that

 Q0 = cos β
  15.10
 Q = sin β
 
 Q Q
We also define a unit vector as = n =  using the vector
Q Q12 + Q22 + Q32

part (i.e., vector Q ) of the unit quaternion Q. Therefore, we can write the

unit quaternion as = Q cos β + n sin β .
Now, we can write as an extension to Euler formula, see Equation 15.9, the
so-called De Moivre’s formula for quaternion Q, [26]

nβ 
=
Q e= cos β + n sin β 15.11

Note that n is a 3D imaginary number treated as a vector-like quantity calcu-
lated from the imaginary part of the unit quaternion. Using Equation 15.10,
 Q12 + Q22 + Q32  
we can write β = tan −1   and since n = ( n1 , n2 , n3 ) is defined
 Q0 
 
as a unit vector we have n1 + n22 + n32 =
2
1.
Recall that the rotation matrix/operation preserves the magnitude of the
­vector which goes under rotation. In other words, magnitude of a vector
under rotation is invariant (see Sections 12.2 and 15.5.3). Therefore, for
using quaternions in rotation operation we look for an operator which is a
combination of relevant quaternion and maintains the magnitude of the vec-
tor on which it operates. The quaternion operation on a vector is done in a
two-step process, using a unit quaternion and its inverse/conjugate to make
sure that the result is a vector with preserved magnitude. For this purpose,
 ∗  −1
we use the unit quaternion Q and form the combination QVQ = QVQ to
 
( )
transform vector V to V ′ by rotation, or

Tensor-Analysis-for-Engineers_2E_CH15.indd 129 10/3/2020 10:29:28 AM


130 • Tensor Analysis for Engineers, 2E

  ∗   
=V ′ QVQ
= enβ Ve− nβ 15.12

As mentioned, the reason that we use unit quaternion and its inverse/conjugate

is simply because the combination QV , as much as it may intuitively seem the
correct combination, it doesn’t result in a new vector and nor maintaining the

magnitude of V , under rotation operation. This can be seen using Equation 15.7
 
and writing V as= a pure quaternion. Or QV (= Q0 , Q1 , Q2 , Q3 ) ( 0, V1 , V2 , V3 )
    
−Q ⋅ V + Q0 V + Q × V , which is clearly a quaternion quantity and not a vector
 
due to having a scalar part (i.e. Q ⋅ V ).
  
Now, after expanding Equation 15.12, using Equation 15.11, we have QVQ∗ =( cos β + n sin β ) V ( co
    
 
( )
= V cos β + nV sin β ( cos β − n sin β ) =
QVQ∗ =( cos β + n sin β ) V ( cos β − n sin β ) =
     
( )
V cos2 β − nVn sin 2 β + nV − Vn sin β cos β . But using vector identities, we
          
can write nVn = ( )
V − 2 n ⋅ V n and nV − Vn =2 n ×V . After substituting we
receive, in terms of double angle 2 β ,
 ∗      
=
QVQ ( ) (
V cos2 β + (1 − cos2 β ) n ⋅ V n + n × V sin 2 β )
Therefore, we can write Equation 15.12 in index notation as (note that in
Equation 15.13 subscripts i, j, k are simply indices, ranging from 1 to 3 and
should not be confused with the imaginary numbers)

=Vi′ Vi cos2 β + (1 − cos2 β ) ni n j V j + eijk n j Vk sin 2 β 15.13

Writing Equation 15.13 in matrix form, let θ = 2 β , produces

V1′   cos θ + n1 n1 (1 − cos θ ) n1 n2 (1 − cos θ ) − n3 sin θ n1 n3 (1 − cos θ ) + n2 sin θ  V1 


    
V ′  = n n (1 − cos θ ) + n3 sin θ cos θ + n2 n2 (1 − cos θ ) n2 n3 (1 − cos θ ) − n1 sin θ  V2 
 2   1 2
V3′   n1 n3 (1 − cos θ ) − n2 sin θ n2 n3 (1 − cos θ ) + n1 sin θ cos θ + n3 n3 (1 − cos θ )  V3 
15.14

This is identical to using Rodrigues equation when rotation angle is meas-


ured in the opposite direction, or the transpose of rotation matrix given
in Equation 12.7. In other words, the operation performed  according to
Equations 15.12 or 15.14 gives active rotation of vector V through angle

θ = 2 β about unit vector n. Therefore, the quaternions should be written as
half-angle of the rotation angle (i.e., β = θ /2), Or

Tensor-Analysis-for-Engineers_2E_CH15.indd 130 10/3/2020 10:29:32 AM


Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 131


 Q 
θ rotation (2=
= β )quaternion 2 tan −1  
  Q0 
   15.15

 Q
n =
 Q1 + Q22 + Q32
2

Readers may recall that for active rotation we keep the coordinate system
fixed and rotate the vector, see Section 15.1. From the above-mentioned
derivation, we can conclude the following theorem (note that Q −1 = Q∗):
 
For any given vector V and unit quaternion Q = Q0 + Q, vector
 
QVQ −1 is equivalent to the active rotation of the vector V through

Q  
an angle θ = 2 tan −1   about an axis parallel to Q  or equiva-
 Q0  
 
 
 Q
lently the unit vector n =  
Q

Similarly, it can be shown that the combination
   
Q∗ VQ = e− nβ Venβ 15.16

is equivalent to a passive rotation of vector V .
Two points worth mentioning, about quaternions and rotations. 1) It takes
two quaternions, the unit quaternion itself and its inverse/conjugate, to per-
form a rotation for a rigid body. Each quaternion carries half of the total
θ
angle of rotation, i.e., β = . 2) Further transformation follows the same
2

rule. For example, the vector Q∗ VQ can be transformed again using unit
quaternion P representing a second rotation, or

 ∗  
(
 
)
P ∗ Q∗ VQ P = ( QP ) V ( QP ) = W ∗ VW 15.17
  
nd
st
1 rotation 2 rotation

Tensor-Analysis-for-Engineers_2E_CH15.indd 131 10/3/2020 10:29:34 AM


132 • Tensor Analysis for Engineers, 2E

As seen from Equation 15.17, we can combine the related two quaternions
as their product W = QP and perform the operation on the desired vector as
a single rotation. The first rotation corresponds to Q and the second one to
P. Similarly, for an active rotation we can write the following relation for two
successive rotations,
  

(

)
P QVQ∗ P ∗ = ( PQ ) V ( PQ ) = V  ∗
 

15.18
nd
st
1 rotation 2 rotation

Example: Show that following theorem is correct.


 
For any given vector V and unit quaternion Q = Q0 + Q , com-
 
ponents of vector Q −1 VQ are equivalent to those of vector V
in the rotated coordinates (i.e., passive rotation) by an angle

Q  
θ = 2 tan−1   about an axis parallel to the vector Q  or equiv-
 Q0  
 

 Q 
alently unit vector n = 
Q

Solution:
Note that quaternions should be written as half of the total rotation angle,
θ       
or β = , Q−1 VQ =( cos β − n sin β ) V ( cos β + n sin β ) == ( V cos β − nV sin β ) ( cos β + n sin β ) =
 
2      
( V cos β − nV 
sin β ) ( cos β + n sin β ) = (
= V cos2 β − nVn sin 2 β − nV − Vn sin β cos β . However, )
          
  
using vector identities, we can write nVn =
 
( )
V − 2 n ⋅ V n and nV − Vn = 2 n × V
 
nV − Vn = 2 n × V . Substituting, we obtain, in terms of double angle 2 β , Q= ∗
VQ V cos2 β + (1 − cos2 β
      
Q=∗
( ) ( )
VQ V cos2 β + (1 − cos2 β ) n ⋅ V n − n × V sin 2 β . Or in index ­notation form
we have (note that in Equations 15.13 and 15.19 subscripts i, j, k are
simply indices range from 1 to 3 and should not be confused with the
­imaginary  numbers)

Vx′i Vi cos2 β + (1 − cos2 β ) ni n j V j − eijk n j Vk sin 2 β 15.19


=

Writing Equation 15.19 in matrix form, let θ = 2 β , produces

Tensor-Analysis-for-Engineers_2E_CH15.indd 132 10/3/2020 10:29:39 AM


Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 133

Vx′   cos θ + n1 n1 (1 − cos θ ) n1 n2 (1 − cos θ ) + n3 sin θ n1 n3 (1 − cos θ ) − n2 sin θ  V1 


    
Vy′  =  n1 n2 (1 − cos θ ) − n3 sin θ cos θ + n2 n2 (1 − cos θ ) n2 n3 (1 − cos θ ) + n1 sin θ  V2 
   cos θ + n3 n3 (1 − cos θ )  V3 
Vz′   n1 n3 (1 − cos θ ) + n2 sin θ n2 n3 (1 − cos θ ) − n1 sin θ

15.20

This is identical to the rotation matrix


 given in Equation 12.7. In other
words, the operation given by Q −1 VQ gives the components of vector V

when coordinates are rotated through angle θ = 2 β about unit vector n , see
Equation 15.15. Readers may recall that for passive rotation we keep the
vector fixed and rotate the coordinate system, see Section 15.1.
Example: Rotation using quaternions-numerical example
  2π
Consider the rotation of vector V = i= (1,0,0 ) by an angle θ = about an
 3
axis in the direction r = (1,1,1 ). Find the transformed vector assuming active
and passive rotations using following methods:
a. Rodrigues’ formula
b. quaternions

Solution:

 r  1 1 1 
a. The unit vector related to the rotation axis is =
n =  , , .
r  3 3 3
The transformation matrix is, using Equations 15.13 or 12.7, for active

transformation (vector rotates and coordinates are fixed) gives (note that

 θ2π= − 1  for active
2π  rotation,
1 when
2π plugged
1 2in
π Equation
1 12.7)
2π  1 2π 
 cos 3 + 33 1 − cos 3   1 − cos − sin  1 − cos + sin 
  3  3  3 3 3  3  3 3
V1′    1 
  1  2π  1 2π 2π 1  2π  1 2π  1 2π   
V2′  =   1 − cos + sin cos +  1 − cos   1 − cos − sin 0 
V ′   3  3  3 3 3 3 3  3 3  3 3   
 3  1 0
 2π  1 2π 1  2π  1 2π 2π 1  2π    
 3  11 − cos 3 2π−  sin
2π  1 − cos
3 2π  − 13 sin
 +2π sin cos +  1 − cos  

cos  +  1 − cos   3 1  13 − cos  3 1  13 − cos 2π 3+ 13 sin 2π  3  
   
3 3 3  3 3  3 3 3 3  3 3 
V1′    1 
  1  2π  1 2π 2π 1  2π  1 2π  1 2π   
V2′  =   1 − cos + sin cos +  1 − cos   1 − cos − sin 0 
V ′   3  3  3 3 3 3 3  3 3  3 3   
 3  1 0
 2π  1 2π 1  2π  1 2π 2π 1  2π    
  1 − cos  − sin  1 − cos  + sin cos +  1 − cos 
3  3  3 3 3 3  3 3 3 3 3  

Tensor-Analysis-for-Engineers_2E_CH15.indd 133 10/3/2020 10:29:41 AM


134 • Tensor Analysis for Engineers, 2E

Or

V1′  0 0 1  1  0  
      
= V2′  = 1 0 0  0  1  . Hence active rotation of vector i gives vector
 V ′   0 1 0  0  0 
 3     

j. Similarly, the passive rotation (coordinates rotate and vector is fixed) gives

 π 1θ= 3 for
(note 2that passive
2π  1
rotation, when plugged
2π  1
in Equation
2π 1 
12.7) 2π
2π  1 
cos +  1 − cos   1 − cos  + sin  1 − cos  − sin
3 3 3  3 3  3 3 3 3  3 3 
Vx′   
  1  2π  1 2π 2π 1  2π  1 2π  1 2π 
Vy′  =   1 − cos − sin cos +  1 − cos   1 − cos + sin =
  3  3  3 3 3 3 3  3 3  3 3 
Vz′   1  2π  1 2π 1  2π  1 2π 2π 1  2π  
1 − cos + sin 1 − cos − sin cos + 1 − cos
 2π 3 1  3 2π  3 1  3 3 2 π  1 3  2π 3 1  3 2π  3 1 3  2π  3  
 cos 3 + 3  1 − cos 3   1 − cos + sin  1 − cos − sin
3 
Vx′     3 3  3 3 3 3  3 
  1  2π  1 2π 2π 1  2π  1 2π  1 2π 
Vy′  =   1 − cos − sin cos +  1 − cos   1 − cos + sin =
  3  3  3 3 3 3 3  3 3  3 3 
Vz′   1  2π  1 2π 1  2π  1 2π 2π 1  2π  
 3  1 − cos 3  + sin  1 − cos − sin cos +  1 − cos 
3  
   3 3 3 3  3 3 3 3
 0 1 0  1   0   
      . Hence passive rotation of vector i gives vector k .
 0 0 1 0
   = 0
1 0 0  0  1 

b. When quaternions are used for rotation note that half-angle


 π
should be used =  β θ= /2 . The unit quaternion reads,
 3
π  π 1  i j k  3 1 i j k
using Equation 15.11, Q = cos + n sin = + + +  = + + +
3 3 2  3 3 3 2 2 2 2 2
k  3 1 i j k . Hence, Q = 1 and Q  i j k
 i j = + + . For active
 + +  = + + + 0
 3 3 3 2 2 2 2 2 2 2 2 2
 ∗ 1 i j k 1 i j k
rotation, we have QVQ =  + + +  ( i )  − − −  =
2 2 2 2 2 2 2 2
 1 i k j  1 i j k  . Similarly, for passive rotation
 − 2 + 2 − 2 + 2  2 − 2 − 2 − 2  = j
  
 1 i j k 1 i j k
we have Q∗ VQ =  − − −  ( i )  + + +  = k. Readers can
2 2 2 2 2 2 2 2
instead use Equations 15.14 and 15.20, respectively.

Tensor-Analysis-for-Engineers_2E_CH15.indd 134 10/3/2020 10:29:44 AM


Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 135

15.6  FROM A GIVEN QUATERNION TO ROTATION MATRIX


In this section, we would like to derive the rotation matrix from a given qua-
ternion related to a rigid body rotation. For a given unit quaternion, we can
use Equations 15.14 in conjunction with Equation 15.15 for active rotation
and Equation 15.20 for passive rotation for calculating the equivalent rota-
tion matrices. However, equivalently we can directly calculate the rotation
matrix by implementing quaternions algebraic product rules on QVQ∗, for

example, for a given vector V = iV1 + jV2 + kV3.

For a given unit quaternion, we have Q = Q0 + Q = Q0 + iQ1 + jQ2 + kQ3

along with Q = Q02 + Q12 + Q22 + Q32 = 1. Therefore, the combination QVQ∗
can be written as follow.

QVQ∗ = ( Q0 + iQ1 + jQ2 + kQ3 ) ( iV1 + jV2 + kV3 )( Q0 − iQ1 − jQ2 − kQ3 ) .

Performing the multiplication on the first two brackets, produces QVQ∗ =
 ( Q1 V1 + Q2 V2 + Q3 V3 ) + i ( Q0 V1 + Q2 V3 − Q3 V2 ) + j ( Q0 V2 − Q1 V3 + Q3 V1 ) + k ( Q0 V3 + Q1 V2 −
−
2 ) + j ( Q0 V2 − Q1 V3 + Q3 V1 ) + k ( Q0 V3 + Q1 V2 − Q2 V1 ) ( Q0 − iQ1 − jQ2 − kQ3 ) . Performing the multiplica-
tion on the last bracket produces
 ∗
QVQ= i  V1 ( Q02 + Q12 − Q22 − Q32 ) + 2 V2 ( Q1Q2 − Q0 Q3 ) + 2 V3 ( Q0 Q2 + Q1Q3 ) 

+ j 2 V1 ( Q0 Q3 + Q1Q2 ) + V2 ( Q02 − Q12 + Q22 − Q32 ) + 2 V3 ( Q2 Q3 − Q0 Q1 )  +


k 2 V1 ( Q1Q3 − Q0 Q2 ) + 2 V2 ( Q0 Q1 + Q2 Q3 ) + V3 ( Q02 − Q12 − Q22 + Q32 ) . Now
1 we can substitute for −Q22 − Q32 = Q02 + Q12 − 1,
using Q02 + Q12 + Q22 + Q32 =
−Q12 − Q32 = Q02 + Q22 − 1, and −Q12 − Q22 = Q02 + Q32 − 1, to obtain the rotation
matrix as: (1st row is the coefficients of i, 2nd row those of j, and 3rd row those
of k)
Q02 + Q12 − 0.5 Q1Q2 − Q0 Q3 Q0 Q2 + Q1Q3 
[ Ractive
= ] 2  Q0Q3 + Q1Q2 Q02 + Q22 − 0.5 Q2Q3 − Q0Q1  15.21
 Q1Q3 − Q0 Q2 Q0 Q1 + Q2 Q3 Q02 + Q32 − 0.5 
 
Or
 V1′   V1 
   
V2′  = [ Ractive ] V2 
V ′  V 
 3  3

Tensor-Analysis-for-Engineers_2E_CH15.indd 135 10/3/2020 10:29:47 AM


136 • Tensor Analysis for Engineers, 2E


Similarly, we can calculate the passive rotation matrix using Q∗ VQ, to receive

Q02 + Q12 − 0.5 Q0 Q3 + Q1Q2 Q1Q3 − Q0 Q2 


 Rpassive
=  2  Q1Q2 − Q0 Q3 Q02 + Q22 − 0.5 Q0 Q1 + Q2 Q3  15.22
 
 Q0 Q2 + Q1Q3 Q2 Q3 − Q0 Q1 Q02 + Q32 − 0.5 
 

Or

 Vx′   V1 
    
Vy′  =  Rpassive  V2 
V  V 
 z′   3

Reader may note that  Rpassive  = [ Ractive ] , as expected. Readers should also
T

note that elements of the above-mentioned matrices are calculated using


related unit quaternions.

Example: Calculating rotation matrix from a given quaternion-numerical


example
The quaternion q = 3 + i − 2 j + k is given. Find the equivalent rotation matrix
for both active and passive rotation scenarios. For each scenario calculate
the equivalent single axis and angle of rotation and compare the results.

Solution:
We first check if the given quaternion is a unit quaternion by cal-
culating its norm/magnitude. Hence for q = 3 + i − 2 j + k we have
q = 9 + 1 + 4 + 1 = 15 ≠ 1. Therefore, we need to calculate the corre-
1  3 1 −2 1 
sponding unit quaternion = Q ( 3 + i − 2 j=
+ k)  , , , .
15  15 15 15 15 
3
Now using Equation 15.21 for active rotation and plugging in for Q0 = ,
1 −2 1 15
Q1 = , Q2 = , and Q3 = we receive
15 15 15

Tensor-Analysis-for-Engineers_2E_CH15.indd 136 10/3/2020 10:29:49 AM


Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 137

9 1 1 2 3 6 1  1 2 2
 15 + 15 − 2 − 15 − 15 − +   − − 
15 15 3 3 3
   
 3 2 9 4 1 2 3   2 11 2
[ Ractive
= ] 2 − + − − −=
 15 15
− .
15 15 15 15 2 15 15  3
 1 6 3 2 9 1 1   14 2 1 
 + − + −   
 15 15 15 15 15 15 2   15 15 3 
The single axis of rotation is the vector corresponding to the vector part of the

  1 −2 1  Q
−1
 
unit quaternion, or Q =  , ,  and the angle is 2 tan  Q  =
 15 15 15   0
 6
2 tan −1  °
 = 78.46 , see Equation 15.15. Note that the corresponding
 3 
unit vector is

  1 , −2 , 1 
 Q  15 15 15   1 −2 1  .
= =
n active  =  , , 
Q 1 4 1  6 6 6
+ +
15 15 15
Similarly, for passive rotation, using Equation 15.22, we find
 1 2 14 
 3 15 15 
 
2 11 2 
 Rpassive  =  −
   3 15 15  . We use the resulted rotation matrix to calcu-
 2 2 1
− − 
 3 3 3 
 21 
− 1
late the single angle of rotation, or cos  15
−1 °
 = 78.46 , see Equation
 2 
 
12.8. The axis of rotation is the vector part of the conjugate unit
1  3 −1 2 −1 
quaternion Q∗
= ( 3 − i + 2 j=
− k)  , , , , or
15  15 15 15 15 

Tensor-Analysis-for-Engineers_2E_CH15.indd 137 10/3/2020 10:29:51 AM


138 • Tensor Analysis for Engineers, 2E

 −1 2 −1 
 ∗  −1 2 −1   , , 
Q = , ,  with the unit =   15= 15 15   −1 2 −1  
 15 15 15  vector n passive = , ,  n act
1 4 1  6 6 6
+ +
 −1 2 −1  15 15 15
 , , 
 15= 15 15   −1 2 −1  
e = , ,  n active .
1 4 1  6 6 6
+ +
15 15 15

15.7  FROM A GIVEN ROTATION MATRIX TO QUATERNION


In this section, we would like to derive the equivalent quaternion from
a given rotation matrix related to a rigid body rotation. Having the rota-
tion matrix, we can use the relations obtained in the previous sec-
tion to obtain the corresponding quaternion. Let us consider a passive
rotation case, given by Equation 15.22. Note that the trace for both
active and passive rotation matrices are equal in their values. The
trace of the rotation matrix is Rtrace = 2 ( 3Q02 + Q12 + Q22 + Q32 − 1.5=
)
 
2  2Q02 + Q02 + Q12 + Q22 + Q32 − 1.5  = 4Q02 − 1. Therefore, we have the real
   
 1 
part of the quaternion as

1 + Rtrace
Q0 = ± 15.23
2

Knowing the real part, we can calculate the elements of complex



part Q using the diagonal elements of rotation matrix. Therefore,
R (1,1 ) − 2Q02 + 1 2 R (1,1 ) − Rtrace + 1
R (1,1 ) = 2Q02 + 2Q12 − 1 or Q1 =
± = .
2 2
2 R ( 2,2 ) − Rtrace + 1 2 R ( 3,3 ) − Rtrace + 1
Similarly, q2 = ± , and q3 = ± .
2 2
Therefore, component m of the complex part of the quaternion reads

2 R ( m, m ) − Rtrace + 1
Qm =
± , m=
1,2,3 15.24
2

Tensor-Analysis-for-Engineers_2E_CH15.indd 138 10/3/2020 10:29:53 AM


Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 139

From Equations 15.23 and 15.24, it is shown that for a given rotation matrix we
get two unit quaternions that describes the rotation, or Q = Q0 + Q1 + Q2 + Q3
and P = −Q = −Q0 − Q1 − Q2 − Q3 . Here, Q represents the unit quaternion
for a positive (R.H.R.) rotation about the axis of rotation and P represents
the rotation about the same axis but in opposite direction, [27].

Example: Calculating quaternion from a given rotation matrix-numerical


example 0 0 1 
 
The rotation matrix R = 1 0 0  is given. Find the corresponding
quaternions. 0 1 0 

Solution:
Using Equation 15.23, we receive the real part of the corresponding unit
1+0 1
quaternion as Q0 = ± = ± . The vector part can be calculated using
2 2
0 −0 +1 1
Equation 15.24, or Q1 =Q2 =Q3 = ± =± . Therefore the quater-
2 2
1 1 1 1  1 1 1 1
nions are Q =  , , ,  and Q = − qˆ =  − ,− ,− ,−  .
2 2 2 2  2 2 2 2

15.8  FROM EULER ANGLES TO A QUATERNION


In this section, we would like to derive the quaternion from given Euler angles
related to a rigid body rotation. Using the relations derived in the previous sec-
tion, we can find corresponding quaternions for Euler angles. For example, for
1 0 0 
a roll rotation by angle θ roll about x-axis, we have 0 cos ( θ roll ) sin (θ roll )  ,

0 − sin (θ roll ) cos ( θ roll ) 
see Table 15.2, as the rotation matrix. Therefore, using Equation 15.23,
1 + 1 + 2 cos (θ roll ) θ 2 − 2 cos (θ roll ) − 1 + 1 θ
= Q0 = = cos roll , Q1 = sin roll ,
2 2 2 2
2 cosθ roll − 2 cos (θ roll ) − 1 + 1
and Q= 2 Q=3 = 0. This offers the corre-
2
sponding unit quaternion equivalent to the roll rotation as

Tensor-Analysis-for-Engineers_2E_CH15.indd 139 10/3/2020 10:29:55 AM


140 • Tensor Analysis for Engineers, 2E

θ roll θ roll 15.25


=
Qθ roll cos + i sin
2 2

Similarly, the unit quaternions for pitch and yaw rotations are

θ pitch θ pitch
=
Qθ pitch cos + j sin 15.26
2 2

and

θ yaw θ yaw
=
Qθ yaw cos + k sin 15.27
2 2

Similarly, we can obtain 12 quaternions related to 12 Euler angles combina-


tions. This can be achieved by equating the elements of each rotation matrix
given in Table 15.2 and Table 15.3 with Equation 15.22. The result would be
nine equations, which can be solved for corresponding quaternion real and
imaginary parts [27]. However, in practice it is more efficient to calculate the
final rotation matrix and extract the corresponding quaternions, as described
in Section 15.7.
Another method of extracting the quaternion related to a given set of Euler
angles (without calculating the single-axis rotation matrix) is to use Equation
15.17 in conjunction with Equations 15.25 through 15.27.

15.9  PUTTING IT ALL TOGETHER


It seems useful to collect all related methods and their interrelations, see
Table 15.5. In this table, we list the related equations for calculating param-
eters of a desired method from those of a given method, directly. For exam-
ple, S→E indicates the direct relations for obtaining Euler angles from a
given rotation matrix. Readers should note that it is always possible to calcu-
late the rotation matrix using one of the three methods (i.e., Euler’s angle,
quaternions, single axis-angle) and then use it for calculating the parameters
related to another method.

Tensor-Analysis-for-Engineers_2E_CH15.indd 140 10/3/2020 10:29:59 AM


Tensor-Analysis-for-Engineers_2E_CH15.indd 141
TABLE 15.5  Rigid body rotation direct relations and methods.

S-single procedure E-Euler procedure Q-quaternions procedure R-rotation procedure


axis-angle angles matrix
S→E S→R→E E→S E→R→S Q→S Eq. 15.15 R→S Eq. 12.8, 15.3
S→R Eq. 12.7 E→R Table 15- & Q→R Eq. 15.21 R→E Table 15- &
Table 15-3. &15.22 Table 15-3.
S→Q S→R→Q E→Q E→R→Q Q→E Q→R→E R→Q Eq. 15.23, 15.24
& 15.24
Rigid Body Rotation: Euler Angles, Quaternions, and Rotation Matrix • 141

10/3/2020 10:29:59 AM
Tensor-Analysis-for-Engineers_2E_CH15.indd 142 10/3/2020 10:29:59 AM
CHAPTER

16
WORKED-OUT EXAMPLES

In this section, we present several worked-out examples related to the topics


covered in the previous sections.

16.1 EXAMPLE: EINSTEIN SUMMATION CONVENTIONS


Write out the expanded expression in full detail for N = 3 dimensions for,
  ∂x′ j  
=A dx i  ei − i e′ j  .
 ∂x 
Solution:
  ∂x′ j  
Summation applies on both indices i and j , hence A = dx i  ei − i e′ j  =
 ∂x 
j  1 
 2 
 3 

 ∂x′     ∂x′ ∂x′ ∂x′ 
dx i ei − dx i i e′ j = dx1 e1 + dx2 e2 + dx3 e3 − dx1  1 e1′ + 1 e2′ + 1 e3′  −
∂x  ∂x ∂x ∂x 
 ∂x′1  ∂x′2  ∂x′3    ∂x′1  ∂x′2  ∂x′3  
dx2  2 e1′ + 2 e2′ + 2 e3′  − dx3  3 e1′ + 3 e2′ + 3 e3′  .
 ∂x ∂x ∂x   ∂x ∂x ∂x 
  ∂x′  ∂x′  ∂x′3  
1  2
Re-arranging the terms, we receive =A dx1  e1 − 1 e1′ − 1 e2′ − 1 e3′  +
 ∂x ∂x ∂x 
  ∂x′1  ∂x′2  ∂x′3     ∂x′1  ∂x′2  ∂x′3  
dx2  e2 − 2 e1′ − 2 e2′ − 2 e3′  + dx3  e3 − 3 e1′ − 3 e2′ − 3 e3′  .
 ∂x ∂x ∂x   ∂x ∂x ∂x 

Tensor-Analysis-for-Engineers_2E_CH16.indd 143 10/3/2020 10:31:57 AM


144 • Tensor Analysis for Engineers, 2E

16.2 EXAMPLE: CONVERSION FROM VECTOR TO


INDEX NOTATIONS
Write out the following expressions written in vector form in index notation
and expand for 3D coordinates.
  2
(
a. ∇ ⋅ A )
 
(
b. A ⋅ ∇ 2 A )
   
( (
c. A ⋅ ∇ ∇ ⋅ A ))
 
( )
d. ∇ ⋅ A ( ∇ 2 Φ )

(
e. ∇ 2 A ⋅ ( ∇Φ ) )
 
(
f. A ⋅ ∇ ( ∇ 2 Φ ) )
Solution:
  2
( )
′ ′ k ( ′1
A 1 + A22 + A 33 )
2
a. ∇ ⋅ A= A j j A
= k
′ ′
 
b. A ⋅ ∇ =
2
(A A k= )
Ak ′⋅ jj A1 A1′ ⋅ jj + A2 A2 ′ ⋅ jj + A3= (
A3 ′⋅ jj A1 A1 ′⋅ 11 + A1 ′⋅ 22 + A1′ ⋅33 )
( ) (
+ A2 A1′ ⋅ 11 + A1′ ⋅22 + A1′ ⋅33 + A3 A1′ ⋅11 + A1′ 2⋅2 + A1′ ⋅33 )
( )
   
( (
c. A ⋅ ∇ ∇=
⋅A A= ))
A′kj A1 A′kk1 + A2 A′kk 2 + A=
j k
A′k 3 A1 A1′11 + A2′21 + A3′31
3 k

 
( ) (
+ A2 A1′11 + A2′21 + A3′31 + A3 A1′11 + A2′21 + A3′31 )
( )
d. ∇ ⋅ A ( ∇ 2 Φ= ) A′j j ( ∇ kΦ )= ′ ⋅ A′1 ( ∇ k Φ ) ′ ⋅ + A′2 ( ∇ k Φ )′ ⋅ + A′3 ( ∇ k Φ )=
k 1 k 2 k 3
′⋅
k

A ′11 ( ∇1 Φ )′ ⋅ + ( ∇ 2 Φ ) ′⋅ + ( ∇ 3 Φ )′ ⋅  + A ′22 ( ∇1 Φ ) ′⋅ + ( ∇ 2 Φ ) ′⋅ + ( ∇ 3 Φ ) ′⋅  +
1 2 3 1 2 3
   
A ′33 ( ∇1 Φ ) ′⋅ + ( ∇ 2 Φ ) ′⋅ + ( ∇ 3 Φ ) ′⋅ 
1 2 3
 

Tensor-Analysis-for-Engineers_2E_CH16.indd 144 10/3/2020 10:31:58 AM


Worked-out Examples • 145


(
e. ∇ 2 A ⋅ ( ∇Φ
= ) ) (A k
( ∇ k Φ ) )′ j ⋅ j
= ( A (∇ Φ ) + A (∇ Φ ) + A (∇ Φ ))′
1
1
2
2
3
3 j⋅
j

= ( A (∇ Φ ) + A (∇ Φ ) + A (∇ Φ ))′
1
1
2
2
3
3 1⋅
1

+ ( A (∇ Φ ) + A (∇ Φ ) + A (∇ Φ ))
1 2 3 2
1
′ 2 3 2⋅

+ ( A (∇ Φ ) + A (∇ Φ ) + A (∇ Φ ))
1 2 3 3
1
′ 2 3 3⋅

 
( )
f. A ⋅ ∇ ( ∇ 2 Φ )= A j ( ∇ k Φ ) ⋅ j
k

= A1 ( ∇ k Φ ) + A2 ( ∇ k Φ )
+ A 3 ( ∇ k Φ ) ⋅3
k k k

′⋅ 1 ′⋅ 2 ′
= A ( ∇1 Φ ) ⋅ 1 + ( ∇ 2 Φ ) ⋅ 1 + ( ∇ 3 Φ ) ⋅1
1  
1 2 3
 ′ ′ ′ 
+ A ( ∇1 Φ ) ⋅2 + ( ∇ 2 Φ ) ⋅2 + ( ∇ 3 Φ ) ⋅2 
2  1 2 3
 ′ ′ ′ 
+ A3 ( ∇1 Φ ) ⋅ 3 + ( ∇ 2 Φ ) ⋅ 3 + ( ∇ 3 Φ ) ⋅3 
1 2 3
 ′ ′ ′ 

16.3 EXAMPLE: OBLIQUE RECTILINEAR COORDINATE


SYSTEMS
Consider a 2D oblique/slanted coordinate system, x i in which the coordinate
axes are not at right angles. With reference to the Cartesian
 coordinate sys-
tem yi, as shown in Figure 16.1, for a given vector A find:
a. Covariant and contravariant components; Ai and A i
 
b. Covariant and contravariant basis vectors; ei and e i with sketch on the
coordinate system
 i i    
c. Show that = A A= ei A= ie Ac1 E1 + Ac 2 E2 ; where E1 and E2 are
­Cartesian unit vectors
 
δ ji and sketch all basis vectors
d. Verify that e i ⋅ e j =
e. Metric tensors
   
f. Unit vectors ei / ei , or scale factor, and e i / e i

Tensor-Analysis-for-Engineers_2E_CH16.indd 145 10/5/2020 11:27:26 AM


146 • Tensor Analysis for Engineers, 2E

FIGURE 16.1  Oblique coordinate system x i and Cartesian coordinate system y i.

Solution:
Assume axes x1 and x2 make angles α and β with Cartesian axis y1 , respec-
tively. Therefore, we can write the following functional relations between
the oblique and Cartesian systems:
 y1 x1 cos α + x2 cos β
=  x =
1
− csc (α − β )  y1 sin β − y2 cos β 
 2 , or inversely  2
= y x sin α + x sin β csc (α − β )  y1 sin α − y2 cos α 
1 2
 x =

a. Covariant components of A are obtained by drawing perpendicular
∂y j ∂y1
lines to the coordinate axes. We have Ai = Acj, =
or A1 Ac1 +
∂x i ∂x1
∂y2 ∂y1 ∂y2
= Ac 2 cos α Ac 1 + sin α Ac 2 . Similarly, A = A + Ac 2 = cos β Ac1 +
∂x1
2 c1
∂x2 ∂x2

sin β Ac 2 . The contravariant components of A are obtained by d ­ rawing
∂x i
parallel lines to the coordinate axes. We have A i = Acj , or A1 =
∂y j

∂x1 ∂x1
Ac1 + − sin β csc (α − β ) Ac1 + cos β csc (α − β ) Ac 2. Similarly,
Ac 2 =
∂y1 ∂y2
∂x2 ∂x2
A2 = Ac 1 + Ac 2 = sin α csc (α − β ) Ac1 − cos α csc (α − β ) Ac 2 . Note
∂y1 ∂y2
that for the Cartesian system both covariant and contravariant compo-
nents are identical.

Tensor-Analysis-for-Engineers_2E_CH16.indd 146 10/3/2020 10:32:03 AM


Worked-out Examples • 147

 ∂y 
j
b. The covariant basis vectors for oblique system are ei = i E j ,
∂x
 ∂y 1
 ∂y 2
    ∂y 
1
or e1 = 1 E1 + 1 E2 = cos α E1 + sin α E2. Similarly,=e2 E1 +
∂x ∂x ∂x2
∂y2     ∂x i 
= E2 cos β E1 + sin β E2. The contravariant basis vectors are e i = j E j,
∂x 2
∂y
 ∂x1  ∂x1   
or e1 = E1 + E 2 = − sin β csc ( α − β ) E 1 + cos β csc ( α − β ) E 2.
∂y1 ∂y2
 ∂x2  ∂x2   
Similarly, e 2 = E1 + 2 E2 = sin α csc (α − β ) E1 − cos α csc (α − β ) E2 .
∂y1
∂y
Note that for the Cartesian system both covariant and contravariant
basis vectors are identical and are unit vectors, i.e. Ei = 1 .
   
c. A i ei = A1 e1 + A2 e2 = [− sin β csc (α − β ) Ac1 + cos β csc (α − β ) Ac 2 ][cos α E1 +
  
sin α E2 ] + [sin α csc (α − β ) Ac1 − cos α csc (α − β ) Ac 2 ][cos β E1 + sin β E2 ].

After some manipulations and rearranging the terms, we find A i ei =
  i 1 2
Ac1 E1 + Ac 2 E2 . Similarly, Ai e = A1 e + A2 e = [cos α Ac1 + sin α Ac 2 ]
 
[− sin β csc (α − β ) E1 + cos β csc (α − β ) E2 ] + [cos β Ac1 + sin β Ac 2 ][sin α
 
csc (α − β ) E1 − cos α csc (α − β ) E2 ]. After some manipulations and
  
­rearranging the terms, we find= Ai e i Ac1 E1 + Ac 2 E2.
d. Dot-product of covariant and contravariant basis vectors can
    cos α sin α sin α cos α
now be written as e1 ⋅ e 2 = e 2 ⋅ e1 = − = 0 and
sin (α − β ) sin (α − β )
  1  cos β sin β sin β cos β
e2 ⋅ e 1 =e ⋅ e2 = − + = 0 . These results con-
sin (α − β ) sin (α − β )
   
firm that e1 ⊥ e 2 and e2 ⊥ e 1 , as shown in Figure 16.2. Also, we can
  cos α sin β sin α cos β   cos β sin α
write e1 ⋅ e 1 = − + = 1 and = e2 ⋅ e 2 −
sin (α − β ) sin (α − β ) sin (α − β )
sin β cos α  
δ ji .
= 1. These results verify that e i ⋅ e j =
sin (α − β )

Tensor-Analysis-for-Engineers_2E_CH16.indd 147 10/3/2020 10:32:06 AM


148 • Tensor Analysis for Engineers, 2E

FIGURE 16.2  Covariant and contravariant basis vectors in oblique coordinate systems.

   
 e1 ⋅ e1 e1 ⋅ e2 
e. The doubly covariant metric =
tensor gij =    
 e2 ⋅ e1 e2 ⋅ e2 
 1 cos (α − β ) 
 . We can calculate doubly contravariant metric
cos (α − β ) 1 
   
 e1 ⋅ e1 e1 ⋅ e 2 
tensor by inverting the gij , or using = g   2  1 =
ij
2 2 
csc 2 (α − β )
 e ⋅ e e ⋅ e 
 1 − cos (α − β )  i
  . These results confirm that x is a non-
 − cos ( α − β ) 1 
orthogonal system, since off-diagonal elements of metric tensors are not
equal to zero for all values of angles α and β with the condition that
π
(α − β ) ≠ ( 2 k + 1) . where, k is an integer.
2 
e1  
f. Unit vectors along the covariant basis vectors are; =  cos α E1 + sin α E2
 e1
e2  
=
and  cos β E1 + sin β E2. The unit vectors along the contravariant basis
e2
     
e1 e1 e2 e2
vectors are;  1 =   =− sin β E 1 + cos β E 2 =
and  = 
e e1 ⋅ e1 e2 e2 ⋅ e2
 
sin α E1 − cos α E2 .

Tensor-Analysis-for-Engineers_2E_CH16.indd 148 10/3/2020 10:32:08 AM


Worked-out Examples • 149

16.4 EXAMPLE: QUANTITIES RELATED TO PARABOLIC


COORDINATE SYSTEM
Consider a parabolic coordinate system ( x1 , x2 , x3 ) ≡ (ξ ,η ,θ ) given in terms
of Cartesian ( y1 , y2 , y3 ) ≡ ( X , Y, Z ), as shown in Figure 16.3. The functional
relations are

FIGURE 16.3  Parabolic coordinate system.

 X = ξη cosθ
   
 Y = ξη sin θ . Find the basis vectors e1, e2, e3 for the parabolic coordi-

Z (ξ 2 − η 2 ) / 2
=
nate system in terms of the Cartesian unit vectors. Also find the scale factors,
unit vectors, metric tensors (covariant and contravariant), Jacobian, volume
element, and Christoffel symbols of the 2nd kind.

Solution:
 ∂y 
j
  
The covariant basis vector ( eξ , eη , eθ ) reads, using ek = k E j
∂x
   
 eξ = η cosθ E1 + η sin θ E2 + ξ E3
    
 eη = ξ cosθ E1 + ξ sin θ E2 − η E3
  
 eθ =−ξη sin θ E1 + ξη cosθ E2

Tensor-Analysis-for-Engineers_2E_CH16.indd 149 10/3/2020 10:32:09 AM


150 • Tensor Analysis for Engineers, 2E

 
The scale factors are h=ξ e=
ξ ξ 2 + η 2 , h=
η e=
η ξ 2 + η 2 , and hθ = ξη.
 
The unit vectors are, using e ( k ) = ek / hk ,
  
 e (ξ ) = η cosθ E1 + η sin θ E2 + ξ E3 / ξ 2 + η 2
( )

   
( )
 e (η ) = ξ cosθ E1 + ξ sin θ E2 − η E3 / ξ + η
2 2

  
 e (θ ) = − sin θ E1 + cosθ E2

 
Covariant metric tensor reads, using gij= ei ⋅ e j ,
ξ 2 + η 2 0 0 
 
=gij  0 ξ +η
2 2
0 . Therefore, the parabolic coordinate sys-
 
 0 0 (ξη )2 
tem is an orthogonal one, since metric tensor is a diagonal matrix with
null off-diagonal elements. The contravariant metric tensor is the inverse
(ξ 2 + η 2 )−1 0 0 
 

( ) (ξ + η ) 0 .
−1
2 −1
of the covariant one, or = g ij
=
gij 0 2
 
 0 0 (ξη ) −2 
 
g
Jacobian is the square root of the determinant of ij , or the product of all scale
factors,=
 gij ξη (ξ 2 + η 2 ) . The volume element is d   d d d 
=
g mk  ∂g jk ∂gik ∂gij 
  2   2  d d d . We use Equation 10.20,=
or Γ mij  + j − k
2  ∂x i ∂x ∂x 
g11  ∂g11  ξ
=
to calculate the Christoffel symbols. Therefore, Γ111 =   ,
2  ∂ξ  ξ + η 2
2

g11  ∂g11  η  ∂g11 


g 22 η
=Γ112 =  , Γ113 =0, Γ11
2
=
 − ∂η  =− ξ 2 + η 2 ,
2  ∂η  ξ + η 2
2
 2 
g 22  ∂g22  ξ g  ∂g33  1
33
=Γ12
2
=  , Γ13
2
=Γ11
3
=Γ12
3
0 =
=, Γ13
3
= ,
2  ∂ξ  ξ + η 2
2
2  ∂ξ  ξ

Tensor-Analysis-for-Engineers_2E_CH16.indd 150 10/3/2020 10:32:13 AM


Worked-out Examples • 151

 ∂g22 
g11 ξ g11  ∂g33  ξη 2
Γ122 = − ∂ξ  = − 2 , Γ123 =0, Γ133 = −
 ∂ξ  =− ,
2  ξ +η2 2   ξ 2 +η2
g 22  ∂g22  η g 22  ∂g  ηξ 2
=Γ 222 =  , Γ 223 =0, Γ 233 =  − 33  = − 2 ,
2  ∂η  ξ + η 2
2
2  ∂η  ξ +η2
g 33  ∂g33  1 3
=Γ 323 = , Γ 33 =0. In matrix form, we have
2  ∂η  η

 ξ η 
 2 0 
 Γξξξ  
ξ +η2 ξ +η
2 2

Γξξη ξ
Γξθ
 ξ ξ   η ξ 
Γξ = Γηξ ξ
Γηη Γηθ  = ξ 2 + η 2 − 2 0 
 ξ +η2 
 Γθξ
ξ ξ
Γθη ξ 
Γθθ
   ξη 2 
 0 0 − 2 
 ξ +η2 

 η ξ 
− 2 0 
ξ +η2 ξ +η 2 2
 Γηξξ Γηξη Γηξθ   
 η η   ξ η 
Γη = Γηξ η
Γηη Γηθ  =  ξ 2 +η2 0 
ξ +η2
2
 Γηθξ
 Γηθη Γηθθ   
 ηξ 
2

 0 0 − 2 
 ξ +η2 

 1
0 0
ξ 
 Γθξξ Γθξη Γξθ  
θ

 θ θ   1
Γθ = Γηξ θ
Γηη Γηθ  = 0 0
η 
 Γθθξ
 Γθθη Γθθθ  
1 1 
ξ 0
 η 

Tensor-Analysis-for-Engineers_2E_CH16.indd 151 10/3/2020 10:32:14 AM


152 • Tensor Analysis for Engineers, 2E

16.5 EXAMPLE: QUANTITIES RELATED TO BI-POLAR


COORDINATE SYSTEMS

Consider a bi-polar coordinate system ( x1 , x2 , x3 ) ≡ (ξ ,η , z ) given in terms


of Cartesian ( y1 , y2 , y3 ) ≡ ( X , Y, Z ) , as shown in Figure 16.4. The functional
 a sinhη
 X = coshη − cos ξ

 a sin ξ   
relations are Y = . Find the basis vectors e1 , e2 , e3 for the
 coshη − cos ξ
Z = z


bi-polar coordinate system in terms of the Cartesian unit vectors. Also find
the scale factors, unit vectors, metric tensors (covariant and contravariant),
Jacobian, volume element, and Christoffel symbols of the 2nd kind.

FIGURE 16.4  Bipolar coordinates: ξ and η iso-surfaces (Foci are located at (−1, 0) and (1, 0)1.

1
 (https://commons.wikimedia.org/wiki/File:Bipolar_isosurfaces.png)

Tensor-Analysis-for-Engineers_2E_CH16.indd 152 10/3/2020 10:32:15 AM


Worked-out Examples • 153

Solution:
 ∂y 
j
  
The covariant basis vector ( eξ , eη , ez ) reads, using ek = k E j
∂x

 − a sinhη sin ξ  a ( coshη cos ξ − 1) 


=  eξ E1 + E2
 ( cosh η − cos ξ ) 2
( cosh η − cos ξ ) 2

  a (1 − coshη cos ξ )  a sinhη sin ξ 


=  eη E1 − E2
 ( coshη − cos ξ ) 2
( coshη − cos ξ )2
 
 ez = E3


 a
The scale factors, after simplification, are h=
ξ e=
ξ , h= e=
coshη − cos ξ η η

a  
, and hz = 1. The unit vectors are, using e ( k ) = ek / hk,
coshη − cos ξ

 − sinhη sin ξ  coshη cos ξ − 1 


= e ( ξ ) E1 + E2
coshη − cos ξ coshη − cos ξ

 1 − coshη cos ξ  sinhη sin ξ 
= e (η ) E1 − E2
 coshη − cos ξ coshη − cos ξ

 e ( z ) = E
 3

 
The covariant metric tensor reads, using gij= ei ⋅ e j ,
 a2 
 0 0
 ( coshη − cos ξ )
2

 a2 
gij =  0 0  . Therefore, the parabolic
 ( coshη − cos ξ )2 
 
 0 0 1
 
coordinate system is an orthogonal one, since metric tensor is a diagonal

Tensor-Analysis-for-Engineers_2E_CH16.indd 153 10/3/2020 10:32:16 AM


154 • Tensor Analysis for Engineers, 2E

matrix with null off-diagonal elements. The contravari-


ant metric tensor is the inverse of the covariant one, or
 ( coshη − cos ξ )2 
 2
0 0
 a 
 ( coshη − cos ξ ) 2

( )
−1
=
g ij =gij  0 0  . Jacobian is the
 a2 
 0 0 1
 
 
square root of the determinant of gij , or the product of all scale factors,
a2
=
 = gij . The volume element= is d  =dξ dη dθ
( coshη − cos ξ )2
a2
dξ dη dz. Similarly, as given in Example 16.5, the Christoffel
( coshη − cos ξ )2
symbols can be calculated as

 sin ξ sinhη 
 0
cos ξ − coshη cos ξ − coshη
 Γξξξ Γξξη Γξξ z   
 ξ  sinhη − sin ξ
Γξ = Γηξ ξ
Γηη Γηξ z  =  0 
cos ξ − coshη cos ξ − coshη
 Γξzξ Γξzη Γξzz   
  0 0 0
 

 − sinhη sin ξ 
 cos ξ − coshη 0
cos ξ − coshη
 Γηξξ Γηξη Γηξ z   
 η  sin ξ sinhη
Γη = Γηξ η
Γηη Γηη z  =  0 
cos ξ − coshη cos ξ − coshη
 Γηzξ Γηzη Γηzz   
  0 0 0
 

Γ z =[ 0 ]

Tensor-Analysis-for-Engineers_2E_CH16.indd 154 10/3/2020 10:32:17 AM


Worked-out Examples • 155

16.6 EXAMPLE: APPLICATION OF CONTRAVARIANT


METRIC TENSORS
Using the property of contravariant metric tensors, show that the following
relation holds, g ilε ljk A j Bk = ε ijk A j Bk.

Solution:
Knowing that metric tensors replace repeated indices with the
free index while raising (contravariant metric tensor) or lowering
(covariant metric tensor) them. We can write the expression in
the L.H.S of the above relation as, g ilε ljk A j Bk =  jki A j Bk. But we

can write A j = g jn An and Bk = g km Bm , substituting, gives g ilε ljk A j Bk =

 jk g=
i jn
An g Bm  jk g=
km i
g An Bm =
jn km in km
k g AB inm
 An Bm , after changing
   n m
dummy indices, i.e., n → j and m → k, we get  inm An Bm =  ijk A j Bk.
Therefore, the given relation holds.

16.7 EXAMPLE: DOT AND CROSS PRODUCTS IN


CYLINDRICAL AND SPHERICAL COORDINATES
 
Given that A ( i ) and B ( i ) are the physical components of vectors A and B,
respectively, write
 down the expressions   for physical components of the
cross-product, A × B, and dot-product A ⋅ B in terms of A ( i ) and B ( i ), for the
following coordinate systems (assume a 3D space, N = 3 ):
a. Cylindrical polar ( x1 , x2 , x3 ) ≡ ( r ,θ , z )
b. Spherical polar ( x1 , x2 , x3 ) ≡ ( r ,ϕ ,θ )

Solution:
 
The dot-product and cross-product relations are A ⋅ B = A i Bi, C i =  ijk A j Bk
(contravariant component). We use the relations between covariant/­
contravariant and physical components, or Ai = hi A ( i ) and A i = A ( i ) / hi .
a. For cylindrical coordinates, we have the scale factors as
( h1 , h2 , h3 ) = (1, r,1) and the Jacobian is  = r (see Section 11.6.1). We
can write = B1 h= 1 B (1 ) B (=
1 ) , B2 h=
2B(2) rA ( 2= 3B(3)
) , B3 h= B(3).

Tensor-Analysis-for-Engineers_2E_CH16.indd 155 10/3/2020 10:32:20 AM


156 • Tensor Analysis for Engineers, 2E

A (1 ) A(2) A(2) A(3)


Similarly, =
A1 = A (1 ) , = A2 = ,= A3 = A ( 3 ) .
h1 h2 r h3
Therefore, the dot-product reads
 
A⋅B = A i B=i A1 B1 + A2 B2 + A3 B=3 A (1 ) B (1 ) + A ( 2 ) B ( 2 ) + A ( 3 ) B ( 3 ) ,
a scalar quantity. The physical component of the cross-product
is C= ( i ) h= iC
i
hi ijk A j Bk, no-summation on index i. Expanding
e1 jk
the expression gives C= (1) h= 1C
1
h1 1 jk A=j Bk A=j Bk

1
 h2 A ( 2 ) h3 B ( 3 ) − h3 A ( 3 ) h2 B ( 2 )  = A ( 2 ) B ( 3 ) − A ( 3 ) B ( 2 ), and C ( 2 ) =
r
e2 jk
h2 C2 = r 2 jk A j Bk = r A j Bk = h3 A ( 3 ) h1 B (1 ) − h1 A (1 ) h3 B ( 3 )  =
 e3 jk
A ( 3 ) B (1 ) − A (1 ) B ( 3 ) , and C (= 3 ) = h3 C3 h= 3
3 jk
A j Bk A j Bk =

1
 h1 A (1 ) h2 B ( 2 ) − h2 A ( 2 ) h1 B (1 )  = A (1 ) B ( 2 ) − A ( 2 ) B (1 ) .
r
b. For spherical coordinates, we have the scale factors as ( h1 , h2 , h3 ) =
(1, r, r sin ϕ ) and the Jacobian is  = r 2 sin ϕ , see section 11.6.1. We
can write= B1 h=1 B (1 ) B (=
1 ) , B2 h=
2B(2) rA ( 2=
) , B3 h=3B(3) B(3).
A (1 ) A(2) A(2) A(3)
Similarly, =
A1 = A (1 ) , = A2 = ,= A3 = A ( 3 ) .
h1 h2 r h3
Therefore, the dot-product reads
 
A⋅B = A i B=i A1 B1 + A2 B2 + A3 B=
3 A (1 ) B (1 ) + A ( 2 ) B ( 2 ) + A ( 3 ) B ( 3 ) ,
a scalar quantity.

( i ) h=
The physical component of the cross-product is C= iC
i
hi ijk A j Bk ,
no-summation on index i. Expanding the expression gives C= (1) h= 1C
1

e1 jk 1
h1 1 jk A j Bk = A j Bk =  h2 A ( 2 ) h3 B ( 3 ) − h3 A ( 3 ) h2 B ( 2 )  =
 r sin ϕ 
2

Tensor-Analysis-for-Engineers_2E_CH16.indd 156 10/3/2020 10:32:23 AM


Worked-out Examples • 157

e2 jk
A (2) B(3) − A (3) B(2), and ( 2 ) h=
C= 2C
2
r 2 jk A=
j Bk r A=
j Bk

 h3 A ( 3 ) h1 B (1 ) − h1 A (1 ) h3 B ( 3 )  =
A ( 3 ) B (1 ) − A (1 ) B ( 3 ) , and C ( 3 ) =
e3 jk 1
h3 C3 = h3  3 jk A j Bk =r sin ϕ A j Bk =  h1 A (1 ) h2 B ( 2 ) − h2 A ( 2 ) h1 B (1 )  =
 r
A (1 ) B ( 2 ) − A ( 2 ) B (1 ) .

16.8 EXAMPLE: RELATION BETWEEN JACOBIAN AND


METRIC TENSOR DETERMINANTS
Show that determinant g of metric tensor gij is equal to the square of Jacobian
 , in a coordinate system, when measured against Cartesian system.

Solution:
Let’s consider two arbitrary system x i and x′i . We can write the metric ten-
∂x k ∂x l
sor transformation as g′ij = gkl , since it is a doubly covariant tensor.
∂x′i ∂x′ j
∂x k ∂x l ∂x k
Taking determinant of the both sides gives g′ij = g . But
∂x′i ∂x′ j ∂x′i
kl

∂x l
or is the Jacobian of transformation, hence g′ij =  2 gkl . Rewriting
∂x′ j

g′
the expression and using gkl = g and g′ij = g′ , we get g′ =  2 g , or  = .
g
Now if the original x i system is the Cartesian system, then gcartesian = 1 and
we receive g′ =  2.

Tensor-Analysis-for-Engineers_2E_CH16_3pp.indd 157 9/30/2020 1:01:29 PM


158 • Tensor Analysis for Engineers, 2E

16.9 EXAMPLE: DETERMINANT OF METRIC TENSORS


USING DISPLACEMENT VECTORS
For an arbitrary coordinate system x i  ( , ,  ) the magnitude of displace­
ment vector is given by ds2 = 5 dξ 2 + 3 dη 2 + 7 dζ 2 − 4 dξ dη − 8 dξ dζ + 2 dη dζ .
Find g and g ij (i.e., the determinant of covariant metric tensor and the
contravariant metric tensor).

Solution:
We have ds2 = gij dx i dx j, expanding for the given coordinate system and
using gij = g ji, gives ds2 = g11 dξ 2 + g22 dη 2 + g33 dζ 2 + 2 g12 dξ dη + 2 g13 dξ dζ +
2g23 dη dζ . Therefore, after comparison we receive g11 = 5 , g22 = 3 , g33 = 7 ,
g12 = −2 , g13 = −4 , and g23 = 1 . The matrix form of covariant metric tensor
 5 −2 −4 
is gij =  −2 3 1  . Determinant of gij = g =5 ( 21 − 1 ) + 2 ( −14 + 4 ) −
 −4 1 7 
4 ( −2 + 12 ) =40. Note that the given system is not orthogonal, since off-­
diagonal elements of gij are not zero. For contravariant metric tensor, we find
1 1 1
−1 2 4 4
 5 −2 −4   5 −2 −4   
 
the inverse of gij =  −2 3 1  , or g =
   1 19 3  .
 −2 3 1  =
ij
 4 40 40 
 −4 1 7   −4 1 7   1 3 11 
 
 4 40 40 
Cij cofactor of gij
This is calculated using the formula g=
ij
= , for
g determinante of gij
3 1 5 −2

C11 1 7 21 − 1 C23 −4 1 −5 + 8 3
­example; g=
11
= = = 20, g=
23
= = = ,
40 40 40 40 40 40 40
etc.

Tensor-Analysis-for-Engineers_2E_CH16.indd 158 10/3/2020 10:32:30 AM


Worked-out Examples • 159

16.10 EXAMPLE: DETERMINANT OF A 4 × 4 MATRIX USING


PERMUTATION SYMBOLS
 5 8 15 21
 4 10 13 11 
Calculate determinant of matrix M =  , using Equation 9.13.
 3 6 9 12 
 
2 4 7 1 
Solution:
We expand based on row, hence M = eijkl M1 i M2 j M3 k M4 l. Expanding we
get M =
e1234M11M22M33M44 + e1243M11M22M34M43 + e1342M11M23M34M42 +
e1324M11M23M32M44 + e1423M11M24M32M43 + e1432M11M24M33M42 +
e2134M12M21M33M44 + e2143M12M21M34M43 + e2341M12M23M34M41 +
e2314M12M23M31M44 + e2413M12M24M31M43 + e2431M12M24M33M41 +
e3124M13M21M32M44 + e3142M13M21M34M42 + e3241M13M22M34M41 +
e3214M13M22M31M44 + e3412M13M24M31M42 + e3421M13M24M32M41 +
e4123M14M21M32M43 + e4132M14M21M33M42 + e4231M14M22M33M41 +
e4213M14M22M31M43   +  e4312M14M23M31M42 +   e4321M14M23M32M41.
Substituting for the values of the matrix elements and the permutation
­symbols (i.e., +1 for even and −1 for odd number of interchanges for
indices), we receive M = 18. Note that the number of terms out of expansion
is equal to 4! = 4 × 3 × 2 = 24, or in general N ! for an N × N matrix.

16.11  EXAMPLE: TIME DERIVATIVES OF THE JACOBIAN


1 ∂   
Show that the time derivative of the Jacobian reads = ∇ ⋅ V, where V
is the velocity vector.  ∂t

Solution:
Considering the transformation from coordinate system x i to that of x′i,
we can write the Jacobian as the determinant of the transformation, using
∂x1 ∂x2 ∂x3
Equation 4.4, or  = ε knl . Taking the time derivative, we have
∂x′k ∂x′n ∂x′l
∂  ∂  ∂x1  ∂x2 ∂x3 ∂x1 ∂  ∂x2  ∂x3 ∂x1 ∂x2 ∂  ∂x3  
= ε knl  k   n + k n   l+ k l   .
∂t  ∂x′  ∂t  ∂x′ ∂x′ ∂x′ ∂x′  ∂t  ∂x′ ∂x′ ∂x′ ∂x′  ∂t  
l n

Tensor-Analysis-for-Engineers_2E_CH16.indd 159 10/3/2020 10:32:32 AM


160 • Tensor Analysis for Engineers, 2E

∂x1 ∂x2 ∂x3


But we can write = V 1, = V 2, = V 3, i.e., contravariant components
∂t ∂t ∂t
∂x i ∂x i ∂x j
of velocity vector. Hence, using chain-rule or = j we can write ∂ =
∂x′ n
∂x ∂x′ n
∂t
 
 ∂V 1 ∂x i ∂x2 ∂x j ∂x3 ∂x p ∂x1 ∂x j ∂V 2 ∂x i ∂x3 ∂x p ∂x1 ∂x j ∂x2 ∂x i ∂V 3 ∂x p  .
ε knl
 i ′k j ′n p ′l + j ′k + j
∂x ∂x ∂x
  ∂x ∂x ∂x i ∂x′n ∂x p ∂x′l 
∂x ∂x ∂x  ∂x ∂x′k ∂x i∂x′n ∂x p ∂x ′l 
 ≠ 0; i = 1 & j = 2 & p= 3 ≠ 0; j = 1 & i = 2 & p= 3 ≠ 0; j = 1 & i = 2 & p = 3 
Therefore, after rearranging the terms, in each group, we receive
∂ ∂V 1  knl ∂x1 ∂x2 ∂x3  ∂V 2  knl ∂x1 ∂x2 ∂x3  ∂V 3  knl ∂x1 ∂x2 ∂x3 
= 1 ε + ε + ε .
∂t ∂x  ∂x′k ∂x′n ∂x′l  ∂x2  ∂x′k ∂x′n ∂x′l  ∂x3  ∂x′k ∂x′n ∂x′l 
But the terms in each bracket is the Jacobian, and hence we
∂  ∂V 1 ∂V 2 ∂V 3   1  ∂V i    
receive =   1 + 2 + 3 =     i  =  ∇ ⋅ V , which
∂t  ∂x ∂x ∂x    ∂x  
 
 

∇⋅V

1 ∂  
yields = ∇ ⋅ V. For divergence of a vector, see Equation 11.12.
 ∂t

16.12 EXAMPLE: COVARIANT DERIVATIVES OF A


CONSTANT VECTOR

Show that for a constant vector C, the covariant derivative C ,i j is not
­necessarily zero. Find the expression for its derivative.

Solution:
  ∂  
j (
We have C = C i ei ; writing its covariant derivative, we receive C i ei ) e j .
∂x
∂   ∂C 
i
 i ∂ 
The covariant component then reads as j ( C i ei ) =  j  ei + C j ( i)
e =
∂x  ∂x  ∂ x
 ∂C i   i k   ∂C i k i 

 j  ei + C Γ=
ijk
e ei  j + C Γ kj  . Now, since C is a constant, the first
 ∂x   ∂x 
i↔ k  
C′ ij

term in the bracket vanishes but the second term does not. Therefore, we
receive C′=
i
j C k Γ kji .

Tensor-Analysis-for-Engineers_2E_CH16.indd 160 10/3/2020 10:32:33 AM


Worked-out Examples • 161

16.13 EXAMPLE: COVARIANT DERIVATIVES OF PHYSICAL


COMPONENTS OF A VECTOR
 i 
For the vector= A A= ei A ( i ) e ( i ), write down the expression for A ( i ) j.

Use the covariant derivative of the vector A in terms its physical components,
 
or ∇ j A = ∇ j ( A ( i) e ( i)) =e ( i) A ( i) j .

Solution:
The covariant derivative, in terms of contravariant component of the
   ∂A i k i 
vector is ∇ j A = ∇ j ( A i ei ) =
 j + A Γ kj  ei . Substituting for contravariant
 ∂x  
 
components A = A ( i ) / hi and covariant basis vector ei = hi e ( i ) , we get ∇ j A =
i

  A ( i)  
 ∂ h  
  i  + A ( k ) Γ i  h e (=  ∂ ( A ( i ) ) A ( i ) ∂ ( hi ) h i 
i)  − + A ( k ) Γ kji  e ( i ) .
 ∂x j kj
 i 
 ∂x hi ∂x
j j
hk hk 
 
 
∂ ( A ( i ) ) A ( i ) ∂ ( hi ) hi A ( i)
Therefore, A ( i ), j = − + A ( k ) Γ kji =∇ j A ( i ) − ∇ j hi +
∂x j
hi ∂x j
hk hi
hi
A ( k ) Γ kji . Note that the Christoffel symbol could be written in terms of
hk

physical components/ Unit vectors, i.e., Γ kji could be written in terms of e ( i ) ,
designated by Γˆ i (see Example 10.4.1).
kj

16.14 EXAMPLE: CONTINUITY EQUATIONS IN SEVERAL


COORDINATE SYSTEMS
The continuity for a fluid with density ρ and velocity V i is given as
∂ρ 1 ∂
+
∂t  ∂x i
(ρ V i ) =
0. Write this equation in tensor notation for N = 3, and
express the continuity equation in:
a. Cartesian
 coordinates ( x, y, z) with velocity physical components given as
V = (Vx , Vy , Vz ) .

Tensor-Analysis-for-Engineers_2E_CH16.indd 161 10/3/2020 10:32:36 AM


162 • Tensor Analysis for Engineers, 2E

b. Cylindrical coordinates (r ,θ , z) with velocity physical components given



as V = (Vr , Vθ , Vz ).
c. Spherical coordinates (r ,ϕ ,θ ) with velocity physical components given as

V = (Vr , Vϕ , Vθ ) .

Solution:
∂ρ 1  ∂ ∂ ∂ 
Summation on i gives, +  1 ( ρ V 1 ) + 2 ( ρ V 2 ) + 3 ( ρ V 3 )  =
0.
∂t   ∂x ∂x ∂x 
a. Jacobian for a Cartesian system is unity and physical and contravariant
components are identical, hence the continuity equation reads,
∂ρ  ∂ ∂ ∂ 
+  ( ρ Vx ) +
∂t  ∂x ∂y
( )
ρ Vy + ( ρ Vz )  =
∂z
0.

b. Jacobian for cylindrical systems is  = r and V 1 = Vr , V 2 = Vθ / r ,
V 3 = Vz . Hence, the continuity reads, after some manipulations,
∂ρ 1 ∂ 1 ∂ ∂
+ ( r ρ Vr ) + ( ρ Vθ ) + ( ρ Vz ) =
0.
∂t r ∂r r ∂θ ∂z
c. Jacobian for spherical systems is  = r 2 sin ϕ and V 1 = Vr, V 2 = Vϕ / r,
V 3 = Vθ / ( r sin ϕ ). Hence, the continuity reads, after some manipulations,
∂ρ 1 ∂ 2 ∂ ∂ 
+ 2 
∂t r sin ϕ  ∂r
( r sin ϕρ Vr ) +
∂ϕ
( r sin ϕρ Vϕ ) +
∂θ
( r ρ Vθ ) =
0.

16.15  EXAMPLE: 4D SPHERICAL COORDINATE SYSTEMS


A 4D spherical system x i ≡ (r,ψ ,θ ,ϕ ) with two polar angles ψ
and θ range from 0 to π and azimuth angle ϕ from 0 to 2π ,
is related to the 4D Cartesian coordinates yi ≡ ( x, y, z, w) as

 x = r sinψ sin θ cos ϕ


 y = r sinψ sin θ sin ϕ


 z = r sinψ cosθ
 w = r cosψ

a. Find the Jacobian for the spherical system and volume of a 4D sphere in
this coordinate system.
b. Find the expression for the Laplacian of a scalar in the spherical coordi-
nates and write out it in detail.

Tensor-Analysis-for-Engineers_2E_CH16.indd 162 10/3/2020 10:32:40 AM


Worked-out Examples • 163

Solution:
∂x ∂x ∂x ∂x
∂r ∂ψ ∂θ ∂ϕ
∂y ∂y ∂y ∂y
∂ ( x, y, z, w ) ∂r ∂ψ ∂θ ∂ϕ
=
1. Jacobian reads  ∂= =
( r,ψ ,θ ,ϕ ) ∂z ∂z ∂z ∂z
∂r ∂ψ ∂θ ∂ϕ
∂w ∂w ∂w ∂w
∂r ∂ψ ∂θ ∂ϕ
sinψ sin θ cos ϕ r cosψ sin θ cos ϕ r sinψ sin θ cos ϕ − r sinψ sin θ sin ϕ
sinψ sin θ sin ϕ r cosψ sin θ sin ϕ r sinψ cosθ sin ϕ r sinψ sin θ cos ϕ
=
sinψ cosθ r cosψ cosθ − r sinψ sin θ 0
cosψ − r sinψ 0 0
− r sin ψ sin θ .
3 2

The differential volume is d  = drdψ dθ dϕ, with 0 ≤θ &ψ ≤π


and 0 ≤ ϕ ≤ 2π . Volume is then a quadruplet integral of d , or
π π 2π π
1 − cos2ϕ π 2 R 4
R

∫ ( −r ) ∫ sin ψ dψ ∫ sinθ dθ
= ∫ ϕ = π ∫ = .
3 2 4
d R
0 0 0 0 0
2 2
1
2. The expression for the Laplacian of scalar S reads ∇ 2 S =

(
∇ i g ij ∇ j S .)
This coordinate system is orthogonal, since gij = 0 for i ≠ j. For example
 
g12 = e1 ⋅ e2 = r sinψ cosψ sin 2 θ cos2 θ − r sinψ cosψ sin 2 θ sin 2 ϕ + r sinψ cosψ
1
cos2 θ − r sinψ cosψ = 0 . Therefore, g= ii = hi2 . For calculating
g ii
 
gii= ei ⋅ ei , need the covariant basis vectors, or
    
=e1 sinψ sin θ cos ϕ E1 + sinψ sin θ sin ϕ E2 + sinψ cosθ E3 + cosψ E4
    
=e2 r cosψ sin θ cos ϕ E1 + r cosψ sin θ sin ϕ E2 + r cosψ cosθ E3 − r sinψ E4
   
 e3 = r sinψ cosθ cos ϕ E1 + r sinψ cosθ sin ϕ E2 − r sinψ sin θ E3
  
 e4 = − r sinψ sin θ sin ϕ E1 + r sinψ sin θ cos ϕ E2

Tensor-Analysis-for-Engineers_2E_CH16.indd 163 10/3/2020 10:32:41 AM


164 • Tensor Analysis for Engineers, 2E

which yields, g11 = 1, g22 = r 2 , g33 = r 2 sin 2 ψ , g44 = r 2 sin 2 ψ sin 2 θ . Now,
1 1 1 1
∇2S =

( )
∇ i g ij ∇ j S = ∇ 2 S =

∇ i ( g ii∇ iS ) =

∇1 ( g11∇1S ) + ∇ 2 ( g 22 ∇ 2 S ) +

1 1
∇ 3 ( g 33 ∇ 3 S ) + ∇ 4 ( g 44 ∇ 4 S ) . Each term reads, after substitution
 

1 −1 ∂  3 2 ∂S  3 ∂S ∂ 2 S
∇1 ( g11∇1S )= 3 2  − r sin ψ sin θ = +
 r sin ψ sin θ ∂r  ∂r  r ∂r ∂r 2

1 −1 ∂  −2 3 2 ∂S 
∇ 2 ( g 22 ∇ 2 S )
=  − r r sin ψ sin θ 
 r sin ψ sin θ ∂ψ 
3 2
∂ψ 
1 ∂S ∂ 2 S 
= 2  cotψ + 
r  ∂ψ ∂ψ 2 

1 −1 ∂  − r 3 sin 2 ψ sin θ ∂S 
∇ 3 ( g 33 ∇ 3 S ) =  
 r 3 sin 2 ψ sin θ ∂θ  r 2 sin 2 ψ ∂θ 
1  ∂S ∂ 2 S 
= 2 2  cot θ + 
r sin ψ  ∂θ ∂θ 2 

1 −1 ∂  − r 3 sin 2 ψ sin θ ∂S 
∇ 4 ( g 44 ∇ 4 S ) =  
 r 3 sin 2 ψ sin θ ∂ϕ  r 2 sin 2 ψ sin 2 θ ∂ϕ 
1 ∂ 2S
= 2 2
r sin ψ sin 2 θ ∂ϕ 2

3 ∂S ∂ 2 S 1  ∂S ∂ 2 S  1  ∂S ∂ 2 S 
Hence, ∇ 2 S= + 2 + 2  cotψ + 2 
+ 2 2  cot θ + +
r ∂r ∂r r  ∂ψ ∂ψ  r sin ψ  ∂θ ∂θ 2 
1 ∂ 2S
.
r 2 sin 2 ψ sin 2 θ ∂ϕ 2

Tensor-Analysis-for-Engineers_2E_CH16.indd 164 10/3/2020 10:32:43 AM


Worked-out Examples • 165

16.16 EXAMPLE: COMPLEX DOUBLE DOT-CROSS


PRODUCT EXPRESSIONS
   
× ×

The expression ∇
A ∇  A is given. The notations mean that the two gradient
× ×

vectors (marked
 by × ) are cross product to each other as well as the two
vectors A, then the resulted vectors of the cross-product operations are
dotted. Write the expression in tensor notation and simplify the result.

Solution:
The two cross-product results are dotted; hence we require the contravariant
component of the cross-product of the gradient’s  and the covariant
component of the cross-product of the vectors A . Therefore, we can write
   
× ×


A ∇
×
A=
×
(
′j
)
ε ijk ε ilm A l A′mk . Expanding the resulted expression yields,

ε ijkε ilm ( A l A′mk ) ′ j = ( Al A′kk) ′ l − ( Ak A′ kj ) ′ j.


δ l jδ mk ( A l A′ mk ) ′ j − δ mj δ lk ( A l A′ mk ) ′ j =

   
× ×

Performing the covariant derivative operations gives ∇


A ∇ =A A ll A kk +
× ×
′ ′
A l A kkl − A kj A kj − A k A jkj = A l l A kk − A k j A j k . The first term of the result can
′ ′ ′  ′ ′ ′ ′ ′
k→ l, j→ k
  2
( )
be written in vector notation as A l l A kk = ∇ ⋅ A . Therefore, we finally have
′ ′
   
× ×
  2

A ∇
×
( )
 A = ∇ ⋅ A − A ′ j A ′k . Using the method given in this example, apply
×
k j

it to the following expressions:


   
× ×

=
a. ∇ 
A∇A ε =
× ×
ijk
ε ilm A l Ak m⋅
′ ′ j
( ′ ′ ) (
δ l jδ mk A l Ak m⋅ j − δ mj δ lk A
= )
l
Ak m⋅
′ ′j ( ) ( A A ′ )′ −
j k
k ⋅ j

( A A ′ )′
k
k ⋅
j
j
= A j j Ak ⋅k + A j Ak ⋅ kj − A k j Ak ⋅ j − A k Ak ⋅ jj . In vector notation, the
′ ′ ′ ′ ′ ′

   
× ×
     
 A = (∇ ⋅ A ) + A ⋅ ∇ (∇ ⋅ A) − ( )
2
resulted expression can be written as ∇ 
A∇
  × ×
A k j Ak ⋅ j − A ⋅ ∇ 2 A .
′ ′ ( )

Tensor-Analysis-for-Engineers_2E_CH16.indd 165 10/3/2020 10:32:46 AM


166 • Tensor Analysis for Engineers, 2E

  
× ×

A A ε ijkε ilm ( A m A=
k) ⋅j ( )
δ l jδ mk − δ mj δ lk ( A m A=
k) ⋅j ( Ak Ak )′⋅ j −
l l j
b. ∇∇
 = 
× ×
′ ′
      2
( ) ( ( )) ( )
k
A j Ak ⋅ j = ∇ 2 A2 − 2 A ⋅ ∇ ∇ ⋅ A − A j⋅k Ak j − ∇ ⋅ A .
′ ′ ′
Note that vector-type notation is not sufficient to express some of the terms
in these expressions—another reason to use index/tensor notation for its
generality.

16.17 EXAMPLE: COVARIANT DERIVATIVES OF


METRIC TENSORS
Show that the derivative of metric tensors (i.e., gij and g ij ) is equal to zero.

Solution:
Since metric tensor is a constant in the Cartesian coordinate system,
hence its derivative is null and will be the same for any coordinate system.
∂gij
To show this, we use Equation 10.14, or gij = ( )
′ ∂x k
k
− Γ nik gnj − Γ njk gni . Now
using Equation 10.19 we can expand the last two terms on the R.H.S, or
∂gij 1  ∂gij ∂gkj ∂g  1  ∂gij ∂g ∂gkj 
( )
gij = k −  k + i − kij  −  k + kij − i  . The terms on
′k ∂x 2  ∂x ∂x ∂x  2  ∂x ∂x ∂x 
the R.H.S cancel out and the expression is equal to zero, hence gij = 0 ,
′k
( )
and similarly g ij = 0.
′k ( )

16.18 EXAMPLE: ACTIVE ROTATION USING SINGLE-AXIS


AND QUATERNIONS METHODS

Consider the vector OA = (1, −1, 2 ) connecting the origin to point A in the
( x, y, z ) coordinate system. Now we rotate this vector by an angle of 60°
  1 3
about an axis in the direction of unit vector n =  0, ,  . Calculate the
  2 2 
resulted vector OA′ , using a) rotation matrix with Equation 12.7, and b)

Tensor-Analysis-for-Engineers_2E_CH16.indd 166 10/3/2020 10:32:48 AM


Worked-out Examples • 167

quaternion method with Equation 15.12. Note that the rotation angle here
is given for an active rotation (i.e., vector rotates but coordinate system is
kept fix).

Solution:

a. Since the vector OA is rotated by 60 degrees, active rotation,
then we use θ = −60° in Equation 12.7. Therefore, for n1 = 0,
 1 3 3
 − 
 2 4 4 
 3 5 3
n2 = 1 / 2, and n3 = 3 / 2 we receive R =  .
 4 8 8 
 3 3 7 
− 
 4 8 8 
The rotated vector component in the ( x, y, z ) is given by
 1 3 3  1 3 3 
 −   + + 
 2 4 4 
1  2 4 2  10 + 4 3 
 3 5 3    3 5 3  1  
  −1=
  − + =
  1+ 2 3 , or
 4 8 8  
2  4 8 4  8 
 3 3 7    3 3 7 14 − 3 3 
−  − − + 
 4 8 8   4 8 4

  10 + 4 3 1 + 2 3 14 − 3 3 
OA′ = , , .
 8 8 8 

b. Using the active quaternion operator, see Equation 15.12, we need to


have the corresponding quaternion based on half of the rotation angle,

60° 1 3  3 1 3
= 30°, Q = cos30 +  j + k  sin 30 = + j+ k. Now, we
2 2
 2  2 4 4



n
  ∗  3 1 3   3 1 3 
calculate OA=′ QOAQ=  + j+ k  ( i − j + 2k)  − j− k=

 2 4 4   2 4 4 

Tensor-Analysis-for-Engineers_2E_CH16.indd 167 10/3/2020 10:32:51 AM


168 • Tensor Analysis for Engineers, 2E

1 3 1 3 3  3 1   10 + 4 3 1+2 3 14 − 3 3
 − + + i− j −  − 3  k  ( i − j=
+ 2k) i+ j+ k
 4 2  2 4  4  4   8 8 8
  10 + 4 3 1 + 2 3 14 − 3 3 
  10 + 4 3 1+2 3 14 − 3 3
 (
k i − j=+ 2 k ) i + j + k . Or OA ′ =
8
,
8
,
8
.
  8 8 8  
Alternatively, we can use Equation 15.14. Readers may want to use
Wolfram Alpha (www.wolframalpha.com) to visualize the quaternion
as a rotation operator. After accessing the wolfram Web site, enter the
phrase “quaternions” in the space provided and use the format provided
similar to those examples given on the page.

16.19 EXAMPLE: PASSIVE ROTATION USING SINGLE-AXIS


AND QUATERNIONS METHODS
Repeat Example 16.18 for a passive rotation of an angle 45˚. Having passive

rotation we keep vector OA fixed and rotate coordinates ( x, y, z ). Repeating
   1 3
the data here, for convenience, OA= (1, −1, 2 ) , n =  0, ,  .
 2 2 
Solution:

a. Since the vector OA is rotated by 45 degrees, passive rotation, then
we use θ = 45° in Equation 12.7. Therefore, for n1 = 0, n2 = 1 / 2 , and
 2 6 2 
 − 
 2 4 4 
 6 2+3 2 2 3− 6
n3 = 3 / 2 we receive R =  −  . The vector
 4 8 8 
 2 2 3− 6 6+ 2 
 
 4 8 8 
components in the rotated coordinates ( x′, y′, z′) is given by

Tensor-Analysis-for-Engineers_2E_CH16.indd 168 10/3/2020 10:32:53 AM


Worked-out Examples • 169

 2 6 2   2 6 2 
 −   − − 
 2 4 4  1   2 4 2   −2
 6 2+3 2 2 3 − 6    6 2 + 3 2 2 3 − 6  1 
−  −1 = − − +  = −2 − 3 2 + 4
 4 8 8  2   4 8 4  8
 2 2 3− 6 6 + 2    2 2 3 − 6 6+ 2   12 + 4 2 − 2
   − + 
 4 8 8   4 8 4 
 2 6 2 
 − − 
 2 4 2   −2 6 
 6 2 + 3 2 2 3 − 6  1     −2 6 −2 − 3 2 + 4 3 − 4 6 12 + 4 2 − 2 3 +
− − =
+  = −2 − 3 2 + 4 3 − 4 6  , or OA′  8 , ,
4 8 4 8  8 8
   
 2 2 3 − 6 6+ 2   12 + 4 2 − 2 3 + 6 
 − + 
 4 8 4 
−2 6 −2 − 3 2 + 4 3 − 4 6 12 + 4 2 − 2 3 + 6 
 , ,  ≅ ( −0.61237, −1.13905,2.0803 ).
 8 8 8 

b. The quaternion related to this rotation, using half of the rotation angle,

π 1 3  π 2+ 2 2− 2 6−3 2
is Q = cos + j+ k  sin = + j+ k.
8 2 2  8 2 4 4
 


n

   2+ 2 2− 2 6−3 2 


Now, we calculate = ∗
(OA )′ Q= OAQ  − j− k( i −
 2 4 4 
 
  2+ 2 2− 2 6−3 2   2+ 2 2− 2 6−3 2 

OAQ  − j− k  ( i − j + 2k)  + j+ k  ≅.
 2 4 4   2 4 4 
   

( 0.92388 − 0.191342 j − 0.331414 k )( i − j + 2 k )( 0.92389 + 0.191342 j +


0.331414k ) = ( 0.47149 + 0.20979 i − 1.2553 j + 2.03912 k ) ( 0.92389 +

0.191342 j + 0.331414 k ) = −0.61237 i − 1.13905 j + 2.0803 k. Or (OA )′ = ( −0.61237, −1.13

(OA )′ = ( −0.61237, −1.13907,2.08032 ) . Alternatively, we can use Equation 15.20.

Tensor-Analysis-for-Engineers_2E_CH16.indd 169 10/3/2020 10:32:55 AM


170 • Tensor Analysis for Engineers, 2E

16.20 EXAMPLE: SUCCESSIVE ROTATIONS USING


QUATERNIONS METHOD
Use data given in Example 16.18 and rotate the resulted vector, actively in
that example through a successive rotation of an angle 45°. For this opera-
tion use the quaternion method.

Solution:
From Example 16.18 we have the resulted vector
  10 + 4 3 1 + 2 3 14 − 3 3    1 3
OA′ =  , ,  and the unit vector n =  0, , 
 8 8 8   2 2 
along the axis of rotation. The follow up rotation quaternion is
π
related to rotation angle of 45° = . Hence, using half-angle we have
4
π 1 3  π 2+ 2 2− 2 6−3 2
P = cos + j+ k  sin = + j+ k . Now,
8 2 2  8 2 4 4
  
 ∗  2 + 2

n  2− 2
using Equation 15.18 we =
can OA″ POA =
write ′P  +
 2 4
 ∗  2 + 2 
 2− 2 6 − 3 2   10 + 4 3 1+2 3 14 − 3 3   2 + 2 2− 2
=OA″ POA = ′P  + j+ k i+ j+ k −
 2 4 4  8 8 8   2 4
  
1+2 3 14 − 3 3   2 + 2 2− 2 6−3 2 
j+ k − j− k  ≅ 1.5436 i + 1.8708 j + 0.3425 k.
8 8   2 4 4 


We can also use the original vector OA with the dual-quaternion as
the product of the two corresponding quaternions, see Equation

15.18, or ( PQ ) OA ( PQ ) . Note that the q belongs to the first rota-

tion and p (60° rotation) to the second one (45° rotation). But
 2+ 2 2− 2 6 − 3 2  3 1 3 
=ˆˆ 
pq + j+ k + j+ k  ≅ 0.60876 + 0.39668 j + 0.68706 k
 2 4 4  2 4 4 
 
0.60876 + 0.39668 j + 0.68706 k . Therefore, its conjugate ( p̂qˆ ) =0.60876 − 0.39668 j − 0.68706 k

 
write OA″ (= ˆ ˆ ) OA ( pq
ˆ ˆ ) ( 0.60876 + 0.39668 j + 0.68706 k )
∗ ∗
=0.60876 − 0.39668 j − 0.68706 k . Now, we can= pq

( 0.60876 + 0.39668 j + 0.68706 k ) ( i − j + 2 k )( 0.60876 − 0.39668 j − 0.68706 k ) = 1.5436 i + 1.8708 j + 0.3425 k


1.5436 i + 1.8708 j + 0.3425 k. As seen the two methods provide us with ­identical results.

Tensor-Analysis-for-Engineers_2E_CH16.indd 170 10/3/2020 10:32:59 AM


CHAPTER

17
EXERCISE PROBLEMS

1. Write out the following expression in full detail for N = 3 dimensions


using Einstein summation convention:

a. A = A ij ei e j
 
b. A ⋅ B = A i B j gij
1 ∂  ∂ψ 
c. ∇ 2ψ = i  g ij j 
 ∂x  ∂x 
eijk ∂ ( hk A ( k ) )
d. C ( i ) = hi
 ∂x j
Akij
e. Akij, n    nm
i
Akjm   nm
j
Akim   mnk Amij 
x n
2. By rotating bipolar coordinates about X-axis (the axis where foci are located
on) we obtain the bi-spherical coordinate system, ( x1 , x2 , x3 ) ≡ (ξ ,η ,ϕ )
 a sin ξ cos ϕ
 X = coshη − cos ξ

 a sin ξ sin ϕ
given in terms of Cartesian ( y , y , y ) ≡ ( X , Y, Z ), as  Y =
1 2 3
.
 coshη − cos ξ
 a sinhη
Z =
 coshη − cos ξ
  
Find the basis vectors e1 , e2, e3 for the bi-spherical coordinate system
in terms of the Cartesian unit vectors. Also find the scale factors, unit
vectors, metric tensors (covariant and contravariant), Jacobian, volume
element, and Christoffel symbols of the 1st kind.

Tensor-Analysis-for-Engineers_2E_CH17.indd 171 10/3/2020 10:33:50 AM


172 • Tensor Analysis for Engineers, 2E

FIGURE 17.1  Bi-spherical coordinate system. <GNU Free Documentation License>

3. By rotating bipolar coordinates about Y-axis (the axis perpendicular to


the line connecting the foci) we obtain a toroidal coordinate system,
( x , x , x ) ≡ (ξ ,η ,ϕ ) given in terms of Cartesian ( y , y , y ) ≡ ( X, Y, Z ) ,
1 2 3 1 2 3

 a sinhη cos ϕ
 X = coshη − cos ξ

 a sinhη sin ϕ   
as  Y = . Find the basis vectors e1, e2 , e3 for the toroidal
 cosh η − cos ξ
 a sin ξ
Z =
 coshη − cos ξ
coordinate system in terms of the Cartesian unit vectors. Also find the
scale factors, unit vectors, metric tensors (covariant and contravariant),
Jacobian, volume element, and Christoffel symbols of the 2nd kind.

FIGURE 17.2  Toroidal coordinate system. <GNU Free Documentation License>

Tensor-Analysis-for-Engineers_2E_CH17.indd 172 10/3/2020 10:33:50 AM


Exercise Problems • 173

 
4. Having displacement vector r = yi Ei defined in Cartesian coordinate

system yi, express r in terms of the contravariant and physical compo-
nents in cylindrical, spherical, bi-polar, bi-spherical, and toroidal coor-
dinate systems. Use the definitions of these systems as given in previous
examples and exercises.
=
5. Show that for an orthogonal coordinate system the relation gii 1=
/ g ii hi2
holds, i.e., the diagonal elements of covariant and contravariant metric
tensors. Note, no sum on index i.
6. For an orthogonal coordinate system, show that the following relations
holds for Christoffel symbols of the 2nd kind (all indices are set to be
­different):
hi ∂hi i 1 ∂hi i 1 ∂hi
Γ kij =0, Γ iij =− , Γ ij = , Γ ii = .
h2j ∂x j hi ∂x j hi ∂x i

7. Find the relations for Christoffel symbols of the 1st kind for cylindrical
and spherical coordinate systems. Use results from the example given in
Section 10.4.1.
8. Show that covariant differentiation obeys the same rule as does ordinary
=
differentiation, when operating on products, e.g., A i B j
( )
A′ik B j + A i B′ kj .
′k

9. Write down the expression for the covariant derivative of a tensor of rank
ij
five, Akm , using hints from Section 10.14.
10. Show that metric tensors behave like a constant under a covariant dif-
ferentiation operation, i.e., A i gij( )′k
(
= A′ik gij and Ai g ij
= Ai′ k g ij . ) ′k

11. Show that the recursive relation for the curl of a vector A reads
 
A ( n ) = −∇ 2 A ( n − 2 ), for n > 2. where n is the number of curl operations
      
and A ( n ) = ∇× ∇
×  × ∇ × A (note, A ( 0 ) = A ).
n times

12. Using the recursive relation for the curl of a vector given in Exercise
11, show that the recursive relation for the biharmonic operator reads
 
A ( n) =
∇ 4 A ( n − 4 ) , for n > 4 .
13. Using the results of Exercises 11 and 12, show that the recursive rela-
 
tions for higher order operator ∇ 2 n reads A ( 2 n + 1 ) =−
( 1 ) n ∇ 2 n A (1 )
 
and A ( 2 n ) = −∇ 2 n− 2 A ( 2 ) .

Tensor-Analysis-for-Engineers_2E_CH17.indd 173 10/3/2020 10:33:52 AM


174 • Tensor Analysis for Engineers, 2E

14. For the 4D spherical coordinate system from Example 15.15, calculate
the Christoffel symbols:

Γ rrr Γ rrψ Γ rrθ Γ rrϕ  Γψrr Γψrψ Γψrθ Γψrϕ 


 r   ψ ψ ψ 
 Γψψ
r
Γψθ
r
Γψϕ  Γψψ Γψθ Γψϕ
Γ =
r , Γψ = ,
  Γθθ
r r 
Γθϕ   Γψθθ Γψθϕ 
   
    Γϕϕ
r
     Γψϕϕ 

Γθrr Γθrψ Γθrθ Γθrϕ  Γϕrr Γϕrψ Γϕrθ Γϕrϕ 


 θ θ θ   ϕ 
 Γψψ Γψθ Γψϕ  , ϕ 
ϕ
Γψψ ϕ
Γψθ Γψϕ
Γ =
θ
θ  Γ =
.
  Γθθθ Γθϕ   ϕ
Γθθ ϕ 
Γθϕ
 θ   
    Γϕϕ      Γϕϕϕ 

15. Show that the following expressions simplify as given (see Example 15.16):
 
×
 ×      
a. ∇
A
× ×
= ∇ A Ak ′ j A ′
k j
⋅ + A ⋅ ∇ 2
A − Ak ′j A ′
jk
⋅ − A (
⋅ ∇ ∇⋅A ) ( ( ))
 × 
×
   
b. ∇
 A ∇∇
× ×
2
(
 Φ = ∇ ⋅ A ( ∇ Φ ) − A′ j ( ∇ k Φ )′ ⋅
k
) j


×
 ×          2
c. ∇∇
 A∇
×
( ) ( )
 Φ =∇ A ⋅ ( ∇Φ ) − ∇ ∇ ⋅ A ⋅ ( ∇Φ ) − A′ ⋅ ( ∇ k Φ ) − ∇ ⋅ A ( ∇ Φ ) − A ⋅ ∇ ( ∇ Φ )
×
2 jk 2
( ) ( )
    
) jk
( 2
)
⋅ A ⋅ ( ∇Φ ) − A′ ⋅ ( ∇ k Φ ) − ∇ ⋅ A ( ∇ Φ ) − A ⋅ ∇ ( ∇ 2 Φ ) ( )
16. Write the below expressions in index notation:
    
( )
a. V ∇ ⋅ A + ∇ ⋅ V A ( )
  
(
b. A ⋅ B × C )
   
( (
c. A ⋅ ∇ ∇ ⋅ A ))
17. Show that the following relations holds:
δ li δ mi δ ni
= δ mj δ nk − δ njδ mk ,  c. ε ε ijn =2δ n
ijk k
a. ε ijk ε lmn =δ l j δ mj δ nj ,  b. ε ε imn
ijk

δ lk δ mk δ nk
d. ε ijk ε ijk =6

Tensor-Analysis-for-Engineers_2E_CH17.indd 174 10/3/2020 10:33:54 AM


Exercise Problems • 175

18. Using Equation 9.13, write the determinant for a 5 × 5 matrix.


19. Use Equation 13.19 to find physical components of the convective time
derivative of a velocity vector, and express the results for (3D) (hint: see
Example 15.14):
a. Cartesian coordinates
b. Cylindrical coordinates
c. Spherical coordinates
20. Show that the non-zero Christoffel symbols of the 1st kind for cylindrical
and spherical coordinates read:
a. Cylindrical coordinates: Γ rθ ,θ =
r and Γθθ ,r =
−r .
r2
b. Spherical coordinates: Γϕϕ ,r = − r , Γθθ , r = − r sin 2 ϕ , Γθθ ,ϕ =
− sin 2ϕ ,
2
r2
Γ rϕ ,ϕ = r sin ϕ , Γϕθ ,θ =sin 2ϕ
r and Γ rθ ,θ = 2

2
21. Using cross-product expression for two vectors, show that ( is the
­Jacobian):
1 mnl
a. ijk =  gmi gnj glk

1 ijk mnl
b.  =   gmi gnj gkl
2

6
22. Calculate the single equivalent rotation angle and rotation axis for trans-
forming Cartesian system ( y1 , y2 , y3 ) to ( y′1 , y′2 , y′3 ) such that y′1 coin-
cides with y1, y′2 coincides with y3 , and y′3 coincides with y1 .
23. Find the rotation matrix for transforming ( y1 , y2 , y3 ) :
a. Rotate about (0, 0, 1) for 45°
b. Then, rotate about (1, 0, 0) for 60°
c. Then, rotate about (0, 1, 0) for 75°
d. Find the final rotation matrix and equivalent rotation angle
e. Find equivalent axis of rotation

Tensor-Analysis-for-Engineers_2E_CH17.indd 175 10/3/2020 10:33:56 AM


176 • Tensor Analysis for Engineers, 2E


24. Show the following relations hold for unit quaternion Q̂
= Q0 + Q and

arbitrary vector V .

( )
       
( ) (
ˆ ˆ ∗ = Q2 − Q 2 V + 2 Q ⋅ V Q + 2Q Q × V , active rotation
a. QVQ 0 0 )
      
b. Qˆ ∗ VQˆ = ( 2Q2
0 ( ) ( )
− 1 ) V + 2 V ⋅ Q Q + 2Q0 V × Q , passive rotation

25. Derive The rotation matrix given by Equation 15.22, using unit quater-

nion Q̂ and arbitrary vector V .
26. Using Example 16.18 rotation matrix result, calculate the corresponding
Euler angles.
27. Using Example 16.19 rotation matrix result, calculate the corresponding
Euler angles.
28. Using the quaternions 
method
 as shown in Example 16.20, calculate the
components of vector OA = (1, −1,2 ) after two successive rotations. The
  1 3
first rotation is by an angle of 80° about the unit vector n =  0, , 
 2 2 
and the second rotation is by an angle of 50° about the unit vector
  3 1 
n= , ,0  . Perform the calculations for both active and passive
 2 2 
rotation scenarios.
29. For Exercise 28, calculate the corresponding rotation matrix using the
product of the quaternions involved. Also using the resulted rotation
matrix calculate the equivalent axis and angles of single rotation.
30. A pilot maneuvers its airplane through a pitch-roll-yaw series or rota-
tions. Using the relation for the corresponding rotation matrix  yxz ana-
lyze the gimbal lock orientation when roll angle is equal to 3π .
2
31. Show that quaternion operation for active rotation ( QVQ∗ ) preserves
dot-products and triple products, hence it is a rotation.
32. Repeat the Exercise 16.20 considering the rotation as a passive one (i.e.,
coordinates are rotated).

Tensor-Analysis-for-Engineers_2E_CH17.indd 176 10/3/2020 10:33:57 AM


REFERENCES

1. G. Ricci and T. Levi-Civita. “Méthodes de calcul differéntiel absolu et leurs applications,”


Math. Ann., vol. 54, 1901.
2. Y. I. Dimitrienko, Tensor Analysis and Nonlinear Tensor Functions, Springer, 2002.
3. D. Leigh, Nonlinear Continuum Mechanics: An Introduction to Continuum Physics and
Mathematical Theory of the Nonlinear Mechanical Behavior of Materials, McGraw-Hill,
1968.
4. I. Sokolnikoff, Tensor Analysis: Theory and Applications, John Wiley & Sons, 1951.
5. P. Grinfeld, Introduction to Tensor Analysis and the Calculus of Moving Surfaces,
Springer, 2010.
6. R. J. Kee, M. E. Coltrin, and P. Glarborg, Chemically Reactive Flow: Theory & Practice,
John Wiley & Sons, 2033.
7. G. G. Bach, Tensor Analysis and Applications (lecture notes), Montreal, Canada:
Mech. Eng., McGill University, 1979.
8. E. Christoffel, “Über die Transformation der homogenen Differentialausdrücke zweiten
Grades,” Journal für die reine und angewandte Mathematik, vol. B, pp. 46–70, 1869.
9. O. Rodrigues, “Des lois géometriques qui regissent les déplacements d’ un systéme
solide dans l’ espace, et de la variation des coordonnées provenant de ces déplacement
considérées indépendant des causes qui peuvent les produire,” J. Math. Pures Appl.,
vol. 5, pp. 380–440, 1840.
10. E. Kreyszig, Advanced Engineering Mathematics, 10th ed., John Wiley & Sons, 2011.
11. W. Z.U.A., Fluid Dynamics: Theoretical and Computational Approaches, 3rd ed.,
CRC Press, 2005.
12. “Anisotropic Heat Transfer through Woven Carbon Fibers,” COMSOL, Application ID:
16709.
13. B. K. Horn, “Some Notes on Unit Quaternions and Rotation,” 2001.
14. D. Koks, Explorations in Mathematical Physics: The Concepts Behind an Elegant
Language, Springer, 2006.

Tensor-Analysis-for-Engineers_2E_CH18_Ref.indd 177 10/3/2020 10:34:13 AM


178 • Tensor Analysis for Engineers, 2E

15. Erik B. Dam, M. Koch, and M. Lillholm, “Quaternion, Interpolation and Animation,”
Department of Computer Science, University of Copenhagen, Denmark, 1998.
16. S. Oldenburger, “Applications of Quaternions. Written project of the course “Problem
Solving Techniques in Applied Computer Science,” Department of Computer Science,
Iowa State University, 2005.
17. H. Goldstein, C. Poole, and J. Safko, Classical Mechanics, 3rd Ed., Addison Wesley,
2000.
18. J. Kuipers, Quaternions and Rotation: A Primer with Applications to Orbits, Aerospace
and Virtual Reality, Princeton University Press, 1999.
19. R. Brannon, Rotation, Reflection, and Frame Changes: Orthogonal tensors in
computational engineering mechanics, IOP Publishing Ltd, 2018.
20. W. Heard, Rigid Body Mechanics: Mathematics, Physics and Applications, WILEY-
VCH Verlag GmbH & Co, 2005.
21. J. Vince, Quaternions for Computer Graphics, Hardcover, Springer, 2011.
22. E. Zeleny, “Controling Airplane Flight,” Wolfram Demonstration Project, 2011.
23. S. Blinder, “Euler Angles for Space Shuttle,” Wolfram Demonstrations Project, 2011.
24. F. W. Strauch, “Euler Angles,” Wolfram Demonstrations Project, 2011.
25. D. Hosier, “Avoiding Gimbal Lock in a Trajectory Simulation,” U.S. Army Armament
Research Development and Engineering Center, New Hersey, 2018.
26. D. Hoag, “Apollo Guidance and Navigation: Consideration of Apollo IMU Gimbal
Lock,” Apollo Lunar Surface Journal, Cambridge, MIT, 1963.
27. H. Schaub, “Spacecraft Dynamics & Control,” University of Colorado Boulder, 2019.
28. GuerrillaCG, “Euler (gimbal lock) Explained,” 2009.
29. “Choose Rotation Order and Gimbal Lock | Blender 2.8x – Rigging Tutorial,” 2019.
30. W. R. Hamilton, “On quaternions or a new system of imaginaries in algebra,” Philosophical
Magazine, link to David R. Wilkins collection at Trinity College, Dublin, Dublin.
31. A. J. Hanson, “Quaternion Application,” School of Informatics and Computing , Indiana
University, 2012.
32. L.C. Bruno and L.W. Baker, “Math and mathematicians : the history of math discoveries
around the world,” Detroit, Mich. : U X L, 1999.
33. YouTube, “Visualizing 4D Geometry – A Journey Into the 4th Dimension [Part 2],” 2017.
34. E. W. Weisstein, “Euler Formula From MathWorld—A Wolfram Web Resource”.
35. E. Cho, “De Moivre’s Formula for Quaternions,” Appl. Math. Lett, vol. 11, no. 6,
pp. 33–35, 1998.
36. D. Henderson, “Euler Angles, Quaternions, A140 Transformation Matrices for Space
Shuttle Analysis,” NASA-McDonnell Douglas Technical Services, 1977.

Tensor-Analysis-for-Engineers_2E_CH18_Ref.indd 178 10/3/2020 10:34:13 AM


INDEX
A complex numbers, 128
component notation, 2
acceleration vector
connection coefficients, 37
contravariant components of, 76–78
conservation equations, coordinate independent
physical components in, 78–79 forms, 85–87
cylindrical coordinate systems, 81–82 contravariant components, 31, 33
orthogonal systems, 79–82
of acceleration vector, 76–78
spherical coordinate systems, 81–82
of curl, 52
substantial time derivation, 84–85
and transformations, 9–12
active rotations, 104–105
contravariant derivatives of vectors, 39–40
definition, 105 contravariant metric tensor, 22
example, 105–107 contravariant permutation tensors, 32
arbitrary coordinate systems, 4, 31 coordinate systems
B Cartesian, 89–91
cylindrical, 91–93
basis vectors, 5–7 definition, 3–4
biharmonic operations on tensors, 58–59 orthogonal curvilinear, 98–101
C parabolic, 96–98
spherical, 93–96
Cartesian coordinate system, 3–4, 89–91 covariant components, and transformations,
equivalent single rotation to sequential 13–14
rotations of, 70–73 covariant derivatives
fluid in motion, 83 of mixed tensor, 40
Cartesian tensors, 65–66 of vectors, Christoffel symbols of the
equivalent single rotation, 67–73 2nd kind, 35–39
rotation matrix, 67 covariant/contravariant basis vectors, 22
characteristic equation, 70 covariant permutation tensors, 32
Christoffel symbols, 52, 58, 59, 77–80 cross-product, 29–33, 53
of 2nd kind, 35–39 curl operations on tensors, 51–54
for cylindrical coordinates, 44–46 cylindrical coordinate systems, 3, 91–93
for 2D polar coordinate system, 38 acceleration vector physical components in,
relations and properties, 41–44 81–82
for spherical coordinates, 46–49 Christoffel symbols for, 44–46
of 1st kind, relations and properties, 41–44 example, 23–25

Tensor-Analysis-for-Engineers_2E_CH19_Index.indd 179 10/3/2020 11:05:07 AM


180 • Index

metric tensor, 23–25 cylindrical systems, 60–61


physical components of Laplacian of a vector spherical systems, 61–63
in, 60–61 Laplacian operations on tensors, 57–58
Levi Civita symbol, 30
D
determinant of a 3 × 3 matrix using permutation M
symbols, 34 metric tensor, 18–22
divergence operation on tensors, 55–57 cylindrical coordinate systems, 23–25
dot-product, 29–33, 57. See also cross-product spherical coordinate systems, 25–27
mixed tensor, 18
E covariant derivatives of, 40
eigenvalues and eigenvectors, 67–73
Einstein summation convention, 2 N
equivalent single rotation, 67–73 Newton’s 2nd law, 74, 76–78, 87
Euler angles, 107–110
categorizing, 113–120 O
derive the quaternion from given, 139–140 orthogonal Cartesian system, 3, 30
example, 110–113, 120–121 orthogonal coordinate systems, 33
for rigid body rotations, 108 acceleration vector physical components in,
exercises, 171–176 79–82
curvilinear, 98–101
F
first principal scalar invariant, 70 P
parabolic coordinate systems, 96–98
G
passive rotations, 104–105, 105–107
Gauss divergence theorem, 85 definition, 105
gimbal lock, 121 example, 105–107
gimbal lock-Euler angles limitation, 121–123 permutation symbols, determinant of a 3 × 3
matrix using, 34
H
physical components
Hamilton quaternion relations, derivation of, of acceleration vector in, 78–79
125–126 cylindrical coordinate systems, 81–82
orthogonal systems, 79–82
I
spherical coordinate systems, 81–82
index notation, 2 substantial time derivation, 84–85
invariant, 6 curl of tensors-3D orthogonal systems, 54–55
of Laplacian of a vector
J cylindrical systems, 60–61
Jacobian spherical systems, 61–63
and metric tensor determinants, relation and transformations, 15–16
between, 157 proper Euler angles, 113, 114
time derivatives of , 159–160 Pythagorean theorem, 6, 18, 19
L Q
Lagrange multiplier method, 69 quaternion
Laplacian of a vector, physical components of, algebraic operations
59–60 and properties, 126–127

Tensor-Analysis-for-Engineers_2E_CH19_Index.indd 180 10/3/2020 11:05:07 AM


Index • 181

example, 127–128 U
and rotation, 129–132
unit vector, 6, 7
definition, 123–125
derive the rotation matrix from a given, W
135–138
worked-out examples
quaternions multiplication rule, 125
active rotation using single-axis and
R quaternions methods, 166–168
application of contravariant metric tensors,
right-hand-rule convention, 67, 72
155
rigid body rotations
complex double dot-cross product
Euler angles for, 108
expressions, 165–166
quaternions-applications for, 123–134
continuity equations in several coordinate
direct relations and methods, 141 systems, 160–161
Rodrigues’ rotation formula, 67 conversion from vector to index notations,
rotation matrix, 67, 114, 117, 128 144–145
calculating, 72 covariant derivatives of a constant
derive the equivalent quaternion from, vector, 160
138–139 covariant derivatives of metric
rotation, quaternion and, 129–132 tensors, 166
example, 133–134 covariant derivatives of physical components
S of a vector, 161
determinant of a 4 × 4 matrix using
scale factor, 7 permutation symbols, 159
second principal scalar invariant, 70 determinant of metric tensors using
spherical coordinate systems, 3, 93–96 displacement vectors, 158
acceleration vector physical components in, dot and cross products in cylindrical and
81–82 spherical coordinates, 155–156
for Christoffel symbols, 46–49 Einstein summation convention, 143
example, 25–27 4D spherical coordinate systems,
metric tensor, 25–27 162–165
physical components of Laplacian of a vector oblique rectilinear coordinate systems,
in, 61–63 145–148
substantial time derivatives of tensors, 82–85 passive rotation using single-axis and
quaternions methods, 168–169
T
quantities related to bi-polar coordinate
Tait-Bryan angles, 113, 117 systems, 152–154
third principal scalar invariant, 70 quantities related to parabolic coordinate
total/convective time derivative, 82 system, 149–151
transformation coefficient, 10, 11 relation between Jacobian and metric tensor
transformations, 15–16 determinants, 157
contravariant components and, 9–12 successive rotations using quaternions
covariant components and, 13–14 method, 170
physical components and, 15–16 time derivatives of the Jacobian, 159–160

Tensor-Analysis-for-Engineers_2E_CH19_Index.indd 181 10/3/2020 11:05:08 AM


Tensor-Analysis-for-Engineers_2E_CH19_Index.indd 182 10/3/2020 11:05:08 AM

You might also like