Interpolation of Transformation

Size: px
Start display at page:

Download "Interpolation of Transformation"

Transcription

1 Spatial Rotation

2 Interpolation of Transformation I 3,0 U 12 K v V Kv B 2 U 11 B 1

3 Interpolation of Transformation I 3,0 R,t U 12 K v V Kv B 2 U 11 B 1

4 Interpolation of Transformation I 3,0 R,t U 12 K v V Kv B 2 U 11 B 1

5 Recall: Rotate and then, Translate Camera C R W, t C 3D world rx1 rx2 rx3 t x C C = = C RW t ry1 ry2 ry3 t y 1 rz1 rz2 rz3 t z Ground plane C = ( x C, y C, z C ) = ( x, y, z ) Origin at world coordinate where camera. C t is translation from world to camera seen from Rotate and then, translate. C t Camera World

6 Recall: Translate and the, Rotate Camera C R W, t C 3D world rx1 rx2 rx3 t x C C = = C RW t ry1 ry2 ry3 t y 1 rz1 rz2 rz3 t z Ground plane C = ( x C, y C, z C ) = ( x, y, z ) Origin at world coordinate where camera. C t is translation from world to camera seen from Rotate and then, translate. cf) Translate and then, rotate. C Camera World rx1 rx2 r x3 1 -C x C C = RW C = ry1 ry2 ry3 1 -C y where C world. 1 r r r 1 -C z1 z2 z3 z is translation from world to camera seen from

7 Interpolation of Translation I 3,0 R,t 3 - u K R t KR I C 1 1 U 12 K v V Kv B 2 U 11 B 1

8 Interpolation of Translation I 3,0 R,t 3 - u K R t KR I C 1 1 Rot. Trans. Trans. Rot. U 12 Translation is independent on rotation. K v V Kv B 2 U 11 B 1 How to interpolate translation? C C C x x 1 2 y y 1 C1 C2 C2 z z C1 C2

9 Interpolation of Translation I 3,0 R,t 3 - u K R t KR I C 1 1 Rot. Trans. Trans. Rot. U 12 Translation is independent on rotation. K v V Kv B 2 U 11 B 1 How to interpolate translation? C C C x x 1 2 y y 1 C1 C2 C2 z z C1 C2 Interpolated camera center: C wc + ( w ) C w [0,1] i 1 1 2

10 Interpolation of Rotation 2D coordinate transform: cos x = y 1 sin1 cos 1 y x sin = ( xy, ) = ( x, y )

11 Interpolation of Rotation 2D coordinate transform: cos x = y 1 sin1 cos 1 y x sin = ( xy, ) = ( x, y ) cos1 sin1 2 2 det = cos 1sin 11 sin1 cos 1 1

12 Interpolation of Rotation 2D coordinate transform: cos x = y 1 sin1 cos 1 y x sin = ( xy, ) = ( x, y ) cos x = y 2 sin2 cos 2 y x sin

13 Interpolation of Rotation 2D coordinate transform: cos x = y 1 sin1 cos 1 y x sin = ( xy, ) = ( x, y ) w (1 w) 1 2 w [0,1] 2 cos x = y 2 sin2 cos 2 y x sin

14 Interpolation of Rotation in 3D = ( x, y, z ) = ( x 2, y 2, z 2 ) 2 rx1 rx2 r x3 = r r r = R rz1 rz2 rz3 y1 y2 y3 1 1

15 Interpolation of Rotation in 3D = ( x, y, z ) = ( x 2, y 2, z 2 ) 2 rx1 rx2 r x3 = r r r = R rz1 rz2 rz3 y1 y2 y3 1 1 How to interpolate between two coordinates? R R 1 2 # dof: 3 # of parameters: 9

16 Axis Angle Representation

17 Axis Angle Representation

18 Axis Angle Representation e e = e e x y z

19 Axis Angle Representation x y z e = e e e Any displacement of a rigid body such that a point on the rigid body remains fixed, is euivalent to a single rotation about some axis that runs through the fixed point. Leonhard Euler

20 Axis Angle Representation Leonhard Euler e e = e e x y z Rotation: e where e =1 Any displacement of a rigid body such that a point on the rigid body remains fixed, is euivalent to a single rotation about some axis that runs through the fixed point.

21 Im x = rexp( i ) r cos isin x 1 r 1 Re

22 Im x = rexp( i ) r cos isin x 1 Ref) exp( x ) x k k! k 0 r 1 Re

23 Im x = rexp( i ) r cos isin x 2 x 1 x2 = exp( i ) x1 r cos i sin cos1 i sin1 1 r Re r cos cos sin sin i cos sin sin cos r cos( ) isin( ) r cos isin

24 2D Exponential Im x = rexp( i ) r cos isin x 2 x 1 x2 = exp( i ) x1 r cos i sin cos1 i sin1 1 r Re r cos cos sin sin i cos sin sin cos r cos( ) isin( ) r cos isin

25 Im x = rexp( i ) r cos isin x 2 x 1 x2 = exp( i ) x1 r cos i sin cos1 i sin1 2 r r cos cos 1 sin sin 1 icos sin 1 sin cos 1 1 Re r cos( ) isin( ) r 2 1 cos isin

26 3D Exponential Map: Quaternion e e = e e x y z exp e cos sin e e e i j k i j k ijk -1 x y z i Rotation: e where e =1 k j ij k jk i ki j

27 Exercise e e = e e x y z exp e cos sin e e e i j k x y z Find a uaternion such that it describes a rotation of 60 degrees about the axis a=[3, 4, 0]. Rotation: e where e =1

28 Exercise e e = e e x y z exp e cos sin e e e i j k x y z Find a uaternion such that it describes a rotation of 60 degrees about the axis a=[3, 4, 0] e a / a i j k Unit vector cos sin i j k cos sin i j k Rotation: e where e = i j k

29 3D Exponential Map: Quaternion e e = e e x y z exp e cos sin e e e i j k i j k ijk -1 Broom Bridge, Dublin, Ireland x y z i Rotation: e where e =1 k j ij k jk i ki j

30 Quaternion Product W i j k Rotate and then, p: p W i j k pw ip jp kp W pw p p p i W p pw p p j p p p p k p p p p W W W W ˆ pˆ pˆ ˆ ˆ pˆ W pw W pw where ˆ i j + k p pw ip jp kp

31 Quaternion Product Example Rotating 90 degrees about axis. Rotating 90 degrees about axis. / 2 / 2 1 cos jsin 2 2 / 2 / 2 2 cos ksin ?

32 Quaternion Product Example ˆ ˆ ˆ ˆ ˆ ˆ W pw W pw p p p p / 2 / 2 1 cos jsin 2 2 / 2 / 2 2 cos ksin 2 2

33 Quaternion Product Example ˆ ˆ ˆ ˆ ˆ ˆ W pw W pw p p p p / 2 / 2 1 cos jsin 2 2 / 2 / 2 2 cos ksin 2 2 θ = e= i j k i j i j k i j k i j k

34 Quaternion in 4D Sphere W i j k W W 1 W

35 Quaternion in 4D Sphere Interpolation in the sphere W i j k W W 2 1 W

36 Quaternion in 4D Sphere Interpolation in the sphere 2 1 W i j k W W cos 1 2 Plane 1 W

37 Quaternion Interpolation Interpolation in the sphere 2 1 W i j k W W cos p 1 2 Plane w 1 W

38 Quaternion Interpolation Interpolation in the sphere 2 1 W i j k W W cos p 1 2 W Plane p w 2 1 = 1 cosw sin 1 cos w sin sincosw cossin w + sinw 1 2 sin sin(1- w) + sinw sin 1 2

39 Quaternion Interpolation Interpolation in the sphere 2 1 W i j k W W cos p 1 2 W Plane p w 2 1 = 1 cosw sin 1 cos w sin sincosw cossin w + sinw 1 2 sin sin(1- w) + sinw sin 1 2

40 Quaternion Interpolation Interpolation in the sphere 2 1 W i j k W W cos p 1 2 W Plane p w 2 1 = 1 cosw sin 1 cos w sin sincosw cossin w + sinw 1 2 sin sin(1- w) + sinw sin 1 2

41 Quaternion Interpolation Interpolation in the sphere 2 1 W i j k W W cos p 1 2 W Plane p w 2 1 = 1 cosw sin 1 cos w sin sincosw cossin w + sinw 1 2 sin sin(1- w) + sinw sin 1 2

42

43 function CameraInterpolation R1 = eye(3); C1 = [0;0;0]; 2 = 2*(rand(4,1)-0.5); R2 = Quaternion2Rotation(2); C2 = 2*rand(3,1); [Rset, Cset] = InterpolateCoordinate(R1, C1, R2, C2, 20); CameraInterpolation.m

44 function CameraInterpolation R1 = eye(3); C1 = [0;0;0]; 2 = 2*(rand(4,1)-0.5); R2 = Quaternion2Rotation(2); C2 = 2*rand(3,1); [Rset, Cset] = InterpolateCoordinate(R1, C1, R2, C2, 20); CameraInterpolation.m function [Rset, Cset] = InterpolateCoordinate(R1, C1, R2, C2, n) Cx = linspace(c1(1), C2(1), n+1); Cy = linspace(c1(2), C2(2), n+1); Cz = linspace(c1(3), C2(3), n+1); Cset = [Cx; Cy; Cz]; w = 0 : 1/n : 1; 1 = Rotation2Quaternion(R1); 2 = Rotation2Quaternion(R2); omega = acos(1'*2); for i = 1 : length(w) = sin(omega*(1-w(i)))/sin(omega) * 1 + sin(omega*w(i))/sin(omega) * 2; Rset{i} = Quaternion2Rotation(); end InterpolateCoordinate.m

45 View Interpolation Looking left Looking right

46 View Interpolation (HW #3)

47 Single View Review (Where am I?)

PHYS 705: Classical Mechanics. Rigid Body Motion Introduction + Math Review

PHYS 705: Classical Mechanics. Rigid Body Motion Introduction + Math Review 1 PHYS 705: Classical Mechanics Rigid Body Motion Introduction + Math Review 2 How to describe a rigid body? Rigid Body - a system of point particles fixed in space i r ij j subject to a holonomic constraint:

More information

Introduction to quaternions

Introduction to quaternions . Introduction Introduction to uaternions Invented and developed by William Hamilton in 843, uaternions are essentially a generalization of complex numbers to four dimensions (one real dimension, three

More information

BSc (Hons) in Computer Games Development. vi Calculate the components a, b and c of a non-zero vector that is orthogonal to

BSc (Hons) in Computer Games Development. vi Calculate the components a, b and c of a non-zero vector that is orthogonal to 1 APPLIED MATHEMATICS INSTRUCTIONS Full marks will be awarded for the correct solutions to ANY FIVE QUESTIONS. This paper will be marked out of a TOTAL MAXIMUM MARK OF 100. Credit will be given for clearly

More information

arxiv: v1 [math.ds] 18 Nov 2008

arxiv: v1 [math.ds] 18 Nov 2008 arxiv:0811.2889v1 [math.ds] 18 Nov 2008 Abstract Quaternions And Dynamics Basile Graf basile.graf@epfl.ch February, 2007 We give a simple and self contained introduction to quaternions and their practical

More information

Optimal Control Problems in Eye Movement. Bijoy K. Ghosh Department of Mathematics and Statistics Texas Tech University, Lubbock, TX

Optimal Control Problems in Eye Movement. Bijoy K. Ghosh Department of Mathematics and Statistics Texas Tech University, Lubbock, TX Optimal Control Problems in Eye Movement Bijoy K. Ghosh Department of Mathematics and Statistics Texas Tech University, Lubbock, TX We study the human oculomotor system as a simple mechanical control

More information

Quaternions. R. J. Renka 11/09/2015. Department of Computer Science & Engineering University of North Texas. R. J.

Quaternions. R. J. Renka 11/09/2015. Department of Computer Science & Engineering University of North Texas. R. J. Quaternions R. J. Renka Department of Computer Science & Engineering University of North Texas 11/09/2015 Definition A quaternion is an element of R 4 with three operations: addition, scalar multiplication,

More information

Quaternions and their applications

Quaternions and their applications Quaternions and their applications Ramachandran Subramanian February 20, 2014 Jack B. Kuipers. Quaternions and Rotation Sequences. university press, New Jersey, 1998 Princeton Outline 1 Background 2 Introduction

More information

Camera Projection Model

Camera Projection Model amera Projection Model 3D Point Projection (Pixel Space) O ( u, v ) ccd ccd f Projection plane (, Y, Z ) ( u, v ) img Z img (0,0) w img ( u, v ) img img uimg f Z p Y v img f Z p x y Zu f p Z img img x

More information

= + then for all n N. n= is true, now assume the statement is. ) clearly the base case 1 ( ) ( ) ( )( ) θ θ θ θ ( θ θ θ θ)

= + then for all n N. n= is true, now assume the statement is. ) clearly the base case 1 ( ) ( ) ( )( ) θ θ θ θ ( θ θ θ θ) Complex numbers mixed exercise i a We have e cos + isin hence i i ( e + e ) ( cos + isin + cos + isin ) ( cos + isin + cos sin) cos Where we have used the fact that cos cos sin sin b We have ia ia ib ib

More information

Lecture «Robot Dynamics»: Kinematics 2

Lecture «Robot Dynamics»: Kinematics 2 Lecture «Robot Dynamics»: Kinematics 2 151-0851-00 V lecture: CAB G11 Tuesday 10:15 12:00, every week exercise: HG E1.2 Wednesday 8:15 10:00, according to schedule (about every 2nd week) Marco Hutter,

More information

A VERY BRIEF LINEAR ALGEBRA REVIEW for MAP 5485 Introduction to Mathematical Biophysics Fall 2010

A VERY BRIEF LINEAR ALGEBRA REVIEW for MAP 5485 Introduction to Mathematical Biophysics Fall 2010 A VERY BRIEF LINEAR ALGEBRA REVIEW for MAP 5485 Introduction to Mathematical Biophysics Fall 00 Introduction Linear Algebra, also known as matrix theory, is an important element of all branches of mathematics

More information

Section 3.3: Laws of Logarithms

Section 3.3: Laws of Logarithms CHAPTER Exponential and Logarithmic Functions Section.: Laws of Logarithms Laws of Logarithms Laws of Logarithms Three Laws of Logarithms: Verifying Laws of Logarithms: 00 SECTION. Laws of Logarithms Example:

More information

Introduction to Vibration. Professor Mike Brennan

Introduction to Vibration. Professor Mike Brennan Introduction to Vibration Professor Mie Brennan Introduction to Vibration Nature of vibration of mechanical systems Free and forced vibrations Frequency response functions Fundamentals For free vibration

More information

A geometric interpretation of the homogeneous coordinates is given in the following Figure.

A geometric interpretation of the homogeneous coordinates is given in the following Figure. Introduction Homogeneous coordinates are an augmented representation of points and lines in R n spaces, embedding them in R n+1, hence using n + 1 parameters. This representation is useful in dealing with

More information

Elliptically Contoured Distributions

Elliptically Contoured Distributions Elliptically Contoured Distributions Recall: if X N p µ, Σ), then { 1 f X x) = exp 1 } det πσ x µ) Σ 1 x µ) So f X x) depends on x only through x µ) Σ 1 x µ), and is therefore constant on the ellipsoidal

More information

Unit Generalized Quaternions in Spatial Kinematics

Unit Generalized Quaternions in Spatial Kinematics Vol (07) - Pages 7-4 Unit Generalized Quaternions in Spatial Kinematics Mehdi Jafari, echnical Vocational University, Urmia, Iran, mj_msc@yahoo.com Abstract- After a review of some fundamental properties

More information

Computer Graphics II

Computer Graphics II Computer Graphics II Autumn 2017-2018 Outline 1 3-D Rotations (contd.) Outline 3-D Rotations (contd.) 1 3-D Rotations (contd.) Amalgamating Steps 2, 3 & 4 Quaternions are a more compact way of solving

More information

2- Scalars and Vectors

2- Scalars and Vectors 2- Scalars and Vectors Scalars : have magnitude only : Length, time, mass, speed and volume is example of scalar. v Vectors : have magnitude and direction. v The magnitude of is written v v Position, displacement,

More information

Additional Problem (HW 10)

Additional Problem (HW 10) 1 Housekeeping - Three more lectures left including today: Nov. 20 st, Nov. 27 th, Dec. 4 th - Final Eam on Dec. 11 th at 4:30p (Eploratory Planetary 206) 2 Additional Problem (HW 10) z h y O Choose origin

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

Lecture Note 4: General Rigid Body Motion

Lecture Note 4: General Rigid Body Motion ECE5463: Introduction to Robotics Lecture Note 4: General Rigid Body Motion Prof. Wei Zhang Department of Electrical and Computer Engineering Ohio State University Columbus, Ohio, USA Spring 2018 Lecture

More information

sin(α + θ) = sin α cos θ + cos α sin θ cos(α + θ) = cos α cos θ sin α sin θ

sin(α + θ) = sin α cos θ + cos α sin θ cos(α + θ) = cos α cos θ sin α sin θ Rotations in the 2D Plane Trigonometric addition formulas: sin(α + θ) = sin α cos θ + cos α sin θ cos(α + θ) = cos α cos θ sin α sin θ Rotate coordinates by angle θ: 1. Start with x = r cos α y = r sin

More information

A Quantum Mechanical Model for the Vibration and Rotation of Molecules. Rigid Rotor

A Quantum Mechanical Model for the Vibration and Rotation of Molecules. Rigid Rotor A Quantum Mechanical Model for the Vibration and Rotation of Molecules Harmonic Oscillator Rigid Rotor Degrees of Freedom Translation: quantum mechanical model is particle in box or free particle. A molecule

More information

Problem 1: (3 points) Recall that the dot product of two vectors in R 3 is

Problem 1: (3 points) Recall that the dot product of two vectors in R 3 is Linear Algebra, Spring 206 Homework 3 Name: Problem : (3 points) Recall that the dot product of two vectors in R 3 is a x b y = ax + by + cz, c z and this is essentially the same as the matrix multiplication

More information

MATH Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product.

MATH Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product. MATH 311-504 Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product. Determinant is a scalar assigned to each square matrix. Notation. The determinant of a matrix A = (a ij

More information

Lecture Notes for Math 251: ODE and PDE. Lecture 12: 3.3 Complex Roots of the Characteristic Equation

Lecture Notes for Math 251: ODE and PDE. Lecture 12: 3.3 Complex Roots of the Characteristic Equation Lecture Notes for Math 21: ODE and PDE. Lecture 12: 3.3 Complex Roots of the Characteristic Equation Shawn D. Ryan Spring 2012 1 Complex Roots of the Characteristic Equation Last Time: We considered the

More information

7 To solve numerically the equation of motion, we use the velocity Verlet or leap frog algorithm. _ V i n = F i n m i (F.5) For time step, we approxim

7 To solve numerically the equation of motion, we use the velocity Verlet or leap frog algorithm. _ V i n = F i n m i (F.5) For time step, we approxim 69 Appendix F Molecular Dynamics F. Introduction In this chapter, we deal with the theories and techniques used in molecular dynamics simulation. The fundamental dynamics equations of any system is the

More information

Lesson Rigid Body Dynamics

Lesson Rigid Body Dynamics Lesson 8 Rigid Body Dynamics Lesson 8 Outline Problem definition and motivations Dynamics of rigid bodies The equation of unconstrained motion (ODE) User and time control Demos / tools / libs Rigid Body

More information

( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ( )) ( )

( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ( )) ( ) Solutions Complete solutions to Miscellaneous Exercise. The unit vector, u, can be obtained by using (.5. u= ( 5i+ 7j+ 5 + 7 + 5 7 = ( 5i + 7j+ = i+ j+ 8 8 8 8. (i We have ( 3 ( 6 a+ c= i+ j + i j = i+

More information

QUATERNIONS AND ROTATIONS

QUATERNIONS AND ROTATIONS QUATERNIONS AND ROTATIONS SVANTE JANSON 1. Introduction The purpose of this note is to show some well-known relations between quaternions and the Lie groups SO(3) and SO(4) (rotations in R 3 and R 4 )

More information

A = 3 B = A 1 1 matrix is the same as a number or scalar, 3 = [3].

A = 3 B = A 1 1 matrix is the same as a number or scalar, 3 = [3]. Appendix : A Very Brief Linear ALgebra Review Introduction Linear Algebra, also known as matrix theory, is an important element of all branches of mathematics Very often in this course we study the shapes

More information

Algebra 2. Rings and fields. Rings. A.M. Cohen, H. Cuypers, H. Sterk

Algebra 2. Rings and fields. Rings. A.M. Cohen, H. Cuypers, H. Sterk and fields 2 and fields A.M. Cohen, H. Cuypers, H. Sterk A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 1 / 31 and fields Multiplication turns each of the sets Z, Q, R, C, Z[X ], Q[X ], R[X ], C[X

More information

Homogeneous Coordinates

Homogeneous Coordinates Homogeneous Coordinates Basilio Bona DAUIN-Politecnico di Torino October 2013 Basilio Bona (DAUIN-Politecnico di Torino) Homogeneous Coordinates October 2013 1 / 32 Introduction Homogeneous coordinates

More information

Math 497C Mar 3, Curves and Surfaces Fall 2004, PSU

Math 497C Mar 3, Curves and Surfaces Fall 2004, PSU Math 497C Mar 3, 2004 1 Curves and Surfaces Fall 2004, PSU Lecture Notes 10 2.3 Meaning of Gaussian Curvature In the previous lecture we gave a formal definition for Gaussian curvature K in terms of the

More information

Hongbing Zhang October 2018

Hongbing Zhang October 2018 Exact and Intuitive Geometry Explanation: Why Does a Half-angle-rotation in Spin or Quaternion Space Correspond to the Whole-angle-rotation in Normal 3D Space? Hongbing Zhang October 2018 Abstract Why

More information

FFTs in Graphics and Vision. Homogenous Polynomials and Irreducible Representations

FFTs in Graphics and Vision. Homogenous Polynomials and Irreducible Representations FFTs in Graphics and Vision Homogenous Polynomials and Irreducible Representations 1 Outline The 2π Term in Assignment 1 Homogenous Polynomials Representations of Functions on the Unit-Circle Sub-Representations

More information

Lecture 4: Exponentials & Twists

Lecture 4: Exponentials & Twists ME 50.646 Introduction Lecture 4: Exponentials & Twists Noah J. Cowan Fall 017 1 Skew symmetric matrices Let so(n) :={S R n n : S = S T } denote the skew symmetric matrices. Note that given any matrix,

More information

MatFys. Week 5, Dec , 2005

MatFys. Week 5, Dec , 2005 MatFys Week 5, Dec. 1-18, 005 Lectures During this week s lectures we shall finish our treatment of classical mechanics and begin the quantum theory part of the course with an introduction to Hilbert spaces.

More information

Section 4.3 version November 3, 2011 at 23:18 Exercises 2. The equation to be solved is

Section 4.3 version November 3, 2011 at 23:18 Exercises 2. The equation to be solved is Section 4.3 version November 3, 011 at 3:18 Exercises. The equation to be solved is y (t)+y (t)+6y(t) = 0. The characteristic equation is λ +λ+6 = 0. The solutions are λ 1 = and λ = 3. Therefore, y 1 (t)

More information

2 Vector Products. 2.0 Complex Numbers. (a~e 1 + b~e 2 )(c~e 1 + d~e 2 )=(ac bd)~e 1 +(ad + bc)~e 2

2 Vector Products. 2.0 Complex Numbers. (a~e 1 + b~e 2 )(c~e 1 + d~e 2 )=(ac bd)~e 1 +(ad + bc)~e 2 Vector Products Copyright 07, Gregory G. Smith 8 September 07 Unlike for a pair of scalars, we did not define multiplication between two vectors. For almost all positive n N, the coordinate space R n cannot

More information

Clifford Analysis, Homework 1

Clifford Analysis, Homework 1 Clifford Analysis, Homework 1 November 1, 017 1 Let w v 1... v k, for vectors v j. Show that ŵ is the result of negating the vectors: ŵ ( v 1 )... ( v k ). Show that w is the result of changing the order

More information

Multiview Geometry and Bundle Adjustment. CSE P576 David M. Rosen

Multiview Geometry and Bundle Adjustment. CSE P576 David M. Rosen Multiview Geometry and Bundle Adjustment CSE P576 David M. Rosen 1 Recap Previously: Image formation Feature extraction + matching Two-view (epipolar geometry) Today: Add some geometry, statistics, optimization

More information

Quaternions. Mike Bailey. Computer Graphics Quaternions.pptx

Quaternions. Mike Bailey. Computer Graphics Quaternions.pptx 1 Quaternions This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License Mike Bailey mjb@cs.oregonstate.edu Quaternions.pptx A Useful Concept: Spherical

More information

Quaternions and the four-square theorem

Quaternions and the four-square theorem Quaternions and the four-square theorem Background on Hamilton s Quaternions We have the complex numbers C = {a + b i : a, b R} an their integral analogue, [i] = {a + bi : a, b R}, the Gaussian integers,

More information

Spring, 2012 CIS 515. Fundamentals of Linear Algebra and Optimization Jean Gallier

Spring, 2012 CIS 515. Fundamentals of Linear Algebra and Optimization Jean Gallier Spring 0 CIS 55 Fundamentals of Linear Algebra and Optimization Jean Gallier Homework 5 & 6 + Project 3 & 4 Note: Problems B and B6 are for extra credit April 7 0; Due May 7 0 Problem B (0 pts) Let A be

More information

Homogeneous Transformations

Homogeneous Transformations Purpose: Homogeneous Transformations The purpose of this chapter is to introduce you to the Homogeneous Transformation. This simple 4 x 4 transformation is used in the geometry engines of CAD systems and

More information

By drawing Mohr s circle, the stress transformation in 2-D can be done graphically. + σ x σ y. cos 2θ + τ xy sin 2θ, (1) sin 2θ + τ xy cos 2θ.

By drawing Mohr s circle, the stress transformation in 2-D can be done graphically. + σ x σ y. cos 2θ + τ xy sin 2θ, (1) sin 2θ + τ xy cos 2θ. Mohr s Circle By drawing Mohr s circle, the stress transformation in -D can be done graphically. σ = σ x + σ y τ = σ x σ y + σ x σ y cos θ + τ xy sin θ, 1 sin θ + τ xy cos θ. Note that the angle of rotation,

More information

We are already familiar with the concept of a scalar and vector. are unit vectors in the x and y directions respectively with

We are already familiar with the concept of a scalar and vector. are unit vectors in the x and y directions respectively with Math Review We are already familiar with the concept of a scalar and vector. Example: Position (x, y) in two dimensions 1 2 2 2 s ( x y ) where s is the length of x ( xy, ) xi yj And i, j ii 1 j j 1 i

More information

2. Lie groups as manifolds. SU(2) and the three-sphere. * version 1.4 *

2. Lie groups as manifolds. SU(2) and the three-sphere. * version 1.4 * . Lie groups as manifolds. SU() and the three-sphere. * version 1.4 * Matthew Foster September 1, 017 Contents.1 The Haar measure 1. The group manifold for SU(): S 3 3.3 Left- and right- group translations

More information

Quaternions. Basilio Bona. Semester 1, DAUIN Politecnico di Torino. B. Bona (DAUIN) Quaternions Semester 1, / 40

Quaternions. Basilio Bona. Semester 1, DAUIN Politecnico di Torino. B. Bona (DAUIN) Quaternions Semester 1, / 40 Quaternions Basilio Bona DAUIN Politecnico di Torino Semester 1, 2016-2017 B. Bona (DAUIN) Quaternions Semester 1, 2016-2017 1 / 40 Introduction Complex numbers with unit norm can be used as rotation operators

More information

Basic Definitions: Group, subgroup, order of a group, order of an element, Abelian, center, centralizer, identity, inverse, closed.

Basic Definitions: Group, subgroup, order of a group, order of an element, Abelian, center, centralizer, identity, inverse, closed. Math 546 Review Exam 2 NOTE: An (*) at the end of a line indicates that you will not be asked for the proof of that specific item on the exam But you should still understand the idea and be able to apply

More information

Linear DifferentiaL Equation

Linear DifferentiaL Equation Linear DifferentiaL Equation Massoud Malek The set F of all complex-valued functions is known to be a vector space of infinite dimension. Solutions to any linear differential equations, form a subspace

More information

Vectors. Introduction. Prof Dr Ahmet ATAÇ

Vectors. Introduction. Prof Dr Ahmet ATAÇ Chapter 3 Vectors Vectors Vector quantities Physical quantities that have both n u m e r i c a l a n d d i r e c t i o n a l properties Mathematical operations of vectors in this chapter A d d i t i o

More information

PHYS2205. General Physics Classical Mechanics (including waves) Prof. Piilonen.

PHYS2205. General Physics Classical Mechanics (including waves) Prof. Piilonen. PHYS2205 General Physics Classical Mechanics (including waves) http://www.masteringphysics.com 1. Register with your personal access code Prof. Piilonen http://www.masteringphysics.com http://learn.vt.edu

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

With this expanded version of what we mean by a solution to an equation we can solve equations that previously had no solution.

With this expanded version of what we mean by a solution to an equation we can solve equations that previously had no solution. M 74 An introduction to Complex Numbers. 1 Solving equations Throughout the calculus sequence we have limited our discussion to real valued solutions to equations. We know the equation x 1 = 0 has distinct

More information

Lecture 10: A (Brief) Introduction to Group Theory (See Chapter 3.13 in Boas, 3rd Edition)

Lecture 10: A (Brief) Introduction to Group Theory (See Chapter 3.13 in Boas, 3rd Edition) Lecture 0: A (Brief) Introduction to Group heory (See Chapter 3.3 in Boas, 3rd Edition) Having gained some new experience with matrices, which provide us with representations of groups, and because symmetries

More information

UNIT III. CS1117 VIRTUAL REALITY 7 th SEM CSE

UNIT III. CS1117 VIRTUAL REALITY 7 th SEM CSE UNIT III CS1117 VIRTUAL REALITY 7 th SEM CSE VIRTUAL ENVIRONMENT The Dynamics of Numbers Numerical Interpolation Linear Interpolation Non-Linear Interpolation The Animation of Objects Linear Translation

More information

MA Spring 2013 Lecture Topics

MA Spring 2013 Lecture Topics LECTURE 1 Chapter 12.1 Coordinate Systems Chapter 12.2 Vectors MA 16200 Spring 2013 Lecture Topics Let a,b,c,d be constants. 1. Describe a right hand rectangular coordinate system. Plot point (a,b,c) inn

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

REFRESHER. William Stallings

REFRESHER. William Stallings BASIC MATH REFRESHER William Stallings Trigonometric Identities...2 Logarithms and Exponentials...4 Log Scales...5 Vectors, Matrices, and Determinants...7 Arithmetic...7 Determinants...8 Inverse of a Matrix...9

More information

MATH 135: COMPLEX NUMBERS

MATH 135: COMPLEX NUMBERS MATH 135: COMPLEX NUMBERS (WINTER, 010) The complex numbers C are important in just about every branch of mathematics. These notes 1 present some basic facts about them. 1. The Complex Plane A complex

More information

Electromagnetic Properties of Materials Part 2

Electromagnetic Properties of Materials Part 2 ECE 5322 21 st Century Electromagnetics Instructor: Office: Phone: E Mail: Dr. Raymond C. Rumpf A 337 (915) 747 6958 rcrumpf@utep.edu Lecture #3 Electromagnetic Properties of Materials Part 2 Nonlinear

More information

Vector Products. x y = x 1 y 1 +x 2 y 2 +x 3 y 3. It is a single, real number. The dot product can be interpreted as. x. y. cos φ,

Vector Products. x y = x 1 y 1 +x 2 y 2 +x 3 y 3. It is a single, real number. The dot product can be interpreted as. x. y. cos φ, Quaternions 1 Vector Products Definition: Let x = (x 1,x 2,x 3 ) and y = (y 1,y 2,y 3 ) be vectors. The dot product (also called scalar product or inner product) of x and y is defined as It is a single,

More information

Chapter 2 Solutions. Chapter 2 Solutions 1. 4( z t) ( z t) z t

Chapter 2 Solutions. Chapter 2 Solutions 1. 4( z t) ( z t) z t Chapter Solutions 1 Chapter Solutions.1. 1 z t ( z t) z z ( z t) t t It s a twice differentiable function of ( z t ), where is in the negative z direction. 1 y t ( y, t) ( y4 t) ( y 4 t) y y 8( y 4 t)

More information

1. Tensor of Rank 2 If Φ ij (x, y) satisfies: (a) having four components (9 for 3-D). (b) when the coordinate system is changed from x i to x i,

1. Tensor of Rank 2 If Φ ij (x, y) satisfies: (a) having four components (9 for 3-D). (b) when the coordinate system is changed from x i to x i, 1. Tensor of Rank 2 If Φ ij (x, y satisfies: (a having four components (9 for 3-D. Φ i j (x 1, x 2 = β i iβ j jφ ij (x 1, x 2. Example 1: ( 1 0 0 1 Φ i j = ( 1 0 0 1 To prove whether this is a tensor or

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

Solution to Review Problems for Midterm II

Solution to Review Problems for Midterm II Soluion o Review Problems for Miderm II MATH 3860 001 Correcion: (i) should be y () ( + )y () + ( + )y() = e (1 + ). Given ha () = e is a soluion of y () ( + )y () + ( + )y() = 0. You should do problems

More information

Linear Differential Equation (1st Order)

Linear Differential Equation (1st Order) Linear Differential Equation (1st Order) First Order Linear Differential Equation is an equation of the form y' Cp y = q For q = 0, this is a homogeneous equation and the solution is in the form of: y

More information

Synthesizing Geometries for 21st Century Electromagnetics

Synthesizing Geometries for 21st Century Electromagnetics ECE 5322 21 st Century Electromagnetics Instructor: Office: Phone: E Mail: Dr. Raymond C. Rumpf A 337 (915) 747 6958 rcrumpf@utep.edu Lecture #18b Synthesizing Geometries for 21st Century Electromagnetics

More information

Linear Algebra & Geometry why is linear algebra useful in computer vision?

Linear Algebra & Geometry why is linear algebra useful in computer vision? Linear Algebra & Geometry why is linear algebra useful in computer vision? References: -Any book on linear algebra! -[HZ] chapters 2, 4 Some of the slides in this lecture are courtesy to Prof. Octavia

More information

On complexified quantum mechanics and space-time

On complexified quantum mechanics and space-time On complexified quantum mechanics and space-time Dorje C. Brody Mathematical Sciences Brunel University, Uxbridge UB8 3PH dorje.brody@brunel.ac.uk Quantum Physics with Non-Hermitian Operators Dresden:

More information

The Equipartition Theorem

The Equipartition Theorem Chapter 8 The Equipartition Theorem Topics Equipartition and kinetic energy. The one-dimensional harmonic oscillator. Degrees of freedom and the equipartition theorem. Rotating particles in thermal equilibrium.

More information

3D Coordinate Transformations. Tuesday September 8 th 2015

3D Coordinate Transformations. Tuesday September 8 th 2015 3D Coordinate Transformations Tuesday September 8 th 25 CS 4 Ross Beveridge & Bruce Draper Questions / Practice (from last week I messed up!) Write a matrix to rotate a set of 2D points about the origin

More information

Single view metrology

Single view metrology EECS 44 Computer vision Single view metrology Review calibration Lines and planes at infinity Absolute conic Estimating geometry from a single image Etensions Reading: [HZ] Chapters,3,8 Calibration Problem

More information

A first order divided difference

A first order divided difference A first order divided difference For a given function f (x) and two distinct points x 0 and x 1, define f [x 0, x 1 ] = f (x 1) f (x 0 ) x 1 x 0 This is called the first order divided difference of f (x).

More information

Strain analysis.

Strain analysis. Strain analysis ecalais@purdue.edu Plates vs. continuum Gordon and Stein, 1991 Most plates are rigid at the until know we have studied a purely discontinuous approach where plates are

More information

Examples: Solving nth Order Equations

Examples: Solving nth Order Equations Atoms L. Euler s Theorem The Atom List First Order. Solve 2y + 5y = 0. Examples: Solving nth Order Equations Second Order. Solve y + 2y + y = 0, y + 3y + 2y = 0 and y + 2y + 5y = 0. Third Order. Solve

More information

Given a Polynomial of Degree Bound 8 Find 8 Distinct Points to Efficiently Evaluate it at. STRATEGY:Set for 04

Given a Polynomial of Degree Bound 8 Find 8 Distinct Points to Efficiently Evaluate it at. STRATEGY:Set for 04 Given a Polynomial of Degree Bound 8 Find 8 Distinct Points to Efficiently Evaluate it at STRATEGY:Set for 04 Given a Polynomial of Degree Bound 8 Find 8 Distinct Points to Efficiently Evaluate it at STRATEGY:Set

More information

Course 2BA1: Hilary Term 2007 Section 8: Quaternions and Rotations

Course 2BA1: Hilary Term 2007 Section 8: Quaternions and Rotations Course BA1: Hilary Term 007 Section 8: Quaternions and Rotations David R. Wilkins Copyright c David R. Wilkins 005 Contents 8 Quaternions and Rotations 1 8.1 Quaternions............................ 1 8.

More information

6. Linear Differential Equations of the Second Order

6. Linear Differential Equations of the Second Order September 26, 2012 6-1 6. Linear Differential Equations of the Second Order A differential equation of the form L(y) = g is called linear if L is a linear operator and g = g(t) is continuous. The most

More information

September 18, Notation: for linear transformations it is customary to denote simply T x rather than T (x). k=1. k=1

September 18, Notation: for linear transformations it is customary to denote simply T x rather than T (x). k=1. k=1 September 18, 2017 Contents 3. Linear Transformations 1 3.1. Definition and examples 1 3.2. The matrix of a linear transformation 2 3.3. Operations with linear transformations and with their associated

More information

Matrix-Matrix Multiplication

Matrix-Matrix Multiplication Chapter Matrix-Matrix Multiplication In this chapter, we discuss matrix-matrix multiplication We start by motivating its definition Next, we discuss why its implementation inherently allows high performance

More information

Math review. Math review

Math review. Math review Math review 1 Math review 3 1 series approximations 3 Taylor s Theorem 3 Binomial approximation 3 sin(x), for x in radians and x close to zero 4 cos(x), for x in radians and x close to zero 5 2 some geometry

More information

Vectors. Introduction

Vectors. Introduction Chapter 3 Vectors Vectors Vector quantities Physical quantities that have both numerical and directional properties Mathematical operations of vectors in this chapter Addition Subtraction Introduction

More information

SCHEME OF BE 100 ENGINEERING MECHANICS DEC 2015

SCHEME OF BE 100 ENGINEERING MECHANICS DEC 2015 Part A Qn. No SCHEME OF BE 100 ENGINEERING MECHANICS DEC 201 Module No BE100 ENGINEERING MECHANICS Answer ALL Questions 1 1 Theorem of three forces states that three non-parallel forces can be in equilibrium

More information

Lecture 7. Quaternions

Lecture 7. Quaternions Matthew T. Mason Mechanics of Manipulation Spring 2012 Today s outline Motivation Motivation have nice geometrical interpretation. have advantages in representing rotation. are cool. Even if you don t

More information

Rotational motion of a rigid body spinning around a rotational axis ˆn;

Rotational motion of a rigid body spinning around a rotational axis ˆn; Physics 106a, Caltech 15 November, 2018 Lecture 14: Rotations The motion of solid bodies So far, we have been studying the motion of point particles, which are essentially just translational. Bodies with

More information

Also interested only in internal energies Uel (R) only internal forces, has symmetry of molecule--that is source of potential.

Also interested only in internal energies Uel (R) only internal forces, has symmetry of molecule--that is source of potential. IV. Molecular Vibrations IV-1 As discussed solutions, ψ, of the amiltonian, (Schrödinger Equation) must be representations of the group of the molecule i.e. energy cannot change due to a symmetry operation,

More information

Chapter 7. Homogeneous equations with constant coefficients

Chapter 7. Homogeneous equations with constant coefficients Chapter 7. Homogeneous equations with constant coefficients It has already been remarked that we can write down a formula for the general solution of any linear second differential equation y + a(t)y +

More information

) ) = γ. and P ( X. B(a, b) = Γ(a)Γ(b) Γ(a + b) ; (x + y, ) I J}. Then, (rx) a 1 (ry) b 1 e (x+y)r r 2 dxdy Γ(a)Γ(b) D

) ) = γ. and P ( X. B(a, b) = Γ(a)Γ(b) Γ(a + b) ; (x + y, ) I J}. Then, (rx) a 1 (ry) b 1 e (x+y)r r 2 dxdy Γ(a)Γ(b) D 3 Independent Random Variables II: Examples 3.1 Some functions of independent r.v. s. Let X 1, X 2,... be independent r.v. s with the known distributions. Then, one can compute the distribution of a r.v.

More information

I. Signals & Sinusoids

I. Signals & Sinusoids I. Signals & Sinusoids [p. 3] Signal definition Sinusoidal signal Plotting a sinusoid [p. 12] Signal operations Time shifting Time scaling Time reversal Combining time shifting & scaling [p. 17] Trigonometric

More information

7.4 Rigid body simulation*

7.4 Rigid body simulation* 7.4 Rigid body simulation* Quaternions vs. Rotation Matrices - unit quaternions, a better way to represent the orientation of a rigid body. Why? (1) More compact: 4 numbers vs. 9 numbers (2) Smooth transition

More information

SYMMETRY IN CHEMISTRY

SYMMETRY IN CHEMISTRY SYMMETRY IN CHEMISTRY Professor MANOJ K. MISHRA CHEMISTRY DEPARTMENT IIT BOMBAY ACKNOWLEGDEMENT: Professor David A. Micha Professor F. A. Cotton WHY SYMMETRY? An introduction to symmetry analysis For H

More information

Quaternions 2 AUI Course Denbigh Starkey

Quaternions 2 AUI Course Denbigh Starkey Quaternions 2 AUI Course Denbigh Starkey 1. Background 2 2. Some Basic Quaternion Math 4 3. The Justification of the Quaternion Rotation Formula 5 4. Interpolation between two Unit Quaternions SLERP vs.

More information

Triangular Plate Displacement Elements

Triangular Plate Displacement Elements Triangular Plate Displacement Elements Chapter : TRIANGULAR PLATE DISPLACEMENT ELEMENTS TABLE OF CONTENTS Page. Introduction...................... Triangular Element Properties................ Triangle

More information

Homework 7-8 Solutions. Problems

Homework 7-8 Solutions. Problems Homework 7-8 Solutions Problems 26 A rhombus is a parallelogram with opposite sides of equal length Let us form a rhombus using vectors v 1 and v 2 as two adjacent sides, with v 1 = v 2 The diagonals of

More information

FFTs in Graphics and Vision. Fast Alignment of Spherical Functions

FFTs in Graphics and Vision. Fast Alignment of Spherical Functions FFTs in Graphics and Vision Fast Alignment of Spherical Functions Outline Math Review Fast Rotational Alignment Review Recall 1: We can represent any rotation R in terms of the triplet of Euler angles

More information

Basic Theory of Linear Differential Equations

Basic Theory of Linear Differential Equations Basic Theory of Linear Differential Equations Picard-Lindelöf Existence-Uniqueness Vector nth Order Theorem Second Order Linear Theorem Higher Order Linear Theorem Homogeneous Structure Recipe for Constant-Coefficient

More information

Quadratic Forms. Marco Schlichting Notes by Florian Bouyer. January 16, 2012

Quadratic Forms. Marco Schlichting Notes by Florian Bouyer. January 16, 2012 Quadratic Forms Marco Schlichting Notes by Florian Bouyer January 16, 2012 In this course every ring is commutative with unit. Every module is a left module. Definition 1. Let R be a (commutative) ring

More information