Presentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, Divide-and-Conquer
|
|
- Doris Ward
- 5 years ago
- Views:
Transcription
1 Presettio or use wit te textook, Agoritm Desig Appictios, y M. T. Gooric R. Tmssi, Wiey, 015 Divie--Coquer 015 Gooric Tmssi Divie--Coquer 1
2 Appictio: Mxim Sets We c visuize te vrious tre-os or optimizig twoimesio t, suc s poits represetig otes ccorig to teir poo size resturt quity, y pottig ec s twoimesio poit, x, y, were x is te poo size y is te resturt quity score. We sy tt suc poit is mximum poit i set tere is o oter poit, x, y, i tt set suc tt x x y y. Te mximum poits re te est poteti coices se o tese two imesios iig o tem is te mxim set proem. We c eiciety i te mxim poits y ivie--coquer. Here te set is {A,H,,G,D}. 015 Gooric Tmssi Divie--Coquer
3 Divie--Coquer Divie- coquer is geer goritm esig prigm: Divie: ivie te iput t S i two or more isjoit susets S 1, S, Coquer: sove te suproems recursivey Comie: comie te soutios or S 1, S,, ito soutio or S Te se cse or te recursio re suproems o costt size Aysis c e oe usig recurrece equtios 015 Gooric Tmssi Divie--Coquer 3
4 Merge-Sort Review Merge-sort o iput sequece S wit eemets cosists o tree steps: Divie: prtitio S ito two sequeces S 1 S o out eemets ec Coquer: recursivey sort S 1 S Comie: merge S 1 S ito uique sorte sequece Agoritm mergesorts put sequece S wit eemets Output sequece S sorte ccorig to C S.size > 1 S 1, S prtitios, mergesorts 1 mergesorts S merges 1, S 015 Gooric Tmssi Divie--Coquer 4
5 Recurrece Equtio Aysis Te coquer step o merge-sort cosists o mergig two sorte sequeces, ec wit eemets impemete y mes o ouy ike ist, tkes t most steps, or some costt. Likewise, te sis cse < wi tke t most steps. Tereore, we et T eote te ruig time o merge-sort: T T < We c tereore yze te ruig time o merge-sort y iig cose orm soutio to te ove equtio. Tt is, soutio tt s T oy o te et- sie. 015 Gooric Tmssi Divie--Coquer 5
6 tertive Sustitutio te itertive sustitutio, or pug--cug, tecique, we itertivey ppy te recurrece equtio to itse see we c i ptter: T T T T 3 3 T T 4... i i T i Note tt se, T, cse occurs we i. Tt is, i. So, T Tus, T is O. 015 Gooric Tmssi Divie--Coquer 6
7 Te Recursio Tree Drw te recursio tree or te recurrece retio ook or ptter: < T T ept T s size 0 1 time 1 i i i Tot time st eve pus previous eves 015 Gooric Tmssi Divie--Coquer 7
8 Guess--Test Meto te guess--test meto, we guess cose orm soutio te try to prove it is true y iuctio: < T T Guess: T < c. T T c c c c Wrog: we cot mke tis st ie e ess t c 015 Gooric Tmssi Divie--Coquer 8
9 Guess--Test Meto, cot. Rec te recurrece equtio: T T Guess #: T < c. T T c c c c c c c >. So, T is O. geer, to use tis meto, you ee to ve goo guess you ee to e goo t iuctio proos. 015 Gooric Tmssi Divie--Coquer 9 <
10 Mster Meto My ivie--coquer recurrece equtios ve te orm: T T c < Te Mster Teorem: is O is Ω ε ε, te T, te T, te T, provie δ or someδ < 1. k k Gooric Tmssi Divie--Coquer 10
11 Mster Meto, Exmpe 1 Te orm: Te Mster Teorem: provie Exmpe: T is O is Ω c T ε ε δ, te T k, te T, te T or someδ < 1. T 4T <, k 1 Soutio:, so cse 1 sys T is O. 015 Gooric Tmssi Divie--Coquer 11
12 Mster Meto, Exmpe Te orm: Te Mster Teorem: provie Exmpe: T is O is Ω c T ε ε δ, te T, te T T T k, te T or someδ < 1. <, Soutio: 1, so cse sys T is O. k Gooric Tmssi Divie--Coquer 1
13 Mster Meto, Exmpe 3 Te orm: Te Mster Teorem: provie Exmpe: T is O is Ω c T ε ε δ, te T, te T T T 3 k, te T or someδ < 1. <, Soutio: 0, so cse 3 sys T is O. k Gooric Tmssi Divie--Coquer 13
14 Mster Meto, Exmpe 4 Te orm: Te Mster Teorem: provie Exmpe: T is O is Ω c T ε ε δ, te T k, te T, te T or someδ < 1. T 8T <, Soutio: 3, so cse 1 sys T is O 3. k Gooric Tmssi Divie--Coquer 14
15 Mster Meto, Exmpe 5 Te orm: Te Mster Teorem: provie Exmpe: T is O is Ω c T ε ε δ, te T k, te T, te T or someδ < 1. T 9T 3 <, 3 Soutio:, so cse 3 sys T is O 3. k Gooric Tmssi Divie--Coquer 15
16 Mster Meto, Exmpe 6 Te orm: Te Mster Teorem: provie Exmpe: T is O is Ω c T ε ε δ, te T k, te T, te T or someδ < 1. T T 1 <, k 1 iry serc Soutio: 0, so cse sys T is O. 015 Gooric Tmssi Divie--Coquer 16
17 Mster Meto, Exmpe 7 Te orm: Te Mster Teorem: provie Exmpe: T is O is Ω c T ε ε δ, te T k, te T, te T or someδ < 1. T T <, k 1 ep costructio Soutio: 1, so cse 1 sys T is O. 015 Gooric Tmssi Divie--Coquer 17
18 015 Gooric Tmssi Divie--Coquer 18 Sketc o Proo o te Mster Teorem Usig itertive sustitutio, et us see we c i ptter: We te istiguis te tree cses s Te irst term is omit Ec prt o te summtio is equy omit Te summtio is geometric series i i i i i i T T T T T T T
19 015 Gooric Tmssi Divie--Coquer 19 teger Mutipictio Agoritm: Mutipy two -it itegers. Divie step: Spit ito ig-orer ow-orer its We c te eie * y mutipyig te prts ig: So, T 4T, wic impies T is O. But tt is o etter t te goritm we ere i gre scoo. * *
20 015 Gooric Tmssi Divie--Coquer 0 A mprove teger Mutipictio Agoritm Agoritm: Mutipy two -it itegers. Divie step: Spit ito ig-orer ow-orer its Oserve tt tere is eret wy to mutipy prts: So, T 3T, wic impies T is O 3, y te Mster Teorem. Tus, T is O ] [ ] [ *
21 Sovig te Mxim Set Proem Let us ow retur to te proem o iig mxim set or set, S, o poits i te pe. Tis proem is motivte rom muti-ojective optimiztio, were we re itereste i optimizig coices tt epe o mutipe vries. For istce, i te itrouctio we use te exmpe o someoe wisig to optimize otes se o te two vries o poo size resturt quity. A poit is mximum poit i S tere is o oter poit, x, y, i S suc tt x x y y. 015 Gooric Tmssi Divie--Coquer 1
22 Divie--Coquer Soutio Give set, S, o poits i te pe, tere is simpe ivie--coquer goritm or costructig te mxim set o poits i S. 1, te mxim set is just S itse. Oterwise, et p e te mei poit i S ccorig to exicogrpic orerig o te poits i S, tt is, were we orer se primriy o x- coorites te y y-coorites tere re ties. Next, we recursivey sove te mxim-set proem or te set o poits o te et o tis ie so or te poits o te rigt. Give tese soutios, te mxim set o poits o te rigt re so mxim poits or S. But some o te mxim poits or te et set migt e omite y poit rom te rigt, mey te poit, q, tt is etmost. So te we o sc o te et set o mxim, removig y poits tt re omite y q, uti recig te poit were q s omice extes. Te uio o remiig set o mxim rom te et te mxim set rom te rigt is te set o mxim or S. 015 Gooric Tmssi Divie--Coquer
23 Exmpe or te Comie Step 015 Gooric Tmssi Divie--Coquer 3
24 Pseuo-coe 015 Gooric Tmssi Divie--Coquer 4
25 A Litte mpemettio Deti Beore we yze te ivie--coquer mxim-set goritm, tere is itte impemettio eti tt we ee to work out. Nmey, tere is te issue o ow to eiciety i te poit, p, tt is te mei poit i exicogrpic orerig o te poits i S ccorig to teir x, y-coorites. Tere re two immeite possiiities: Oe coice is to use ier-time mei-iig goritm, suc s tt give i Sectio 9.. Tis cieves goo symptotic ruig time, ut s some impemettio compexity. Aoter coice is to sort te poits i S exicogrpicy y teir x, y-coorites s preprocessig step, prior to cig te MxmSet goritm o S. Give tis preprocessig step, te mei poit is simpy te poit i te mie o te ist. 015 Gooric Tmssi Divie--Coquer 5
26 Aysis eiter cse, te rest o te o-recursive steps c e perorme i O time, so tis impies tt, igorig oor ceiig uctios s owe y te ysis o Exercise C-11.5, te ruig time or te ivie--coquer mxim-set goritm c e specie s oows were is costt: T T Tus, ccorig to te Mster Teorem, tis goritm rus i O time. < 015 Gooric Tmssi Divie--Coquer 6
Divide-and-Conquer. Divide-and-Conquer 1
Divide-d-Coquer 7 9 4 4 7 9 7 7 9 4 4 9 7 7 9 9 4 4 Divide-d-Coquer 1 Outie d Redig Divide-d-coquer prdigm 5. Review Merge-sort 4.1.1 Recurrece Equtios 5..1 tertive sustitutio Recursio trees Guess-d-test
More informationPresentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, Divide-and-Conquer
Presettio for use with the textook, Algorithm Desig d Applictios, y M. T. Goodrich d R. Tmssi, Wiley, 25 Divide-d-Coquer Divide-d-Coquer Divide-d coquer is geerl lgorithm desig prdigm: Divide: divide the
More informationMerge Sort. Outline and Reading. Divide-and-Conquer. Divide-and-conquer paradigm ( 4.1.1) Merge-sort ( 4.1.1)
Merge Sort 7 2 9 4 2 4 7 9 7 2 2 7 9 4 4 9 7 7 2 2 9 9 4 4 Merge Sort versio 1.3 1 Outlie d Redig Divide-d-coquer prdigm ( 4.1.1 Merge-sort ( 4.1.1 Algorithm Mergig two sorted sequeces Merge-sort tree
More informationLecture 4 Recursive Algorithm Analysis. Merge Sort Solving Recurrences The Master Theorem
Lecture 4 Recursive Algorithm Alysis Merge Sort Solvig Recurreces The Mster Theorem Merge Sort MergeSortA, left, right) { if left < right) { mid = floorleft + right) / 2); MergeSortA, left, mid); MergeSortA,
More informationSimilar idea to multiplication in N, C. Divide and conquer approach provides unexpected improvements. Naïve matrix multiplication
Next. Covered bsics of simple desig techique (Divided-coquer) Ch. of the text.. Next, Strsse s lgorithm. Lter: more desig d coquer lgorithms: MergeSort. Solvig recurreces d the Mster Theorem. Similr ide
More informationImproving The Problem Not the Code
mprovig Te Probem Not te Code Fidig Te Max ad Mi of a Number Comparig two adjacet umbers ad fidig te maximum ad miimum e.g. 5 7 8 9 10 1 3 Normay T()= N- Compariso wit a orace, i tis case a touramet teory
More informationData Structures Lecture 9
Fall 2017 Fag Yu Software Security Lab. Dept. Maagemet Iformatio Systems, Natioal Chegchi Uiversity Data Structures Lecture 9 Midterm o Dec. 7 (9:10-12:00am, 106) Lec 1-9, TextBook Ch1-8, 11,12 How to
More informationCSED233: Data Structures (2018F) Lecture13: Sorting and Selection
(018F) Lecture13: Sortig ad Selectio Daiji Kim CSE, POSECH dkim@postech.ac.kr Divide-ad-Coquer Divide-ad coquer a geeral algorithm desig paradigm: Divide: divide the iput data S i two djoit susets S 1
More informationLecture 4 Recursive Algorithm Analysis. Merge Sort Solving Recurrences The Master Theorem
Lecture 4 Recursive Algorithm Alysis Merge Sort Solvig Recurreces The Mster Theorem Merge Sort MergeSortA, left, right) { if left < right) { mid floorleft right) / 2); MergeSortA, left, mid); MergeSortA,
More informationSection IV.6: The Master Method and Applications
Sectio IV.6: The Mster Method d Applictios Defiitio IV.6.1: A fuctio f is symptoticlly positive if d oly if there exists rel umer such tht f(x) > for ll x >. A cosequece of this defiitio is tht fuctio
More information5. Solving recurrences
5. Solvig recurreces Time Complexity Alysis of Merge Sort T( ) 0 if 1 2T ( / 2) otherwise sortig oth hlves mergig Q. How to prove tht the ru-time of merge sort is O( )? A. 2 Time Complexity Alysis of Merge
More informationWeek 13 Notes: 1) Riemann Sum. Aim: Compute Area Under a Graph. Suppose we want to find out the area of a graph, like the one on the right:
Week 1 Notes: 1) Riem Sum Aim: Compute Are Uder Grph Suppose we wt to fid out the re of grph, like the oe o the right: We wt to kow the re of the red re. Here re some wys to pproximte the re: We cut the
More informationThis Lecture. Divide and Conquer. Merge Sort: Algorithm. Merge Sort Algorithm. MergeSort (Example) - 1. MergeSort (Example) - 2
This Lecture Divide-ad-coquer techique for algorithm desig. Example the merge sort. Writig ad solvig recurreces Divide ad Coquer Divide-ad-coquer method for algorithm desig: Divide: If the iput size is
More informationMerge and Quick Sort
Merge ad Quick Sort Merge Sort Merge Sort Tree Implemetatio Quick Sort Pivot Item Radomized Quick Sort Adapted from: Goodrich ad Tamassia, Data Structures ad Algorithms i Java, Joh Wiley & So (1998). Ruig
More informationMVT and Rolle s Theorem
AP Calculus CHAPTER 4 WORKSHEET APPLICATIONS OF DIFFERENTIATION MVT and Rolle s Teorem Name Seat # Date UNLESS INDICATED, DO NOT USE YOUR CALCULATOR FOR ANY OF THESE QUESTIONS In problems 1 and, state
More information0.1 Differentiation Rules
0.1 Differentiation Rules From our previous work we ve seen tat it can be quite a task to calculate te erivative of an arbitrary function. Just working wit a secon-orer polynomial tings get pretty complicate
More informationContinuity and Differentiability Worksheet
Continuity and Differentiability Workseet (Be sure tat you can also do te grapical eercises from te tet- Tese were not included below! Typical problems are like problems -3, p. 6; -3, p. 7; 33-34, p. 7;
More informationKrazy Katt, the mechanical cat
Krazy Katt, te mecanical cat Te cat rigting relex is a cat's innate ability to orient itsel as it alls in order to land on its eet. Te rigting relex begins to appear at 3 4 weeks o age, and is perected
More informationALLOCATING SAMPLE TO STRATA PROPORTIONAL TO AGGREGATE MEASURE OF SIZE WITH BOTH UPPER AND LOWER BOUNDS ON THE NUMBER OF UNITS IN EACH STRATUM
ALLOCATING SAPLE TO STRATA PROPORTIONAL TO AGGREGATE EASURE OF SIZE WIT BOT UPPER AND LOWER BOUNDS ON TE NUBER OF UNITS IN EAC STRATU Lawrece R. Erst ad Cristoper J. Guciardo Erst_L@bls.gov, Guciardo_C@bls.gov
More informationALGEBRA. ( ) is a point on the line ( ) + ( ) = + ( ) + + ) + ( Distance Formula The distance d between two points x, y
ALGEBRA Popeties of Asoute Vue Fo e umes : 0, 0 + + Tige Iequity Popeties of Itege Epoets Ris Assume tt m e positive iteges, tt e oegtive, tt eomitos e ozeo. See Appeies B D fo gps fute isussio. + ( )
More informationClassification of problem & problem solving strategies. classification of time complexities (linear, logarithmic etc)
Classificatio of problem & problem solvig strategies classificatio of time complexities (liear, arithmic etc) Problem subdivisio Divide ad Coquer strategy. Asymptotic otatios, lower boud ad upper boud:
More informationMath 31A Discussion Notes Week 4 October 20 and October 22, 2015
Mat 3A Discussion Notes Week 4 October 20 and October 22, 205 To prepare for te first midterm, we ll spend tis week working eamples resembling te various problems you ve seen so far tis term. In tese notes
More informationEcon 401A Three extra questions John Riley. Homework 3 Due Tuesday, Nov 28
Econ 40 ree etr uestions Jon Riley Homework Due uesdy, Nov 8 Finncil engineering in coconut economy ere re two risky ssets Plnttion s gross stte contingent return of z (60,80) e mrket vlue of tis lnttion
More informationConvergence of the FEM. by Hui Zhang Jorida Kushova Ruwen Jung
Covergece o te FEM by Hi Zg Jorid Ksov Rwe Jg I order to proo FEM soltios to be coverget, mesremet or teir qlity is reqired. A simple pproc i ect soltio is ccessible is to qtiy te error betwee FEMd te
More informationTopic 4 Fourier Series. Today
Topic 4 Fourier Series Toy Wves with repetig uctios Sigl geertor Clssicl guitr Pio Ech istrumet is plyig sigle ote mile C 6Hz) st hrmoic hrmoic 3 r hrmoic 4 th hrmoic 6Hz 5Hz 783Hz 44Hz A sigle ote will
More informationPythagorean Theorem and Trigonometry
Ptgoren Teorem nd Trigonometr Te Ptgoren Teorem is nient, well-known, nd importnt. It s lrge numer of different proofs, inluding one disovered merin President Jmes. Grfield. Te we site ttp://www.ut-te-knot.org/ptgors/inde.stml
More informationDifferentiation Rules c 2002 Donald Kreider and Dwight Lahr
Dierentiation Rules c 00 Donal Kreier an Dwigt Lar Te Power Rule is an example o a ierentiation rule. For unctions o te orm x r, were r is a constant real number, we can simply write own te erivative rater
More informationCS 270 Algorithms. Oliver Kullmann. Growth of Functions. Divide-and- Conquer Min-Max- Problem. Tutorial. Reading from CLRS for week 2
Geeral remarks Week 2 1 Divide ad First we cosider a importat tool for the aalysis of algorithms: Big-Oh. The we itroduce a importat algorithmic paradigm:. We coclude by presetig ad aalysig two examples.
More informationOnline Appendix for Lerner Symmetry: A Modern Treatment
Online Appendix or Lerner Symmetry: A Modern Treatment Arnaud Costinot MIT Iván Werning MIT May 2018 Abstract Tis Appendix provides te proos o Teorem 1, Teorem 2, and Proposition 1. 1 Perect Competition
More informationContinuity and Differentiability of the Trigonometric Functions
[Te basis for te following work will be te definition of te trigonometric functions as ratios of te sides of a triangle inscribed in a circle; in particular, te sine of an angle will be defined to be te
More information4.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 informationAttempt any TEN of the following:
(ISO/IEC - 7-5 Certiied) Importt Istructios to emiers: ) Te swers sould be emied b ke words d ot s word-to-word s gie i te model swer sceme. ) Te model swer d te swer writte b cdidte m r but te emier m
More informationUniversity Mathematics 2
University Matematics 2 1 Differentiability In tis section, we discuss te differentiability of functions. Definition 1.1 Differentiable function). Let f) be a function. We say tat f is differentiable at
More informationContinuity and Differentiability
Continuity and Dierentiability Tis capter requires a good understanding o its. Te concepts o continuity and dierentiability are more or less obvious etensions o te concept o its. Section - INTRODUCTION
More informationData Compression Techniques (Spring 2012) Model Solutions for Exercise 4
58487 Dt Compressio Tehiques (Sprig 0) Moel Solutios for Exerise 4 If you hve y fee or orretios, plese ott jro.lo t s.helsii.fi.. Prolem: Let T = Σ = {,,, }. Eoe T usig ptive Huffm oig. Solutio: R 4 U
More informationMathematical Notation Math Calculus & Analytic Geometry I
Mthemticl Nottio Mth - Clculus & Alytic Geometry I Use Wor or WorPerect to recrete the ollowig ocumets. Ech rticle is worth poits shoul e emile to the istructor t jmes@richl.eu. Type your me t the top
More informationDifferential Calculus: Differentiation (First Principles, Rules) and Sketching Graphs (Grade 12) *
OpenStax-CNX moule: m39313 1 Differential Calculus: Differentiation (First Principles, Rules) an Sketcing Graps (Grae 12) * Free Hig Scool Science Texts Project Tis work is prouce by OpenStax-CNX an license
More informationLIMITS AND DERIVATIVES
Capter LIMITS AND DERIVATIVES. Overview.. Limits of a fuctio Let f be a fuctio defied i a domai wic we take to be a iterval, say, I. We sall study te cocept of it of f at a poit a i I. We say f ( ) is
More information2.8 The Derivative as a Function
.8 Te Derivative as a Function Typically, we can find te derivative of a function f at many points of its domain: Definition. Suppose tat f is a function wic is differentiable at every point of an open
More informationIntroduction to Algorithms 6.046J/18.401J LECTURE 3 Divide and conquer Binary search Powering a number Fibonacci numbers Matrix multiplication
Itroductio to Algorithms 6.046J/8.40J LECTURE 3 Divide ad coquer Biary search Powerig a umber Fiboacci umbers Matrix multiplicatio Strasse s algorithm VLSI tree layout Prof. Charles E. Leiserso The divide-ad-coquer
More information1 + t5 dt with respect to x. du = 2. dg du = f(u). du dx. dg dx = dg. du du. dg du. dx = 4x3. - page 1 -
Eercise. Find te derivative of g( 3 + t5 dt wit respect to. Solution: Te integrand is f(t + t 5. By FTC, f( + 5. Eercise. Find te derivative of e t2 dt wit respect to. Solution: Te integrand is f(t e t2.
More informationA h u h = f h. 4.1 The CoarseGrid SystemandtheResidual Equation
Capter Grid Transfer Remark. Contents of tis capter. Consider a grid wit grid size and te corresponding linear system of equations A u = f. Te summary given in Section 3. leads to te idea tat tere migt
More information2.11 That s So Derivative
2.11 Tat s So Derivative Introduction to Differential Calculus Just as one defines instantaneous velocity in terms of average velocity, we now define te instantaneous rate of cange of a function at a point
More informationSorting Algorithms. Algorithms Kyuseok Shim SoEECS, SNU.
Sortig Algorithms Algorithms Kyuseo Shim SoEECS, SNU. Desigig Algorithms Icremetal approaches Divide-ad-Coquer approaches Dyamic programmig approaches Greedy approaches Radomized approaches You are ot
More informationMath 161 (33) - Final exam
Name: Id #: Mat 161 (33) - Final exam Fall Quarter 2015 Wednesday December 9, 2015-10:30am to 12:30am Instructions: Prob. Points Score possible 1 25 2 25 3 25 4 25 TOTAL 75 (BEST 3) Read eac problem carefully.
More informationLIMITS AND DERIVATIVES NCERT
. Overview.. Limits of a fuctio Let f be a fuctio defied i a domai wic we take to be a iterval, say, I. We sall study te cocept of it of f at a poit a i I. We say f ( ) is te epected value of f at a give
More informationHong Xu. School of Business and Management, Hong Kong University of Science and Technology, Clearwater Bay, Kowloon, HONG KONG
RESEARCH ARTICLE IDETITY MAAGEMET AD TRADABLE REPUTATIO Hong Xu Scoo of Business an Management, Hong Kong University of Science an Tecnoogy, Cearater Bay, Kooon, HOG KOG {xu@ust.} Jianqing Cen Jina Scoo
More informationLecture 7 Testing Nonlinear Inequality Restrictions 1
Eco 75 Lecture 7 Testig Noliear Iequality Restrictios I Lecture 6, we discussed te testig problems were te ull ypotesis is de ed by oliear equality restrictios: H : ( ) = versus H : ( ) 6= : () We sowed
More informationNotes on wavefunctions II: momentum wavefunctions
Notes on wavefunctions II: momentum wavefunctions and uncertainty Te state of a particle at any time is described by a wavefunction ψ(x). Tese wavefunction must cange wit time, since we know tat particles
More informationTaylor Series and the Mean Value Theorem of Derivatives
1 - Taylor Series and te Mean Value Teorem o Derivatives Te numerical solution o engineering and scientiic problems described by matematical models oten requires solving dierential equations. Dierential
More informationSECTION 1.10: DIFFERENCE QUOTIENTS LEARNING OBJECTIVES
(Section.0: Difference Quotients).0. SECTION.0: DIFFERENCE QUOTIENTS LEARNING OBJECTIVES Define average rate of cange (and average velocity) algebraically and grapically. Be able to identify, construct,
More informationThomas J. Osler Mathematics Department Rowan University Glassboro NJ Introduction
Ot 0 006 Euler s little summtio formul d speil vlues of te zet futio Toms J Osler temtis Deprtmet Row Uiversity Glssboro J 0608 Osler@rowedu Itrodutio I tis ote we preset elemetry metod of determiig vlues
More informationThe tangent line and the velocity problems. The derivative at a point and rates of change. , such as the graph shown below:
Capter 3: Derivatives In tis capter we will cover: 3 Te tanent line an te velocity problems Te erivative at a point an rates o cane 3 Te erivative as a unction Dierentiability 3 Derivatives o constant,
More informationAn Insight into Differentiation and Integration
Differetiatio A Isigt ito Differetiatio a Itegratio Differetiatio is basically a task to fi out ow oe variable is cagig i relatio to aoter variable, te latter is usually take as a cause of te cage. For
More informationDigital Signal Processing, Fall 2006
Digitl Sigl Processig, Fll 6 Lecture 6: Sstem structures for implemettio Zeg-u T Deprtmet of Electroic Sstems Alorg Uiversit, Demr t@om.u.d Digitl Sigl Processig, VI, Zeg-u T, 6 Course t glce Discrete-time
More information. Compute the following limits.
Today: Tangent Lines and te Derivative at a Point Warmup:. Let f(x) =x. Compute te following limits. f( + ) f() (a) lim f( +) f( ) (b) lim. Let g(x) = x. Compute te following limits. g(3 + ) g(3) (a) lim
More informationExam 1 Review Solutions
Exam Review Solutions Please also review te old quizzes, and be sure tat you understand te omework problems. General notes: () Always give an algebraic reason for your answer (graps are not sufficient),
More informationdoes NOT exist. WHAT IF THE NUMBER X APPROACHES CANNOT BE PLUGGED INTO F(X)??????
MATH 000 Miterm Review.3 Te it of a function f ( ) L Tis means tat in a given function, f(), as APPROACHES c, a constant, it will equal te value L. Tis is c only true if f( ) f( ) L. Tat means if te verticle
More informationStrauss PDEs 2e: Section Exercise 4 Page 1 of 5. u tt = c 2 u xx ru t for 0 < x < l u = 0 at both ends u(x, 0) = φ(x) u t (x, 0) = ψ(x),
Strauss PDEs e: Sectio 4.1 - Exercise 4 Page 1 of 5 Exercise 4 Cosider waves i a resistat medium that satisfy the probem u tt = c u xx ru t for < x < u = at both eds ux, ) = φx) u t x, ) = ψx), where r
More informationDivide and Conquer II
Algorithms Divide ad Coquer II Divide ad Coquer II Desig ad Aalsis of Algorithms Adrei Bulatov Algorithms Divide ad Coquer II 6- Closest Pair: The Problem The Closest Pair Problem Istace: poits i the plae
More informationSection 2.1 Special Right Triangles
Se..1 Speil Rigt Tringles 49 Te --90 Tringle Setion.1 Speil Rigt Tringles Te --90 tringle (or just 0-60-90) is so nme euse of its ngle mesures. Te lengts of te sies, toug, ve very speifi pttern to tem
More information160 Chapter 3: Differentiation
3. Differentiation Rules 159 3. Differentiation Rules Tis section introuces a few rules tat allow us to ifferentiate a great variety of functions. By proving tese rules ere, we can ifferentiate functions
More informationMaths for Computer Graphics
Trigonometry Is concerned wit te analysis of triangles. Degrees and radians Te degree (or sexagesimal unit of measure derives from defining one complete rotation as 360. Eac degree divides into 60 minutes,
More informationAppendix A Examples for Labs 1, 2, 3 1. FACTORING POLYNOMIALS
Appedi A Emples for Ls,,. FACTORING POLYNOMIALS Tere re m stdrd metods of fctorig tt ou ve lered i previous courses. You will uild o tese fctorig metods i our preclculus course to ele ou to fctor epressios
More informationPartial 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 informationThe evaluation of P, and T from these formulae indeed requires that the energy E be expressed as a function of the quantities N, V and S.
d dq, dq d d d, d d d d, e evlutio of, d from tese formule ideed requires tt te eerg be epressed s fuctio of te qutities, d. f (,,) is sould, i priciple, be possible oce is kow s fuctio of, d. f (,, )
More informationNumerical Integration - (4.3)
Numericl Itegrtio - (.). Te Degree of Accurcy of Qudrture Formul: Te degree of ccurcy of qudrture formul Qf is te lrgest positive iteger suc tt x k dx Qx k, k,,,...,. Exmple fxdx 9 f f,,. Fid te degree
More information1 Lecture 13: The derivative as a function.
1 Lecture 13: Te erivative as a function. 1.1 Outline Definition of te erivative as a function. efinitions of ifferentiability. Power rule, erivative te exponential function Derivative of a sum an a multiple
More informationMultiplicative Versions of Infinitesimal Calculus
Multiplictive Versios o Iiitesiml Clculus Wht hppes whe you replce the summtio o stdrd itegrl clculus with multiplictio? Compre the revited deiitio o stdrd itegrl D å ( ) lim ( ) D i With ( ) lim ( ) D
More information4. The slope of the line 2x 7y = 8 is (a) 2/7 (b) 7/2 (c) 2 (d) 2/7 (e) None of these.
Mat 11. Test Form N Fall 016 Name. Instructions. Te first eleven problems are wort points eac. Te last six problems are wort 5 points eac. For te last six problems, you must use relevant metods of algebra
More informationAlgorithms Design & Analysis. Divide & Conquer
Algorithms Desig & Aalysis Divide & Coquer Recap Direct-accessible table Hash tables Hash fuctios Uiversal hashig Perfect Hashig Ope addressig 2 Today s topics The divide-ad-coquer desig paradigm Revised
More information1 Calculus. 1.1 Gradients and the Derivative. Q f(x+h) f(x)
Calculus. Gradients and te Derivative Q f(x+) δy P T δx R f(x) 0 x x+ Let P (x, f(x)) and Q(x+, f(x+)) denote two points on te curve of te function y = f(x) and let R denote te point of intersection of
More information3.3 Rules for Differentiation Calculus. Drum Roll please [In a Deep Announcer Voice] And now the moment YOU VE ALL been waiting for
. Rules or Dieretiatio Calculus. RULES FOR DIFFERENTIATION Drum Roll please [I a Deep Aoucer Voice] A ow the momet YOU VE ALL bee waitig or Rule #1 Derivative o a Costat Fuctio I c is a costat value, the
More informationLimit of a function:
- Limit of fuctio: We sy tht f ( ) eists d is equl with (rel) umer L if f( ) gets s close s we wt to L if is close eough to (This defiitio c e geerlized for L y syig tht f( ) ecomes s lrge (or s lrge egtive
More informationFundamental Algorithms
Fudametal Algorithms Chapter 2b: Recurreces Michael Bader Witer 2014/15 Chapter 2b: Recurreces, Witer 2014/15 1 Recurreces Defiitio A recurrece is a (i-equality that defies (or characterizes a fuctio i
More informationExponentials and Logarithms Review Part 2: Exponentials
Eponentials and Logaritms Review Part : Eponentials Notice te difference etween te functions: g( ) and f ( ) In te function g( ), te variale is te ase and te eponent is a constant. Tis is called a power
More informationNUMERICAL DIFFERENTIATION. James T. Smith San Francisco State University. In calculus classes, you compute derivatives algebraically: for example,
NUMERICAL DIFFERENTIATION James T Smit San Francisco State University In calculus classes, you compute derivatives algebraically: for example, f( x) = x + x f ( x) = x x Tis tecnique requires your knowing
More information1 The concept of limits (p.217 p.229, p.242 p.249, p.255 p.256) 1.1 Limits Consider the function determined by the formula 3. x since at this point
MA00 Capter 6 Calculus and Basic Linear Algebra I Limits, Continuity and Differentiability Te concept of its (p.7 p.9, p.4 p.49, p.55 p.56). Limits Consider te function determined by te formula f Note
More informationMathematical Notation Math Calculus & Analytic Geometry I
Mthemticl Nottio Mth - Clculus & Alytic Geometry I Nme : Use Wor or WorPerect to recrete the ollowig ocumets. Ech rticle is worth poits c e prite give to the istructor or emile to the istructor t jmes@richl.eu.
More informationFunction Composition and Chain Rules
Function Composition and s James K. Peterson Department of Biological Sciences and Department of Matematical Sciences Clemson University Marc 8, 2017 Outline 1 Function Composition and Continuity 2 Function
More informationPolynomial Functions. Linear Functions. Precalculus: Linear and Quadratic Functions
Concepts: definition of polynomial functions, linear functions tree representations), transformation of y = x to get y = mx + b, quadratic functions axis of symmetry, vertex, x-intercepts), transformations
More information1. Questions (a) through (e) refer to the graph of the function f given below. (A) 0 (B) 1 (C) 2 (D) 4 (E) does not exist
Mat 1120 Calculus Test 2. October 18, 2001 Your name Te multiple coice problems count 4 points eac. In te multiple coice section, circle te correct coice (or coices). You must sow your work on te oter
More information2.3 Warmup. Graph the derivative of the following functions. Where necessary, approximate the derivative.
. Warmup Grap te erivative of te followig fuctios. Were ecessar, approimate te erivative. Differetiabilit Must a fuctio ave a erivative at eac poit were te fuctio is efie? Or If f a is efie, must f ( a)
More informationMutipy by r sin RT P to get sin R r r R + T sin (sin T )+ P P = (7) ffi So we hve P P ffi = m (8) choose m re so tht P is sinusoi. If we put this in b
Topic 4: Lpce Eqution in Spheric Co-orintes n Mutipoe Expnsion Reing Assignment: Jckson Chpter 3.-3.5. Lpce Eqution in Spheric Coorintes Review of spheric por coorintes: x = r sin cos ffi y = r sin sin
More information232 Calculus and Structures
3 Calculus and Structures CHAPTER 17 JUSTIFICATION OF THE AREA AND SLOPE METHODS FOR EVALUATING BEAMS Calculus and Structures 33 Copyrigt Capter 17 JUSTIFICATION OF THE AREA AND SLOPE METHODS 17.1 THE
More informationMatriculation number: You have 90 minutes to complete the exam of InformatikIIb. The following rules apply:
Departmet of Iformatics Prof. Dr. Michael Böhle Bizmühlestrasse 14 8050 Zurich Phoe: +41 44 635 4333 Email: boehle@ifi.uzh.ch AlgoDat Midterm1 Sprig 016 08.04.016 Name: Matriculatio umber: Advice You have
More informationDesign and Analysis of Algorithms
Desig ad Aalysis of Algorithms CSE 53 Lecture 9 Media ad Order Statistics Juzhou Huag, Ph.D. Departmet of Computer Sciece ad Egieerig Dept. CSE, UT Arligto CSE53 Desig ad Aalysis of Algorithms Medias ad
More informationMath 1241 Calculus Test 1
February 4, 2004 Name Te first nine problems count 6 points eac and te final seven count as marked. Tere are 120 points available on tis test. Multiple coice section. Circle te correct coice(s). You do
More informationNear-Optimal conversion of Hardness into Pseudo-Randomness
Near-Optimal conversion of Hardness into Pseudo-Randomness Russell Impagliazzo Computer Science and Engineering UC, San Diego 9500 Gilman Drive La Jolla, CA 92093-0114 russell@cs.ucsd.edu Ronen Saltiel
More informationExcursions in Computing Science: Week v Milli-micro-nano-..math Part II
Excursions in Computing Science: Week v Milli-micro-nano-..mat Part II T. H. Merrett McGill University, Montreal, Canada June, 5 I. Prefatory Notes. Cube root of 8. Almost every calculator as a square-root
More informationCSE 332. Data Structures and Parallelism
Aam Blak Lecture 6a Witer 2017 CSE 332 Data Structures a Parallelism CSE 332: Data Structures a Parallelism More Recurreces T () T (/2) T (/2) T (/4) T (/4) T (/4) T (/4) P1 De-Brief 1 You i somethig substatial!
More informationTHE STURM-LIOUVILLE-TRANSFORMATION FOR THE SOLUTION OF VECTOR PARTIAL DIFFERENTIAL EQUATIONS. L. Trautmann, R. Rabenstein
Worksop on Transforms and Filter Banks (WTFB),Brandenburg, Germany, Marc 999 THE STURM-LIOUVILLE-TRANSFORMATION FOR THE SOLUTION OF VECTOR PARTIAL DIFFERENTIAL EQUATIONS L. Trautmann, R. Rabenstein Lerstul
More informationAlgorithms and Data Structures Lecture IV
Algorithms ad Data Structures Lecture IV Simoas Šalteis Aalborg Uiversity simas@cs.auc.dk September 5, 00 1 This Lecture Aalyzig the ruig time of recursive algorithms (such as divide-ad-coquer) Writig
More informationIn Leibniz notation, we write this rule as follows. DERIVATIVE OF A CONSTANT FUNCTION. For n 4 we find the derivative of f x x 4 as follows: lim
.1 DERIVATIVES OF POLYNOIALS AND EXPONENTIAL FUNCTIONS c =c slope=0 0 FIGURE 1 Te grap of ƒ=c is te line =c, so fª()=0. In tis section we learn ow to ifferentiate constant functions, power functions, polnomials,
More informationMA119-A Applied Calculus for Business Fall Homework 4 Solutions Due 9/29/ :30AM
MA9-A Applied Calculus for Business 006 Fall Homework Solutions Due 9/9/006 0:0AM. #0 Find te it 5 0 + +.. #8 Find te it. #6 Find te it 5 0 + + = (0) 5 0 (0) + (0) + =.!! r + +. r s r + + = () + 0 () +
More information3. THE EXCHANGE ECONOMY
Essential Microeconomics -1-3. THE EXCHNGE ECONOMY Pareto efficient allocations 2 Edgewort box analysis 5 Market clearing prices 13 Walrasian Equilibrium 16 Equilibrium and Efficiency 22 First welfare
More informationCOMP26120: More on the Complexity of Recursive Programs (2018/19) Lucas Cordeiro
COMP26120: More o the Complexity of Recursive Programs (2018/19) Lucas Cordeiro lucas.cordeiro@machester.ac.uk Divide-ad-Coquer (Recurrece) Textbook: Algorithm Desig ad Applicatios, Goodrich, Michael T.
More informationSome Review Problems for First Midterm Mathematics 1300, Calculus 1
Some Review Problems for First Midterm Matematics 00, Calculus. Consider te trigonometric function f(t) wose grap is sown below. Write down a possible formula for f(t). Tis function appears to be an odd,
More informationMath Week 5 concepts and homework, due Friday February 10
Mt 2280-00 Week 5 concepts nd omework, due Fridy Februry 0 Recll tt ll problems re good for seeing if you cn work wit te underlying concepts; tt te underlined problems re to be nded in; nd tt te Fridy
More information1. Consider the trigonometric function f(t) whose graph is shown below. Write down a possible formula for f(t).
. Consider te trigonometric function f(t) wose grap is sown below. Write down a possible formula for f(t). Tis function appears to be an odd, periodic function tat as been sifted upwards, so we will use
More information