( ) ( ) ( ) ( ) TNM046: Datorgrafik. Transformations. Linear Algebra. Linear Algebra. Sasan Gooran VT Transposition. Scalar (dot) product:

Size: px
Start display at page:

Download "( ) ( ) ( ) ( ) TNM046: Datorgrafik. Transformations. Linear Algebra. Linear Algebra. Sasan Gooran VT Transposition. Scalar (dot) product:"

Transcription

1 TNM046: Datorgrafik Transformations Sasan Gooran VT 04 Linear Algebra ( ) ( ) =,, 3 =,, 3 Transposition t = 3 t = 3 Scalar (dot) product: Length (Norm): = t = = = Normaliation: ˆ = Linear Algebra = cos(θ) > 0 θ < 90 = 0 θ = 90 < 0 θ > 90 Eample: Find the angle between the two vectors below (answer:.68 radians or degrees) ( ) =,, ( ) =,, 3

2 Linear Algebra Cross (vector) product: = ( ) = ˆ ŷ ẑ 3 3 = sin(θ) ( ) =? ( ) =? 4 P = Basic Transformations (D) Translation P = O P T P T = ( t, t ) OP = OP + T à = + t = + t 5 Basic Transformations (D) Translation 6 3 A B What is the translation vector, from A to B? from B to A? 6

3 Basic Transformations (D) Rotation r θ ϕ P = r P = = r cosϕ = rsinϕ = r cos(ϕ +θ) = r cosϕ cosθ rsinϕ sinθ = rsin(ϕ +θ) = rsinϕ cosθ + r cosϕ sinθ = cosθ sinθ = sinθ + cosθ 7 Basic Transformations (D) Rotation Counter-clockwise rotation b angle θ about the coordinate origin P = R P à = cosθ sinθ sinθ cosθ 8 Basic Transformations (D) Rotation M = Rotation about an arbitrar point M M M r θ P = r P = = M + ( M )cosθ ( M )sinθ = M + ( M )sinθ + ( M )cosθ 9 3

4 Basic Transformations (D) Scaling Fied point: Coordinate origin = s = s à P = S P where s 0 S = 0 s s and s > 0 Scaling values less than reduces the sie of the object Scaling values greater than produce an enlargement s =s : Uniform scaling, which maintains the relative object properties 0 Basic Transformations (D) Scaling Arbitrar fied point: ( f, f ) = f + s ( f ) = f + s ( f ) 4 fied point: (0, 0) Scaled s=s=0.5 Object Scaled s=s= 3 fied point: (, ) Scaled s=s=0.5 Scaled s=s= Object 4 4 Matri representation Homogenous coordinates (translation) = + t t In order to represent this with a matri multiplication we add a third coordinate,. P = T P à = 0 t 0 t 0 0 4

5 Matri representation Homogenous coordinates (translation) T = 0 t 0 t 0 0 T is the translation matri. What is the inverse matri? T =? 3 Matri representation Homogenous coordinates (Rotation) = cosθ sinθ 0 sinθ cosθ P = R P R is the rotation matri. What is the inverse matri? R =? 4 Matri representation Homogenous coordinates (Scaling) s 0 0 = 0 s P = S P S is the scaling matri. What is the inverse matri? S =? 5 5

6 Composite Transformation If two successive translation vectors (t, t ) and (t, t ) are applied to a coordinate position P, the final transformed location P is calculated: P = T(t,t ) { T(t,t )* P } = { T(t,t ) T(t,t )}* P 0 t 0 t t 0 t 0 0 = 0 t + t 0 t + t Composite Transformation Two successive Rotations b θ and θ : P = R(θ ) { R(θ )* P } = { R(θ ) R(θ )}* P = R(θ +θ )* P Two successive Scaling-s: s s s s = s s s s General Pivot-Point Rotation Rotation about an arbitrar point ( M, M ): Step : Translate ( M, M ) to the coordinate origin (0,0) Step : Rotate about (0, 0) Step 3: Translate back to ( M, M ) 0 M = 0 M 0 0 cosθ sinθ 0 sinθ cosθ M 0 M 0 0 cosθ sinθ M ( cosθ)+ M sinθ = sinθ cosθ M ( cosθ) M sinθ

7 General Fied-Point Scaling Scaling about an arbitrar point ( f, f ): Step : Translate ( f, f ) to the coordinate origin (0,0) Step : Scale about (0, 0) Step 3: Translate back to ( f, f ) 0 f s f = 0 f 0 s 0 0 f s 0 f ( s ) = 0 s f ( s ) E: General Scaling Directions We can scale an object in other directions b rotating the object to align the desired scaling directions S θ Step : Rotate the object (b θ) to align Step : Scale in the direction of (, ) Step 3: Rotate back 0 S E: General Scaling Directions = cosθ sinθ 0 sinθ cosθ s s cosθ sinθ 0 sinθ cosθ s cos θ + s sin θ (s s )sinθ cosθ 0 = (s s )sinθ cosθ s sin θ + s cos θ What happens when s =s? 7

8 Reflection Reflection matri across =0 (-ais) Reflection matri across =0 (-ais) Reflection relative to the coordinate origin E: Reflection in = Step : Rotate counter clockwise (45 degrees) (=) à -ais Step : Reflect across the -ais Step 3: Rotate back = cosθ sinθ 0 sinθ cosθ θ = π / = cosθ sinθ 0 sinθ cosθ Shear = + sh = sh 0 = sh = 3 4 8

9 3D transformations, Translation 0 0 t 0 0 t = 0 0 t D Rotation About -ais Counter clockwise r θ r = a P = = a P = When rotating around -ais the -coordinate is unchanged 6 Rotation about -ais: Rotation about -ais: Wh changing the signs in front of sinθ? 3D Rotation = = cosθ sinθ 0 0 sinθ cosθ cosθ 0 sinθ sinθ 0 cosθ Rotation matri about -ais? 7 9

10 Rotation about an ais parallel to one of the coordinate aes Step : Translate so that the rotation ais coincides with the parallel coordinate ais Step : Perform the specified rotation about that ais Step 3: Translate back R(α) = T R co ais (α)*t 8 Eample: Counterclockwise rotation b 30 degrees about the ais passing through M:(,, 3) and M:(,, 3) (vector from M to M) The vector going from M to M is ( 3)-( 3)=(0 0), which is obviousl parallel to -ais 0 0 cos( π 6 ) 0 sin(π 6 ) 0 R( π 6 ) = sin( π ) 0 cos(π 6 ) Are there an other translations that work? 9 Rotation about an ais parallel to one of the coordinate planes Step : Translate the object so that the rotation ais passes through the coordinate origin. This vector is now on one of the coordinate planes. Step : Rotate the object so that the ais of rotation coincides with one of the coordinate aes (one rotation is needed) Step 3: Perform the specified rotation about that ais Step 4: Rotate back Step 5: Translate back R(α) = T R ais >co ais R co ais (α) R ais >co ais T 30 0

11 Eample: Counterclockwise rotation b 30 degrees about the ais passing through M:(,, 3) and M:(,, 4) (vector from M to M) The vector going from M to M is ( 4)-( 3)=(0 ), which is obviousl parallel to YZ-plane (The translation is as before) It is easil seen that if we rotate (0,, ) b 45 degrees and counterclockwise around X-ais, it will coincide with the Z-ais cos( π 4 ) sin(π 4 ) 0 R ais >co_ ais = 0 sin( π 4 ) cos(π 4 ) Eample: Continuation cos( π cos( π R = T 4 ) sin(π 4 ) 0 6 ) sin(π 6 ) sin( π sin( π 4 ) cos(π 4 ) 0 6 ) cos(π 6 ) cos( π 4 ) sin(π 4 ) 0 0 sin( π T ) cos(π 4 ) Where, T = Rotation about an arbitrar ais that is not parallel to an coordinate aes, or coordinate planes. Step : Translate the object so that the rotation ais passes through the coordinate origin Step : Rotate the object so that the ais of rotation coincides with one of the coordinate aes (two rotations are needed) Step 3: Perform the specified rotation about the coordinate ais Step 4: Rotate back Step 5: Translate back R(α) = T R ais >co ais R co ais (α) R ais >co ais T 33

12 M = m m m M = Ee m m m = U M M = ( m m, m m, m m ) U û = = (a, b,c) The vector is normalied U a + b + c =? 34 After translation (Step ) û = (a, b, c) 0 0 m 0 0 T = m 0 0 m Two rotations are needed to make u coincide with one of the coordinate aes. (step ) Here we find the rotations to coincide it with -ais The first rotation is about the -ais b φ to rotate u to the -plane (clockwise) The second rotation is about the -ais b θ to align that with û = (a, b, c) -ais (clockwise) θ ϕ v = (a, b, 0) 36

13 The first rotation: ˆ v = ˆ v set d = a + b cosϕ = a + b cosϕ ˆ v à cosϕ = a = (, 0, 0) (a, b, 0) = a d sinϕ = ± ( a d ) = ± b d if b > 0 --> 0 ϕ π --> sinϕ 0 if b < 0 --> π ϕ π --> sinϕ 0 Therefore: sinϕ = b d ϕ û = (a, b, c) v = (a, b, 0) 37 The second rotation: ẑ û = ẑ û cosθ = cosθ ẑ û = (0, 0,) (a, b, c) = c à cosθ = c Since 0 θ π then sinθ 0 sinθ = cos θ = c = d θ û = (a, b, c) Observe: a + b + c = and d = a + b 38 R ais >co ais = R(α) = T R ais >co ais R co ais (α) R ais >co ais T Notice: Clockwise rotations cosθ 0 sinθ sinθ 0 cosθ Step cosϕ sinϕ 0 0 sinϕ cosϕ R ais >co ais = c 0 d d 0 c a / d b / d 0 0 b / d a / d

14 Wh? R(α) = T R ais >co ais R co ais (α) R ais >co ais T Step 4 R ais >co ais Step 5 = a / d b / d 0 0 b / d a / d m 0 0 T = m 0 0 m c 0 d d 0 c R(α) = T R ais >co ais R co ais (α) R ais >co ais T Notice that in the approach presented here we coincided the ais of rotation with -ais. Therefore the coordinate ais is -ais. cos(α) sin(α) 0 0 sin(α) cos(α) 0 0 R co ais = Step 3 4 Eercises Eercise : Counterclockwise rotation b α about the ais passing through M:(,, 3) and M:(,, 5) (vector from M to M) Eercise : Counterclockwise rotation b α about the ais passing through M: (0, 0, 0) and M: (-, 3, -6) (vector from M to M) 4 4

15 Parallel Projection Just to make it consistent with the assignments in the labs, here we rearranged the, and -aes. The plane is the view plane and the -ais points towards the viewer. P = If the parallel projection on the view plane (-plane or =0) occurs along the -direction, then: = = P = = = Parallel Projection If the view plane is parallel to -plane, = v. P = If the parallel projection on the view plane (= v ) occurs along the -direction, then: P = = = = v = v Coordinate Sstem Transformation The aes of the two coordinate sstems are parallel. Assume that a point P has coordinates,, and coordinates u, v, n V N ( ) t in ( ) t in coordinate sstem. O = o o o U 0 0 o 0 0 T = o 0 0 o O T transforms (translates) sstem to sstem. 45 5

16 Coordinate Sstem Transformation The aes of the two coordinate sstems are parallel. u 0 0 o v 0 0 = o n 0 0 o o 0 0 = o 0 0 o u v n In order not to get confused think of the coordinates of the origin of the sstem (O ), which is (0,0,0) in, but ( ) t O = o, o, o in sstem. 46 Coordinate Sstem Transformation One of the aes are parallel (here and N) but UV plane is rotated b θ in relation to plane. V N θ O = ( o, o, o ) t U The view coordinate sstem is transformed to b a translation followed b a clockwise rotation about -ais. O 47 Coordinate Sstem Transformation The -aes are parallel but are rotated b θ. u v n = cosθ sinθ 0 0 sinθ cosθ o 0 0 o 0 0 o o 0 0 = o 0 0 o cosθ sinθ 0 0 sinθ cosθ u v n 48 6

17 Coordinate Sstem Transformation None of the aes are parallel First a translation is needed. Assume then that the unit vectors of the V coordinate aes of the sstem can be epressed in coordinates. U O = ( o, o, o ) t û = (u N,u,u ) ˆv = (v, v, v ) ˆn = (n, n, n ) O 49 Coordinate Sstem Transformation None of the aes are parallel u u u u o v v = v v o n n n n o o u v n = o u v n o u v n u v n 50 Coordinate Sstem Transformation Few points: In order to better understand the transformations in previous page, think of a point that has the coordinate (0,0,) in the sstem, then ou can see that it is first transformed to (n,n,n ) and then translated. What is the coordinates of a point with coordinates (,0,0) in the sstem? Make sure that ou have understood these transformations b tring some obvious coordinates. Notice that the inverse of a matri whose rows (or columns) make an orthonormal base is equal to its transpose. 5 7

18 Coordinate Sstem Transformation V N In practice ou usuall have the position of the camera (O ), the direction it is looking towards (N) and an up direction (V ) which is not necessaril perpendicular to N. If we now find an orthonormal base for the sstem then we have the transformation matri. O = ( o, o, o ) t O 5 Coordinate Sstem Transformation V V N ˆn = N = (n, n, n ) N In some literature this might be defined as ˆn = N Then U has to be perpendicular to the plane of N and V : V N û = V N = (u,u,u ) U N V has to be perpendicular to both U and N. O ˆv = ˆn û = (v, v, v ) 53 The transformations are now as shown on Page 50 8

we must pay attention to the role of the coordinate system w.r.t. which we perform a tform

we must pay attention to the role of the coordinate system w.r.t. which we perform a tform linear SO... we will want to represent the geometr of points in space we will often want to perform (rigid) transformations to these objects to position them translate rotate or move them in an animation

More information

Two conventions for coordinate systems. Left-Hand vs Right-Hand. x z. Which is which?

Two conventions for coordinate systems. Left-Hand vs Right-Hand. x z. Which is which? walters@buffalo.edu CSE 480/580 Lecture 2 Slide 3-D Transformations 3-D space Two conventions for coordinate sstems Left-Hand vs Right-Hand (Thumb is the ais, inde is the ais) Which is which? Most graphics

More information

we must pay attention to the role of the coordinate system w.r.t. which we perform a tform

we must pay attention to the role of the coordinate system w.r.t. which we perform a tform linear SO... we will want to represent the geometr of points in space we will often want to perform (rigid) transformations to these objects to position them translate rotate or move them in an animation

More information

Rigid Body Transforms-3D. J.C. Dill transforms3d 27Jan99

Rigid Body Transforms-3D. J.C. Dill transforms3d 27Jan99 ESC 489 3D ransforms 1 igid Bod ransforms-3d J.C. Dill transforms3d 27Jan99 hese notes on (2D and) 3D rigid bod transform are currentl in hand-done notes which are being converted to this file from that

More information

Transformations. Chapter D Transformations Translation

Transformations. Chapter D Transformations Translation Chapter 4 Transformations Transformations between arbitrary vector spaces, especially linear transformations, are usually studied in a linear algebra class. Here, we focus our attention to transformation

More information

CS 378: Computer Game Technology

CS 378: Computer Game Technology CS 378: Computer Game Technolog 3D Engines and Scene Graphs Spring 202 Universit of Teas at Austin CS 378 Game Technolog Don Fussell Representation! We can represent a point, p =,), in the plane! as a

More information

Affine transformations. Brian Curless CSE 557 Fall 2014

Affine transformations. Brian Curless CSE 557 Fall 2014 Affine transformations Brian Curless CSE 557 Fall 2014 1 Reading Required: Shirle, Sec. 2.4, 2.7 Shirle, Ch. 5.1-5.3 Shirle, Ch. 6 Further reading: Fole, et al, Chapter 5.1-5.5. David F. Rogers and J.

More information

Affine transformations

Affine transformations Reading Required: Affine transformations Brian Curless CSE 557 Fall 2009 Shirle, Sec. 2.4, 2.7 Shirle, Ch. 5.-5.3 Shirle, Ch. 6 Further reading: Fole, et al, Chapter 5.-5.5. David F. Rogers and J. Alan

More information

Fundamentals of Applied Electromagnetics. Chapter 2 - Vector Analysis

Fundamentals of Applied Electromagnetics. Chapter 2 - Vector Analysis Fundamentals of pplied Electromagnetics Chapter - Vector nalsis Chapter Objectives Operations of vector algebra Dot product of two vectors Differential functions in vector calculus Divergence of a vector

More information

2D Geometric Transformations. (Chapter 5 in FVD)

2D Geometric Transformations. (Chapter 5 in FVD) 2D Geometric Transformations (Chapter 5 in FVD) 2D geometric transformation Translation Scaling Rotation Shear Matri notation Compositions Homogeneous coordinates 2 2D Geometric Transformations Question:

More information

Vectors & Coordinate Systems

Vectors & Coordinate Systems Vectors & Coordinate Systems Antoine Lesage Landry and Francis Dawson September 7, 2017 Contents 1 Motivations & Definition 3 1.1 Scalar field.............................................. 3 1.2 Vector

More information

Reading. 4. Affine transformations. Required: Watt, Section 1.1. Further reading:

Reading. 4. Affine transformations. Required: Watt, Section 1.1. Further reading: Reading Required: Watt, Section.. Further reading: 4. Affine transformations Fole, et al, Chapter 5.-5.5. David F. Rogers and J. Alan Adams, Mathematical Elements for Computer Graphics, 2 nd Ed., McGraw-Hill,

More information

9.2. Cartesian Components of Vectors. Introduction. Prerequisites. Learning Outcomes

9.2. Cartesian Components of Vectors. Introduction. Prerequisites. Learning Outcomes Cartesian Components of Vectors 9.2 Introduction It is useful to be able to describe vectors with reference to specific coordinate sstems, such as the Cartesian coordinate sstem. So, in this Section, we

More information

Introduction to 3D Game Programming with DirectX 9.0c: A Shader Approach

Introduction to 3D Game Programming with DirectX 9.0c: A Shader Approach Introduction to 3D Game Programming with DirectX 90c: A Shader Approach Part I Solutions Note : Please email to frank@moon-labscom if ou find an errors Note : Use onl after ou have tried, and struggled

More information

CS 335 Graphics and Multimedia. 2D Graphics Primitives and Transformation

CS 335 Graphics and Multimedia. 2D Graphics Primitives and Transformation C 335 Graphics and Multimedia D Graphics Primitives and Transformation Basic Mathematical Concepts Review Coordinate Reference Frames D Cartesian Reference Frames (a) (b) creen Cartesian reference sstems

More information

Graphics Example: Type Setting

Graphics Example: Type Setting D Transformations Graphics Eample: Tpe Setting Modern Computerized Tpesetting Each letter is defined in its own coordinate sstem And positioned on the page coordinate sstem It is ver simple, m she thought,

More information

Computer Graphics: 2D Transformations. Course Website:

Computer Graphics: 2D Transformations. Course Website: Computer Graphics: D Transformations Course Website: http://www.comp.dit.ie/bmacnamee 5 Contents Wh transformations Transformations Translation Scaling Rotation Homogeneous coordinates Matri multiplications

More information

Lecture 5: 3-D Rotation Matrices.

Lecture 5: 3-D Rotation Matrices. 3.7 Transformation Matri and Stiffness Matri in Three- Dimensional Space. The displacement vector d is a real vector entit. It is independent of the frame used to define it. d = d i + d j + d k = dˆ iˆ+

More information

CS 354R: Computer Game Technology

CS 354R: Computer Game Technology CS 354R: Computer Game Technolog Transformations Fall 207 Universit of Teas at Austin CS 354R Game Technolog S. Abraham Transformations What are the? Wh should we care? Universit of Teas at Austin CS 354R

More information

Name These exercises cover topics from Algebra I and Algebra II. Complete each question the best you can.

Name These exercises cover topics from Algebra I and Algebra II. Complete each question the best you can. Name These eercises cover topics from Algebra I and Algebra II. Complete each question the best you can. Multiple Choice: Place through the letter of the correct answer. You may only use your calculator

More information

University of Alabama Department of Physics and Astronomy. PH 125 / LeClair Spring A Short Math Guide. Cartesian (x, y) Polar (r, θ)

University of Alabama Department of Physics and Astronomy. PH 125 / LeClair Spring A Short Math Guide. Cartesian (x, y) Polar (r, θ) University of Alabama Department of Physics and Astronomy PH 125 / LeClair Spring 2009 A Short Math Guide 1 Definition of coordinates Relationship between 2D cartesian (, y) and polar (r, θ) coordinates.

More information

Lecture 27: More on Rotational Kinematics

Lecture 27: More on Rotational Kinematics Lecture 27: More on Rotational Kinematics Let s work out the kinematics of rotational motion if α is constant: dω α = 1 2 α dω αt = ω ω ω = αt + ω ( t ) dφ α + ω = dφ t 2 α + ωo = φ φo = 1 2 = t o 2 φ

More information

Geometry review, part I

Geometry review, part I Geometr reie, part I Geometr reie I Vectors and points points and ectors Geometric s. coordinate-based (algebraic) approach operations on ectors and points Lines implicit and parametric equations intersections,

More information

All parabolas through three non-collinear points

All parabolas through three non-collinear points ALL PARABOLAS THROUGH THREE NON-COLLINEAR POINTS 03 All parabolas through three non-collinear points STANLEY R. HUDDY and MICHAEL A. JONES If no two of three non-collinear points share the same -coordinate,

More information

The choice of origin, axes, and length is completely arbitrary.

The choice of origin, axes, and length is completely arbitrary. Polar Coordinates There are many ways to mark points in the plane or in 3-dim space for purposes of navigation. In the familiar rectangular coordinate system, a point is chosen as the origin and a perpendicular

More information

CS 4300 Computer Graphics. Prof. Harriet Fell Fall 2011 Lecture 11 September 29, 2011

CS 4300 Computer Graphics. Prof. Harriet Fell Fall 2011 Lecture 11 September 29, 2011 CS 4300 Computer Graphics Prof. Harriet Fell Fall 2011 Lecture 11 September 29, 2011 October 8, 2011 College of Computer and Information Science, Northeastern Universit 1 Toda s Topics Linear Algebra Review

More information

ED209 TWO DIMENSIONAL TRANSFORMATIONS

ED209 TWO DIMENSIONAL TRANSFORMATIONS ED209 TWO DIMENSIONAL TRANSFORMATIONS Department of Engineering Design Indian Institute of Technology Madras 1 TRANSFORMATION OF POINTS Consider the results of the multiplication of a matri point P and

More information

Vector and Affine Math

Vector and Affine Math Vector and Affine Math Computer Science Department The Universit of Teas at Austin Vectors A vector is a direction and a magnitude Does NOT include a point of reference Usuall thought of as an arrow in

More information

1. Vectors.

1. Vectors. 1. Vectors 1.1 Vectors and Matrices Linear algebra is concerned with two basic kinds of quantities: vectors and matrices. 1.1 Vectors and Matrices Scalars and Vectors - Scalar: a numerical value denoted

More information

1 Matrices and matrix algebra

1 Matrices and matrix algebra 1 Matrices and matrix algebra 1.1 Examples of matrices A matrix is a rectangular array of numbers and/or variables. For instance 4 2 0 3 1 A = 5 1.2 0.7 x 3 π 3 4 6 27 is a matrix with 3 rows and 5 columns

More information

And similarly in the other directions, so the overall result is expressed compactly as,

And similarly in the other directions, so the overall result is expressed compactly as, SQEP Tutorial Session 5: T7S0 Relates to Knowledge & Skills.5,.8 Last Update: //3 Force on an element of area; Definition of principal stresses and strains; Definition of Tresca and Mises equivalent stresses;

More information

Matrices. VCE Maths Methods - Unit 2 - Matrices

Matrices. VCE Maths Methods - Unit 2 - Matrices Matrices Introduction to matrices Addition & subtraction Scalar multiplication Matri multiplication The unit matri Matri division - the inverse matri Using matrices - simultaneous equations Matri transformations

More information

Mathematics 309 Conic sections and their applicationsn. Chapter 2. Quadric figures. ai,j x i x j + b i x i + c =0. 1. Coordinate changes

Mathematics 309 Conic sections and their applicationsn. Chapter 2. Quadric figures. ai,j x i x j + b i x i + c =0. 1. Coordinate changes Mathematics 309 Conic sections and their applicationsn Chapter 2. Quadric figures In this chapter want to outline quickl how to decide what figure associated in 2D and 3D to quadratic equations look like.

More information

Math 51, Homework-2 Solutions

Math 51, Homework-2 Solutions SSEA Summer 27 Math 5, Homework-2 Solutions Write the parametric equation of the plane that contains the following point and line: 3 2, 4 2 + t 3 t R 5 4 By substituting t = and t =, we get two points

More information

Directional derivatives and gradient vectors (Sect. 14.5) Directional derivative of functions of two variables.

Directional derivatives and gradient vectors (Sect. 14.5) Directional derivative of functions of two variables. Directional derivatives and gradient vectors (Sect. 14.5) Directional derivative of functions of two variables. Partial derivatives and directional derivatives. Directional derivative of functions of three

More information

radians about the origin d) rotates v counterclockwise π 2 radians about the origin e) none of the above

radians about the origin d) rotates v counterclockwise π 2 radians about the origin e) none of the above [ ] 1 0 1. Define T ( v) = A v, where A is. Then T ( v) 0 1 a) reflects v about the y-axis b) reflects v about the x-axis c) rotates v clockwise π 2 radians about the origin d) rotates v counterclockwise

More information

Phys 221. Chapter 3. Vectors A. Dzyubenko Brooks/Cole

Phys 221. Chapter 3. Vectors A. Dzyubenko Brooks/Cole Phs 221 Chapter 3 Vectors adzubenko@csub.edu http://www.csub.edu/~adzubenko 2014. Dzubenko 2014 rooks/cole 1 Coordinate Sstems Used to describe the position of a point in space Coordinate sstem consists

More information

15. Polarization. Linear, circular, and elliptical polarization. Mathematics of polarization. Uniaxial crystals. Birefringence.

15. Polarization. Linear, circular, and elliptical polarization. Mathematics of polarization. Uniaxial crystals. Birefringence. 15. Polarization Linear, circular, and elliptical polarization Mathematics of polarization Uniaial crstals Birefringence Polarizers Notation: polarization near an interface Parallel ("p") polarization

More information

Section 8.2 Vector Angles

Section 8.2 Vector Angles Section 8.2 Vector Angles INTRODUCTION Recall that a vector has these two properties: 1. It has a certain length, called magnitude 2. It has a direction, indicated by an arrow at one end. In this section

More information

Transformation Matrices; Geometric and Otherwise As examples, consider the transformation matrices of the C 3v

Transformation Matrices; Geometric and Otherwise As examples, consider the transformation matrices of the C 3v Transformation Matrices; Geometric and Otherwise As examples, consider the transformation matrices of the v group. The form of these matrices depends on the basis we choose. Examples: Cartesian vectors:

More information

Dealing with Rotating Coordinate Systems Physics 321. (Eq.1)

Dealing with Rotating Coordinate Systems Physics 321. (Eq.1) Dealing with Rotating Coordinate Systems Physics 321 The treatment of rotating coordinate frames can be very confusing because there are two different sets of aes, and one set of aes is not constant in

More information

MATRIX TRANSFORMATIONS

MATRIX TRANSFORMATIONS CHAPTER 5. MATRIX TRANSFORMATIONS INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW MATRIX TRANSFORMATIONS Matri Transformations Definition Let A and B be sets. A function f : A B

More information

4.1 Distance and Length

4.1 Distance and Length Chapter Vector Geometry In this chapter we will look more closely at certain geometric aspects of vectors in R n. We will first develop an intuitive understanding of some basic concepts by looking at vectors

More information

STATICS. Equivalent Systems of Forces. Vector Mechanics for Engineers: Statics VECTOR MECHANICS FOR ENGINEERS: Contents & Objectives.

STATICS. Equivalent Systems of Forces. Vector Mechanics for Engineers: Statics VECTOR MECHANICS FOR ENGINEERS: Contents & Objectives. 3 Rigid CHATER VECTOR ECHANICS FOR ENGINEERS: STATICS Ferdinand. Beer E. Russell Johnston, Jr. Lecture Notes: J. Walt Oler Teas Tech Universit Bodies: Equivalent Sstems of Forces Contents & Objectives

More information

Omm Al-Qura University Dr. Abdulsalam Ai LECTURE OUTLINE CHAPTER 3. Vectors in Physics

Omm Al-Qura University Dr. Abdulsalam Ai LECTURE OUTLINE CHAPTER 3. Vectors in Physics LECTURE OUTLINE CHAPTER 3 Vectors in Physics 3-1 Scalars Versus Vectors Scalar a numerical value (number with units). May be positive or negative. Examples: temperature, speed, height, and mass. Vector

More information

Affine transformations

Affine transformations Reading Optional reading: Affine transformations Brian Curless CSE 557 Autumn 207 Angel and Shreiner: 3., 3.7-3. Marschner and Shirle: 2.3, 2.4.-2.4.4, 6..-6..4, 6.2., 6.3 Further reading: Angel, the rest

More information

THE COMPOUND ANGLE IDENTITIES

THE COMPOUND ANGLE IDENTITIES TRIGONOMETRY THE COMPOUND ANGLE IDENTITIES Question 1 Prove the validity of each of the following trigonometric identities. a) sin x + cos x 4 4 b) cos x + + 3 sin x + 2cos x 3 3 c) cos 2x + + cos 2x cos

More information

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I Physics 342 Lecture 2 Linear Algebra I Lecture 2 Physics 342 Quantum Mechanics I Wednesday, January 27th, 21 From separation of variables, we move to linear algebra Roughly speaking, this is the study

More information

11.4 Polar Coordinates

11.4 Polar Coordinates 11. Polar Coordinates 917 11. Polar Coordinates In Section 1.1, we introduced the Cartesian coordinates of a point in the plane as a means of assigning ordered pairs of numbers to points in the plane.

More information

Strain Transformation and Rosette Gage Theory

Strain Transformation and Rosette Gage Theory Strain Transformation and Rosette Gage Theor It is often desired to measure the full state of strain on the surface of a part, that is to measure not onl the two etensional strains, and, but also the shear

More information

Reading. Affine transformations. Vector representation. Geometric transformations. x y z. x y. Required: Angel 4.1, Further reading:

Reading. Affine transformations. Vector representation. Geometric transformations. x y z. x y. Required: Angel 4.1, Further reading: Reading Required: Angel 4.1, 4.6-4.10 Further reading: Affine transformations Angel, the rest of Chapter 4 Fole, et al, Chapter 5.1-5.5. David F. Rogers and J. Alan Adams, Mathematical Elements for Computer

More information

The Force Table Introduction: Theory:

The Force Table Introduction: Theory: 1 The Force Table Introduction: "The Force Table" is a simple tool for demonstrating Newton s First Law and the vector nature of forces. This tool is based on the principle of equilibrium. An object is

More information

Mechanics Physics 151

Mechanics Physics 151 Mechanics Phsics 151 Lecture 8 Rigid Bod Motion (Chapter 4) What We Did Last Time! Discussed scattering problem! Foundation for all experimental phsics! Defined and calculated cross sections! Differential

More information

There are five types of transformation that we will be dealing with in this section:

There are five types of transformation that we will be dealing with in this section: Further oncepts for dvanced Mathematics - FP Unit Matrices Sectionb Transformations Transformations There are five types of transformation that we will be dealing with in this section: Reflection Rotation

More information

Vector Geometry. Chapter 5

Vector Geometry. Chapter 5 Chapter 5 Vector Geometry In this chapter we will look more closely at certain geometric aspects of vectors in R n. We will first develop an intuitive understanding of some basic concepts by looking at

More information

Unit 12 Study Notes 1 Systems of Equations

Unit 12 Study Notes 1 Systems of Equations You should learn to: Unit Stud Notes Sstems of Equations. Solve sstems of equations b substitution.. Solve sstems of equations b graphing (calculator). 3. Solve sstems of equations b elimination. 4. Solve

More information

8/22/2005 section2_3vector_algebra_empty.doc 1/ Vector Algebra. You understand scalar math, but what about vector mathematics?

8/22/2005 section2_3vector_algebra_empty.doc 1/ Vector Algebra. You understand scalar math, but what about vector mathematics? 8/22/2005 section2_3vector_lgebra_empty.doc 1/3 2.3 Vector lgebra Reading ssignment: pp. 11-16 You understand scalar math, but what about vector mathematics? Consider, for example:.. C. D.. rithmetic Operations

More information

APPENDIX D Rotation and the General Second-Degree Equation

APPENDIX D Rotation and the General Second-Degree Equation APPENDIX D Rotation and the General Second-Degree Equation Rotation of Aes Invariants Under Rotation After rotation of the - and -aes counterclockwise through an angle, the rotated aes are denoted as the

More information

Consider a slender rod, fixed at one end and stretched, as illustrated in Fig ; the original position of the rod is shown dotted.

Consider a slender rod, fixed at one end and stretched, as illustrated in Fig ; the original position of the rod is shown dotted. 4.1 Strain If an object is placed on a table and then the table is moved, each material particle moves in space. The particles undergo a displacement. The particles have moved in space as a rigid bod.

More information

A Tutorial on Euler Angles and Quaternions

A Tutorial on Euler Angles and Quaternions A Tutorial on Euler Angles and Quaternions Moti Ben-Ari Department of Science Teaching Weimann Institute of Science http://www.weimann.ac.il/sci-tea/benari/ Version.0.1 c 01 17 b Moti Ben-Ari. This work

More information

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I Physics 342 Lecture 2 Linear Algebra I Lecture 2 Physics 342 Quantum Mechanics I Wednesday, January 3th, 28 From separation of variables, we move to linear algebra Roughly speaking, this is the study of

More information

9.1 VECTORS. A Geometric View of Vectors LEARNING OBJECTIVES. = a, b

9.1 VECTORS. A Geometric View of Vectors LEARNING OBJECTIVES. = a, b vectors and POLAR COORDINATES LEARNING OBJECTIVES In this section, ou will: View vectors geometricall. Find magnitude and direction. Perform vector addition and scalar multiplication. Find the component

More information

Vectors and Matrices

Vectors and Matrices Vectors and Matrices Scalars We often employ a single number to represent quantities that we use in our daily lives such as weight, height etc. The magnitude of this number depends on our age and whether

More information

Review of Linear Algebra

Review of Linear Algebra Review of Linear Algebra Dr Gerhard Roth COMP 40A Winter 05 Version Linear algebra Is an important area of mathematics It is the basis of computer vision Is very widely taught, and there are many resources

More information

x y plane is the plane in which the stresses act, yy xy xy Figure 3.5.1: non-zero stress components acting in the x y plane

x y plane is the plane in which the stresses act, yy xy xy Figure 3.5.1: non-zero stress components acting in the x y plane 3.5 Plane Stress This section is concerned with a special two-dimensional state of stress called plane stress. It is important for two reasons: () it arises in real components (particularl in thin components

More information

2: Distributions of Several Variables, Error Propagation

2: Distributions of Several Variables, Error Propagation : Distributions of Several Variables, Error Propagation Distribution of several variables. variables The joint probabilit distribution function of two variables and can be genericall written f(, with the

More information

10.5. Polar Coordinates. 714 Chapter 10: Conic Sections and Polar Coordinates. Definition of Polar Coordinates

10.5. Polar Coordinates. 714 Chapter 10: Conic Sections and Polar Coordinates. Definition of Polar Coordinates 71 Chapter 1: Conic Sections and Polar Coordinates 1.5 Polar Coordinates rigin (pole) r P(r, ) Initial ra FIGURE 1.5 To define polar coordinates for the plane, we start with an origin, called the pole,

More information

CS-184: Computer Graphics. Today

CS-184: Computer Graphics. Today CS-184: Computer Graphics Lecture #3: 2D Transformations Prof. James O Brien Universit of California, Berkele V2006-S-03-1.0 Toda 2D Transformations Primitive Operations Scale, Rotate, Shear, Flip, Translate

More information

EXAM 1. OPEN BOOK AND CLOSED NOTES Thursday, February 18th, 2010

EXAM 1. OPEN BOOK AND CLOSED NOTES Thursday, February 18th, 2010 ME 35 - Machine Design I Spring Semester 010 Name of Student Lab. Div. Number EXAM 1. OPEN BOOK AND CLOSED NOTES Thursday, February 18th, 010 Please use the blank paper provided for your solutions. Write

More information

ES.1803 Topic 16 Notes Jeremy Orloff

ES.1803 Topic 16 Notes Jeremy Orloff ES803 Topic 6 Notes Jerem Orloff 6 Eigenalues, diagonalization, decoupling This note coers topics that will take us seeral classes to get through We will look almost eclusiel at 2 2 matrices These hae

More information

Vectors Summary. can slide along the line of action. not restricted, defined by magnitude & direction but can be anywhere.

Vectors Summary. can slide along the line of action. not restricted, defined by magnitude & direction but can be anywhere. Vectors Summary A vector includes magnitude (size) and direction. Academic Skills Advice Types of vectors: Line vector: Free vector: Position vector: Unit vector (n ): can slide along the line of action.

More information

14.3. Volumes of Revolution. Introduction. Prerequisites. Learning Outcomes

14.3. Volumes of Revolution. Introduction. Prerequisites. Learning Outcomes Volumes of Revolution 14.3 Introduction In this Section we show how the concept of integration as the limit of a sum, introduced in Section 14.1, can be used to find volumes of solids formed when curves

More information

ME 101: Engineering Mechanics

ME 101: Engineering Mechanics ME 0: Engineering Mechanics Rajib Kumar Bhattacharja Department of Civil Engineering ndian nstitute of Technolog Guwahati M Block : Room No 005 : Tel: 8 www.iitg.ernet.in/rkbc Area Moments of nertia Parallel

More information

Integrals in cylindrical, spherical coordinates (Sect. 15.7)

Integrals in cylindrical, spherical coordinates (Sect. 15.7) Integrals in clindrical, spherical coordinates (Sect. 15.7 Integration in spherical coordinates. Review: Clindrical coordinates. Spherical coordinates in space. Triple integral in spherical coordinates.

More information

Physically Based Rendering ( ) Geometry and Transformations

Physically Based Rendering ( ) Geometry and Transformations Phsicall Based Rendering (6.657) Geometr and Transformations 3D Point Specifies a location Origin 3D Point Specifies a location Represented b three coordinates Infinitel small class Point3D { public: Coordinate

More information

Ch. 7.3, 7.4: Vectors and Complex Numbers

Ch. 7.3, 7.4: Vectors and Complex Numbers Ch. 7.3, 7.4: Vectors and Complex Numbers Johns Hopkins University Fall 2014 (Johns Hopkins University) Ch. 7.3, 7.4: Vectors and Complex Numbers Fall 2014 1 / 38 Vectors(1) Definition (Vector) A vector

More information

Three-Dimensional Space; Vectors

Three-Dimensional Space; Vectors Chapter 3 Three-Dimensional Space; Vectors 3.1 Rectangular Coordinates in 3-Space; Spheres Rectangular Coordinate Sstems To begin, consider three mutuall perpendicular coordinate lines, called the -ais,

More information

CSC Computer Graphics

CSC Computer Graphics CSC. Computer Graphics Lecture 4 P T P t, t t P,, P T t P P T Kasun@dscs.sjp.ac.lk Department o Computer Science Universit o Sri Jaewardanepura Kasun@dscs.sjp.ac.lk - Facult o Applied Sciences o USJP r

More information

Introduction and Vectors Lecture 1

Introduction and Vectors Lecture 1 1 Introduction Introduction and Vectors Lecture 1 This is a course on classical Electromagnetism. It is the foundation for more advanced courses in modern physics. All physics of the modern era, from quantum

More information

The notes cover linear operators and discuss linear independence of functions (Boas ).

The notes cover linear operators and discuss linear independence of functions (Boas ). Linear Operators Hsiu-Hau Lin hsiuhau@phsnthuedutw Mar 25, 2010 The notes cover linear operators and discuss linear independence of functions Boas 37-38 Linear operators An operator maps one thing into

More information

Section 1.8/1.9. Linear Transformations

Section 1.8/1.9. Linear Transformations Section 1.8/1.9 Linear Transformations Motivation Let A be a matrix, and consider the matrix equation b = Ax. If we vary x, we can think of this as a function of x. Many functions in real life the linear

More information

2.3 Rectangular Components in Three-Dimensional Force Systems

2.3 Rectangular Components in Three-Dimensional Force Systems 2.3 Rectangular Components in Three-Dimensional Force Sstems 2.3 Rectangular Components in Three-Dimensional Force Sstems Eample 1, page 1 of 2 1. Epress the force F in terms of,, and components. F = 200

More information

1 HOMOGENEOUS TRANSFORMATIONS

1 HOMOGENEOUS TRANSFORMATIONS HOMOGENEOUS TRANSFORMATIONS Purpose: The purpose of this chapter is to introduce ou to the Homogeneous Transformation. This simple 4 4 transformation is used in the geometr engines of CAD sstems and in

More information

Fixed Point Theorem and Sequences in One or Two Dimensions

Fixed Point Theorem and Sequences in One or Two Dimensions Fied Point Theorem and Sequences in One or Two Dimensions Dr. Wei-Chi Yang Let us consider a recursive sequence of n+ = n + sin n and the initial value can be an real number. Then we would like to ask

More information

Answer Key for Exam #2

Answer Key for Exam #2 Answer Key for Exam #. Use elimination on an augmented matrix: 8 6 7 7. The corresponding system is x 7x + x, x + x + x, x x which we solve for the pivot variables x, x x : x +7x x x x x x x x x x x Therefore

More information

CHAPTER 4. APPLICATIONS AND REVIEW IN TRIGONOMETRY

CHAPTER 4. APPLICATIONS AND REVIEW IN TRIGONOMETRY CHAPTER 4. APPLICATIONS AND REVIEW IN TRIGONOMETRY In the present chapter we apply the vector algebra and the basic properties of the dot product described in the last chapter to planar geometry and trigonometry.

More information

Designing Information Devices and Systems I Discussion 2A

Designing Information Devices and Systems I Discussion 2A EECS 16A Spring 218 Designing Information Devices and Systems I Discussion 2A 1. Visualizing Matrices as Operations This problem is going to help you visualize matrices as operations. For example, when

More information

Appendix A. Vector addition: - The sum of two vectors is another vector that also lie in the space:

Appendix A. Vector addition: - The sum of two vectors is another vector that also lie in the space: Tor Kjellsson Stockholm University Appendix A A.1 Q. Consider the ordinary vectors in 3 dimensions (a x î+a y ĵ+a zˆk), with complex components. Do the following subsets constitute a vector space? If so,

More information

CHAPTER 4 Stress Transformation

CHAPTER 4 Stress Transformation CHAPTER 4 Stress Transformation ANALYSIS OF STRESS For this topic, the stresses to be considered are not on the perpendicular and parallel planes only but also on other inclined planes. A P a a b b P z

More information

5. Nonholonomic constraint Mechanics of Manipulation

5. Nonholonomic constraint Mechanics of Manipulation 5. Nonholonomic constraint Mechanics of Manipulation Matt Mason matt.mason@cs.cmu.edu http://www.cs.cmu.edu/~mason Carnegie Mellon Lecture 5. Mechanics of Manipulation p.1 Lecture 5. Nonholonomic constraint.

More information

Definition 1.1 Let a and b be numbers, a smaller than b. Then the set of all numbers between a and b :

Definition 1.1 Let a and b be numbers, a smaller than b. Then the set of all numbers between a and b : 1 Week 1 Definition 1.1 Let a and b be numbers, a smaller than b. Then the set of all numbers between a and b : a and b included is denoted [a, b] a included, b excluded is denoted [a, b) a excluded, b

More information

MAC2313 Final A. (5 pts) 1. How many of the following are necessarily true? i. The vector field F = 2x + 3y, 3x 5y is conservative.

MAC2313 Final A. (5 pts) 1. How many of the following are necessarily true? i. The vector field F = 2x + 3y, 3x 5y is conservative. MAC2313 Final A (5 pts) 1. How many of the following are necessarily true? i. The vector field F = 2x + 3y, 3x 5y is conservative. ii. The vector field F = 5(x 2 + y 2 ) 3/2 x, y is radial. iii. All constant

More information

Why Transforms? Want to animate objects and camera Translations Rotations Shears And more.. Want to be able to use projection transforms

Why Transforms? Want to animate objects and camera Translations Rotations Shears And more.. Want to be able to use projection transforms Why Transforms? Want to animate objects and camera Translations Rotations Shears And more.. Want to be able to use projection transforms ITCS 3050:Game Engine Programming 1 Geometric Transformations Implementing

More information

Contravariant and Covariant as Transforms

Contravariant and Covariant as Transforms Contravariant and Covariant as Transforms There is a lot more behind the concepts of contravariant and covariant tensors (of any rank) than the fact that their basis vectors are mutually orthogonal to

More information

2.4 Orthogonal Coordinate Systems (pp.16-33)

2.4 Orthogonal Coordinate Systems (pp.16-33) 8/26/2004 sec 2_4 blank.doc 1/6 2.4 Orthogonal Coordinate Sstems (pp.16-33) 1) 2) Q: A: 1. 2. 3. Definition: ). 8/26/2004 sec 2_4 blank.doc 2/6 A. Coordinates * * * Point P(0,0,0) is alwas the origin.

More information

Some linear transformations on R 2 Math 130 Linear Algebra D Joyce, Fall 2013

Some linear transformations on R 2 Math 130 Linear Algebra D Joyce, Fall 2013 Some linear transformations on R 2 Math 3 Linear Algebra D Joce, Fall 23 Let s look at some some linear transformations on the plane R 2. We ll look at several kinds of operators on R 2 including reflections,

More information

Pure Further Mathematics 2. Revision Notes

Pure Further Mathematics 2. Revision Notes Pure Further Mathematics Revision Notes October 016 FP OCT 016 SDB Further Pure 1 Inequalities... 3 Algebraic solutions... 3 Graphical solutions... 4 Series Method of Differences... 5 3 Comple Numbers...

More information

Mathematics Trigonometry: Unit Circle

Mathematics Trigonometry: Unit Circle a place of mind F A C U L T Y O F E D U C A T I O N Department of Curriculum and Pedagog Mathematics Trigonometr: Unit Circle Science and Mathematics Education Research Group Supported b UBC Teaching and

More information

(iii) For each question in Section III, you will be awarded 4 Marks if you darken only the bubble corresponding to the

(iii) For each question in Section III, you will be awarded 4 Marks if you darken only the bubble corresponding to the FIITJEE Solutions to IIT - JEE 8 (Paper, Code 4) Time: hours M. Marks: 4 Note: (i) The question paper consists of parts (Part I : Mathematics, Part II : Physics, Part III : Chemistry). Each part has 4

More information

Mathematical Principles for Scientific Computing and Visualization

Mathematical Principles for Scientific Computing and Visualization Mathematical Principles for Scientific Computing and Visualization Chapter 4: Background Numerical Linear Algebra Gerald Farin & Dianne Hansford CRC Press, Taylor & Francis Group, An A K Peters Book www.farinhansford.com/books/scv

More information