This preview shows page 1. Sign up to view the full content.
Unformatted text preview: S. Widnall 16.07 Dynamics Fall 2009 Lecture notes based on J. Peraire Version 2.0 Lecture L3  Vectors, Matrices and Coordinate Transformations
By using vectors and defining appropriate operations between them, physical laws can often be written in a simple form. Since we will making extensive use of vectors in Dynamics, we will summarize some of their important properties. Vectors
For our purposes we will think of a vector as a mathematical representation of a physical entity which has both magnitude and direction in a 3D space. Examples of physical vectors are forces, moments, and velocities. Geometrically, a vector can be represented as arrows. The length of the arrow represents its magnitude. Unless indicated otherwise, we shall assume that parallel translation does not change a vector, and we shall call the vectors satisfying this property, free vectors. Thus, two vectors are equal if and only if they are parallel, point in the same direction, and have equal length. Vectors are usually typed in boldface and scalar quantities appear in lightface italic type, e.g. the vector quantity A has magnitude, or modulus, A = A. In handwritten text, vectors are often expressed using the  arrow, or underbar notation, e.g. A , A. Vector Algebra
Here, we introduce a few useful operations which are defined for free vectors. Multiplication by a scalar
If we multiply a vector A by a scalar , the result is a vector B = A, which has magnitude B = A. The A but points in the opposite direction (antiparallel). vector B, is parallel to A and points in the same direction if > 0. For < 0, the vector B is parallel to If we multiply an arbitrary vector, A, by the inverse of its magnitude, (1/A), we obtain a unit vector which ^ is parallel to A. There exist several common notations to denote a unit vector, e.g. A, eA , etc. Thus, we ^ ^ ^ have that A = A/A = A/A, and A = A A, A = 1. 1 Vector addition
Vector addition has a very simple geometrical interpretation. To add vector B to vector A, we simply place the tail of B at the head of A. The sum is a vector C from the tail of A to the head of B. Thus, we write C = A + B. The same result is obtained if the roles of A are reversed B. That is, C = A + B = B + A. This commutative property is illustrated below with the parallelogram construction. Since the result of adding two vectors is also a vector, we can consider the sum of multiple vectors. It can easily be verified that vector sum has the property of association, that is, (A + B) + C = A + (B + C). Vector subtraction
Since A  B = A + (B), in order to subtract B from A, we simply multiply B by 1 and then add. Scalar product ("Dot" product)
This product involves two vectors and results in a scalar quantity. The scalar product between two vectors A and B, is denoted by A B, and is defined as A B = AB cos . Here , is the angle between the vectors A and B when they are drawn with a common origin. We note that, since cos = cos(), it makes no difference which vector is considered first when measuring the angle . Hence, A B = B A. If A B = 0, then either A = 0 and/or B = 0, or, A and B are ^ ^ B = 1, then A B = A cos , is the projection of vector A along the direction of B . orthogonal, that is, cos = 0. We also note that A A = A2 . If one of the vectors is a unit vector, say 2 Exercise Using the definition of scalar product, derive the Law of Cosines which says that, for an arbitrary triangle with sides of length A, B, and C, we have C 2 = A2 + B 2  2AB cos . Here, is the angle opposite side C. Hint : associate to each side of the triangle a vector such that C = AB, and expand C 2 = C C. Vector product ("Cross" product)
This product operation involves two vectors A and B, and results in a new vector C = AB. The magnitude of C is given by, C = AB sin , where is the angle between the vectors A and B when drawn with a common origin. To eliminate ambiguity, between the two possible choices, is always taken as the angle smaller than . We can easily show that C is equal to the area enclosed by the parallelogram defined by A and B. The vector C is orthogonal to both A and B, i.e. it is orthogonal to the plane defined by A and B. The direction of C is determined by the righthand rule as shown. From this definition, it follows that B A = A B , which indicates that vector multiplication is not commutative (but anticommutative). We also note that if in the same direction. Thus, we also have A A = 0. A B = 0, then, either A and/or B are zero, or, A and B are parallel, although not necessarily pointing Having defined vector multiplication, it would appear natural to define vector division. In particular, we number of difficulties with this definition. In particular, if A is not perpendicular to B, the vector C does not exist. Moreover, if A is perpendicular to B then, there are an infinite number of vectors that satisfy A = B C. To see that, let us assume that C satisfies, A = B C. Then, any vector D = C + B, for 3 could say that "A divided by B", is a vector C such that A = B C. We see immediately that there are a that vector division is not a well defined operation. Exercise any scalar , also satisfies A = B D, since B D = B (C + B) = B C = A. We conclude therefore, Show that A B is the area of the parallelogram defined by the vectors A and B, when drawn with a common origin. Triple product
Given three vectors A, B, and C, the triple product is a scalar given by A (B C). Geometrically, the triple product can be interpreted as the volume of the three dimensional parallelepiped defined by the three vectors A, B and C. It can be easily verified that A (B C) = B (C A) = C (A B). Exercise Show that A (B C) is the volume of the parallelepiped defined by the vectors A, B, and C, when drawn with a common origin. Double vector product
The double vector product results from repetition of the cross product operation. A useful identity here is, A (B C) = (A C)B  (A B)C . Using this identity we can easily verify that the double cross product is not associative, that is, A (B C) = (A B) C . Vector Calculus
Vector differentiation and integration follow standard rules. Thus if a vector is a function of, say time, then its derivative with respect to time is also a vector. Similarly the integral of a vector is also a vector. 4 Derivative of a vector
Consider a vector A(t) which is a function of, say, time. The derivative of A with respect to time is defined as, dA A(t + t)  A(t) = lim . t0 dt t of change of a vector will be equal to the sum of the changes due to magnitude and direction. Rate of change due to magnitude changes When a vector only changes in magnitude from A to A + dA, the rate of change vector dA is clearly parallel to the original vector A. (1) A vector has magnitude and direction, and it changes whenever either of them changes. Therefore the rate Rate of change due to direction changes Let us look at the situation where only the direction of the vector changes, while the magnitude stays constant. This is illustrated in the figure where a vector A undergoes a small rotation. From the sketch, it is clear that if the magnitude of the vector does not change, dA is perpendicular to A and as a consequence, the derivative of A, must be perpendicular to A. (Note that in the picture dA has a finite magnitude and therefore, A and dA are not exactly perpendicular. In reality, dA has infinitesimal length and we can see that when the magnitude of dA tends to zero, A and dA are indeed perpendicular). . An alternative, more mathematical, explanation can be derived by realizing that even if A changes but its modulus stays constant, then the dot product of A with itself is a constant and its derivative is therefore zero. A A = constant. Differentiating, we have that, dA A + A dA = 2A dA = 0 , which shows that A, and dA, must be orthogonal. 5 Suppose that A is instantaneously rotating in the plane of the paper at a rate = d/dt, with no change in magnitude. In an instant dt, A, will rotate an amount d = dt and the magnitude of dA, will be dA = dA = Ad = Adt . Hence, the magnitude of the vector derivative is dA dt = A . In the general three dimensional case, the situation is a little bit more complicated because the rotation of the vector may occur around a general axis. If we express the instantaneous rotation of A in terms of an angular velocity (recall that the angular velocity vector is aligned with the axis of rotation and the direction of the rotation is determined by the right hand rule), then the derivative of A with respect to time is simply, dA dt =A . (2) constant magnitude To see that, consider a vector A rotating about the axis C  C with an angular velocity . The derivative A and to the axis of rotation. We note that A has the right direction, and the right magnitude since will be the velocity of the tip of A. Its magnitude is given by l, and its direction is both perpendicular to l = A sin . x Expression (2) is also valid in the more general case where A is rotating about an axis which does not pass through the origin of A. We will see in the course, that a rotation about an arbitrary axis can always be written as a rotation about a parallel axis plus a translation, and translations do not affect the magnitude not the direction of a vector. We can now go back to the general expression for the derivative of a vector (1) and write dA dA dA dA = + = +A . dt dt constant direction dt constant magnitude dt constant direction Note that (dA/dt)constant direction is parallel to A and A is orthogonal to A. The figure below shows the general differential of a vector, which has a component which is parallel to A, dA , and a component by dA . which is orthogonal to A, dA . The magnitude change is given by dA , and the direction change is given 6 Rules for Vector Differentiation
Vector differentiation follows similar rules to scalars regarding vector addition, multiplication by a scalar, and products. In particular we have that, for any vectors A, B, and any scalar , d(A) = dA + dA d(A + B) = dA + dB d(A B) = dA B + A dB d(A B) = dA B + A dB . Components of a Vector
We have seen above that it is possible to define several operations involving vectors without ever introducing a reference frame. This is a rather important concept which explains why vectors and vector equations are so useful to express physical laws, since these, must be obviously independent of any particular frame of reference. In practice however, reference frames need to be introduced at some point in order to express, or measure, the direction and magnitude of vectors, i.e. we can easily measure the direction of a vector by measuring the angle that the vector makes with the local vertical and the geographic north. Consider a righthanded set of axes xyz, defined by three mutually orthogonal unit vectors i, j and k (i j = k) (note that here we are not using the hat (^) notation). Since the vectors i, j and k are mutually orthogonal they form a basis. The projections of A along the three xyz axes are the components of A in the xyz reference frame. In order to determine the components of A, we can use the scalar product and write, Ax = A i, Ay = A j, 7 Az = A k . The vector A, can thus be written as a sum of the three vectors along the coordinate axis which have magnitudes Ax , Ay , and Az and using matrix notation, as a column vector containing the component magnitudes. Ax A = Ax + Ay + Az = Ax i + Ay j + Az k = Ay . Az Vector operations in component form
The vector operations introduced above can be expressed in terms of the vector components in a rather straightforward manner. For instance, when we say that A = B, this implies that the projections of A and B along the xyz axes are the same, and therefore, this is equivalent to three scalar equations e.g. Ax = Bx , Ay = By , and Az = Bz . Regarding vector summation, subtraction and multiplication by a scalar, we have that, if C = A + B, then, Cx = Ax + Bx , Scalar product Since i i = j j = k k = 1 and that i j = j k = k i = 0, the scalar product of two vectors can be written as, A B = (Ax i + Ay j + Az k) (Bx i + By j + Bz k) = Ax Bx + Ay By + Az Bz . Note that, A A = A2 = A2 + A2 + A2 , which is consistent with Pythagoras' theorem. x y z Vector product Here, i i = j j = k k = 0 and i j = k, j k = i, and k i = j. Thus, AB i = (Ay Bz  Az By )i + (Az Bx  Ax Bz )j + (Ax By  Ay Bx )k = Ax Bx = (Ax i + Ay j + Az k) (Bx i + By j + Bz k) k Az . Bz Cy = Ay + By , Cz = Az + Bz . j Ay By Triple product The triple product A (B C) can be expressed as the following determinant Ax Ay Az A (B C) = Bx By Bz , Cx Cy Cz 8 which clearly is equal to zero whenever the vectors are linearly dependent (if the three vectors are linearly dependent they must be coplanar and therefore the parallelepiped defined by the three vectors has zero volume). Vector Transformations
In many problems we will need to use different coordinate systems in order to describe different vector quantities. The above operations, written in component form, only make sense once all the vectors involved are described with respect to the same frame. In this section, we will see how the components of a vector are transformed when we change the reference frame. Consider two different orthogonal, righthand sided, reference frames x1 , x2 , x3 and X1 , X2 , X3 . A vector A in coordinate system x can be transformed to coordinate system X' by considering the 9 angles that define the relationships between the two systems. (Only three of these angles are independent, a point we shall return to later.) Referring to a) in the figure we see the vector A, the x and X' coordinate systems, the unit vectors i1 , i2 , i3 of the x system and the unit vectors i , i , i of the X' system; a) focuses on the transformation of coordinates 1 2 3 from x to X' while b) focuses on the "reverse" transformation from X' to x. 9 In the x coordinate system, the vector A, can be written as A = A1 i1 + A2 i2 + A3 i3 , or, when referred to the frame X', as A = A i + A i + A i . 1 1 2 2 3 3 Since the vector A remains the same regardless of our coordinate transformation A = A1 i1 + A2 i2 + A3 i3 = A i + A i + A i , 1 1 2 2 3 3 (5) (4) (3) We can find the components of the vector A in the transformed system in term of the components of A in the original system by simply taking the dot product of this equation with the desired unit vector i in the j X' system so that A = A1 i i1 + A2 i i2 + A3 i i3 j j j j in the X' system results in the matrix form for A A i i i i 1 1 1 1 2 A2 = i2 i1 i i2 2 A3 i3 i1 i i2 3 (6) where A is the jth component of A in the X' system. Repeating this operation for each component of A j i i3 1 The above expression is the relationship that expresses how the components of a vector in one coordinate system relate to the components of the same vector in a different coordinate system. Referring to the figure, we see that i ii is equal to the cosine of the angle between i and ii which is j i ; in j j particular we see that i i1 = cos21 while i i2 = cos12 ; these angles are in general not equal. Therefore, 2 1 the transformation A = A1 cos j1 + A2 cos j2 + A3 cos j3 j (7) i i3 A2 . 2 i i3 A3 3 A1 the components of the vector A are transformed from the x coordinate system to the X' system through . where the coefficients relating the components of A in the two coordinate systems are the various direction cosines of the angles between the coordinate directions. The above relations for the transformation of A from the x to the X' system can be written in matrix form as A 1 cos (11 ) cos (12 ) cos (13 ) A1 We use the symbol A' to denote the components of the vector A in the ' system. Of course the vector A is unchanged by the transformation. We introduce the symbol [T ] for the transformation matrix from x to X'. 10 A = A = cos (21 ) cos (22 ) cos (23 ) 2 A cos (31 ) cos (32 ) cos (33 ) 3 A2 . A3 (8) This relationship, which expresses how the components of a vector in one coordinate system relate to the components of the same vector in a different coordinate system, is then written A' = [T ]A. where [T ] is the transformation matrix. We now consider the process that transforms the vector A' from the X' system to the x system. A1 cos (11 ) cos (12 ) cos (13 ) A 1 (9) By comparing the two coordinate transformations shown in a) and b), we see that cos(12 )=cos(21 ), and that therefore the matrix element of magnitude cos(12 ) which appears in the 12 position in the transformation matrix from x to X' now appears in the 21 position in the matrix which transforms A from X' to x. This pattern is repeated for all offdiagonal elements. The diagonal elements remain unchanged since cos(ii )=cos(ii ). Thus the matrix which transposes the vector A in the X'system back to the x system is the transpose of the original transformation matrix, A = [T ]T A'. where [T ]T is the transpose of [T ]. (A transpose matrix has the rows and columns reversed.) Since transforming A from x to X' and back to x results in no change, the matrix [T ]T is also [T ]1 the inverse of [T ] since A = [T ]T [T ]A = [T ]1 [T ]A = [I]A = A. where [I] is the identity matrix 1 0 0 (12) (11) A = A2 = cos (21 ) cos (22 ) cos (23 ) A3 cos (31 ) cos (32 ) cos (33 ) A2 . A 3 (10) This is a remarkable and useful property of the transformation matrix, which is not true in general for any matrix. Example Coordinate transformation in two dimensions I= 0 1 0 0 0 1 (13) Here, we apply for illustration purposes, the above expressions to a twodimensional example. Consider the change of coordinates between two reference frames xy, and x y , as shown in the diagram. 11 The angle between i and i is . Therefore, i i = cos . Similarly, j i = cos(/2  ) = sin , i j = cos(/2 + ) =  sin , and j j = cos . Finally, the transformation matrix [T ] is cos (11 ) cos (12 ) cos sin = , [T ] = cos (21 ) cos (22 )  sin cos and we can write, Therefore, A 1 A 2 = [T ] A1 A2 . and A1 A2 = [T ]T A 1 A 2 . A = A1 cos + A2 sin 1 (14) A = A1 sin + A2 cos . 2 as expected. (15) For instance, we can easily check that when = /2, the above expressions give A = A2 , and A = A1 , 1 2 An additional observation can be made. If in three dimensions, we rotate the x, y, z coordinate system about the z axis, as shown in a) leaving the z component unchanged, 12 the transformation matrix becomes cos (11 ) cos (12 ) 0 cos [T ] = cos (21 ) cos (22 ) 0 =  sin 0 0 1 0 and c). sin cos 0 0 Analogous results can be obtained for rotation about the x axis or rotation about the y axis as shown in b) 0 . 1 Sequential Transformations; Euler Angles
The general orientation of a coordinate system can be described by a sequence of rotations about coordinate axis. One particular set of such rotations leads to a description particularly convenient for describing the motion of a threedimensional rigid body in general spinning motion, call Euler angles. We shall treat this topic in Lecture 28. For now, we examine how this rotation fits into our general study of coordinate transformations. A coordinate description in terms of Euler angles is obtained by the sequential rotation of axis as shown in the figure; the order of transformation makes a difference. To develop the description of this motion, we use a series of transformations of coordinates. The final result is shown below. This is the coordinate system used for the description of motion of a general threedimensional rigid body such as a top described in bodyfixed axis. To identify the new position of the coordinate axes as a result of angular displacement through the three Euler angles, we go through a series of coordinate rotations. 13 First, we rotate from an initial X, Y, Z system into an x , y , z system through a rotation about the Z, z axis. x cos sin 0 cos 0 X X The resulting x , y coordinates remain in the X, Y plane. Then, we rotate about the x axis into the x , y , z system through an angle . The x axis remains coincident with the x axis. The axis of rotation for this transformation is called the "line of nodes". The plane containing the x , y coordinate is now tipped through an angle relative to the original X, Y plane. coordinates x 1 0 0 x x y = 0 cos sin y = [T2 ] y . z 0 sin cos z z y = sin z 0 0 Y = [T1 ] Y . 1 Z Z And finally, we rotate about the z , z system through an angle into the x, y, z system. The z axis is called the spin axis. It is coincident with the z axis. x cos sin 0 x y = sin cos 0 y z 0 0 1 z The final coordinate system used to describe the position of the body is shown below. The angle is called the spin; the angle is called the precession; the angle is called the nutation. The total transformation is given by x X = [T3 ] y z x . y = [T3 ][T2 ][T1 ] Y . z Z 14 Euler angles are not always defined in exactly this manner, either the notation or the order of rotations can differ. The particular transformation used in any example should be clearly described. References
[1] J.B. Marion and S.T. Thornton, Classical Dynamics of Particles and Systems, Harcourt Brace, 1995. [2] D. Kleppner and R.J. Kolenkow, An Introduction to Mechnics, McGraw Hill, 1973. 15 MIT OpenCourseWare http://ocw.mit.edu 16.07 Dynamics
Fall 2009 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. ...
View
Full
Document
This note was uploaded on 05/02/2011 for the course DYNAM 101 taught by Professor Matuka during the Spring '11 term at MIT.
 Spring '11
 MAtuka

Click to edit the document details