Coordinate Systems. Things to think about:

Size: px
Start display at page:

Download "Coordinate Systems. Things to think about:"

Transcription

1 Coordiate Sstems There are 3 coordiate sstems that a compter graphics programmer is most cocered with: the Object Coordiate Sstem (OCS), the World Coordiate Sstem (WCS), ad the Camera Coordiate Sstem (CCS). Each plas a importat role. OCS: Objects are most easil modeled i a coordiate sstem with the origi at its ceter ad the coordiate aes aliged i some atral wa with the object. For eample, the sides of a cbe wold be aliged with the coordiate aes. Each object will hae its ow OCS. WCS: I order for objects to iteract, we eed to place all objects withi a sigle coordiate sstem, called the WCS, so their relatioship with ca be epressed. We thik of the WCS as represetig the eiromet i which eerthig eists. Commol, the WCS origi establishes the leel of the grod ad the ais poitig p. The WCS is tpicall cosidered fied i positio oer time (objects ad camera moe withi the WCS). The model matri, M, coerts a object s ertices epressed i OCS to the WCS. Each object will hae its ow M. We se the cocept of scee graphs to geerate the model matri M i order to place ad moe comple objects withi the WCS. CCS: The camera represets the locatio & orietatio of the iewer. Oer time, the iewer geerall moes arod the WCS ad so the relatioship betwee the CCS ad WCS is ot costat. The process of rederig a image reqires that a 3D scee (i.e. the ertices) be projected dow oto a 2D scree (the image), where the locatio ad orietatio of the scree is defied b the camera. The projectio is simple to do if the ertices are epressed i the camera coordiates, i.e. with the camera at the origi ad lookig dow the egatie ais (as is the case for the CCS), the the projectio will be oto to the plae so that the projectio is simpl (,,) (, ). Ths, we trasform ertices from the WCS to the CCS i order to simplif the projectio calclatio. Thigs to thik abot: Whe specifig the coordiates of a positio, it is importat to make it clear which coordiates sstem is beig sed. Cosider the poit (,,) T. This will mea somethig differet depedig o which coordiate sstem oe is i. For eample, i the OCS, the (,,) T geerall correspods to the ceter of the object. I the WCS, (,,) T correspods to the origi of the world, ad i CCS, (,,) T correspods to the locatio of the camera. Similarl, the ector (,,) T correspods to the ais. The ais i the WCS is ot i the same directio as the ais i the CCS. I geeral, a poit P ca be epressed i a of the coordiate sstems. This will be discssed more later.

2 Trasformig OCS WCS Cosider a cbe which might be modeled i the OCS as i Figre. Figre : A cbe i OCS. Figre 2: A cbe as it appears i OCS ad WCS Let P be a poit o a cbe sch as the erte at coordiates (.5,.5,.5) T i OCS. Now sppose we wat to place it ito the world as show i Figre 2. To do this, we eed to trasform the coordiates sig a matri we call the Model Matri, M. P WCS = ' ' = M P OCS = M ' Where M is determied sig the scee graph techiqes. WCS CCS Gie the cbe i WCS, we ca ow trasform it ito the CCS as show i Figre 3. All three coordiate sstems are show i Figre 4. Figre 3: A cbe as it appears i WCS ad CCS Figre 4: A cbe i relatio to OCS, WCS, ad CCS Notice that i the CCS the camera alwas looks dow the camera s egatie ais ad the ector poits perpediclarl p from the camera. To determie the coordiates i the CCS, we eed to trasform it from WCS to CCS sig a matri trasform which we call the View Matri, V. '' ' P CCS = '' = V P WCS = V ' = V M P OCS = V M '' '

3 Note: For eample, the poit P=(.5,.5,.5) T o the cbe as epressed i CCS is.5 P CCS = V P WCS = V M P OCS = V M.5..5 Relatioship betwee Trasformig Poits ad Trasformig Coordiate Sstems Before discssig how to calclate V, we eed to discss trasformatios of coordiate sstems. Note that it is ot possible to distigish betwee traslatig a poit P i a coordiate sstem erss keepig the poit fied bt moig the coordiate aes as show i Figre 5 below. We preset the cocepts here i 2D, howeer, the reslts eted to 3D. Figre 5: Moig the coordiate sstem (left) s moig the poit (right) The relatioship betwee P ad Q (o left) is the same as the relatioship betwee P ad Q (o right): O the left, the poit P has coordiates (,3) i Q. We traslate the coordiate aes i Q b (4,3) to obtai Q. Epressed i Q, P ow has coordiates (-3,). O the right, we keep Q fied bt traslate P=(,3) b (-4,-3) to that it is ow sittig at P =(-3,). Either wa, P eds p at (-3,) ad the trasformatio that mst be applied to the poit (o right) is the ierse of that applied to the coordiate sstem (o left). I smmar, traslatig a poit b a traslatio T, is eqialet to traslatig the coordiate sstem b T - = ierse of T. Figre 5: Rotatig the coordiate sstem (left) s rotatig the poit (right)

4 Similarl, it ca be show that rotatig a poit b the rotatio R, is eqialet to rotatig the coordiate sstem b R - = ierse of R. I geeral, a trasformatio A applied to the coordiate aes is eqialet to applig the trasformatio A - to the ertices. For eample, sppose we appl both a rotatio ad traslatio to the coordiate aes: A=TR. This is eqialet to trasformig the ertices b A - = (TR) - = R - T -. We will make se of this reslt i the et sectio. Calclatig V Recall that V is the matri which trasforms ertices i WCS to ertices i CCS. To calclate V, will first cosider the trasformatios ecessar to do the eqialet trasform of the coordiates aes. Namel, we wat to fid the matri trasform, TR, cosistig of a traslatio T ad rotatio R, which will moe the WCS to the CCS. Followig the reslt of the preios sectio, V will the be the ierse of this, amel, V = R - T -. Sppose the camera s positio i the WCS is gie b the ee ector ee ee = ee. ee The camera s orietatio ca be defied b the three orthogoal it ectors,, ad defied i the WCS, where the camera looks i the directio of, ad where is perpediclarl p ad is to the camera s right. Note: If the WCS ad CCS were eactl aliged, the wold correspod to the ais, wold correspod to the ais, ad wold correspod to the ais. The locatio ad orietatio of the camera is completel determied b ee,,, ad. We se these to determie the trasforms TR which moe the WCS to the CCS. We first appl the rotatio, ad the the traslatio. Figre 6: Trasformig the aes.

5 I Figre 6, we begi with the WCS ad CCS aliged as o the left. We first rotate b R (middle) ad the traslate b T (right). It is eas to see that T = ee ee ee R is less obios. Whateer R is, it mst satisf the eqatios (see middle of Figre 6): = R, = R, ad = R I homogeeos coordiates, we hae =, =, =, =, =, = Note, the 4 th compoet of each is becase these are ectors ad ot poits! So the aboe eqatios become = = R, = = R, ad = = R The ol matri R which satisfies all three of these eqatios is the matri whose colms are,, (we are relig o the fact that,, ad are orthoormal ectors): R = Gie R ad T, we ca ow calclate V: V = R - T - = R T T - = ee ee ee = ee ee ee ee ee ee ee ee ee I the code, we store the positio of the ee = (ee, ee,ee,)

6 Ad the iew rotatio matri V rot = R -. Order of Trasformatios: Thigs to Thik Abot We ow kow how to calclate V ad ths how to trasform poits from OCC to WCS to CCS. P CCS = V P WCS = V M P OCS Thik abot the followig Do the make sese to o? P OCS = (,,,) T correspods to the ceter of the object P WCS = (,,,) T correspods to the ceter of the world P CCS = (,,,) T correspods to the ceter of the camera V (,,,) T gies the locatio of the world origi i the camera coordiate sstem V M (,,,) T gies the locatio of the object s ceter i the camera coordiate sstem M (,,,) T gies the locatio of the object s eter i the world coordiate sstem Now sppose we hae the stadard rotatio matri R abot the -ais, that is cosθ siθ R = siθ cosθ The order i which R is applied has a big differece o what happes, as follows: V M R P OCS V R M P OCS R V M P OCS rotates a erte P OCS abot the object s ais rotates a erte P OCS abot the world s ais rotates a erte P OCS abot the camera s ais Tmble The tmble trasformatio chages the iew trasform V as follows: We specif a P c = ceter of iterest. This ca be awhere bt i the code we limit it to be either the WCS origi or a poit a fied distace i frot of the camera. Moig the mose left ad right will rotate the camera abot the lie which goes throgh P c ad is parallel to the WCS -ais Moig the mose p ad dow will rotate the camera abot the lie which goes throgh P c ad is parallel to the camera s ais Defie the followig matrices: The matri A rotates alog the lie which goes throgh a poit P ad is parallel to the -ais A = T(P) R T(-P)

7 where we se the otatio T(P) to idicate a traslatio b a amot P. We wat A to be applied i the WCS so it mst mltipl V o the right. The poit P correspods to the poit of iterest P c which is epressed i WCS. The matri B rotates alog the lie which goes throgh a poit P ad is parallel to the -ais. B = T(P) R T(-P) We wat B applied i the CCS so we mst mltipl V b B o the left. The poit P correspods to the poit of iterest P c which ow mst be epressed i CCS, i.e. P c = V old P c Ths, to tmble the camera, we hae the ew iew matri to be V ew = B V old A = T(P c ) R T(-P c ) V old T(P c ) R T(-P c ), where P c = V old P c I the code, we do ot store V bt rather the V rot = rotatioal part of V, ad ee = the camera positio. Ths, we eed to etract these from V ew. Recall from earlier we had V ew = V rot,ew T(-ee ew ) = ee ee ee, ew, ew, ew (eqatio ) = ee ee ee, ew, ew, ew ee ee ee, ew, ew, ew ee, ee, ee ew ew, ew (eqatio 2) Comparig eqatios ad 2, it is eas to see that V rot,ew = Howeer, it is ot so eas to etract ee ew becase the last colm i eqatio 2 is ot ee ew. Howeer, if we kew the ierse of V rot,ew, the we cold obtai T(-ee ew ) = (V - rot,ew V rot,ew ) T(-ee ew ) - = V rot,ew ( V rot,ew T(-ee ew ) ) = V - rot,ew V ew Sice the ierse of a pre rotatio is jst its traspose, we ca easil obtai V rot,ew -, so that we ca calclate T(-ee ew ) = V rot,ew -T V ew.

8 Oce we hae T(-ee ew ): T(-ee ew ) = ee ee ee, ew, ew, ew we see that ee ew ca be obtaied b pllig ot the last colm of T(-ee ew ), egatig the first three compoets to obtai ee ew = (ee,ew, ee,ew, ee,ew, ).

Diagonalization of Quadratic Forms. Recall in days past when you were given an equation which looked like

Diagonalization of Quadratic Forms. Recall in days past when you were given an equation which looked like Diagoalizatio of Qadratic Forms Recall i das past whe o were gie a eqatio which looked like ad o were asked to sketch the set of poits which satisf this eqatio. It was ecessar to complete the sqare so

More information

Elementary Linear Algebra

Elementary Linear Algebra Elemetary Liear Algebra Ato & Rorres th Editio Lectre Set Chapter : Eclidea Vector Spaces Chapter Cotet Vectors i -Space -Space ad -Space Norm Distace i R ad Dot Prodct Orthogoality Geometry of Liear Systems

More information

Introduction. Question: Why do we need new forms of parametric curves? Answer: Those parametric curves discussed are not very geometric.

Introduction. Question: Why do we need new forms of parametric curves? Answer: Those parametric curves discussed are not very geometric. Itrodctio Qestio: Why do we eed ew forms of parametric crves? Aswer: Those parametric crves discssed are ot very geometric. Itrodctio Give sch a parametric form, it is difficlt to kow the derlyig geometry

More information

U8L1: Sec Equations of Lines in R 2

U8L1: Sec Equations of Lines in R 2 MCVU U8L: Sec. 8.9. Equatios of Lies i R Review of Equatios of a Straight Lie (-D) Cosider the lie passig through A (-,) with slope, as show i the diagram below. I poit slope form, the equatio of the lie

More information

U8L1: Sec Equations of Lines in R 2

U8L1: Sec Equations of Lines in R 2 MCVU Thursda Ma, Review of Equatios of a Straight Lie (-D) U8L Sec. 8.9. Equatios of Lies i R Cosider the lie passig through A (-,) with slope, as show i the diagram below. I poit slope form, the equatio

More information

Image Spaces. What might an image space be

Image Spaces. What might an image space be Image Spaces What might a image space be Map each image to a poit i a space Defie a distace betwee two poits i that space Mabe also a shortest path (morph) We have alread see a simple versio of this, i

More information

FAILURE CRITERIA: MOHR S CIRCLE AND PRINCIPAL STRESSES

FAILURE CRITERIA: MOHR S CIRCLE AND PRINCIPAL STRESSES LECTURE Third Editio FAILURE CRITERIA: MOHR S CIRCLE AND PRINCIPAL STRESSES A. J. Clark School of Egieerig Departmet of Civil ad Evirometal Egieerig Chapter 7.4 b Dr. Ibrahim A. Assakkaf SPRING 3 ENES

More information

Apply change-of-basis formula to rewrite x as a linear combination of eigenvectors v j.

Apply change-of-basis formula to rewrite x as a linear combination of eigenvectors v j. Eigevalue-Eigevector Istructor: Nam Su Wag eigemcd Ay vector i real Euclidea space of dimesio ca be uiquely epressed as a liear combiatio of liearly idepedet vectors (ie, basis) g j, j,,, α g α g α g α

More information

Problem Cosider the curve give parametrically as x = si t ad y = + cos t for» t» ß: (a) Describe the path this traverses: Where does it start (whe t =

Problem Cosider the curve give parametrically as x = si t ad y = + cos t for» t» ß: (a) Describe the path this traverses: Where does it start (whe t = Mathematics Summer Wilso Fial Exam August 8, ANSWERS Problem 1 (a) Fid the solutio to y +x y = e x x that satisfies y() = 5 : This is already i the form we used for a first order liear differetial equatio,

More information

Fundamental Concepts: Surfaces and Curves

Fundamental Concepts: Surfaces and Curves UNDAMENTAL CONCEPTS: SURACES AND CURVES CHAPTER udametal Cocepts: Surfaces ad Curves. INTRODUCTION This chapter describes two geometrical objects, vi., surfaces ad curves because the pla a ver importat

More information

too many conditions to check!!

too many conditions to check!! Vector Spaces Aioms of a Vector Space closre Defiitio : Let V be a o empty set of vectors with operatios : i. Vector additio :, v є V + v є V ii. Scalar mltiplicatio: li є V k є V where k is scalar. The,

More information

Polynomial Functions and Their Graphs

Polynomial Functions and Their Graphs Polyomial Fuctios ad Their Graphs I this sectio we begi the study of fuctios defied by polyomial expressios. Polyomial ad ratioal fuctios are the most commo fuctios used to model data, ad are used extesively

More information

Linear Transformations

Linear Transformations Liear rasformatios 6. Itroductio to Liear rasformatios 6. he Kerel ad Rage of a Liear rasformatio 6. Matrices for Liear rasformatios 6.4 rasitio Matrices ad Similarity 6.5 Applicatios of Liear rasformatios

More information

Lecture 7: Polar representation of complex numbers

Lecture 7: Polar representation of complex numbers Lecture 7: Polar represetatio of comple umbers See FLAP Module M3.1 Sectio.7 ad M3. Sectios 1 ad. 7.1 The Argad diagram I two dimesioal Cartesia coordiates (,), we are used to plottig the fuctio ( ) with

More information

Most text will write ordinary derivatives using either Leibniz notation 2 3. y + 5y= e and y y. xx tt t

Most text will write ordinary derivatives using either Leibniz notation 2 3. y + 5y= e and y y. xx tt t Itroductio to Differetial Equatios Defiitios ad Termiolog Differetial Equatio: A equatio cotaiig the derivatives of oe or more depedet variables, with respect to oe or more idepedet variables, is said

More information

Balancing. Rotating Components Examples of rotating components in a mechanism or a machine. (a)

Balancing. Rotating Components Examples of rotating components in a mechanism or a machine. (a) alacig NOT COMPLETE Rotatig Compoets Examples of rotatig compoets i a mechaism or a machie. Figure 1: Examples of rotatig compoets: camshaft; crakshaft Sigle-Plae (Static) alace Cosider a rotatig shaft

More information

Session 5. (1) Principal component analysis and Karhunen-Loève transformation

Session 5. (1) Principal component analysis and Karhunen-Loève transformation 200 Autum semester Patter Iformatio Processig Topic 2 Image compressio by orthogoal trasformatio Sessio 5 () Pricipal compoet aalysis ad Karhue-Loève trasformatio Topic 2 of this course explais the image

More information

CHAPTER 8 SYSTEMS OF PARTICLES

CHAPTER 8 SYSTEMS OF PARTICLES CHAPTER 8 SYSTES OF PARTICLES CHAPTER 8 COLLISIONS 45 8. CENTER OF ASS The ceter of mass of a system of particles or a rigid body is the poit at which all of the mass are cosidered to be cocetrated there

More information

CALCULUS BASIC SUMMER REVIEW

CALCULUS BASIC SUMMER REVIEW CALCULUS BASIC SUMMER REVIEW NAME rise y y y Slope of a o vertical lie: m ru Poit Slope Equatio: y y m( ) The slope is m ad a poit o your lie is, ). ( y Slope-Itercept Equatio: y m b slope= m y-itercept=

More information

September 2012 C1 Note. C1 Notes (Edexcel) Copyright - For AS, A2 notes and IGCSE / GCSE worksheets 1

September 2012 C1 Note. C1 Notes (Edexcel) Copyright   - For AS, A2 notes and IGCSE / GCSE worksheets 1 September 0 s (Edecel) Copyright www.pgmaths.co.uk - For AS, A otes ad IGCSE / GCSE worksheets September 0 Copyright www.pgmaths.co.uk - For AS, A otes ad IGCSE / GCSE worksheets September 0 Copyright

More information

Infinite Sequences and Series

Infinite Sequences and Series Chapter 6 Ifiite Sequeces ad Series 6.1 Ifiite Sequeces 6.1.1 Elemetary Cocepts Simply speakig, a sequece is a ordered list of umbers writte: {a 1, a 2, a 3,...a, a +1,...} where the elemets a i represet

More information

Notes The Incremental Motion Model:

Notes The Incremental Motion Model: The Icremetal Motio Model: The Jacobia Matrix I the forward kiematics model, we saw that it was possible to relate joit agles θ, to the cofiguratio of the robot ed effector T I this sectio, we will see

More information

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Statistics

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Statistics ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER 1 018/019 DR. ANTHONY BROWN 8. Statistics 8.1. Measures of Cetre: Mea, Media ad Mode. If we have a series of umbers the

More information

a is some real number (called the coefficient) other

a is some real number (called the coefficient) other Precalculus Notes for Sectio.1 Liear/Quadratic Fuctios ad Modelig http://www.schooltube.com/video/77e0a939a3344194bb4f Defiitios: A moomial is a term of the form tha zero ad is a oegative iteger. a where

More information

Section 1.1. Calculus: Areas And Tangents. Difference Equations to Differential Equations

Section 1.1. Calculus: Areas And Tangents. Difference Equations to Differential Equations Differece Equatios to Differetial Equatios Sectio. Calculus: Areas Ad Tagets The study of calculus begis with questios about chage. What happes to the velocity of a swigig pedulum as its positio chages?

More information

( ) ( ) ( ) notation: [ ]

( ) ( ) ( ) notation: [ ] Liear Algebra Vectors ad Matrices Fudametal Operatios with Vectors Vector: a directed lie segmets that has both magitude ad directio =,,,..., =,,,..., = where 1, 2,, are the otatio: [ ] 1 2 3 1 2 3 compoets

More information

Chapter 10: Power Series

Chapter 10: Power Series Chapter : Power Series 57 Chapter Overview: Power Series The reaso series are part of a Calculus course is that there are fuctios which caot be itegrated. All power series, though, ca be itegrated because

More information

CS 112 Transformations II. Slide 1

CS 112 Transformations II. Slide 1 CS 112 Trasformatios II Slide 1 Compositio of Trasformatios Example: A poit P is first traslated ad the rotated. Traslatio matrix T, Rotatio Matrix R. After Traslatio: P = TP After Rotatio: P =RP =RTP

More information

Orthogonal transformations

Orthogonal transformations Orthogoal trasformatios October 12, 2014 1 Defiig property The squared legth of a vector is give by takig the dot product of a vector with itself, v 2 v v g ij v i v j A orthogoal trasformatio is a liear

More information

Bivariate Sample Statistics Geog 210C Introduction to Spatial Data Analysis. Chris Funk. Lecture 7

Bivariate Sample Statistics Geog 210C Introduction to Spatial Data Analysis. Chris Funk. Lecture 7 Bivariate Sample Statistics Geog 210C Itroductio to Spatial Data Aalysis Chris Fuk Lecture 7 Overview Real statistical applicatio: Remote moitorig of east Africa log rais Lead up to Lab 5-6 Review of bivariate/multivariate

More information

Representing transformations by matrices

Representing transformations by matrices Teachig Further Mathematics FP Give each pair of studets a copy of the sheet below elarged oto A. Represetig trasformatios by matrices Studets have to multiply the matri by the positio vector of each verte

More information

3 Balance equations ME338A CONTINUUM MECHANICS

3 Balance equations ME338A CONTINUUM MECHANICS ME338A CONTINUUM MECHANICS lecture otes 1 thursy, may 1, 28 Basic ideas util ow: kiematics, i.e., geeral statemets that characterize deformatio of a material body B without studyig its physical cause ow:

More information

Tennessee Department of Education

Tennessee Department of Education Teessee Departmet of Educatio Task: Comparig Shapes Geometry O a piece of graph paper with a coordiate plae, draw three o-colliear poits ad label them A, B, C. (Do ot use the origi as oe of your poits.)

More information

LINEARIZATION OF NONLINEAR EQUATIONS By Dominick Andrisani. dg x. ( ) ( ) dx

LINEARIZATION OF NONLINEAR EQUATIONS By Dominick Andrisani. dg x. ( ) ( ) dx LINEAIZATION OF NONLINEA EQUATIONS By Domiick Adrisai A. Liearizatio of Noliear Fctios A. Scalar fctios of oe variable. We are ive the oliear fctio (). We assme that () ca be represeted si a Taylor series

More information

R is a scalar defined as follows:

R is a scalar defined as follows: Math 8. Notes o Dot Product, Cross Product, Plaes, Area, ad Volumes This lecture focuses primarily o the dot product ad its may applicatios, especially i the measuremet of agles ad scalar projectio ad

More information

PH 425 Quantum Measurement and Spin Winter SPINS Lab 1

PH 425 Quantum Measurement and Spin Winter SPINS Lab 1 PH 425 Quatum Measuremet ad Spi Witer 23 SPIS Lab Measure the spi projectio S z alog the z-axis This is the experimet that is ready to go whe you start the program, as show below Each atom is measured

More information

Two or more points can be used to describe a rigid body. This will eliminate the need to define rotational coordinates for the body!

Two or more points can be used to describe a rigid body. This will eliminate the need to define rotational coordinates for the body! OINTCOORDINATE FORMULATION Two or more poits ca be used to describe a rigid body. This will elimiate the eed to defie rotatioal coordiates for the body i z r i i, j r j j rimary oits: The coordiates of

More information

Chimica Inorganica 3

Chimica Inorganica 3 himica Iorgaica Irreducible Represetatios ad haracter Tables Rather tha usig geometrical operatios, it is ofte much more coveiet to employ a ew set of group elemets which are matrices ad to make the rule

More information

(3) If you replace row i of A by its sum with a multiple of another row, then the determinant is unchanged! Expand across the i th row:

(3) If you replace row i of A by its sum with a multiple of another row, then the determinant is unchanged! Expand across the i th row: Math 50-004 Tue Feb 4 Cotiue with sectio 36 Determiats The effective way to compute determiats for larger-sized matrices without lots of zeroes is to ot use the defiitio, but rather to use the followig

More information

Honors Calculus Homework 13 Solutions, due 12/8/5

Honors Calculus Homework 13 Solutions, due 12/8/5 Hoors Calculus Homework Solutios, due /8/5 Questio Let a regio R i the plae be bouded by the curves y = 5 ad = 5y y. Sketch the regio R. The two curves meet where both equatios hold at oce, so where: y

More information

C/CS/Phys C191 Deutsch and Deutsch-Josza algorithms 10/20/07 Fall 2007 Lecture 17

C/CS/Phys C191 Deutsch and Deutsch-Josza algorithms 10/20/07 Fall 2007 Lecture 17 C/CS/Phs C9 Deutsch ad Deutsch-Josza algorithms 0/0/07 Fall 007 Lecture 7 Readigs Beeti et al., Ch. 3.9-3.9. Stolze ad Suter, Quatum Computig, Ch. 8. - 8..5) Nielse ad Chuag, Quatum Computatio ad Quatum

More information

REVISION SHEET FP1 (MEI) ALGEBRA. Identities In mathematics, an identity is a statement which is true for all values of the variables it contains.

REVISION SHEET FP1 (MEI) ALGEBRA. Identities In mathematics, an identity is a statement which is true for all values of the variables it contains. The mai ideas are: Idetities REVISION SHEET FP (MEI) ALGEBRA Before the exam you should kow: If a expressio is a idetity the it is true for all values of the variable it cotais The relatioships betwee

More information

Partial Differential Equations

Partial Differential Equations EE 84 Matematical Metods i Egieerig Partial Differetial Eqatios Followig are some classical partial differetial eqatios were is assmed to be a fctio of two or more variables t (time) ad y (spatial coordiates).

More information

Chapter 2 Feedback Control Theory Continued

Chapter 2 Feedback Control Theory Continued Chapter Feedback Cotrol Theor Cotiued. Itroductio I the previous chapter, the respose characteristic of simple first ad secod order trasfer fuctios were studied. It was show that first order trasfer fuctio,

More information

A NOTE ON THE TOTAL LEAST SQUARES FIT TO COPLANAR POINTS

A NOTE ON THE TOTAL LEAST SQUARES FIT TO COPLANAR POINTS A NOTE ON THE TOTAL LEAST SQUARES FIT TO COPLANAR POINTS STEVEN L. LEE Abstract. The Total Least Squares (TLS) fit to the poits (x,y ), =1,,, miimizes the sum of the squares of the perpedicular distaces

More information

6.3 Testing Series With Positive Terms

6.3 Testing Series With Positive Terms 6.3. TESTING SERIES WITH POSITIVE TERMS 307 6.3 Testig Series With Positive Terms 6.3. Review of what is kow up to ow I theory, testig a series a i for covergece amouts to fidig the i= sequece of partial

More information

+ve 10 N. Note we must be careful about writing If mass is not constant: dt dt dt

+ve 10 N. Note we must be careful about writing If mass is not constant: dt dt dt Force /N Moet is defied as the prodct of ass ad elocity. It is therefore a ector qatity. A ore geeral ersio of Newto s Secod Law is that force is the rate of chage of oet. I the absece of ay exteral force,

More information

The Random Walk For Dummies

The Random Walk For Dummies The Radom Walk For Dummies Richard A Mote Abstract We look at the priciples goverig the oe-dimesioal discrete radom walk First we review five basic cocepts of probability theory The we cosider the Beroulli

More information

Principle Of Superposition

Principle Of Superposition ecture 5: PREIMINRY CONCEP O RUCUR NYI Priciple Of uperpositio Mathematically, the priciple of superpositio is stated as ( a ) G( a ) G( ) G a a or for a liear structural system, the respose at a give

More information

Math E-21b Spring 2018 Homework #2

Math E-21b Spring 2018 Homework #2 Math E- Sprig 08 Homework # Prolems due Thursday, Feruary 8: Sectio : y = + 7 8 Fid the iverse of the liear trasformatio [That is, solve for, i terms of y, y ] y = + 0 Cosider the circular face i the accompayig

More information

REVISION SHEET FP1 (MEI) ALGEBRA. Identities In mathematics, an identity is a statement which is true for all values of the variables it contains.

REVISION SHEET FP1 (MEI) ALGEBRA. Identities In mathematics, an identity is a statement which is true for all values of the variables it contains. the Further Mathematics etwork wwwfmetworkorguk V 07 The mai ideas are: Idetities REVISION SHEET FP (MEI) ALGEBRA Before the exam you should kow: If a expressio is a idetity the it is true for all values

More information

A widely used display of protein shapes is based on the coordinates of the alpha carbons - - C α

A widely used display of protein shapes is based on the coordinates of the alpha carbons - - C α Nice plottig of proteis: I A widely used display of protei shapes is based o the coordiates of the alpha carbos - - C α -s. The coordiates of the C α -s are coected by a cotiuous curve that roughly follows

More information

II. Descriptive Statistics D. Linear Correlation and Regression. 1. Linear Correlation

II. Descriptive Statistics D. Linear Correlation and Regression. 1. Linear Correlation II. Descriptive Statistics D. Liear Correlatio ad Regressio I this sectio Liear Correlatio Cause ad Effect Liear Regressio 1. Liear Correlatio Quatifyig Liear Correlatio The Pearso product-momet correlatio

More information

Sequences A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

Sequences A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence Sequeces A sequece of umbers is a fuctio whose domai is the positive itegers. We ca see that the sequece 1, 1, 2, 2, 3, 3,... is a fuctio from the positive itegers whe we write the first sequece elemet

More information

(3) If you replace row i of A by its sum with a multiple of another row, then the determinant is unchanged! Expand across the i th row:

(3) If you replace row i of A by its sum with a multiple of another row, then the determinant is unchanged! Expand across the i th row: Math 5-4 Tue Feb 4 Cotiue with sectio 36 Determiats The effective way to compute determiats for larger-sized matrices without lots of zeroes is to ot use the defiitio, but rather to use the followig facts,

More information

The picture in figure 1.1 helps us to see that the area represents the distance traveled. Figure 1: Area represents distance travelled

The picture in figure 1.1 helps us to see that the area represents the distance traveled. Figure 1: Area represents distance travelled 1 Lecture : Area Area ad distace traveled Approximatig area by rectagles Summatio The area uder a parabola 1.1 Area ad distace Suppose we have the followig iformatio about the velocity of a particle, how

More information

Statistics 511 Additional Materials

Statistics 511 Additional Materials Cofidece Itervals o mu Statistics 511 Additioal Materials This topic officially moves us from probability to statistics. We begi to discuss makig ifereces about the populatio. Oe way to differetiate probability

More information

HWA CHONG INSTITUTION JC1 PROMOTIONAL EXAMINATION Wednesday 1 October hours. List of Formula (MF15)

HWA CHONG INSTITUTION JC1 PROMOTIONAL EXAMINATION Wednesday 1 October hours. List of Formula (MF15) HWA CHONG INSTITUTION JC PROMOTIONAL EXAMINATION 4 MATHEMATICS Higher 974/ Paper Wedesda October 4 hors Additioal materials: Aswer paper List of Formla (MF5) READ THESE INSTRUCTIONS FIRST Write or ame

More information

Notes on iteration and Newton s method. Iteration

Notes on iteration and Newton s method. Iteration Notes o iteratio ad Newto s method Iteratio Iteratio meas doig somethig over ad over. I our cotet, a iteratio is a sequece of umbers, vectors, fuctios, etc. geerated by a iteratio rule of the type 1 f

More information

Math 21B-B - Homework Set 2

Math 21B-B - Homework Set 2 Math B-B - Homework Set Sectio 5.:. a) lim P k= c k c k ) x k, where P is a partitio of [, 5. x x ) dx b) lim P k= 4 ck x k, where P is a partitio of [,. 4 x dx c) lim P k= ta c k ) x k, where P is a partitio

More information

ES.182A Topic 40 Notes Jeremy Orloff

ES.182A Topic 40 Notes Jeremy Orloff ES.182A opic 4 Notes Jeremy Orloff 4 Flux: ormal form of Gree s theorem Gree s theorem i flux form is formally equivalet to our previous versio where the lie itegral was iterpreted as work. Here we will

More information

Notes for Lecture 5. 1 Grover Search. 1.1 The Setting. 1.2 Motivation. Lecture 5 (September 26, 2018)

Notes for Lecture 5. 1 Grover Search. 1.1 The Setting. 1.2 Motivation. Lecture 5 (September 26, 2018) COS 597A: Quatum Cryptography Lecture 5 (September 6, 08) Lecturer: Mark Zhadry Priceto Uiversity Scribe: Fermi Ma Notes for Lecture 5 Today we ll move o from the slightly cotrived applicatios of quatum

More information

Chapter 6 Part 5. Confidence Intervals t distribution chi square distribution. October 23, 2008

Chapter 6 Part 5. Confidence Intervals t distribution chi square distribution. October 23, 2008 Chapter 6 Part 5 Cofidece Itervals t distributio chi square distributio October 23, 2008 The will be o help sessio o Moday, October 27. Goal: To clearly uderstad the lik betwee probability ad cofidece

More information

A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence Sequeces A sequece of umbers is a fuctio whose domai is the positive itegers. We ca see that the sequece,, 2, 2, 3, 3,... is a fuctio from the positive itegers whe we write the first sequece elemet as

More information

Definition 2.1 (The Derivative) (page 54) is a function. The derivative of a function f with respect to x, represented by. f ', is defined by

Definition 2.1 (The Derivative) (page 54) is a function. The derivative of a function f with respect to x, represented by. f ', is defined by Chapter DACS Lok 004/05 CHAPTER DIFFERENTIATION. THE GEOMETRICAL MEANING OF DIFFERENTIATION (page 54) Defiitio. (The Derivative) (page 54) Let f () is a fctio. The erivative of a fctio f with respect to,

More information

Lecture 7: Fourier Series and Complex Power Series

Lecture 7: Fourier Series and Complex Power Series Math 1d Istructor: Padraic Bartlett Lecture 7: Fourier Series ad Complex Power Series Week 7 Caltech 013 1 Fourier Series 1.1 Defiitios ad Motivatio Defiitio 1.1. A Fourier series is a series of fuctios

More information

Axis Aligned Ellipsoid

Axis Aligned Ellipsoid Machie Learig for Data Sciece CS 4786) Lecture 6,7 & 8: Ellipsoidal Clusterig, Gaussia Mixture Models ad Geeral Mixture Models The text i black outlies high level ideas. The text i blue provides simple

More information

Salmon: Lectures on partial differential equations. 3. First-order linear equations as the limiting case of second-order equations

Salmon: Lectures on partial differential equations. 3. First-order linear equations as the limiting case of second-order equations 3. First-order liear equatios as the limitig case of secod-order equatios We cosider the advectio-diffusio equatio (1) v = 2 o a bouded domai, with boudary coditios of prescribed. The coefficiets ( ) (2)

More information

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer.

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer. 6 Itegers Modulo I Example 2.3(e), we have defied the cogruece of two itegers a,b with respect to a modulus. Let us recall that a b (mod ) meas a b. We have proved that cogruece is a equivalece relatio

More information

Problem Set # 5 Solutions

Problem Set # 5 Solutions MIT./8.4/6.898/8.435 Quatum Iformatio Sciece I Fall, 00 Sam Ocko October 5, 00 Problem Set # 5 Solutios. Most uitar trasforms are hard to approimate. (a) We are dealig with boolea fuctios that take bits

More information

EE2 Mathematics : Functions of Multiple Variables

EE2 Mathematics : Functions of Multiple Variables EE2 Mathematics : Fnctions of Mltiple Variables http://www2.imperial.ac.k/ nsjones These notes are not identical word-for-word with m lectres which will be gien on the blackboard. Some of these notes ma

More information

1 Approximating Integrals using Taylor Polynomials

1 Approximating Integrals using Taylor Polynomials Seughee Ye Ma 8: Week 7 Nov Week 7 Summary This week, we will lear how we ca approximate itegrals usig Taylor series ad umerical methods. Topics Page Approximatig Itegrals usig Taylor Polyomials. Defiitios................................................

More information

Taylor Series (BC Only)

Taylor Series (BC Only) Studet Study Sessio Taylor Series (BC Oly) Taylor series provide a way to fid a polyomial look-alike to a o-polyomial fuctio. This is doe by a specific formula show below (which should be memorized): Taylor

More information

CATHOLIC JUNIOR COLLEGE General Certificate of Education Advanced Level Higher 2 JC2 Preliminary Examination MATHEMATICS 9740/01

CATHOLIC JUNIOR COLLEGE General Certificate of Education Advanced Level Higher 2 JC2 Preliminary Examination MATHEMATICS 9740/01 CATHOLIC JUNIOR COLLEGE Geeral Certificate of Educatio Advaced Level Higher JC Prelimiary Examiatio MATHEMATICS 9740/0 Paper 4 Aug 06 hours Additioal Materials: List of Formulae (MF5) Name: Class: READ

More information

Machine Learning for Data Science (CS 4786)

Machine Learning for Data Science (CS 4786) Machie Learig for Data Sciece CS 4786) Lecture & 3: Pricipal Compoet Aalysis The text i black outlies high level ideas. The text i blue provides simple mathematical details to derive or get to the algorithm

More information

Introduction to Machine Learning DIS10

Introduction to Machine Learning DIS10 CS 189 Fall 017 Itroductio to Machie Learig DIS10 1 Fu with Lagrage Multipliers (a) Miimize the fuctio such that f (x,y) = x + y x + y = 3. Solutio: The Lagragia is: L(x,y,λ) = x + y + λ(x + y 3) Takig

More information

AP Calculus BC Review Applications of Derivatives (Chapter 4) and f,

AP Calculus BC Review Applications of Derivatives (Chapter 4) and f, AP alculus B Review Applicatios of Derivatives (hapter ) Thigs to Kow ad Be Able to Do Defiitios of the followig i terms of derivatives, ad how to fid them: critical poit, global miima/maima, local (relative)

More information

Discrete-Time Systems, LTI Systems, and Discrete-Time Convolution

Discrete-Time Systems, LTI Systems, and Discrete-Time Convolution EEL5: Discrete-Time Sigals ad Systems. Itroductio I this set of otes, we begi our mathematical treatmet of discrete-time s. As show i Figure, a discrete-time operates or trasforms some iput sequece x [

More information

Roberto s Notes on Series Chapter 2: Convergence tests Section 7. Alternating series

Roberto s Notes on Series Chapter 2: Convergence tests Section 7. Alternating series Roberto s Notes o Series Chapter 2: Covergece tests Sectio 7 Alteratig series What you eed to kow already: All basic covergece tests for evetually positive series. What you ca lear here: A test for series

More information

MATHEMATICS: PAPER II Page 1 of 11 HILTON COLLEGE TRIAL EXAMINATION AUGUST 2013 MATHEMATICS: PAPER II GENERAL INSTRUCTIONS

MATHEMATICS: PAPER II Page 1 of 11 HILTON COLLEGE TRIAL EXAMINATION AUGUST 2013 MATHEMATICS: PAPER II GENERAL INSTRUCTIONS MATHEMATICS: PAPER II Page 1 of 11 HILTON COLLEGE TRIAL EXAMINATION AUGUST 013 Time: 3 hours MATHEMATICS: PAPER II GENERAL INSTRUCTIONS 150 marks PLEASE READ THE FOLLOWING INSTRUCTIONS CAREFULLY. 1. This

More information

Mth 95 Notes Module 1 Spring Section 4.1- Solving Systems of Linear Equations in Two Variables by Graphing, Substitution, and Elimination

Mth 95 Notes Module 1 Spring Section 4.1- Solving Systems of Linear Equations in Two Variables by Graphing, Substitution, and Elimination Mth 9 Notes Module Sprig 4 Sectio 4.- Solvig Sstems of Liear Equatios i Two Variales Graphig, Sustitutio, ad Elimiatio A Solutio to a Sstem of Two (or more) Liear Equatios is the commo poit(s) of itersectio

More information

Some examples of vector spaces

Some examples of vector spaces Roberto s Notes o Liear Algebra Chapter 11: Vector spaces Sectio 2 Some examples of vector spaces What you eed to kow already: The te axioms eeded to idetify a vector space. What you ca lear here: Some

More information

NATIONAL JUNIOR COLLEGE SENIOR HIGH 1 PROMOTIONAL EXAMINATIONS Higher 2

NATIONAL JUNIOR COLLEGE SENIOR HIGH 1 PROMOTIONAL EXAMINATIONS Higher 2 NATIONAL JUNIOR COLLEGE SENIOR HIGH PROMOTIONAL EXAMINATIONS Higher MATHEMATICS 9758 9 September 06 hours Additioal Materials: Aswer Paper List of Formulae (MF6) Cover Sheet READ THESE INSTRUCTIONS FIRST

More information

8. Applications To Linear Differential Equations

8. Applications To Linear Differential Equations 8. Applicatios To Liear Differetial Equatios 8.. Itroductio 8.. Review Of Results Cocerig Liear Differetial Equatios Of First Ad Secod Orders 8.3. Eercises 8.4. Liear Differetial Equatios Of Order N 8.5.

More information

Representations of State Vectors and Operators

Representations of State Vectors and Operators Chapter 10 Represetatios of State Vectors ad Operators I the precedig Chapters, the mathematical ideas uderpiig the quatum theory have bee developed i a fairly geeral (though, admittedly, ot a mathematically

More information

Measures of Spread: Standard Deviation

Measures of Spread: Standard Deviation Measures of Spread: Stadard Deviatio So far i our study of umerical measures used to describe data sets, we have focused o the mea ad the media. These measures of ceter tell us the most typical value of

More information

Simple Linear Regression

Simple Linear Regression Chapter 2 Simple Liear Regressio 2.1 Simple liear model The simple liear regressio model shows how oe kow depedet variable is determied by a sigle explaatory variable (regressor). Is is writte as: Y i

More information

In the preceding Chapters, the mathematical ideas underpinning the quantum theory have been

In the preceding Chapters, the mathematical ideas underpinning the quantum theory have been Chapter Matrix Represetatios of State Vectors ad Operators I the precedig Chapters, the mathematical ideas uderpiig the quatum theory have bee developed i a fairly geeral (though, admittedly, ot a mathematically

More information

4.3 Growth Rates of Solutions to Recurrences

4.3 Growth Rates of Solutions to Recurrences 4.3. GROWTH RATES OF SOLUTIONS TO RECURRENCES 81 4.3 Growth Rates of Solutios to Recurreces 4.3.1 Divide ad Coquer Algorithms Oe of the most basic ad powerful algorithmic techiques is divide ad coquer.

More information

Now we are looking to find a volume of solid S that lies below a surface z = f(x,y) and R= ab, cd,,[a,b] is the interval over

Now we are looking to find a volume of solid S that lies below a surface z = f(x,y) and R= ab, cd,,[a,b] is the interval over Multiple Itegratio Double Itegrals, Volume, ad Iterated Itegrals I sigle variable calculus we looked to fid the area uder a curve f(x) bouded by the x- axis over some iterval usig summatios the that led

More information

Chapter 1. Complex Numbers. Dr. Pulak Sahoo

Chapter 1. Complex Numbers. Dr. Pulak Sahoo Chapter 1 Complex Numbers BY Dr. Pulak Sahoo Assistat Professor Departmet of Mathematics Uiversity Of Kalyai West Begal, Idia E-mail : sahoopulak1@gmail.com 1 Module-2: Stereographic Projectio 1 Euler

More information

MEI Casio Tasks for Further Pure

MEI Casio Tasks for Further Pure Task Complex Numbers: Roots of Quadratic Equatios. Add a ew Equatio scree: paf 2. Chage the Complex output to a+bi: LpNNNNwd 3. Select Polyomial ad set the Degree to 2: wq 4. Set a=, b=5 ad c=6: l5l6l

More information

Section 14. Simple linear regression.

Section 14. Simple linear regression. Sectio 14 Simple liear regressio. Let us look at the cigarette dataset from [1] (available to dowload from joural s website) ad []. The cigarette dataset cotais measuremets of tar, icotie, weight ad carbo

More information

Math 21C Brian Osserman Practice Exam 2

Math 21C Brian Osserman Practice Exam 2 Math 1C Bria Osserma Practice Exam 1 (15 pts.) Determie the radius ad iterval of covergece of the power series (x ) +1. First we use the root test to determie for which values of x the series coverges

More information

Castiel, Supernatural, Season 6, Episode 18

Castiel, Supernatural, Season 6, Episode 18 13 Differetial Equatios the aswer to your questio ca best be epressed as a series of partial differetial equatios... Castiel, Superatural, Seaso 6, Episode 18 A differetial equatio is a mathematical equatio

More information

Lecture 9: Vector Geometry: A Coordinate-Free Approach. And ye shall know the truth, and the truth shall make you free. John 8:32

Lecture 9: Vector Geometry: A Coordinate-Free Approach. And ye shall know the truth, and the truth shall make you free. John 8:32 Lecture 9: Vector Geometry: A Coordiate-Free Approach Ad ye shall kow the truth, ad the truth shall make you free. Joh 8:32 1. Coordiate-Free Methods We are goig to asced ow from the flat world of 2-dimesios

More information

An application of a subset S of C onto another S' defines a function [f(z)] of the complex variable z.

An application of a subset S of C onto another S' defines a function [f(z)] of the complex variable z. Diola Bagaoko (1 ELEMENTARY FNCTIONS OFA COMPLEX VARIABLES I Basic Defiitio of a Fuctio of a Comple Variable A applicatio of a subset S of C oto aother S' defies a fuctio [f(] of the comple variable z

More information

Quadratic Functions. Before we start looking at polynomials, we should know some common terminology.

Quadratic Functions. Before we start looking at polynomials, we should know some common terminology. Quadratic Fuctios I this sectio we begi the study of fuctios defied by polyomial expressios. Polyomial ad ratioal fuctios are the most commo fuctios used to model data, ad are used extesively i mathematical

More information

Implicit function theorem

Implicit function theorem Jovo Jaric Implicit fuctio theorem The reader kows that the equatio of a curve i the x - plae ca be expressed F x, =., this does ot ecessaril represet a fuctio. Take, for example F x, = 2x x =. (1 either

More information

, then cv V. Differential Equations Elements of Lineaer Algebra Name: Consider the differential equation. and y2 cos( kx)

, then cv V. Differential Equations Elements of Lineaer Algebra Name: Consider the differential equation. and y2 cos( kx) Cosider the differetial equatio y '' k y 0 has particular solutios y1 si( kx) ad y cos( kx) I geeral, ay liear combiatio of y1 ad y, cy 1 1 cy where c1, c is also a solutio to the equatio above The reaso

More information