弹性波动力学笔记(一) 旋转矩阵简介

Introduction of Rotation Transformation And Rotation Matrix

1.1 Summary of vector analysis

A vector is defined as a directed line segment, having both magnitude and direction. The magnitude, or length, of a vector a will be represented by |a|. The sum and the difference of two vectors, and the multiplication of a vector by a scalar (real number) are defined using geometric rules. Given two vectors a and b, two products between them have been defined.

Scalar, or dot, product:

(1.1.1)ab=|a||b|cosα

where α is the angle between the vectors.

Vector,or cross, product:

(1.1.2)a×b=(|a||b|sinα)n

where α is as before, and n is a unit vector (its length is equal to 1) perpendicular to both a and b such that the three vectors form a right-handed system.

An important property of the vector product, derived using geometric arguments, is the distributive law:

(1.1.3)(a+b)×c=a×c+b×c

By introducing a rectangular Cartesian coordinate system it is possible to write a vector in terms of three components. Let e1=(1,0,0)T,e2=(0,1,0)T ,ande3=(0,0,1)T be the three unit vectors along the x1 ,x2 and x3 are axes of the coordinate. Then any vector v can be written as

(1.1.4)v=(v1,v2,v3)T=v1e1+v2e2+v3e3

The components v1,v2,and v3 are the orthogonal projections of v in the directions of the three axes.

Before proceeding, a few words concerning the notation are necessary. A vector will be denoted by a bold-face letter, while its components will be denoted by the same letter in italics with subindex (literal or numerical). A bold-face letter with a subindex represents a vector, not a vector component. The three unit vectors defined above are examples of the latter. If we want to write the k-th component of the unit vector ej we will write (ej)k . For example, (e2)1=0 ,(e2)2=0,and (e2)3=0 . In addition , although vectors will usually be written in column form, when they are involved in matrix operations they should be considered as column vectors, as matrices of one column and three rows. For example, the matrix form of the scalar product abis aTb , where T indicates transposition.

When the scalar product is applied to the unit vectors we find

(1.1.5)e1e2=e1e3=e2e3=0

(1.1.6)e1e1=e2e2=e3e3=1

Equations(5) and (6) can be summarized as follows:

(1.1.7)eiej=δij={1,i=j0,ij

The symbol δij is known as Kronecker delta, which is an example of a second-order tensor, and will play an important role in this book. As an example of equation (7) ,e2ek=0 unless k=2, in which case the scalar product is equal to 1.

Next we derive an alternative expression for a vector v .Using equation (4), the scalar product of v and ei is

(1.1.8)vei=(k=13vkek)ei=k=13vkekei=k=13vk(ekei)=vi

Note that when applying equation(4) the subindex in the summation must be different from i. To obtain equation(8) the following were used : the distributive law of the scalar product, the law of the product by a scalar and equation(7). Equation(8) shows that the ith component of v can be written as

(1.1.9)vi=vei

When equation (9) is introduced in equation (4) we find

(1.1.10)v=i=13(vei)ei

This expression will be used in the discussion of dyadic.

In terms of its components the length of the vector is given by

(1.1.11)|v|=v12+v22+v32=(vv)1/2

Using purely geometric arguments it is found that the scalar and vector products can be written in component form as follows :

(1.1.12)uv=u1v1+u2v2+u3v3

and

(1.1.13)u×v=(u2v3u3v2)e1+(u3v1u1v3)e2+(u1v2u2v1)e3

The last expression is based on the use of equation(2) and equation(3).

Vectors, and vector operations such as the scalar and vector products, among others, are defined independently of any coordinate system. Vector relations derived without recourse to vector components will be valid when written in component form regardless of the coordinate system used. Of course, the same vector may (and generally will) have different components in different coordinate systems, but they will represent the same geometric entity. This is true for Cartesian and more general coordinate systems, such as spherical and cylindrical ones, but in the following we will consider the former only.

Now suppose that we want to define new vector entities based on operations on the components of other vectors. In view of the comments in 1.1 it is reasonable to expect that not every arbitrary definition will represent a vector, an entity intrinsically independent of the coordinate system used to represent the space. To see this consider the following example, which for simplicity refers to vectors in two-dimensional (2-D) space.

1.2 Rotation of Cartesian coordinates. Definition of a vector

Let Ox1,Ox2,Ox3 represent a Cartesian coordinate system and Ox1Ox2Ox3 another system obtained from the previous one by a rotation about their common origin O. Let e1,e2,e3 and e1,e2,e3 be the unit vectors along the three axes in the original and rotated systems. Finally, Let aij denote the cosine of the angle between Oxi and Oxj . The aij are known as direction cosines, and are related to ei and ej by

(1.2.1)eiej=aij

Given an arbitrary vector v with components v1,v2,v3 in the original system, we are interested in finding the new components v1,v2,v3 in the rotated system. To find the relation between the sets of components we will consider first the relation between the corresponding unit vectors. Using (1.2.1) equation ei can be written as

(1.2.2)ei=ai1e1+ai2e2+ai3e3=j=13aijej

Furthermore, in original and rotated systems v can be written as

(1.2.3)v=j=13vjej

and

(1.2.4)v=j=13viei

Now introduce (1.2.2) in (1.2.4)

(1.2.5)v=i=13vii=13aijeji=13(i=13aijvi)ej

Since(1.2.3) and (1.2.5) represent the same vector, and the three unit vector e1,e2 and e3 are independent of each other, we conclude that

(1.2.6)vj=i=13aijvj

If we write the ej is in terms of the ei and replace them in equation (1.2.6) we find that

(1.2.7)vi=j=13aijvj

Note that equation(1.2.6) the sum is over the first subindex of aij , while in (1.2.7) equation the sum is over the second subindex of aij . This distinction is critical and must be respected.

Now we are ready to introduce the following definition of a vector:

Three scalars are the components of a vector if under a rotation of coordinate they transform according to equation(1.2.7).

What this definition means is that if we want to define a vector by some set of rules, we have to verify that the vector components satisfy the transformation equations.

Before proceeding we will introduce a summation convention (due to Einstein) that will simplify the mathematical manipulations significantly. The convention applies to monomial expressions (such as a single term in an equation) and consists of dropping the sum symbol and summing over repeated index. This convention requires that the same index should appear no more than twice in the same term.

Repeated indexes are known as dummy indices , while those that are not repeated. Using this convention, while those that are not repeated are called free indices. Using this convention, we will write, for example,

(1.2.8)v=j=13vjej=vjej

(1.2.9)vj=j=13aijvi=aij

(1.2.10)vi=j=13aijvj

It is important to have a clear idea of the difference between free and dummy indices. A particular dummy index can be changed at will as long as it is replaced (in its two occurrences) by some other index not equal to any other existing indices in the same term. Free indices, on the other hand, are fixed and cannot be changed inside a single term. However, a free index can be replaced by another as long as the change is effected in all the terms in an equation, and the new index is different from all the other indices in the equation. In equation(1.2.9) i is a dummy index and j is a free index, while in equation (1.2.10) their role is reversed. The examples below show legal and illegal index manipulations.

The following relationship, derived from equation(1.2.9) , are true

(1.2.11)vj=aijvi=akjvk=aljvl

because the repeated index i was replaced by a different repeated index(equal to k or l). However, it would not be correct to replace i by j because j is already present in the equation. If i were replaced by j we would have

(1.2.12)vj=ajjvj

which would not be correct because the index j has been appeared more than twice in the right-hand term, which is not allowed. Neither would it be correct to write

(1.2.13)vj=aikvi

because the free index j has been changed to k only in the right-hand term. On the other hand, (1.3.9) can be written as

(1.2.14)vk=aikvi

because the free index j has been replaced by k on both sides of the equation.

As equations (1.2.9) and (1.3.10) are of fundamental importance, it is necessary to pay attention to the fact that in the former the sum is over the first index of aij while in the latter the sum is over the second index of aij. Also note that (1.2.10) can be written as product of a matrix and a vector:

(1.2.15)v=(v1v2v3)=(a11a12a13a21a22a23a31a32a33)(v1v2v3)Av

Where A is the matrix with elements aij . It is clear that (1.2.9) can be written as

(1.2.16)v=ATv

where the superscript T indicates transposition.

Now we will derive an important property of A . By introducing (1.2.10) in (1.2.9) we obtain

(1.2.17)vj=aijaikvk

Note that it was necessary to change the dummy index in equation(1.2.10)to satisfy the summation convention. Equation(1.2.17) implies that any of the three components of v is a combination of all three components. However, this cannot be generally true because v is an arbitrary vector.

Therefore, the right-hand side of equation (1.2.17) must be equal to vj , which in turn implies that the product aijaik must be equal to unity when j=k, and equal to zero when ji . This happens to be the definition of the Kronecker delta δjk introduced in equation (1.2.7), so that

(1.2.18)aijaik=δjk

If equation (1.2.9) is introduced in equation (1.2.10) we obtain

(1.2.19)aijakj=δik

Setting i=k in equation (1.2.19) and writing in full gives

(1.2.20)1=ai12+ai22+ai32=|ei|2;(i=1,2,3)

where the equality on the right-hand side follows from(1.2.2).

Whenij ,equation(1.2.19) transform into

(1.2.21)0=ai1ak1+ai2ak2+ai3ak3=eiek

where the equality on the right-hand side also follows from (1.2.2). Therefore, (1.2.19) summarizes the fact that the ej are unit vectors orthogonal to each other, while (1.2.18) does the same thing for the eis. Any set of vectors having these properties is known as an orthonormal set.

In matrix form, equation (1.2.18) and (1.2.19) can be written as

(1.2.22)ATA=AAT=I

Where I is the identity matrix.

Equation(1.2.22) can be written in the following useful way:

(1.2.23)AT=A1

(1.2.24)(AT)1=A

where the superscript-1 indicates matrix inversion. From (1.2.23) we also find

(1.2.25)|AAT|=|A||AT|=|I|=1,

where vertical bars indicate the determinant of a matrix.

Linear transformations with a matrix such that its determinant squared is equal to 1 are known as orthogonal transformations. When |A|=1 , the transformation of one coordinate axis in a coordinate plane. An example of reflection is the transformation that leave the x1 and x2 axes unchanged and replaces the x3 axis by x3 . Reflections change the orientation of the space: if the original system is right-handed, then the new system is left-handed , and vice versa.

​ figure 1. Rotation of Axes. Primed and unprimed quantities refer to the original and rotated coordinate systems, respectively. Both

1.3 Rotation Matrices in two, three and n-dimensions space

A matrix is a representation of a linear transformation described in 1.2 chapter, which can be viewed as a machine that consumes a vector and spits out another vector. A rotation is a transformation with the property that the vector consumed by the machine and the vector spit out by the machine have the same length. That is, physically rotating a vector by an angle θ leaves the length of the vector unchanged. As a matrix equation, if A is a rotation and v is a vector ,then

(1.3.1)v=Av,where||v||L2=||v||L2

A. Property of Two Dimension Rotation Matrices

In the case of n=2 . it is easy to work out the form of the most general real orthogonal matrix. set A is 2D rotation matrix

(1.3.2)A=[abcd]

According to property of rotation matrix AAT=I , we can obtain

(1.3.3)(abcd)(acbd)=(1001)

Thus, we can obtain three constraint equations, as expected from

(1.3.4)(a2+b2ac+bdac+bdc2+d2)=(1001)

Thus, we can obtain three constraint equations:

(1.3.5)a2+b2=1c2+d2=1ac+bd=0

We now consider separately the cases of proper and improper rotations. In the case of proper rotations, we add a fourth equation (1.3.5)

(1.3.6)detA=adbc=1

Suppose that b0 and c0 . From equation(1.3.5) ,it follows that d=ac/b. Substituting this into equation (1.3.6) yields,

(1.3.7)a2+b2=b/c

Combining equation. and(), we conclude that b=c. Plugging this result back into yields a=d . With these results, is automatically satisfied in light of . Hence,the most general 2×2 real orthogonal matrix with determinant equal to 1 is given by,

(1.3.8)A=(abba),witha2+b2=1and|a|1,|b|1

Without loss of generality, we can set a=cos(θ) and b=1a2=±sinθ ,since cos(θ) and sin(θ) satisfy same properties as a and b, namely, sin2θ+cos2θ=1 and |sin(θ)|1 ,|cos(θ)|1 for 0θ2π . Indeed, the rotation matrix,

(1.3.9)A=(cosθsinθsinθcosθ)

represent a proper counterclockwise rotation by an angle θ in the plane, as discussed .

In the case of improper rotations, we start with A¯=[a,b;c,d] and impose A¯A¯T=I , which again we can obtain follow equations:

(1.3.10)detA¯=adbc=1

Suppose that b0 and c0 . From equation (1.3.5) , it follows that d=ac/b. Substituting this into equation(1.3.5) :

(1.3.11)a2+b2=b/c

we can conclude that b=c. Plugging this result into equation (1.3.5) yields a=d .With these results, eq(1.3.11) is automatically satisfied in light of .Hence, the most general 2×2 real orthogonal matrix with determinant equal to -1 is given by,

(1.3.12)A¯=(abba)witha2+b2=1and|a|1,|b|1

we can again set a=cosθ and b=±1a2=±sinθ. Thus, an example of an improper rotation matrix is,

(1.3.13)A¯=(cosθsinθsinθcosθ)where(0θ<2π)

This matrix satisfies the property, R¯2=I . Note that we can express A given equation (1.3.9) as the product of a proper rotation and a reflection,

B. Property of Three Dimension Rotation Matrices

It becomes quickly evident that the methods used in the previous section become much less practical for n=3. In this section I shall present the explicit form of the 3×3 proper rotation matrix along with its most important properties. A derivation of the rotation matrix is given in an Appendix to these notes.

As previous noted, the most general three-dimensional rotation, which we henceforth by A(n^,θ), can be specified by an-axis of rotation pointing in the direction of the unit vector n^ , and a rotation angle θ . Conventionally, a positive rotation angle θ corresponds to a counterclockwise rotation. The direction of the axis is determined by the right hand rule. Namely, curl the fingers of your right hand around the axis of rotation, where your fingers point in the θ direction. Then, your thumb points perpendicular to the plane of rotation in the direction of n^ . In general, rotation matrices do not commute under multiplication. However, if both rotations are taken with respect to the same fixed axis, then

(1.3.14)A(n^,θ1)A(n^,θ2)=A(n^,θ1+θ2)

Simple geometric considerations will convince you that the following relations are satisfied:

(1.3.15)A(n^,θ+2kπ)=A(n^,θ)(k=±1,±2,...)

(1.3.16)[A(n^,θ)]1=A(n^,θ)=A(n^,θ)

Combining these two results, it follows that

(1.3.17)A(n^,2πθ)=A(n^,θ)

which implies that any three-dimensional rotation can be described by a counterclockwise rotation by an angle θ about an arbitrary axis n^ , where 0θπ. However, if we substitute θ=π , we conclude that

(1.3.18)A(n^,π)=A(n^,π)

which means that for the special case of θ=π , A(n^,π) and A(n^,π) represent the same rotation. In particular, note that

(1.3.19)[A(n^,π)]2=I

Indeed for any choice of n^ , the A(n^,π) are the only non-trivial rotation matrices whose square is equal to the identity matrix. Finally, if θ=0 then R(n^,0)=I is the identity matrix (sometimes called the trivial rotation), independently of the direction of n^.

We now present an explicit form for A(n^,θ). Since A(n^,θ) describes a rotation by an angle θ about an axis n^ , the formula for A(n^,θ) will depend on the angle θ and on the coordinates of n^=(n1,n2,n3) with respect to a fixed Cartesian coordinate system. Note that since n^ is a unit vector, it follows that,

(1.3.20)n12+n22+n32=1

We can also express n^ in terms of its polar and azimuthal angles (θn and ϕn, respectively) with respect to a fixed zaxis. In particular,

(1.3.21)n1=sinθncosϕn, n2=sinθnsinϕn, n3=cosθn

One can check that equation (1.3.20) is indeed satisfied. Thus, n^ depends on two independent parameters, θn and ϕn , which together with the rotation angle θ constitute the three independent parameters that describe a three dimensional rotation.

The explicit formula for the real orthogonal 3×3 matrix A(n^,θ) with determinant equal to 1 is given by,

(1.3.22)A(n^,θ)=(cosθ+n12(1cosθ)n1n2(1cosθ)n3sinθn1n3(1cosθ)+n2sinθn1n2(1cosθ)+n3sinθcosθ+n22(1cosθ)n2n3(1cosθ)n1sinθn1n3(1cosθ)n2sinθn2n3(1cosθ)+n1sinθcosθ+n32(1cosθ))

One can easily check that equations (1.3.15) and(1.3.16), the rotations A(n^,π) represent the same rotation, and are writen as tensor form

(1.3.23)A(n^,π)=(2n1212n1n22n1n32n1n22n2212n2n32n1n32n2n32n321)=2ninjδij

where the Kronecker δ symbol was introduced in equation . Finally,as expected, A(n^,0)=δij , independently of the direction of n^ . I leave it as an exercise to the student to verify explicitly that A=A(n^,θ) given in equation (1.3.22) satisfies the conditions AAT=I and detA=1 .

Although equation (1.3.22) looks complicated, one can present an elegant expression for the matrix elements of A(n^,θ), denoted below by Rij. Indeed, it is not difficult to check that the following expression for Rij is equivalent to the matrix elements of A(n^,θ) exhibited in equation (1.3.22)

(1.3.24)Aij(n^,θ)=δijcosθ+(1cosθ)ninjϵijknksinθ

where ϵijk is the Levi-Civita epsilon symbol, which is defined as follows,

(1.3.25)ϵijk={+1, if {i,j,k} is an even permutation of {1,2,3},1, if {i,j,k} is an odd permutation of {1,2,3},0, if not all the integers 1,2,3 are distinct. 

Note that ϵijk is the n=3 version of the Levi-Civita symbol introduced in the class handout entitled Determinant and the Adjugate.

It is instructive to check special cases of equation(1.3.22). For example, suppose we choose n^=k corresponding to a rotation axis that points along the positive zdirection. In this case, n1=n2=0 and n3=1 , and equation(1.3.22) becomes

(1.3.26)A(k,θ)=(cosθsinθ0sinθcosθ0001)

Of course, equation (1.3.26) is the expected result given the form of the two-dimension rotation matrix given in equation (1.3.9).

Likewise, one can choose either n^=i or n^=j corresponding to rotation axes that point along the positive xdirection (i.e. , n2=n3=1andn1=1) or along the positive y-direction (i.e., n1=n3=0 and n2=1), respectively. In these cases, equation (1.3.22) yields,

(1.3.27)A(i,θ)=(1000cosθsinθ0sinθcosθ)

(1.3.28)A(j,θ)=(cosθ0sinθ010sinθ0cosθ)

To learn more about the properties of a general three-dimensional rotation, consider the matrix representation A(n^,θ), with respect to the standard basis Bs=(i,j,k) . We can define a new coordinate system in which the unit vector n^ points in the direction of the new zaxis; the corresponding new basis will be denoted by Bs . The matrix representation of the rotation with respect to B is then given by equation(1.3.26);

Using the formalism developed in the class handout, Vector coordinates, matrix elements,changes of basis, and matrix diagonalization, there exists a real 3×3 special orthogonal matrix P such that

(1.3.29)A(n^,θ)=PA(k,θ)P1

where A(k,θ) is given by equation (1.3.26). In Appendix A, we will determine an explicit form of the matrix P . However, the mere existence of the matrix P in equation (1.3.29) is sufficient to provide a simple algorithm for determining the rotation axis n^ (up to an overall sign) and the rotation angle θ that characterize a general three-dimensional rotation matrix.

C. Determining the rotation axis and the rotation angle

Given a general three-dimensional rotation matrix, A(n^,θ), we can determine the angle of rotation θ and the axis of rotation n^ . Using equation (1.3.22), the trace of A(n^,θ) is given by:

(1.3.30)TrA(n^,θ)=1+2cosθ

which coincides with our previous result obtain in equation (1.3.30). Thus, yields,

(1.3.31)cosθ=12(TrA1)sinθ=(1cos2θ)=12(3TrA)(1+TrA)

where 0sinθ1 is a consequence of the range of the rotation angle, 0θπ.

To determine n^, we multiply equation (1.3.24) by ϵijk and sum over i and j. Noting that

(1.3.32)ϵijmδij=ϵijmninj=0ϵijkϵijm=2δkm

it follows that

(1.3.33)2nmsinθ=Aijϵijm

If A is a symmetric matrix (i.e. Rij=Rji), then Rijϵijm=0 automatically since ϵijk is antisymmetric under the interchange of the indices i and j. In this case sinθ=0, and we must seek other means to determine n^ . If sinθ0, then one can divide both sides of equation (1.3.33) by sinθ. Using equation (1.3.33), we obtain:

(1.3.34)nm=Aijϵijm2sinθ=Aijϵijm(3TrA)(1+TrA)

More explicitly,

(1.3.35)n^=1(3TrA)(1+TrA)(A32A23,A13A31,A21A12)TrA1,3

If we multiply equation (1.3.33) by nm and sum over m, then

(1.3.36)sinθ=12ϵijmAijnm

after using nmnm=1. This provides an additional check on the determination of the rotation angle.

Alternatively, we can define a matrix S whose matrix elements are given by:

(1.3.37)Sjk=Ajk+Akj+(1TrA)δjk=2(1cosθ)njnk=(3TrR)njnk

after using equation (1.3.24) for Ajk. Hence,

(1.3.38)njnk=Sjk3TrATrA3

To determine n^ up to an overall sign, we simply set j=k (no sum) in equation (1.3.38), which fixes the value of

(1.3.39)nj2=Sjj3TrA,TrA3

If sinθ0, the overall sign of n^ is fixed by equation (1.3.34) by nm . Note that equation (1.3.37) implies that TrS=3TrA. Summing over j in equation (1.3.39) then yields

(1.3.40)n^n^=TrS3TrR=1

as required for a unit vector. As noted above, if A is a symmetric matrix (i.e. Aij=Aji), then sinθ=0 and n^ cannot be determined from equation (1.3.34) . In this case, equation (1.3.30) determines whether cosθ=+1 or cos=1. For cosθ=1 , equation (1.3.39) yields njnk=14Sik , which determines n^ up to an overall sign. Equivalently, one can use equation (1.3.22) to derive

(1.3.41)n^=(ϵ112(1+A11),ϵ212(1+A22),ϵ312(1+A33)),if TrA=1

where the individual signs ϵi=±1 are determined up to an overall sign via

(1.3.42)ϵiϵj=Aij(1+Aii)(1+Ajj),for fixed ij,Aii1,Ajj1

where the individual signs of n^ is immaterial. Finally, in the case of cosθ=1(which corresponds to TrA=3), A(n^,0)=I is the 3×3 identity matrix, which is independent of the direction of n^ .To summarize, equation(1.3.31), (1.3.3.35), (1.3.38) provide a simple algorithm for determining the unit vector n^ and the rotation angle θ for any rotation matrix A(n^,θ)I.

D. Euler angle representation of R(n^,θ)

An arbitrary rotation matrix can be written as:

(1.3.30)A(n^,θ)=A(z^,α)A(y^,β)A(z^,γ)

where α, β and γ are called the Euler angles. The ranges of the Euler angles are: 0α,γ<2π and 0βπ. We shall prove these statements “by construction.” That is, we shall explicitly derive the relations between the Euler angles and the angles θ,θn and ϕn that characterize the rotation R(n^,θ), where θn and ϕn are the polar and azimuthal angle that define the axis of rotation n^ ,

(1.3.31)n^=(sinθncosϕn,sinθnsinϕn,cosθn)

Multiplying out the three matrices on the right-hand side of equation (1.3.30), we obtain the Euler angle parameterization of the three-dimensional rotation matrix.

(1.3.32)R(n^,θ)=(cosαcosβcosγsinαsinγcosαcosβsinγsinαcosγcosαsinβcosαcosβcosγ+cosαsinγsinαcosβsinγ+cosαcosγsinαsinβsinβcosγsinβsinγcosβ)

One can now make use of the results of section 4 to obtain θ and n^ in terms of the Euler angles α,β and γ .

Appendix A. An explicit formula for the Rotation Matrix

Suppose we wish to determine the explicit form of the rotation matrix A(n^,θ). Here is one possible strategy. The matrix A(n^,θ) is specified with respect to the standard Bs=(i,j,k) . Given that the explicit form for A(n^,k) is known according to equation (1.3.29) suggests that we should transform to a new orthonormal basis, Bs=(i,j,k) , in which new positive zaxis points the direction of n^ . That is,

(A-1)k=n^(n1,n2,n3)

(A-2)n12+n22+n32=1

The new positive y-axis can be chosen to lie along

(A-3)j=(n2n12+n22,n1n12+n22,0)

since by construction, j is a unit vector orthogonal to k . We complete the new right-handed coordinate system by choosing:

(A-4)i=j×k=|ijkn2n12+n22n1n12+n220n1n2n3|=(n3n1n12+n22,n3n2n12+n22,n12+n22)

Following the class handout entitled, Vector coordinates, matrix elements, changes of basis, and matrix elements, changes of basis, and matrix diagonalization, we determine the matrix P whose matrix elements are defined by

(A-5)bj=i=1nPije^i

where the e^i=(i,j,k) are the basis vectors of Bs and the bj are the basis vectors of Bs .The columns of P are the coefficients of expansion of the new basis vectors in terms of the old basis vectors. Thus,

(A-6)P=(n3n1n12+n22n2n12+n22n1n3n2n12+n22n1n12+n22n2n12+n220n3)

The inverse P1 is easily computed since the columns of P are orthonormal, which implies that P is an orthogonal matrix, i.e. P1=PT .

According to equation (16), of the class handout, Vector coordinates, matrix elements, changes of basis and matrix diagonalization,

(A-7)[A]B=P1[A]BsP

where [A]B is the matrix A with respect to the standard basis, and [A]B is the matrix A with respect to the new basis (in which n^ points along the new positive zaxis). In particular,

(A-8)[A]B=A(n^,θ)

(A-9)[R]B=R(k,θ)=(cosθsinθ0sinθcosθ0001)

Hence, equation (A-6) yields

(A-10)R(n^)=PA(k,θ)P1

where P is given by equation (A-7) and P1=PT .

For ease of notation, we define

(A-11)N12=n12+n22

Note that N122+n32=1, since n^ is a unit vector. Writing out the matrices :

(A-12)R(n^,θ)=(n3n1/N12n2/N12n1n3n2/N12n1/N12n2N120n3)(cosθsinθ0sinθcosθ0001)(n3n1/N12n3n2/N12N12n2/N12n1/N120n1n2n3)=(n3n1/N12n2/N12n1n3n2/N12n1/N12n2N120n3)(n3n1cosθ+n2sinθN12n3n2cosθn1sinθN12N12cosθn3n1sinθn2cosθN12n3n2sinθ+n1cosθN12N12sinθn1n2n3).

Using N122=n12+n22 and n32=1N122, the final matrix multiplication then yields,

(A-13)A(n^,θ)=(cosθ+n12(1cosθ)n1n2(1cosθ)n3sinθn1n3(1cosθ)+n2sinθn1n2(1cosθ)+n3sinθcosθ+n22(1cosθ)n2n3(1cosθ)n1sinθn1n3(1cosθ)n2sinθn2n3(1cosθ)+n1sinθcosθ+n32(1cosθ))

which coincides with the result previously exhibited in the class handout entitled Rotation matrix.

posted @   GeoFXR  阅读(115)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 零经验选手,Compose 一天开发一款小游戏!
· 通过 API 将Deepseek响应流式内容输出到前端
· AI Agent开发,如何调用三方的API Function,是通过提示词来发起调用的吗
点击右上角即可分享
微信分享提示