Splay Trees Handout. Last time we discussed amortized analysis of data structures

Size: px
Start display at page:

Download "Splay Trees Handout. Last time we discussed amortized analysis of data structures"

Transcription

1 Spla Tees Handout Amotied Analsis Last time we discussed amotied analsis of data stuctues A wa of epessing that even though the wost-case pefomance of an opeation can be bad, the total pefomance of a sequence of opeations cannot be too bad. One wa of thinking of amotied time is as being an aveage : If an sequence of n opeations takes less than T (n) time, the amotied time pe opeation is T (n)/n. We fomall defined amotied time using the idea that we ove-chage some opeations and stoe the ove-chage as cedits/potential that can then help pa fo late opeations (potential method) Conside pefoming n opeations on an initial data stuctue D 0 D i is data stuctue afte ith opeation. c i is actual cost (time) of ith opeation. Potential function: Φ : D i R c i amotied cost of ith opeation: c i = c i + Φ(D i ) Φ(D i ) Given Φ(D 0 ) = 0 and Φ(D i ) 0: n i= c i n i= c i We also discussed two eamples of amotied analsis Stack with Multipop (O(n) wost-case, O() amotied). Incement on bina counte (O(log n) wost-case, O() amotied). In both cases we could ague fo O() amotied pefomance without actuall doing potential calculation we just think about potential/cedits as being distibuted on cetain pats of the data stuctue and let opeations put and take cedits while maintaining some invaiant (accounting method).

2 Spla tees We have peviousl discussed bina seach tees and how the can be kept balanced (O(log n) height) duing inset and delete opeations (ed-black tees). Rebalancing athe complicated Eta space used fo the colo of each node We also discussed skip lists which ae a lot simple than ed-black tees Onl guaantee O(log n) epected pefomance No eta infomation is used fo ebalance infomation though Spla tees ae seach tees that magicall balance themselves (no ebalance infomation is stoed) and have amotied O(log n) pefomance. Recall seach tees: Bina tee with elements in nodes If node v holds element e then Spla tee: all elements in left subtee < e all elements in left subtee > e Nomal (possibl unbalanced) seach tee T All opeations implemented using one basic opeation, Spla: Spla(, T ) seaches fo in T and eoganies tee such that (o min element > o ma element < ) is in oot Seach(, T ): Spla(, T ) and inspect oot Inset(, T ): Spla(, T ) and ceate new oot with T spla(,t) o

3 Delete(, T ): Spla(, T ) and emove oot tee falls into T and T. Spla(, T ) Make T ight son of new oot of T afte spla spla(,t) T spla(,) All opeations pefom O() Spla s and use O() eta time. O(log n) amotied Spla gives O(log n) amotied bound on all opeations. Implementation of Spla: Seach fo like in nomal seach tee Repeatedl otate up until it becomes the oot. We distinguish between thee cases:. is child of oot (no gandpaent): otate() e.g. T T. has paent and gandpaent and both and left (ight) childen: otate() followed b otate() Note: Does not wok with otate() and otate() e.g. T T T T T T

4 . has paent and gandpaent and one of and is a left child and the othe is a ight child: otate() followed b otate() e.g. T T T T T T Note: A Spla can take O(n) wost-case time (ve unbalanced tee) But Spla tees somehow seem to sta nicel balanced Eamples: Spla(, T ) (tpe) (tpe) (tpe) (tpe) Spla(, T ) (tpe) (tpe)

5 Analsis: We will use accounting method to show that all opeations (Spla) takes O(log n) amotied time. We will imagine that each node in tee has cedits on it We will use some cedits to pa fo (pat of) otations duing a spla We will see that we onl have to place O(log n) new cedits (on oot) when pefoming an Inset o Delete Note that we will ignoe cost of seaching fo, since the otations cost at least as much as the seach ( if we can bound amotied otation cost we also bound seach cost). Let T () be tee ooted at. We will maintain the cedit invaiant that each node holds µ() = log T () cedits. We will pove the following lemma: Less than o equal to (µ(t ) µ()+o()) cedits ae needed to pefom Spla(, T ) opeation and maintain cedit invaiant Using this lemma we get that a spla opeation uses at most log n +O() = O(log n) cedits (time). As an Inset o a Delete equies us to inset at most O(log n) eta cedits (on the oot) moe than the ones used on the Spla, we get the O(log n) amotied bound. Poof of lemma: Case : Let µ and µ be the value of µ befoe and afte a otate opeation in case,, o. Duing a Spla opeation we pefom a numbe of, sa k 0, case and opeations and possibl a case opeation. Net time we will show that the cost of one opeation is: Case : (µ () µ() + O()) Case : (µ () µ()) Case : (µ () µ()) When we sum ove all k + opeations in a spla we get (µ(t ) µ() + O()) whee µ() is the numbe of cedits on befoe the Spla. Note that it is impotant that we onl have the O() tem in case. We have: µ () = µ(), µ () µ () and all othe µ s ae unchanged. To maintain invaiant we use: µ () + µ () µ() µ() = µ () µ() µ () µ() (µ () µ()) To do actual otation we use O() cedits.

6 Case : We have µ () = µ(), µ () µ (), µ () µ (), µ() µ() and all othe µ s ae unchanged. To maintain invaiant we use: µ () + µ () + µ () µ() µ() µ() = µ () + µ () µ() µ() = (µ () µ()) + (µ () µ()) (µ () µ()) + (µ () µ()) = (µ () µ()) Case : This means that we can use the emaining µ () µ() cedits to pa fo otation, unless µ () = µ() (can happen since µ() = log T () ). We will show that if µ () = µ() then µ () + µ () + µ () < µ() + µ() + µ() which means that the opeation actuall eleases cedits we can use fo the otation: Assume µ () = µ() and µ () + µ () + µ () µ() + µ() + µ() We have µ() = µ () = µ() µ() = µ() = µ() and µ () + µ () + µ () µ() + µ() + µ() = µ() = µ () µ () + µ () µ () Since µ () µ () and µ () µ () we get µ () = µ () = µ () Since µ() = µ () we have µ() = µ() = µ() = µ () = µ () = µ () which cannot be tue (and thus ou initial assumption cannot be tue): Let a be T () befoe otations (a = T + T + ) Let b be T () afte otations (b = T + T + ) Since µ() = µ () = µ () we have log a = log b = log(a + b + ) but then we have the following contadiction: if a b: log(a + b + ) log a = + log a > log a if a > b: log(a + b + ) log b = + log b > log b Can be poved analogousl to case.

A Bijective Approach to the Permutational Power of a Priority Queue

A Bijective Approach to the Permutational Power of a Priority Queue A Bijective Appoach to the Pemutational Powe of a Pioity Queue Ia M. Gessel Kuang-Yeh Wang Depatment of Mathematics Bandeis Univesity Waltham, MA 02254-9110 Abstact A pioity queue tansfoms an input pemutation

More information

Chapter Eight Notes N P U1C8S4-6

Chapter Eight Notes N P U1C8S4-6 Chapte Eight Notes N P UC8S-6 Name Peiod Section 8.: Tigonometic Identities An identit is, b definition, an equation that is alwas tue thoughout its domain. B tue thoughout its domain, that is to sa that

More information

Stanford University CS259Q: Quantum Computing Handout 8 Luca Trevisan October 18, 2012

Stanford University CS259Q: Quantum Computing Handout 8 Luca Trevisan October 18, 2012 Stanfod Univesity CS59Q: Quantum Computing Handout 8 Luca Tevisan Octobe 8, 0 Lectue 8 In which we use the quantum Fouie tansfom to solve the peiod-finding poblem. The Peiod Finding Poblem Let f : {0,...,

More information

Supplementary information Efficient Enumeration of Monocyclic Chemical Graphs with Given Path Frequencies

Supplementary information Efficient Enumeration of Monocyclic Chemical Graphs with Given Path Frequencies Supplementay infomation Efficient Enumeation of Monocyclic Chemical Gaphs with Given Path Fequencies Masaki Suzuki, Hioshi Nagamochi Gaduate School of Infomatics, Kyoto Univesity {m suzuki,nag}@amp.i.kyoto-u.ac.jp

More information

The Substring Search Problem

The Substring Search Problem The Substing Seach Poblem One algoithm which is used in a vaiety of applications is the family of substing seach algoithms. These algoithms allow a use to detemine if, given two chaacte stings, one is

More information

9.1 The multiplicative group of a finite field. Theorem 9.1. The multiplicative group F of a finite field is cyclic.

9.1 The multiplicative group of a finite field. Theorem 9.1. The multiplicative group F of a finite field is cyclic. Chapte 9 Pimitive Roots 9.1 The multiplicative goup of a finite fld Theoem 9.1. The multiplicative goup F of a finite fld is cyclic. Remak: In paticula, if p is a pime then (Z/p) is cyclic. In fact, this

More information

Math 301: The Erdős-Stone-Simonovitz Theorem and Extremal Numbers for Bipartite Graphs

Math 301: The Erdős-Stone-Simonovitz Theorem and Extremal Numbers for Bipartite Graphs Math 30: The Edős-Stone-Simonovitz Theoem and Extemal Numbes fo Bipatite Gaphs May Radcliffe The Edős-Stone-Simonovitz Theoem Recall, in class we poved Tuán s Gaph Theoem, namely Theoem Tuán s Theoem Let

More information

Chapter 3: Theory of Modular Arithmetic 38

Chapter 3: Theory of Modular Arithmetic 38 Chapte 3: Theoy of Modula Aithmetic 38 Section D Chinese Remainde Theoem By the end of this section you will be able to pove the Chinese Remainde Theoem apply this theoem to solve simultaneous linea conguences

More information

Merging to ordered sequences. Efficient (Parallel) Sorting. Merging (cont.)

Merging to ordered sequences. Efficient (Parallel) Sorting. Merging (cont.) Efficient (Paae) Soting One of the most fequent opeations pefomed by computes is oganising (soting) data The access to soted data is moe convenient/faste Thee is a constant need fo good soting agoithms

More information

Pushdown Automata (PDAs)

Pushdown Automata (PDAs) CHAPTER 2 Context-Fee Languages Contents Context-Fee Gammas definitions, examples, designing, ambiguity, Chomsky nomal fom Pushdown Automata definitions, examples, euivalence with context-fee gammas Non-Context-Fee

More information

Flux. Area Vector. Flux of Electric Field. Gauss s Law

Flux. Area Vector. Flux of Electric Field. Gauss s Law Gauss s Law Flux Flux in Physics is used to two distinct ways. The fist meaning is the ate of flow, such as the amount of wate flowing in a ive, i.e. volume pe unit aea pe unit time. O, fo light, it is

More information

Linear Algebra Math 221

Linear Algebra Math 221 Linea Algeba Math Open Book Eam Open Notes Sept Calculatos Pemitted Sho all ok (ecept #). ( pts) Gien the sstem of equations a) ( pts) Epess this sstem as an augmented mati. b) ( pts) Bing this mati to

More information

1. Show that the volume of the solid shown can be represented by the polynomial 6x x.

1. Show that the volume of the solid shown can be represented by the polynomial 6x x. 7.3 Dividing Polynomials by Monomials Focus on Afte this lesson, you will be able to divide a polynomial by a monomial Mateials algeba tiles When you ae buying a fish tank, the size of the tank depends

More information

Matrix Colorings of P 4 -sparse Graphs

Matrix Colorings of P 4 -sparse Graphs Diplomabeit Matix Coloings of P 4 -spase Gaphs Chistoph Hannnebaue Januay 23, 2010 Beteue: Pof. D. Winfied Hochstättle FenUnivesität in Hagen Fakultät fü Mathematik und Infomatik Contents Intoduction iii

More information

COMP Parallel Computing SMM (3) OpenMP Case Study: The Barnes-Hut N-body Algorithm

COMP Parallel Computing SMM (3) OpenMP Case Study: The Barnes-Hut N-body Algorithm COMP 633 - Paallel Computing Lectue 8 Septembe 14, 2017 SMM (3) OpenMP Case Study: The Banes-Hut N-body Algoithm Topics Case study: the Banes-Hut algoithm Study an impotant algoithm in scientific computing»

More information

Gauss Law. Physics 231 Lecture 2-1

Gauss Law. Physics 231 Lecture 2-1 Gauss Law Physics 31 Lectue -1 lectic Field Lines The numbe of field lines, also known as lines of foce, ae elated to stength of the electic field Moe appopiately it is the numbe of field lines cossing

More information

Solution to HW 3, Ma 1a Fall 2016

Solution to HW 3, Ma 1a Fall 2016 Solution to HW 3, Ma a Fall 206 Section 2. Execise 2: Let C be a subset of the eal numbes consisting of those eal numbes x having the popety that evey digit in the decimal expansion of x is, 3, 5, o 7.

More information

Multifrontal sparse QR factorization on the GPU

Multifrontal sparse QR factorization on the GPU Multifontal spase QR factoization on the GPU Tim Davis, Sanjay Ranka, Shaanyan Chetlu, Nui Yealan Univesity of Floida Feb 2012 GPU-based Multifontal QR factoization why spase QR? multifontal spase QR in

More information

Lecture 8 - Gauss s Law

Lecture 8 - Gauss s Law Lectue 8 - Gauss s Law A Puzzle... Example Calculate the potential enegy, pe ion, fo an infinite 1D ionic cystal with sepaation a; that is, a ow of equally spaced chages of magnitude e and altenating sign.

More information

Name. Date. Period. Engage Examine the pictures on the left. 1. What is going on in these pictures?

Name. Date. Period. Engage Examine the pictures on the left. 1. What is going on in these pictures? AP Physics 1 Lesson 9.a Unifom Cicula Motion Outcomes 1. Define unifom cicula motion. 2. Detemine the tangential velocity of an object moving with unifom cicula motion. 3. Detemine the centipetal acceleation

More information

P.7 Trigonometry. What s round and can cause major headaches? The Unit Circle.

P.7 Trigonometry. What s round and can cause major headaches? The Unit Circle. P.7 Tigonomet What s ound and can cause majo headaches? The Unit Cicle. The Unit Cicle will onl cause ou headaches if ou don t know it. Using the Unit Cicle in Calculus is equivalent to using ou multiplication

More information

Page 1 of 6 Physics II Exam 1 155 points Name Discussion day/time Pat I. Questions 110. 8 points each. Multiple choice: Fo full cedit, cicle only the coect answe. Fo half cedit, cicle the coect answe and

More information

2.5 The Quarter-Wave Transformer

2.5 The Quarter-Wave Transformer /3/5 _5 The Quate Wave Tansfome /.5 The Quate-Wave Tansfome Reading Assignment: pp. 73-76 By now you ve noticed that a quate-wave length of tansmission line ( λ 4, β π ) appeas often in micowave engineeing

More information

Solutions to Problem Set 8

Solutions to Problem Set 8 Massachusetts Institute of Technology 6.042J/18.062J, Fall 05: Mathematics fo Compute Science Novembe 21 Pof. Albet R. Meye and Pof. Ronitt Rubinfeld evised Novembe 27, 2005, 858 minutes Solutions to Poblem

More information

PHYS Summer Professor Caillault Homework Solutions. Chapter 5

PHYS Summer Professor Caillault Homework Solutions. Chapter 5 PHYS 1111 - Summe 2007 - Pofesso Caillault Homewok Solutions Chapte 5 7. Pictue the Poblem: The ball is acceleated hoizontally fom est to 98 mi/h ove a distance of 1.7 m. Stategy: Use equation 2-12 to

More information

A quadratic algorithm for road coloring

A quadratic algorithm for road coloring A quadatic algoithm fo oad coloing Maie-Piee Béal and Dominique Pein Octobe 6, 0 axiv:080.076v9 [cs.ds] 0 May 01 Abstact The Road Coloing Theoem states that evey apeiodic diected gaph with constant out-degee

More information

10/04/18. P [P(x)] 1 negl(n).

10/04/18. P [P(x)] 1 negl(n). Mastemath, Sping 208 Into to Lattice lgs & Cypto Lectue 0 0/04/8 Lectues: D. Dadush, L. Ducas Scibe: K. de Boe Intoduction In this lectue, we will teat two main pats. Duing the fist pat we continue the

More information

Non-Linear Dynamics Homework Solutions Week 2

Non-Linear Dynamics Homework Solutions Week 2 Non-Linea Dynamics Homewok Solutions Week Chis Small Mach, 7 Please email me at smach9@evegeen.edu with any questions o concens eguading these solutions. Fo the ececises fom section., we sketch all qualitatively

More information

Pledge: Signature:

Pledge: Signature: S 202, Sing 2005 Midtem 1: 24 eb 2005 Page 1/8 Name: KEY E-mail D: @viginia.edu Pledge: Signatue: Thee ae 75 minutes fo this exam and 100 oints on the test; don t send too long on any one uestion! The

More information

Chapter 19 Webassign Help Problems

Chapter 19 Webassign Help Problems Chapte 9 Webaign Help Poblem 4 5 6 7 8 9 0 Poblem 4: The pictue fo thi poblem i a bit mileading. They eally jut give you the pictue fo Pat b. So let fix that. Hee i the pictue fo Pat (a): Pat (a) imply

More information

Markscheme May 2017 Calculus Higher level Paper 3

Markscheme May 2017 Calculus Higher level Paper 3 M7/5/MATHL/HP3/ENG/TZ0/SE/M Makscheme May 07 Calculus Highe level Pape 3 pages M7/5/MATHL/HP3/ENG/TZ0/SE/M This makscheme is the popety of the Intenational Baccalaueate and must not be epoduced o distibuted

More information

Section 8.2 Polar Coordinates

Section 8.2 Polar Coordinates Section 8. Pola Coodinates 467 Section 8. Pola Coodinates The coodinate system we ae most familia with is called the Catesian coodinate system, a ectangula plane divided into fou quadants by the hoizontal

More information

A Tutorial on Multiple Integrals (for Natural Sciences / Computer Sciences Tripos Part IA Maths)

A Tutorial on Multiple Integrals (for Natural Sciences / Computer Sciences Tripos Part IA Maths) A Tutoial on Multiple Integals (fo Natual Sciences / Compute Sciences Tipos Pat IA Maths) Coections to D Ian Rud (http://people.ds.cam.ac.uk/ia/contact.html) please. This tutoial gives some bief eamples

More information

Much that has already been said about changes of variable relates to transformations between different coordinate systems.

Much that has already been said about changes of variable relates to transformations between different coordinate systems. MULTIPLE INTEGRLS I P Calculus Cooinate Sstems Much that has alea been sai about changes of vaiable elates to tansfomations between iffeent cooinate sstems. The main cooinate sstems use in the solution

More information

Top K Nearest Keyword Search on Large Graphs

Top K Nearest Keyword Search on Large Graphs Top K Neaest Keywod Seach on Lage Gaphs Miao Qiao, Lu Qin, Hong Cheng, Jeffey Xu Yu, Wentao Tian The Chinese Univesity of Hong Kong, Hong Kong, China {mqiao,lqin,hcheng,yu,wttian}@se.cuhk.edu.hk ABSTRACT

More information

ITI Introduction to Computing II

ITI Introduction to Computing II ITI 1121. Intoduction to Computing II Macel Tucotte School of Electical Engineeing and Compute Science Abstact data type: Stack Stack-based algoithms Vesion of Febuay 2, 2013 Abstact These lectue notes

More information

Chapter 6. Self-Adjusting Data Structures

Chapter 6. Self-Adjusting Data Structures Chapter 6 Self-Adjusting Data Structures Chapter 5 describes a data structure that is able to achieve an epected quer time that is proportional to the entrop of the quer distribution. The most interesting

More information

AQI: Advanced Quantum Information Lecture 2 (Module 4): Order finding and factoring algorithms February 20, 2013

AQI: Advanced Quantum Information Lecture 2 (Module 4): Order finding and factoring algorithms February 20, 2013 AQI: Advanced Quantum Infomation Lectue 2 (Module 4): Ode finding and factoing algoithms Febuay 20, 203 Lectue: D. Mak Tame (email: m.tame@impeial.ac.uk) Intoduction In the last lectue we looked at the

More information

gr0 GRAPHS Hanan Samet

gr0 GRAPHS Hanan Samet g0 GRPHS Hanan Samet ompute Science epatment and ente fo utomation Reseach and Institute fo dvanced ompute Studies Univesity of Mayland ollege Pak, Mayland 074 e-mail: hjs@umiacs.umd.edu opyight 1997 Hanan

More information

The Chromatic Villainy of Complete Multipartite Graphs

The Chromatic Villainy of Complete Multipartite Graphs Rocheste Institute of Technology RIT Schola Wos Theses Thesis/Dissetation Collections 8--08 The Chomatic Villainy of Complete Multipatite Gaphs Anna Raleigh an9@it.edu Follow this and additional wos at:

More information

Physics 207 Lecture 5. Lecture 5

Physics 207 Lecture 5. Lecture 5 Lectue 5 Goals: Addess sstems with multiple acceleations in 2- dimensions (including linea, pojectile and cicula motion) Discen diffeent efeence fames and undestand how the elate to paticle motion in stationa

More information

CS-184: Computer Graphics. Today. Lecture #5: 3D Transformations and Rotations. Wednesday, September 7, 11. Transformations in 3D Rotations

CS-184: Computer Graphics. Today. Lecture #5: 3D Transformations and Rotations. Wednesday, September 7, 11. Transformations in 3D Rotations CS-184: Compute Gaphics Lectue #5: D Tansfomations and Rotations Pof. James O Bien Univesity of Califonia, Bekeley V011-F-05-1.0 Today Tansfomations in D Rotations Matices Eule angles Eponential maps Quatenions

More information

On a quantity that is analogous to potential and a theorem that relates to it

On a quantity that is analogous to potential and a theorem that relates to it Su une quantité analogue au potential et su un théoème y elatif C R Acad Sci 7 (87) 34-39 On a quantity that is analogous to potential and a theoem that elates to it By R CLAUSIUS Tanslated by D H Delphenich

More information

CS-184: Computer Graphics. Today. Lecture #5: 3D Transformations and Rotations. 05-3DTransformations.key - September 21, 2016

CS-184: Computer Graphics. Today. Lecture #5: 3D Transformations and Rotations. 05-3DTransformations.key - September 21, 2016 1 CS-184: Compute Gaphics Lectue #5: D Tansfomations and Rotations Pof. James O Bien Univesity of Califonia, Bekeley V016-S-05-1.0 Today Tansfomations in D Rotations Matices Eule angles Eponential maps

More information

Seidel s Trapezoidal Partitioning Algorithm

Seidel s Trapezoidal Partitioning Algorithm CS68: Geometic Agoithms Handout #6 Design and Anaysis Oigina Handout #6 Stanfod Univesity Tuesday, 5 Febuay 99 Oigina Lectue #7: 30 Januay 99 Topics: Seide s Tapezoida Patitioning Agoithm Scibe: Michae

More information

Then the number of elements of S of weight n is exactly the number of compositions of n into k parts.

Then the number of elements of S of weight n is exactly the number of compositions of n into k parts. Geneating Function In a geneal combinatoial poblem, we have a univee S of object, and we want to count the numbe of object with a cetain popety. Fo example, if S i the et of all gaph, we might want to

More information

COORDINATE TRANSFORMATIONS - THE JACOBIAN DETERMINANT

COORDINATE TRANSFORMATIONS - THE JACOBIAN DETERMINANT COORDINATE TRANSFORMATIONS - THE JACOBIAN DETERMINANT Link to: phsicspages home page. To leave a comment o epot an eo, please use the auilia blog. Refeence: d Inveno, Ra, Intoducing Einstein s Relativit

More information

Section 11. Timescales Radiation transport in stars

Section 11. Timescales Radiation transport in stars Section 11 Timescales 11.1 Radiation tanspot in stas Deep inside stas the adiation eld is vey close to black body. Fo a black-body distibution the photon numbe density at tempeatue T is given by n = 2

More information

3.1 Random variables

3.1 Random variables 3 Chapte III Random Vaiables 3 Random vaiables A sample space S may be difficult to descibe if the elements of S ae not numbes discuss how we can use a ule by which an element s of S may be associated

More information

Online-routing on the butterfly network: probabilistic analysis

Online-routing on the butterfly network: probabilistic analysis Online-outing on the buttefly netwok: obabilistic analysis Andey Gubichev 19.09.008 Contents 1 Intoduction: definitions 1 Aveage case behavio of the geedy algoithm 3.1 Bounds on congestion................................

More information

Upward order-preserving 8-grid-drawings of binary trees

Upward order-preserving 8-grid-drawings of binary trees CCCG 207, Ottawa, Ontaio, July 26 28, 207 Upwad ode-peseving 8-gid-dawings of binay tees Theese Biedl Abstact This pape concens upwad ode-peseving staightline dawings of binay tees with the additional

More information

6 PROBABILITY GENERATING FUNCTIONS

6 PROBABILITY GENERATING FUNCTIONS 6 PROBABILITY GENERATING FUNCTIONS Cetain deivations pesented in this couse have been somewhat heavy on algeba. Fo example, detemining the expectation of the Binomial distibution (page 5.1 tuned out to

More information

CHAPTER 25 ELECTRIC POTENTIAL

CHAPTER 25 ELECTRIC POTENTIAL CHPTE 5 ELECTIC POTENTIL Potential Diffeence and Electic Potential Conside a chaged paticle of chage in a egion of an electic field E. This filed exets an electic foce on the paticle given by F=E. When

More information

Electric Field, Potential Energy, & Voltage

Electric Field, Potential Energy, & Voltage Slide 1 / 66 lectic Field, Potential negy, & oltage Wok Slide 2 / 66 Q+ Q+ The foce changes as chages move towads each othe since the foce depends on the distance between the chages. s these two chages

More information

CSCE 478/878 Lecture 4: Experimental Design and Analysis. Stephen Scott. 3 Building a tree on the training set Introduction. Outline.

CSCE 478/878 Lecture 4: Experimental Design and Analysis. Stephen Scott. 3 Building a tree on the training set Introduction. Outline. In Homewok, you ae (supposedly) Choosing a data set 2 Extacting a test set of size > 3 3 Building a tee on the taining set 4 Testing on the test set 5 Repoting the accuacy (Adapted fom Ethem Alpaydin and

More information

PDF Created with deskpdf PDF Writer - Trial ::

PDF Created with deskpdf PDF Writer - Trial :: A APPENDIX D TRIGONOMETRY Licensed to: jsamuels@bmcc.cun.edu PDF Ceated with deskpdf PDF Wite - Tial :: http://www.docudesk.com D T i g o n o m e t FIGURE a A n g l e s Angles can be measued in degees

More information

B da = 0. Q E da = ε. E da = E dv

B da = 0. Q E da = ε. E da = E dv lectomagnetic Theo Pof Ruiz, UNC Asheville, doctophs on YouTube Chapte Notes The Maxwell quations in Diffeential Fom 1 The Maxwell quations in Diffeential Fom We will now tansfom the integal fom of the

More information

Exploration of the three-person duel

Exploration of the three-person duel Exploation of the thee-peson duel Andy Paish 15 August 2006 1 The duel Pictue a duel: two shootes facing one anothe, taking tuns fiing at one anothe, each with a fixed pobability of hitting his opponent.

More information

A proof of the binomial theorem

A proof of the binomial theorem A poof of the binomial theoem If n is a natual numbe, let n! denote the poduct of the numbes,2,3,,n. So! =, 2! = 2 = 2, 3! = 2 3 = 6, 4! = 2 3 4 = 24 and so on. We also let 0! =. If n is a non-negative

More information

SAMPLE QUIZ 3 - PHYSICS For a right triangle: sin θ = a c, cos θ = b c, tan θ = a b,

SAMPLE QUIZ 3 - PHYSICS For a right triangle: sin θ = a c, cos θ = b c, tan θ = a b, SAMPLE QUIZ 3 - PHYSICS 1301.1 his is a closed book, closed notes quiz. Calculatos ae pemitted. he ONLY fomulas that may be used ae those given below. Define all symbols and justify all mathematical expessions

More information

We will consider here a DC circuit, made up two conductors ( go and return, or + and - ), with infinitely long, straight conductors.

We will consider here a DC circuit, made up two conductors ( go and return, or + and - ), with infinitely long, straight conductors. How to calculate the magnetic field fom a two-coe DC cable We will conside hee a DC cicuit, made up two conductos ( go and etun, o + and -, with infinitel long, staight conductos. To build up the calculation

More information

Unobserved Correlation in Ascending Auctions: Example And Extensions

Unobserved Correlation in Ascending Auctions: Example And Extensions Unobseved Coelation in Ascending Auctions: Example And Extensions Daniel Quint Univesity of Wisconsin Novembe 2009 Intoduction In pivate-value ascending auctions, the winning bidde s willingness to pay

More information

radians). Figure 2.1 Figure 2.2 (a) quadrant I angle (b) quadrant II angle is in standard position Terminal side Terminal side Terminal side

radians). Figure 2.1 Figure 2.2 (a) quadrant I angle (b) quadrant II angle is in standard position Terminal side Terminal side Terminal side . TRIGONOMETRIC FUNCTIONS OF GENERAL ANGLES In ode to etend the definitions of the si tigonometic functions to geneal angles, we shall make use of the following ideas: In a Catesian coodinate sstem, an

More information

Physics 121: Electricity & Magnetism Lecture 1

Physics 121: Electricity & Magnetism Lecture 1 Phsics 121: Electicit & Magnetism Lectue 1 Dale E. Ga Wenda Cao NJIT Phsics Depatment Intoduction to Clices 1. What ea ae ou?. Feshman. Sophomoe C. Junio D. Senio E. Othe Intoduction to Clices 2. How man

More information

Permutations and Combinations

Permutations and Combinations Pemutations and Combinations Mach 11, 2005 1 Two Counting Pinciples Addition Pinciple Let S 1, S 2,, S m be subsets of a finite set S If S S 1 S 2 S m, then S S 1 + S 2 + + S m Multiplication Pinciple

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Physics Department Physics 8.07: Electromagnetism II September 15, 2012 Prof. Alan Guth PROBLEM SET 2

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Physics Department Physics 8.07: Electromagnetism II September 15, 2012 Prof. Alan Guth PROBLEM SET 2 MASSACHUSETTS INSTITUTE OF TECHNOLOGY Physics Depatment Physics 8.07: Electomagnetism II Septembe 5, 202 Pof. Alan Guth PROBLEM SET 2 DUE DATE: Monday, Septembe 24, 202. Eithe hand it in at the lectue,

More information

Plug-and-Play Dual-Tree Algorithm Runtime Analysis

Plug-and-Play Dual-Tree Algorithm Runtime Analysis Jounal of Machine Leaning Reseach 16 (2015) 3269-3297 Submitted 1/15; Published 12/15 Plug-and-Play Dual-Tee Algoithm Runtime Analysis Ryan R. Cutin School of Computational Science and Engineeing Geogia

More information

Quantum Fourier Transform

Quantum Fourier Transform Chapte 5 Quantum Fouie Tansfom Many poblems in physics and mathematics ae solved by tansfoming a poblem into some othe poblem with a known solution. Some notable examples ae Laplace tansfom, Legende tansfom,

More information

Merging Uncertain Multi-Version XML Documents

Merging Uncertain Multi-Version XML Documents Meging Uncetain Multi-Vesion XML Documents M. Lamine BA, Talel Abdessalem & Piee Senellat ACM DocEng 2013-1st Intenational Wokshop on Document Changes (Floence, Italy) Septembe 10 th, 2013 M. L. Ba, T.

More information

Physics 161 Fall 2011 Extra Credit 2 Investigating Black Holes - Solutions The Following is Worth 50 Points!!!

Physics 161 Fall 2011 Extra Credit 2 Investigating Black Holes - Solutions The Following is Worth 50 Points!!! Physics 161 Fall 011 Exta Cedit Investigating Black Holes - olutions The Following is Woth 50 Points!!! This exta cedit assignment will investigate vaious popeties of black holes that we didn t have time

More information

Lab 10: Newton s Second Law in Rotation

Lab 10: Newton s Second Law in Rotation Lab 10: Newton s Second Law in Rotation We can descibe the motion of objects that otate (i.e. spin on an axis, like a popelle o a doo) using the same definitions, adapted fo otational motion, that we have

More information

Objects usually are charged up through the transfer of electrons from one object to the other.

Objects usually are charged up through the transfer of electrons from one object to the other. 1 Pat 1: Electic Foce 1.1: Review of Vectos Review you vectos! You should know how to convet fom pola fom to component fom and vice vesa add and subtact vectos multiply vectos by scalas Find the esultant

More information

Homework 1 Solutions CSE 101 Summer 2017

Homework 1 Solutions CSE 101 Summer 2017 Homewok 1 Soutions CSE 101 Summe 2017 1 Waming Up 1.1 Pobem and Pobem Instance Find the smaest numbe in an aay of n integes a 1, a 2,..., a n. What is the input? What is the output? Is this a pobem o a

More information

5.61 Physical Chemistry Lecture #23 page 1 MANY ELECTRON ATOMS

5.61 Physical Chemistry Lecture #23 page 1 MANY ELECTRON ATOMS 5.6 Physical Chemisty Lectue #3 page MAY ELECTRO ATOMS At this point, we see that quantum mechanics allows us to undestand the helium atom, at least qualitatively. What about atoms with moe than two electons,

More information

MATH 415, WEEK 3: Parameter-Dependence and Bifurcations

MATH 415, WEEK 3: Parameter-Dependence and Bifurcations MATH 415, WEEK 3: Paamete-Dependence and Bifucations 1 A Note on Paamete Dependence We should pause to make a bief note about the ole played in the study of dynamical systems by the system s paametes.

More information

Fractional Zero Forcing via Three-color Forcing Games

Fractional Zero Forcing via Three-color Forcing Games Factional Zeo Focing via Thee-colo Focing Games Leslie Hogben Kevin F. Palmowski David E. Robeson Michael Young May 13, 2015 Abstact An -fold analogue of the positive semidefinite zeo focing pocess that

More information

Section 25 Describing Rotational Motion

Section 25 Describing Rotational Motion Section 25 Decibing Rotational Motion What do object do and wh do the do it? We have a ve thoough eplanation in tem of kinematic, foce, eneg and momentum. Thi include Newton thee law of motion and two

More information

Physics 11 Chapter 20: Electric Fields and Forces

Physics 11 Chapter 20: Electric Fields and Forces Physics Chapte 0: Electic Fields and Foces Yesteday is not ous to ecove, but tomoow is ous to win o lose. Lyndon B. Johnson When I am anxious it is because I am living in the futue. When I am depessed

More information

History of Astronomy - Part II. Tycho Brahe - An Observer. Johannes Kepler - A Theorist

History of Astronomy - Part II. Tycho Brahe - An Observer. Johannes Kepler - A Theorist Histoy of Astonomy - Pat II Afte the Copenican Revolution, astonomes stived fo moe obsevations to help bette explain the univese aound them Duing this time (600-750) many majo advances in science and astonomy

More information

1 2 U CV. K dq I dt J nqv d J V IR P VI

1 2 U CV. K dq I dt J nqv d J V IR P VI o 5 o T C T F 9 T K T o C 7.5 L L T V VT Q mct nct Q F V ml F V dq A H k TH TC dt L pv nt Kt nt CV ideal monatomic gas 5 CV ideal diatomic gas w/o vibation V W pdv V U Q W W Q e Q Q e Canot H C T T S C

More information

Physics 107 TUTORIAL ASSIGNMENT #8

Physics 107 TUTORIAL ASSIGNMENT #8 Physics 07 TUTORIAL ASSIGNMENT #8 Cutnell & Johnson, 7 th edition Chapte 8: Poblems 5,, 3, 39, 76 Chapte 9: Poblems 9, 0, 4, 5, 6 Chapte 8 5 Inteactive Solution 8.5 povides a model fo solving this type

More information

Review Exercise Set 16

Review Exercise Set 16 Review Execise Set 16 Execise 1: A ectangula plot of famland will be bounded on one side by a ive and on the othe thee sides by a fence. If the fame only has 600 feet of fence, what is the lagest aea that

More information

HASHING METHODS. Hanan Samet

HASHING METHODS. Hanan Samet hs0 HASHING METHODS Hanan Samet Compute Science Depatment and Cente fo Automation Reseach and Institute fo Advanced Compute Studies Univesity of Mayland College Pak, Mayland 20742 e-mail: hjs@umiacs.umd.edu

More information

Unit 6 Practice Test. Which vector diagram correctly shows the change in velocity Δv of the mass during this time? (1) (1) A. Energy KE.

Unit 6 Practice Test. Which vector diagram correctly shows the change in velocity Δv of the mass during this time? (1) (1) A. Energy KE. Unit 6 actice Test 1. Which one of the following gaphs best epesents the aiation of the kinetic enegy, KE, and of the gaitational potential enegy, GE, of an obiting satellite with its distance fom the

More information

Section 26 The Laws of Rotational Motion

Section 26 The Laws of Rotational Motion Physics 24A Class Notes Section 26 The Laws of otational Motion What do objects do and why do they do it? They otate and we have established the quantities needed to descibe this motion. We now need to

More information

Phys102 Second Major-182 Zero Version Monday, March 25, 2019 Page: 1

Phys102 Second Major-182 Zero Version Monday, March 25, 2019 Page: 1 Monday, Mach 5, 019 Page: 1 Q1. Figue 1 shows thee pais of identical conducting sphees that ae to be touched togethe and then sepaated. The initial chages on them befoe the touch ae indicated. Rank the

More information

Encapsulation theory: the transformation equations of absolute information hiding.

Encapsulation theory: the transformation equations of absolute information hiding. 1 Encapsulation theoy: the tansfomation equations of absolute infomation hiding. Edmund Kiwan * www.edmundkiwan.com Abstact This pape descibes how the potential coupling of a set vaies as the set is tansfomed,

More information

Convergence Dynamics of Resource-Homogeneous Congestion Games: Technical Report

Convergence Dynamics of Resource-Homogeneous Congestion Games: Technical Report 1 Convegence Dynamics of Resouce-Homogeneous Congestion Games: Technical Repot Richad Southwell and Jianwei Huang Abstact Many esouce shaing scenaios can be modeled using congestion games A nice popety

More information

CHAPTER 10 ELECTRIC POTENTIAL AND CAPACITANCE

CHAPTER 10 ELECTRIC POTENTIAL AND CAPACITANCE CHAPTER 0 ELECTRIC POTENTIAL AND CAPACITANCE ELECTRIC POTENTIAL AND CAPACITANCE 7 0. ELECTRIC POTENTIAL ENERGY Conside a chaged paticle of chage in a egion of an electic field E. This filed exets an electic

More information

COLLAPSING WALLS THEOREM

COLLAPSING WALLS THEOREM COLLAPSING WALLS THEOREM IGOR PAK AND ROM PINCHASI Abstact. Let P R 3 be a pyamid with the base a convex polygon Q. We show that when othe faces ae collapsed (otated aound the edges onto the plane spanned

More information

SIO 229 Gravity and Geomagnetism. Lecture 6. J 2 for Earth. J 2 in the solar system. A first look at the geoid.

SIO 229 Gravity and Geomagnetism. Lecture 6. J 2 for Earth. J 2 in the solar system. A first look at the geoid. SIO 229 Gavity and Geomagnetism Lectue 6. J 2 fo Eath. J 2 in the sola system. A fist look at the geoid. The Thee Big Themes of the Gavity Lectues 1.) An ellipsoidal otating Eath Refeence body (mass +

More information

Forest-Like Abstract Voronoi Diagrams in Linear Time

Forest-Like Abstract Voronoi Diagrams in Linear Time Foest-Like Abstact Voonoi Diagams in Linea Time Cecilia Bohle, Rolf Klein, and Chih-Hung Liu Abstact Voonoi diagams ae a well-studied data stuctue of poximity infomation, and although most cases equie

More information

Goodness-of-fit for composite hypotheses.

Goodness-of-fit for composite hypotheses. Section 11 Goodness-of-fit fo composite hypotheses. Example. Let us conside a Matlab example. Let us geneate 50 obsevations fom N(1, 2): X=nomnd(1,2,50,1); Then, unning a chi-squaed goodness-of-fit test

More information

ELECTROSTATICS::BHSEC MCQ 1. A. B. C. D.

ELECTROSTATICS::BHSEC MCQ 1. A. B. C. D. ELETROSTATIS::BHSE 9-4 MQ. A moving electic chage poduces A. electic field only. B. magnetic field only.. both electic field and magnetic field. D. neithe of these two fields.. both electic field and magnetic

More information

The main paradox of KAM-theory for restricted three-body problem (R3BP, celestial mechanics)

The main paradox of KAM-theory for restricted three-body problem (R3BP, celestial mechanics) The main paadox of KAM-theoy fo esticted thee-body poblem (R3BP celestial mechanics) Segey V. Eshkov Institute fo Time Natue Exploations M.V. Lomonosov's Moscow State Univesity Leninskie goy 1-1 Moscow

More information

7.2. Coulomb s Law. The Electric Force

7.2. Coulomb s Law. The Electric Force Coulomb s aw Recall that chaged objects attact some objects and epel othes at a distance, without making any contact with those objects Electic foce,, o the foce acting between two chaged objects, is somewhat

More information

Problem 1. Part b. Part a. Wayne Witzke ProblemSet #1 PHY 361. Calculate x, the expected value of x, defined by

Problem 1. Part b. Part a. Wayne Witzke ProblemSet #1 PHY 361. Calculate x, the expected value of x, defined by Poblem Pat a The nomal distibution Gaussian distibution o bell cuve has the fom f Ce µ Calculate the nomalization facto C by equiing the distibution to be nomalized f Substituting in f, defined above,

More information

Information Retrieval (Relevance Feedback & Query Expansion)

Information Retrieval (Relevance Feedback & Query Expansion) Infomation Retieval (Relevance Feedback & Quey Epansion) Fabio Aiolli http://www.math.unipd.it/~aiolli Dipatimento di Matematica Univesità di Padova Anno Accademico 1 Relevance feedback and quey epansion

More information

ON INDEPENDENT SETS IN PURELY ATOMIC PROBABILITY SPACES WITH GEOMETRIC DISTRIBUTION. 1. Introduction. 1 r r. r k for every set E A, E \ {0},

ON INDEPENDENT SETS IN PURELY ATOMIC PROBABILITY SPACES WITH GEOMETRIC DISTRIBUTION. 1. Introduction. 1 r r. r k for every set E A, E \ {0}, ON INDEPENDENT SETS IN PURELY ATOMIC PROBABILITY SPACES WITH GEOMETRIC DISTRIBUTION E. J. IONASCU and A. A. STANCU Abstact. We ae inteested in constucting concete independent events in puely atomic pobability

More information

Nuclear and Particle Physics - Lecture 20 The shell model

Nuclear and Particle Physics - Lecture 20 The shell model 1 Intoduction Nuclea and Paticle Physics - Lectue 0 The shell model It is appaent that the semi-empiical mass fomula does a good job of descibing tends but not the non-smooth behaviou of the binding enegy.

More information