Vectors, Matrices, Rotations, Axis Transformations: Texture, Microstructure & Anisotropy A.D. Rollett
Vectors, Matrices, Rotations, Axis Transformations: Texture, Microstructure & Anisotropy A.D. Rollett
Vectors, Matrices, Rotations, Axis Transformations: Texture, Microstructure & Anisotropy A.D. Rollett
Most of the material in these slides originated
in lecture notes by Prof. Brent Adams (now
emeritus at BYU). Last revised: 9 Nov. ‘11
2
Notation
u (ui) vector
X point (row or column)
1,xr
x||u|| 2,x3L2
coordinates
norm of a of a point
vector
u (A
A uij) general
vector second rank tensor (matrix)
o
l origin
eigenvalue
e
vˆ3 eigenvector
base vector (3 dirn.)
n
I1 coefficient
Identity of a vector
matrix
A
δijT Kroneckerofdelta
transpose matrix
eijk r rotation
n, permutation
axis tensor
q
aij,Lij rotation
rotation angle
matrix (passive)
tr or, axis
tracetransformation
(of a matrix)
gij3 3D Euclidean
rotation matrixspace
(active*)
* in most texture books, g denotes an axis transformation, or passive rotation!
3
VECTORS
Parallelogram Law
• Two vectors u and v compound (addition) according
to the parallelogram law. If u and v are taken to be
the adjacent sides of a parallelogram (i.e., emanating
r r r
from a common origin), then a new vector, w,
w = u + v
is defined by the diagonal of the parallelogram which
emanates from the same origin. The usefulness of
the parallelogram law lies in the fact that many
physical quantities compound in this way.
€
6
Coordinate
r
Frame 3
v =v1e ˆ2 +v3eˆ3 = ∑ vie
ˆ1 +v2e ˆi =vi e
ˆi
i =1
• It is convenient to introduce a rectangular
Cartesian coordinate frame for consisting of
the base vectors e ˆ1, eˆ2, and e
ˆ3and a point o
called the origin. These base vectors have
unit length, they emanate from the common
origin o, and they are orthogonal to each
r
another. By virtue of the parallelogram law
any vector v can be expressed as a vector
sum of these three base vectors according to
the expressions
7
Magnitude of a vector
r
v
The magnitude, v, of is related to its
components through the parallelogram
law:
2 2 2 2
v =v +v +v =v v
1 2 3 i i
€
You will also encounter this quantity as the
“L2 Norm” in matrixvector algebra:
v 2
= v = v + v + v = v iv i
2
1
2
2
2
3
9
Cartesian coordinates
• There are many instances where the scalar
r r
product has significance in physical theory.
Note v
r r that if u and are perpendicular r r then
u ⋅ v =0, if they are parallelrthen
r u ⋅ v =uv ,
and if they are antiparallel u ⋅ v =-uv. Also,
the Cartesian coordinates of a point x, with
respect to the chosen base vectors and
€coordinate origin, are defined by the scalar
€
product €
€
ˆi
xi =(x −o) ⋅e
11
• For the base vectors themselves the following
relationships exist
⎧1 if i=j
ˆi ⋅eˆj =δij =⎨
e
⎩0 if i≠j
The symbol δij is called the Kronecker delta.
Notice that the components of the Kronecker
delta can be arranged into a 3x3 matrix, I,
where the first index denotes the row and the
second index denotes the column. I is called
the unit matrix; it has value 1 along the
diagonal and zero in the off-diagonal terms.
12
r r r
• Related to the vector and scalar products is
the triple scalar product ( u × v )⋅ w which
expresses the volume of the parallelipipedrr
bounded r v
on three sides by the vectors u ,
and w . In component form it is given by
r r r
( u ×€v ) ⋅ w = eijk ui v j w k
14
CHANGES OF THE
COORDINATE SYSTEM
• Many different choices are possible for the
orthonormal base vectors and origin of the
Cartesian coordinate system. A vector is an
example of an entity which is independent of
the choice of coordinate system. Its direction
and magnitude must not change (and are, in
fact, invariants), although its components will
change with this choice.
16
New Axes
• Consider a new orthonormal system consisting of
right-handed base vectors eˆ′, e
1ˆ′ ande
2 ˆ′ 3
with the same origin, o, associated with
and ˆ 1, e
e ˆ 2 and e
ˆ 3 ^
e’3
^
e3
r
The vector v ^
e’2
^
is clearly expressed equally well e2
€ r
in either coordinate system:
^ ^
v =vieˆi =vi′e
ˆi′ e1 e’ 1
Direction Cosines
• The two systems are related by the nine
direction cosines, aij , which fix the cosine of
the angle between the ith primed and the jth
unprimed base vectors:
ˆi′ ⋅eˆj
aij =e
Equivalently, aij represent the components
ˆi′ in e
of e ˆj according to the expression
ˆi′ =aijeˆj
e
18
Orthogonal Matrices
• Note that the direction cosines can be
arranged into a 3x3 matrix, L, and therefore
the relation above is equivalent to the
expression
T
ΛΛ =I
where L T denotes the transpose of L. This
relationship identifies L as an orthogonal
matrix, which has the properties
−1 T
Λ =Λ detΛ =±1
20
Relationships
• When both coordinate systems are right-handed,
det(L)=+1 and L is a proper orthogonal matrix.
v v ˆ i′ = aij e
ˆ j
v €= Λv ; e
The orthogonality of L also insures that, in addition to
the relation above, the following holds:
ˆj =aij e
e ˆi′
€ Combining these relations leads to the following inter-
relationships between components of vectors in the
two coordinate systems:
v T v v v
v = Λ v ′ , v i = a jiv ′j , v ′ = Λv , v ′j = a jiv i
21
Transformation Law
• These relations are called the laws of
transformation for the components of vectors.
They are a consequence of, and equivalent
to, the parallelogram law for addition of
vectors. That such is the case is evident
when one considers the scalar product
expressed in two coordinate systems:
r r
u ⋅ v = uiv i = a ji u ′j akiv ′k =
a ji aki u ′j v ′k = δ jk u ′j v ′k = u ′j v ′j = u ′iv
′i
22
Invariants
Thus, the transformation law as expressed preserves
the lengths and the angles between vectors. Any
function of the components of vectors which remains
unchanged upon changing the coordinate system is
called an invariant of the vectors from which the
components are obtained. The derivations illustrate
the fact that the scalar product,
r r
u ⋅ v
is an invariant of the vectors u and v.
Other examples of invariants include the vector
product of two vectors and the triple scalar product of
three vectors. Note that the transformation law for
€
vectors also applies to the components of points
when they are referred to a common origin.
23
Rotation Matrices
Since an orthogonal matrix merely rotates a
vector but does not change its length, the
€
determinant is one, det(L)=1.
24
Orthogonality
• A rotation matrix, L, is an orthogonal matrix,
however, because each row is mutually
orthogonal to the other two.
n^
• The convenient way to v
think about a rotation v’
is to draw a plane that
is normal to the rotation
axis. Then project the
vector to be rotated onto €
this plane, and onto the
rotation axis itself.
• Then one computes the vector product of the rotation
axis and the vector to construct a set of 3 orthogonal
vectors that can be used to construct the new, rotated
vector.
26
Eigenvector of a Rotation
A rotation has a single (real) eigenvector
which is the rotation axis. Since an
eigenvector must remain unchanged by the
action of the transformation, only the rotation
axis is unmoved and must therefore be the
eigenvector, which we will call v. Note that
this is a different situation from other second
rank tensors which may have more than one
real eigenvector, e.g. a strain tensor.
31
Characteristic Equation
(a lI)v = 0
det(a lI) = 0
32
a v = a1 v = v,
(a – a1) v = 0.
Eigenvalue = +1
• To prove that (a - I)v = 0 (l = 1):
⎜uw ⎟
⎝ (1− cosθ ) + v sinθ vw (1− cosθ ) − usinθ cosθ + w (1− cosθ ) ⎠
2
What this shows is that for small angles, it is safer to use a sine-based formula to extract the angle
(be careful to include only a12-a21, but not a21-a12). However, this is strictly limited to angles less than
€
90° because the range of ASIN is -π/2 to +π/2, in contrast to ACOS, which is 0 to π, and the formula
below uses the squares of the coefficients, which means that we lose the sign of the (sine of the)
angle. Thus, if you try to use it generally, it can easily happen that the angle returned by ASIN is,
in fact, π-q because the positive and the negative versions of the axis will return the same value.
2
⎛ε ijk a jk ⎞
sinθ = ∑⎜ ⎟
i ⎝ 2 ⎠
39
2 −1 2uv
⎛2u 2uw ⎞
⎜ ⎟
gij = δ ij cosπ + ri rj (1− cosπ ) + ∑ε ijk rk sinπ = ⎜ 2uv 2v −1 2vw ⎟
2
+ cos €
Thus the cosine, v, of the rotation angle,
v=cosq, expressed in terms of the Euler angles:
tr [ Δ a ] − 1
2 2
Φ Φ
€ = = cos cos { ϕ + ϕ } − sin
( ) 1 2 ( )
2 2
2
41
a’ = LT a L
[100] direction
⎡a11 a12 a13⎤
⎢ ⎥
[010] direction ⎢a21 a22 a23⎥
⎢ ⎥
[001] direction ⎣a31 a32 a33⎦
• Where the Rows are the direction cosines for [100], [010], and [001]
in the sample coordinate system (pole figure).
43
[uvw]RD TD ND(hkl)
• Where the Columns are the direction cosines (i.e. hkl or uvw) for the
RD, TD and Normal directions in the crystal coordinate system.
44
Compare Matrices
Summary
Supplemental Slides
[none]