arxiv: v1 [cs.ds] 31 May 2017
|
|
- Barnard Rudolph Davidson
- 5 years ago
- Views:
Transcription
1 Succinct Partial Sums an Fenwick Trees Philip Bille, Aners Roy Christiansen, Nicola Prezza, an Freerik Rye Skjoljensen arxiv: v1 [cs.ds] 31 May 2017 Technical University of Denmark, DTU Compute, Kgs. Lyngy, Denmark Astract. We consier the well-stuie partial sums prolem in succint space where one is to maintain an array of n k-it integers suject to upates such that partial sums queries can e efficiently answere. We present two succint versions of the Fenwick Tree which is known for its simplicity an practicality. Our results hol in the encoing moel where one is allowe to reuse the space from the input ata. Our main result is the first that only requires nk + o(n) its of space while still supporting sum/upate in O(log n) / O( log n) time where 2 log O(1) n. The secon result shows how optimal time for sum/upate can e achieve while only slightly increasing the space usage to nk + o(nk) its. Beyon Fenwick Trees, the results are primarily ase on it-packing an sampling making them very practical an they also allow for simple optimal parallelization. Keywors: Partial sums, Fenwick tree, succinct, parallel 1 Introuction Let A e an array of k-its integers, with A = n. The partial sums prolem is to uil a ata structure maintaining A uner the following operations. sum(i): return the value i t=1 A[t]. search(j): return the smallest i such that sum(i) j. upate(i, ): set A[i] A[i] +, for some such that 0 A[i] + < 2 k. access(i): return A[i]. Note that access(i) can implemente as sum(i) sum(i 1) an we therefore often o not mention it explicitly. The partial sums prolem is one the most well-stuie ata structure prolems [1, 2, 3, 4, 6, 7, 8, 9]. In this paper, we consier solutions to the partial sums prolem that are succinct, that is, we are intereste in ata structures that use space close to the information-theoretic lower oun of nk its. We istinguish etween encoing ata structures an inexing ata structures. Inexing ata structures are require to store the input array A veratim along with aitional information to support the queries, whereas encoing ata structures have to support operations without consulting the input array.
2 In the inexing moel Raman et al. [8] gave a ata structure that supports sum, upate, an search in O(log n/ log log n) time while using nk+o(nk) its of space. This was improve an generalize y Hon et al. [6]. Both of these papers have the constrain log O(1) n. The aove time complexity is nearly optimal y a lower oun of Patrascu an Demaine [7] who showe that sum, search, an upate operations takes Θ(log w/δ n) time per operation, where w log n is the wor size an δ is the numer of its neee to represent. In particular, whenever = log O(1) n this oun matches the O(log n/ log log n) oun of Raman et al. [8]. Fenwick [2] presente a simple, elegant, an very practical encoing ata structure. The iea is to replace entries in the input array A with partial sums that cover A in an implicit complete inary tree structure. The operations are then implemente y accessing at most log n entries in the array. The Fenwick tree uses nk + n log n its an supports all operations in O(log n) time. In this paper we show two succinct -ary versions of the Fenwick tree. In the first version we reuce the size of the Fenwick tree while improving the sum an upate time. In the secon version we otain optimal times for sum an upate without using more space than the previous est succinct solutions [6, 8]. All results in this paper are in the RAM moel. Our results We show two encoing ata structures that gives the following results. Theorem 1. We can replace A with a succinct Fenwick tree of nk + o(n) its supporting sum, upate, an search queries in O(log n), O( log n), an O(log n) time, respectively, for any 2 log O(1) n. Theorem 2. We can replace A with a succinct Fenwick tree of nk + o(nk) its supporting sum an upate queries in optimal O(log w/δ n) time an search queries in O(log n) time. 2 Data structure For simplicity, assume that n is a power of 2. The Fenwick tree is an implicit ata structure replacing a wor-array A[1,..., n] as follows: Definition 1. Fenwick tree of A [2]. If n = 1, then leave A unchange. Otherwise, ivie A in consecutive non-overlapping locks of two elements each an replace the secon element A[2i] of each lock with A[2i 1] + A[2i], for i = 1,..., n/2. Then, recurse on the su-array A[2, 4,..., 2i,..., n]. To answer sum(i), the iea is to write i in inary as i = 2 j1 + 2 j j k for some j 1 > j 2 > > j k. Then there are k log n entries in the Fenwick tree, that can e easily compute from i, whose values ae together yiel sum(i). In Section 2.1 we escrie in etail how to perform such accesses. As per the aove efinition, the Fenwick tree is an array of n inices. If represente compactly, this array can e store in nk+n log n its. In this section we present a generalization of Fenwick trees taking only succinct space.
3 2.1 Layere -ary structure We first oserve that it is easy to generalize Fenwick trees to e -ary, for 2: we ivie A in locks of integers each, replace the first 1 elements in each lock with their partial sum, an fill the remaining n/ entries of A y recursing on the array A of size n/ that stores the sums of each lock. This generalization gives an array of n inices supporting sum, upate, an search queries on the original array in O(log n), O( log n), an O(log n) time, respectively. We now show how to reuce the space of this array. Let l = log n. We represent our -ary Fenwick tree T (A) using l + 1 arrays (layers) T 1 l+1 (A),..., T (A). For simplicity, we assume that n = e for some e 0 (the general case is then straightforwar to erive). To improve reaaility, we efine our layere structure for the special case = 2, an then sketch how to exten it to the general case 2. Our layere structure is efine as follows. If n = 1, then T2 1 (A) = A. Otherwise: T l+1 2 (A)[i] = A[(i 1) 2 + 1], for all i = 1,..., n/2. Note that T l+1 2 (A) contains n/2 elements. Divie A in locks of 2 elements each, an uil an array A [j] containing the n/2 sums of each lock, i.e. A [j] = A[(j 1) 2 + 1] + A[(j 1) 2 + 2], for j = 1,..., n/2. Then, the next layers are recursively efine as T l 2(A) T l 2(A ),..., T 1 2 (A) T 1 2 (A ). For general 2, T l+1 (A) is an array of n( 1) elements that stores the 1 partial sums of each lock of consecutive elements in A, while A is an array of size n/ containing the complete sums of each lock. In Figure 1 we report an example of our layere structure with = 3. It follows that elements of T i (A), for i > 1, take at most k + (l i + 2) log its each. Note that arrays T 1 l+1 (A),..., T (A) can easily e packe contiguously in a wor array while preserving constant-time access to each of them. This saves us O(l) wors that woul otherwise e neee to store pointers to the arrays. Let S (n, k) e the space (in its) taken y our layere structure. This function satisfies the recurrence S (1, k) = k S (n, k) = n( 1) (k + log ) + S (n/, k + log ) Which unfols to S (n, k) = log n+1 n( 1) i=1 (k + i log ). Using the ientities i i=1 1/i = 1/( 1) an i=1 i/i = /( 1) 2, one can easily erive that S (n, k) nk + 2n log. We now show how to otain the time ouns state in Theorem 1. In the next section, we reuce the space of the structure without affecting query times. Answering sum Let the notation (x 1 x 2... x t ), with 0 x i < for i = 1,..., t, represent the numer t i=1 t i x i in ase. sum(i) queries on our structure are a generalization (in ase ) of sum(i) queries on stanar Fenwick trees.
4 Consier the ase- representation x 1 x 2... x l+1 of i, i.e. i = (x 1 x 2... x l+1 ) (note that we have at most l + 1 igits since we enumerate inexes starting from 1). Consier now all the positions 1 i 1 < i 2 < < i t l+1 such that x j 0, for j = i 1,..., i t. The iea is that each of these positions j = i 1,..., i t can e use to compute an offset o j in T j (A). Then, sum(i) = j=i 1,...,i t T j (A)[o j]. The offset o j relative to the j-th most significant (nonzero) igit of i is efine as follows. If j = 1, then o j = x 1. Otherwise, o j = ( 1) (x 1... x j 1 ) + x j. Note that we scale y a factor of 1 (an not ) as the first term in this formula as each level T j (A) stores only 1 out of partial sums (the remaining sums are passe to level j 1). Note moreover that each o j can e easily compute in constant time an inepenently from the other offsets with the ai of moular arithmetic. It follows that sum queries are answere in O(log n) time. See Figure 1 for a concrete example of sum. Answering upate The iea for performing upate(i, ) is analogous to that of sum(i). We access all levels that contain a partial sum covering position i an upate at most 1 sums per level. Using the same notation as aove, for each j = i 1,..., i t such that x j 0, we upate T j (A)[o j + l] T j (A)[o j + l] + for l = 0,..., x j 1. This proceure takes O( log n) time. Answering search To answer search(j) we start from T 1 (A) an simply perform a top-own traversal of the implicit B-tree of egree efine y the layere structure. At each level, we perform O(log ) steps of inary search to fin the new offset in the next level. There are log n levels, so search takes overall O(log n) time Fig. 1. Example of our layere structure with n = 27 an = 3. Horizontal re lines show the portion of A covere y each element in T j 3 (A), for j = 1,..., log n + 1. To access the i-th partial sum, we procee as follows. Let, for example, i = 19 = (0201) 3. The only nonzero igits in i are the 2-n an 4-th most significant. This gives us o 2 = 2 (0) = 2 an o 4 = 2 (020) = 13. Then, sum(19) = T3 2 (A)[2] + T3 4 (A)[13] = = 92.
5 2.2 Sampling Let 0 < n e a sample rate, where for simplicity we assume that ivies n. Given our input array A, we erive an array A of n/ elements containing the sums of groups of ajacent elements in A, i.e. A [i] = j=1 A[(i 1) + j], i = 1,...,. We then compact A y removing A[j ] for j = 1,..., n/, an y packing the remaining integers in at most nk(1 1/) its. We uil our layere -ary Fenwick tree T (A ) over A. It is clear that queries on A can e solve with a query on T (A ) followe y at most accesses on (the compacte) A. The space of the resulting ata structure is nk(1 1/) + S (n/, k + log ) nk + n log 2n log + its. In orer to retain the same query times of our asic layere structure, we choose = (1/ɛ) log n for any ) constant ɛ > 0 an otain a space occupancy of nk + ɛ + its. For log O(1) n, this ( n log log n log n 2n log log n space is nk+o(n) its. Note that as oppose to existing succinct solutions the low-orer term oes not epen on k. 3 Optimal-time sum an upate In this section we show how to otain optimal running times for sum an upate queries in the RAM moel. We can irectly apply the wor-packing techniques escrie in [7] to spee-up queries; here we only sketch this strategy, see [7] for full etails. Let us escrie the iea on the structure of Section 2.1, an then plug in sampling to reuce space usage. We ivie arrays T j (A) in locks of 1 entries, an store one wor (w its) for each such lock. We can pack 1 integers of at most w/( 1) its each (for an opportune, rea elow) in the wor associate with each lock. Since locks of 1 integers fit in a single wor, we can easily answer sum an upate queries on them in constant time. sum queries on our overall structure can e answere as escrie in Section 2.1, except that now we also nee to access one of the packe integers at each level j to correct the value rea from T j (A). To answer upate queries, the iea is to perform upate operations on the packe locks of integers in constant time exploiting it-parallelism instea of upating at most 1 values of T j (A). At each upate operation, we transfer one of these integers on T j (A) (in a cyclic fashion) to avoi overflowing an to achieve worst-case performance. Note that each packe integer is increase y at most for at most 1 times efore eing transferre to T j (A), so we get the constraint ( 1) log(( 1) ) w. w We choose ( 1) = 2(log w+δ). Then, it is easy to show that the aove constraint is satisfie. The numer of levels ecomes log n = O(log w/δ n). Since we spen constant time per level, this is also the worst-case time neee to answer sum an upate queries on our structure. To analyze space usage we use the correcte formula S (1, k) = k S (n, k) = n( 1) (k + log ) + nw + S (n/, k + log )
6 yieling S (1, k) nk + 2n log + nw 1. Replacing 1 = w 2(log w+δ) we achieve nk + O(nδ + n log w) its of space. We now apply the sampling technique of Section 2.2 with a slight variation. In orer to get the claime space/time ouns, we nee to further apply it-parallelism techniques on the packe integers store in A: using techniques from [5], we can answer sum, search, an upate queries in O(1) time on locks w log n k log(w/δ) with- of w/k integers. It follows that we can now use sample rate = out affecting query times. After sampling A an uiling the Fenwick tree aove escrie over the sums of size- locks of A, the overall space is nk(1 1/) + S (n/, k + log ) = nk + n log + O( nδ + n log w w ). Note that 2 k log(w/δ) w2, so log O(log w) an space simplifies to nk + O( nδ + n log w ). The term nδ nδk log(w/δ) equals. Since δ w, then δ log(w/δ) w, an this term therefore simplifies to w log n nk log n n log w o(nk). Finally, the term equals nk (w log n)/(log w) 2 o(nk). The ouns of Theorem 2 follow. n log w k log(w/δ) w log n Parallelism Note that sum an upate queries on our succinct Fenwick trees can e naturally parallelize as all accesses/upates on the levels can e performe inepenently from each other. For sum, we nee O(log log n) further time to perform a parallel sum of the log n partial results. It is not har to show that on architectures with log n processors this reuces sum/upate times to O(log log n)/o() an O(log log w/δ n)/o(1) in Theorems 1 an 2, respectively. References 1. Dietz, P.F.: Optimal algorithms for list inexing an suset rank. In: Proc. 1st WADS. pp (1989) 2. Fenwick, P.M.: A new ata structure for cumulative frequency tales. Software: Practice an Experience 24(3), (1994) 3. Freman, M., Saks, M.: The cell proe complexity of ynamic ata structures. In: Proc. 21st STOC. pp (1989) 4. Freman, M.L.: The complexity of maintaining an array an computing its partial sums. Journal of the ACM (JACM) 29(1), (1982) 5. Hagerup, T.: Sorting an searching on the wor ram. In: STACS 98. pp Springer (1998) 6. Hon, W.K., Saakane, K., Sung, W.K.: Succinct ata structures for searchale partial sums with optimal worst-case performance. Theoretical Computer Science 412(39), (2011) 7. Patrascu, M., Demaine, E.D.: Logarithmic lower ouns in the cell-proe moel. SIAM Journal on Computing 35(4), (2006) 8. Raman, R., Raman, V., Rao, S.S.: Succinct ynamic ata structures. In: Workshop on Algorithms an Data Structures. pp Springer (2001) 9. Yao, A.C.: On the complexity of maintaining partial sums. SIAM Journal on Computing 14(2), (1985)
Computing the Longest Common Subsequence of Multiple RLE Strings
The 29th Workshop on Combinatorial Mathematics an Computation Theory Computing the Longest Common Subsequence of Multiple RLE Strings Ling-Chih Yao an Kuan-Yu Chen Grauate Institute of Networking an Multimeia
More informationLinear First-Order Equations
5 Linear First-Orer Equations Linear first-orer ifferential equations make up another important class of ifferential equations that commonly arise in applications an are relatively easy to solve (in theory)
More informationImplicit Differentiation
Implicit Differentiation Thus far, the functions we have been concerne with have been efine explicitly. A function is efine explicitly if the output is given irectly in terms of the input. For instance,
More informationLeast-Squares Regression on Sparse Spaces
Least-Squares Regression on Sparse Spaces Yuri Grinberg, Mahi Milani Far, Joelle Pineau School of Computer Science McGill University Montreal, Canaa {ygrinb,mmilan1,jpineau}@cs.mcgill.ca 1 Introuction
More informationPDE Notes, Lecture #11
PDE Notes, Lecture # from Professor Jalal Shatah s Lectures Febuary 9th, 2009 Sobolev Spaces Recall that for u L loc we can efine the weak erivative Du by Du, φ := udφ φ C0 If v L loc such that Du, φ =
More informationd-dimensional Arrangement Revisited
-Dimensional Arrangement Revisite Daniel Rotter Jens Vygen Research Institute for Discrete Mathematics University of Bonn Revise version: April 5, 013 Abstract We revisit the -imensional arrangement problem
More informationSurvey Sampling. 1 Design-based Inference. Kosuke Imai Department of Politics, Princeton University. February 19, 2013
Survey Sampling Kosuke Imai Department of Politics, Princeton University February 19, 2013 Survey sampling is one of the most commonly use ata collection methos for social scientists. We begin by escribing
More informationLower Bounds for the Smoothed Number of Pareto optimal Solutions
Lower Bouns for the Smoothe Number of Pareto optimal Solutions Tobias Brunsch an Heiko Röglin Department of Computer Science, University of Bonn, Germany brunsch@cs.uni-bonn.e, heiko@roeglin.org Abstract.
More informationOptimization of Geometries by Energy Minimization
Optimization of Geometries by Energy Minimization by Tracy P. Hamilton Department of Chemistry University of Alabama at Birmingham Birmingham, AL 3594-140 hamilton@uab.eu Copyright Tracy P. Hamilton, 1997.
More informationRamsey numbers of some bipartite graphs versus complete graphs
Ramsey numbers of some bipartite graphs versus complete graphs Tao Jiang, Michael Salerno Miami University, Oxfor, OH 45056, USA Abstract. The Ramsey number r(h, K n ) is the smallest positive integer
More information'HVLJQ &RQVLGHUDWLRQ LQ 0DWHULDO 6HOHFWLRQ 'HVLJQ 6HQVLWLYLW\,1752'8&7,21
Large amping in a structural material may be either esirable or unesirable, epening on the engineering application at han. For example, amping is a esirable property to the esigner concerne with limiting
More informationThe Subtree Size Profile of Plane-oriented Recursive Trees
The Subtree Size Profile of Plane-oriente Recursive Trees Michael FUCHS Department of Applie Mathematics National Chiao Tung University Hsinchu, 3, Taiwan Email: mfuchs@math.nctu.eu.tw Abstract In this
More informationTwo formulas for the Euler ϕ-function
Two formulas for the Euler ϕ-function Robert Frieman A multiplication formula for ϕ(n) The first formula we want to prove is the following: Theorem 1. If n 1 an n 2 are relatively prime positive integers,
More information. Using a multinomial model gives us the following equation for P d. , with respect to same length term sequences.
S 63 Lecture 8 2/2/26 Lecturer Lillian Lee Scribes Peter Babinski, Davi Lin Basic Language Moeling Approach I. Special ase of LM-base Approach a. Recap of Formulas an Terms b. Fixing θ? c. About that Multinomial
More informationAvoiding maximal parabolic subgroups of S k
Discrete Mathematics an Theoretical Computer Science 4, 2000, 67 77 Avoiing maximal paraolic sugroups of S k Toufik Mansour 1 an Alek Vainshtein 2 Department of Mathematics an Department of Computer Science,
More informationRobustness and Perturbations of Minimal Bases
Robustness an Perturbations of Minimal Bases Paul Van Dooren an Froilán M Dopico December 9, 2016 Abstract Polynomial minimal bases of rational vector subspaces are a classical concept that plays an important
More informationTechnion - Computer Science Department - M.Sc. Thesis MSC Constrained Codes for Two-Dimensional Channels.
Technion - Computer Science Department - M.Sc. Thesis MSC-2006- - 2006 Constraine Coes for Two-Dimensional Channels Keren Censor Technion - Computer Science Department - M.Sc. Thesis MSC-2006- - 2006 Technion
More informationSome vector algebra and the generalized chain rule Ross Bannister Data Assimilation Research Centre, University of Reading, UK Last updated 10/06/10
Some vector algebra an the generalize chain rule Ross Bannister Data Assimilation Research Centre University of Reaing UK Last upate 10/06/10 1. Introuction an notation As we shall see in these notes the
More informationAPPROXIMATE SOLUTION FOR TRANSIENT HEAT TRANSFER IN STATIC TURBULENT HE II. B. Baudouy. CEA/Saclay, DSM/DAPNIA/STCM Gif-sur-Yvette Cedex, France
APPROXIMAE SOLUION FOR RANSIEN HEA RANSFER IN SAIC URBULEN HE II B. Bauouy CEA/Saclay, DSM/DAPNIA/SCM 91191 Gif-sur-Yvette Ceex, France ABSRAC Analytical solution in one imension of the heat iffusion equation
More informationThe Height of List-tries and TST
Discrete Mathematics an Theoretical Computer Science (subm.), by the authors, 1 rev The Height of List-tries an TST N. Broutin 1 an L. Devroye 1 1 School of Computer Science, McGill University, 3480 University
More informationDEBRUIJN-LIKE SEQUENCES AND THE IRREGULAR CHROMATIC NUMBER OF PATHS AND CYCLES
DEBRUIJN-LIKE SEQUENCES AND THE IRREGULAR CHROMATIC NUMBER OF PATHS AND CYCLES MICHAEL FERRARA, CHRISTINE LEE, PHIL WALLIS DEPARTMENT OF MATHEMATICAL AND STATISTICAL SCIENCES UNIVERSITY OF COLORADO DENVER
More informationChromatic number for a generalization of Cartesian product graphs
Chromatic number for a generalization of Cartesian prouct graphs Daniel Král Douglas B. West Abstract Let G be a class of graphs. The -fol gri over G, enote G, is the family of graphs obtaine from -imensional
More informationSYNCHRONOUS SEQUENTIAL CIRCUITS
CHAPTER SYNCHRONOUS SEUENTIAL CIRCUITS Registers an counters, two very common synchronous sequential circuits, are introuce in this chapter. Register is a igital circuit for storing information. Contents
More informationArm Voltage Estimation Method for Compensated Modulation of Modular Multilevel Converters
Arm Voltage Estimation Metho for Compensate Moulation of Moular Multilevel Converters Ael A. Taffese Elisaetta Teeschi Dept. of Electric Power Engineering Norwegian University of Science an Technology
More informationEfficient RNS bases for Cryptography
1 Efficient RNS bases for Cryptography Jean-Claue Bajar, Nicolas Meloni an Thomas Plantar LIRMM UMR 5506, University of Montpellier, France, {bajar,meloni,plantar}@lirmm.fr Abstract Resiue Number Systems
More informationTable of Common Derivatives By David Abraham
Prouct an Quotient Rules: Table of Common Derivatives By Davi Abraham [ f ( g( ] = [ f ( ] g( + f ( [ g( ] f ( = g( [ f ( ] g( g( f ( [ g( ] Trigonometric Functions: sin( = cos( cos( = sin( tan( = sec
More informationMath Notes on differentials, the Chain Rule, gradients, directional derivative, and normal vectors
Math 18.02 Notes on ifferentials, the Chain Rule, graients, irectional erivative, an normal vectors Tangent plane an linear approximation We efine the partial erivatives of f( xy, ) as follows: f f( x+
More informationSchrödinger s equation.
Physics 342 Lecture 5 Schröinger s Equation Lecture 5 Physics 342 Quantum Mechanics I Wenesay, February 3r, 2010 Toay we iscuss Schröinger s equation an show that it supports the basic interpretation of
More informationLATTICE-BASED D-OPTIMUM DESIGN FOR FOURIER REGRESSION
The Annals of Statistics 1997, Vol. 25, No. 6, 2313 2327 LATTICE-BASED D-OPTIMUM DESIGN FOR FOURIER REGRESSION By Eva Riccomagno, 1 Rainer Schwabe 2 an Henry P. Wynn 1 University of Warwick, Technische
More informationApplications of the Wronskian to ordinary linear differential equations
Physics 116C Fall 2011 Applications of the Wronskian to orinary linear ifferential equations Consier a of n continuous functions y i (x) [i = 1,2,3,...,n], each of which is ifferentiable at least n times.
More informationIntroduction to the Vlasov-Poisson system
Introuction to the Vlasov-Poisson system Simone Calogero 1 The Vlasov equation Consier a particle with mass m > 0. Let x(t) R 3 enote the position of the particle at time t R an v(t) = ẋ(t) = x(t)/t its
More informationAn Optimal Algorithm for Bandit and Zero-Order Convex Optimization with Two-Point Feedback
Journal of Machine Learning Research 8 07) - Submitte /6; Publishe 5/7 An Optimal Algorithm for Banit an Zero-Orer Convex Optimization with wo-point Feeback Oha Shamir Department of Computer Science an
More informationu!i = a T u = 0. Then S satisfies
Deterministic Conitions for Subspace Ientifiability from Incomplete Sampling Daniel L Pimentel-Alarcón, Nigel Boston, Robert D Nowak University of Wisconsin-Maison Abstract Consier an r-imensional subspace
More informationSYMMETRIC KRONECKER PRODUCTS AND SEMICLASSICAL WAVE PACKETS
SYMMETRIC KRONECKER PRODUCTS AND SEMICLASSICAL WAVE PACKETS GEORGE A HAGEDORN AND CAROLINE LASSER Abstract We investigate the iterate Kronecker prouct of a square matrix with itself an prove an invariance
More informationMath Implicit Differentiation. We have discovered (and proved) formulas for finding derivatives of functions like
Math 400 3.5 Implicit Differentiation Name We have iscovere (an prove) formulas for fining erivatives of functions like f x x 3x 4x. 3 This amounts to fining y for 3 y x 3x 4x. Notice that in this case,
More informationChapter 6: Energy-Momentum Tensors
49 Chapter 6: Energy-Momentum Tensors This chapter outlines the general theory of energy an momentum conservation in terms of energy-momentum tensors, then applies these ieas to the case of Bohm's moel.
More informationMath 1B, lecture 8: Integration by parts
Math B, lecture 8: Integration by parts Nathan Pflueger 23 September 2 Introuction Integration by parts, similarly to integration by substitution, reverses a well-known technique of ifferentiation an explores
More informationProof of SPNs as Mixture of Trees
A Proof of SPNs as Mixture of Trees Theorem 1. If T is an inuce SPN from a complete an ecomposable SPN S, then T is a tree that is complete an ecomposable. Proof. Argue by contraiction that T is not a
More informationThe derivative of a function f(x) is another function, defined in terms of a limiting expression: f(x + δx) f(x)
Y. D. Chong (2016) MH2801: Complex Methos for the Sciences 1. Derivatives The erivative of a function f(x) is another function, efine in terms of a limiting expression: f (x) f (x) lim x δx 0 f(x + δx)
More informationarxiv: v1 [math.co] 29 May 2009
arxiv:0905.4913v1 [math.co] 29 May 2009 simple Havel-Hakimi type algorithm to realize graphical egree sequences of irecte graphs Péter L. Erős an István Miklós. Rényi Institute of Mathematics, Hungarian
More informationLectures - Week 10 Introduction to Ordinary Differential Equations (ODES) First Order Linear ODEs
Lectures - Week 10 Introuction to Orinary Differential Equations (ODES) First Orer Linear ODEs When stuying ODEs we are consiering functions of one inepenent variable, e.g., f(x), where x is the inepenent
More informationThe numbers inside a matrix are called the elements or entries of the matrix.
Chapter Review of Matries. Definitions A matrix is a retangular array of numers of the form a a a 3 a n a a a 3 a n a 3 a 3 a 33 a 3n..... a m a m a m3 a mn We usually use apital letters (for example,
More informationCalculus of Variations
16.323 Lecture 5 Calculus of Variations Calculus of Variations Most books cover this material well, but Kirk Chapter 4 oes a particularly nice job. x(t) x* x*+ αδx (1) x*- αδx (1) αδx (1) αδx (1) t f t
More informationRegular tree languages definable in FO and in FO mod
Regular tree languages efinable in FO an in FO mo Michael Beneikt Luc Segoufin Abstract We consier regular languages of labele trees. We give an effective characterization of the regular languages over
More informationChapter 2 Derivatives
Chapter Derivatives Section. An Intuitive Introuction to Derivatives Consier a function: Slope function: Derivative, f ' For each, the slope of f is the height of f ' Where f has a horizontal tangent line,
More informationPolynomial Inclusion Functions
Polynomial Inclusion Functions E. e Weert, E. van Kampen, Q. P. Chu, an J. A. Muler Delft University of Technology, Faculty of Aerospace Engineering, Control an Simulation Division E.eWeert@TUDelft.nl
More informationBLOCK DESIGNS WITH NESTED ROWS AND COLUMNS
BLOCK DESIGNS WITH NESTED ROWS AND COLUMNS Rajener Parsa I.A.S.R.I., Lirary Avenue, New Delhi 110 012 rajener@iasri.res.in 1. Introuction For experimental situations where there are two cross-classifie
More informationHow to Minimize Maximum Regret in Repeated Decision-Making
How to Minimize Maximum Regret in Repeate Decision-Making Karl H. Schlag July 3 2003 Economics Department, European University Institute, Via ella Piazzuola 43, 033 Florence, Italy, Tel: 0039-0-4689, email:
More informationTractability results for weighted Banach spaces of smooth functions
Tractability results for weighte Banach spaces of smooth functions Markus Weimar Mathematisches Institut, Universität Jena Ernst-Abbe-Platz 2, 07740 Jena, Germany email: markus.weimar@uni-jena.e March
More informationKolmogorov spectra of weak turbulence in media with two types of interacting waves
3 Decemer 2001 Physics Letters A 291 (2001) 139 145 www.elsevier.com/locate/pla Kolmogorov spectra of wea turulence in meia with two types of interacting waves F. Dias a P. Guyenne V.E.Zaharov c a Centre
More informationd dx But have you ever seen a derivation of these results? We ll prove the first result below. cos h 1
Lecture 5 Some ifferentiation rules Trigonometric functions (Relevant section from Stewart, Seventh Eition: Section 3.3) You all know that sin = cos cos = sin. () But have you ever seen a erivation of
More informationExperiment 2, Physics 2BL
Experiment 2, Physics 2BL Deuction of Mass Distributions. Last Upate: 2009-05-03 Preparation Before this experiment, we recommen you review or familiarize yourself with the following: Chapters 4-6 in Taylor
More informationEVALUATING HIGHER DERIVATIVE TENSORS BY FORWARD PROPAGATION OF UNIVARIATE TAYLOR SERIES
MATHEMATICS OF COMPUTATION Volume 69, Number 231, Pages 1117 1130 S 0025-5718(00)01120-0 Article electronically publishe on February 17, 2000 EVALUATING HIGHER DERIVATIVE TENSORS BY FORWARD PROPAGATION
More informationRank and Select Operations on Binary Strings (1974; Elias)
Rank and Select Operations on Binary Strings (1974; Elias) Naila Rahman, University of Leicester, www.cs.le.ac.uk/ nyr1 Rajeev Raman, University of Leicester, www.cs.le.ac.uk/ rraman entry editor: Paolo
More informationEfficiently Decodable Non-Adaptive Threshold Group Testing
Efficiently Decoable Non-Aaptive Threshol Group Testing arxiv:72759v3 [csit] 3 Jan 28 Thach V Bui, Minoru Kuribayashi, Mahi Cheraghchi, an Isao Echizen SOKENDAI The Grauate University for Avance Stuies),
More informationFinal Exam Study Guide and Practice Problems Solutions
Final Exam Stuy Guie an Practice Problems Solutions Note: These problems are just some of the types of problems that might appear on the exam. However, to fully prepare for the exam, in aition to making
More informationJUST THE MATHS UNIT NUMBER DIFFERENTIATION 2 (Rates of change) A.J.Hobson
JUST THE MATHS UNIT NUMBER 10.2 DIFFERENTIATION 2 (Rates of change) by A.J.Hobson 10.2.1 Introuction 10.2.2 Average rates of change 10.2.3 Instantaneous rates of change 10.2.4 Derivatives 10.2.5 Exercises
More informationHarmonic Modelling of Thyristor Bridges using a Simplified Time Domain Method
1 Harmonic Moelling of Thyristor Briges using a Simplifie Time Domain Metho P. W. Lehn, Senior Member IEEE, an G. Ebner Abstract The paper presents time omain methos for harmonic analysis of a 6-pulse
More informationOn the Enumeration of Double-Base Chains with Applications to Elliptic Curve Cryptography
On the Enumeration of Double-Base Chains with Applications to Elliptic Curve Cryptography Christophe Doche Department of Computing Macquarie University, Australia christophe.oche@mq.eu.au. Abstract. The
More informationMath 115 Section 018 Course Note
Course Note 1 General Functions Definition 1.1. A function is a rule that takes certain numbers as inputs an assigns to each a efinite output number. The set of all input numbers is calle the omain of
More informationLevel Construction of Decision Trees in a Partition-based Framework for Classification
Level Construction of Decision Trees in a Partition-base Framework for Classification Y.Y. Yao, Y. Zhao an J.T. Yao Department of Computer Science, University of Regina Regina, Saskatchewan, Canaa S4S
More informationNILPOTENCE ORDER GROWTH OF RECURSION OPERATORS IN CHARACTERISTIC p. Contents. 1. Introduction Preliminaries 3. References
NILPOTENCE ORDER GROWTH OF RECURSION OPERATORS IN CHARACTERISTIC p ANNA MEDVEDOVSKY Abstract. We prove that the killing rate of certain egree-lowering recursion operators on a polynomial algebra over a
More informationTIME-DELAY ESTIMATION USING FARROW-BASED FRACTIONAL-DELAY FIR FILTERS: FILTER APPROXIMATION VS. ESTIMATION ERRORS
TIME-DEAY ESTIMATION USING FARROW-BASED FRACTIONA-DEAY FIR FITERS: FITER APPROXIMATION VS. ESTIMATION ERRORS Mattias Olsson, Håkan Johansson, an Per öwenborg Div. of Electronic Systems, Dept. of Electrical
More informationLecture 5. Symmetric Shearer s Lemma
Stanfor University Spring 208 Math 233: Non-constructive methos in combinatorics Instructor: Jan Vonrák Lecture ate: January 23, 208 Original scribe: Erik Bates Lecture 5 Symmetric Shearer s Lemma Here
More informationPeriods of quadratic twists of elliptic curves
Perios of quaratic twists of elliptic curves Vivek Pal with an appenix by Amo Agashe Abstract In this paper we prove a relation between the perio of an elliptic curve an the perio of its real an imaginary
More informationarxiv: v4 [cs.ds] 7 Mar 2014
Analysis of Agglomerative Clustering Marcel R. Ackermann Johannes Blömer Daniel Kuntze Christian Sohler arxiv:101.697v [cs.ds] 7 Mar 01 Abstract The iameter k-clustering problem is the problem of partitioning
More informationFast Concurrent Access to Parallel isks Peter Saners, Seastian Egner, Jan Korst MPI{I{1999{1-003 June 1999 Author's Aress Peter Saners Max-Planck-Institute for Computer Science Im Statwal, 66123 Saarrucken,
More informationThe Exact Form and General Integrating Factors
7 The Exact Form an General Integrating Factors In the previous chapters, we ve seen how separable an linear ifferential equations can be solve using methos for converting them to forms that can be easily
More informationA Sketch of Menshikov s Theorem
A Sketch of Menshikov s Theorem Thomas Bao March 14, 2010 Abstract Let Λ be an infinite, locally finite oriente multi-graph with C Λ finite an strongly connecte, an let p
More informationSwitching Time Optimization in Discretized Hybrid Dynamical Systems
Switching Time Optimization in Discretize Hybri Dynamical Systems Kathrin Flaßkamp, To Murphey, an Sina Ober-Blöbaum Abstract Switching time optimization (STO) arises in systems that have a finite set
More information3.7 Implicit Differentiation -- A Brief Introduction -- Student Notes
Fin these erivatives of these functions: y.7 Implicit Differentiation -- A Brief Introuction -- Stuent Notes tan y sin tan = sin y e = e = Write the inverses of these functions: y tan y sin How woul we
More informationarxiv:hep-th/ v1 3 Feb 1993
NBI-HE-9-89 PAR LPTHE 9-49 FTUAM 9-44 November 99 Matrix moel calculations beyon the spherical limit arxiv:hep-th/93004v 3 Feb 993 J. Ambjørn The Niels Bohr Institute Blegamsvej 7, DK-00 Copenhagen Ø,
More information7.1 Support Vector Machine
67577 Intro. to Machine Learning Fall semester, 006/7 Lecture 7: Support Vector Machines an Kernel Functions II Lecturer: Amnon Shashua Scribe: Amnon Shashua 7. Support Vector Machine We return now to
More informationA Review of Multiple Try MCMC algorithms for Signal Processing
A Review of Multiple Try MCMC algorithms for Signal Processing Luca Martino Image Processing Lab., Universitat e València (Spain) Universia Carlos III e Mari, Leganes (Spain) Abstract Many applications
More information4.2 First Differentiation Rules; Leibniz Notation
.. FIRST DIFFERENTIATION RULES; LEIBNIZ NOTATION 307. First Differentiation Rules; Leibniz Notation In this section we erive rules which let us quickly compute the erivative function f (x) for any polynomial
More informationA Course in Machine Learning
A Course in Machine Learning Hal Daumé III 12 EFFICIENT LEARNING So far, our focus has been on moels of learning an basic algorithms for those moels. We have not place much emphasis on how to learn quickly.
More informationEuler equations for multiple integrals
Euler equations for multiple integrals January 22, 2013 Contents 1 Reminer of multivariable calculus 2 1.1 Vector ifferentiation......................... 2 1.2 Matrix ifferentiation........................
More informationDiagonalization of Matrices Dr. E. Jacobs
Diagonalization of Matrices Dr. E. Jacobs One of the very interesting lessons in this course is how certain algebraic techniques can be use to solve ifferential equations. The purpose of these notes is
More informationSome properties of random staircase tableaux
Some properties of ranom staircase tableaux Sanrine Dasse Hartaut Pawe l Hitczenko Downloae /4/7 to 744940 Reistribution subject to SIAM license or copyright; see http://wwwsiamorg/journals/ojsaphp Abstract
More informationChapter 5. Factorization of Integers
Chapter 5 Factorization of Integers 51 Definition: For a, b Z we say that a ivies b (or that a is a factor of b, or that b is a multiple of a, an we write a b, when b = ak for some k Z 52 Theorem: (Basic
More informationA Randomized Approximate Nearest Neighbors Algorithm - a short version
We present a ranomize algorithm for the approximate nearest neighbor problem in - imensional Eucliean space. Given N points {x } in R, the algorithm attempts to fin k nearest neighbors for each of x, where
More informationApproximate Constraint Satisfaction Requires Large LP Relaxations
Approximate Constraint Satisfaction Requires Large LP Relaxations oah Fleming April 19, 2018 Linear programming is a very powerful tool for attacking optimization problems. Techniques such as the ellipsoi
More informationALGEBRAIC AND ANALYTIC PROPERTIES OF ARITHMETIC FUNCTIONS
ALGEBRAIC AND ANALYTIC PROPERTIES OF ARITHMETIC FUNCTIONS MARK SCHACHNER Abstract. When consiere as an algebraic space, the set of arithmetic functions equippe with the operations of pointwise aition an
More informationTime-of-Arrival Estimation in Non-Line-Of-Sight Environments
2 Conference on Information Sciences an Systems, The Johns Hopkins University, March 2, 2 Time-of-Arrival Estimation in Non-Line-Of-Sight Environments Sinan Gezici, Hisashi Kobayashi an H. Vincent Poor
More informationEquilibrium in Queues Under Unknown Service Times and Service Value
University of Pennsylvania ScholarlyCommons Finance Papers Wharton Faculty Research 1-2014 Equilibrium in Queues Uner Unknown Service Times an Service Value Laurens Debo Senthil K. Veeraraghavan University
More informationFree rotation of a rigid body 1 D. E. Soper 2 University of Oregon Physics 611, Theoretical Mechanics 5 November 2012
Free rotation of a rigi boy 1 D. E. Soper 2 University of Oregon Physics 611, Theoretical Mechanics 5 November 2012 1 Introuction In this section, we escribe the motion of a rigi boy that is free to rotate
More informationModular composition modulo triangular sets and applications
Moular composition moulo triangular sets an applications Arien Poteaux Éric Schost arien.poteaux@lip6.fr eschost@uwo.ca : Computer Science Department, The University of Western Ontario, Lonon, ON, Canaa
More informationON THE DISTANCE BETWEEN SMOOTH NUMBERS
#A25 INTEGERS (20) ON THE DISTANCE BETWEEN SMOOTH NUMBERS Jean-Marie De Koninc Département e mathématiques et e statistique, Université Laval, Québec, Québec, Canaa jm@mat.ulaval.ca Nicolas Doyon Département
More informationCouncil for Innovative Research
ISSN: 347-3487 A solution of Fractional Laplace's equation y Moifie separation of variales ABSTRACT Amir Pishkoo,, Maslina Darus, Fatemeh Tamizi 3 Physics an Accelerators Research School (NSTRI) P.O. Box
More informationDeterminant and Trace
Determinant an Trace Area an mappings from the plane to itself: Recall that in the last set of notes we foun a linear mapping to take the unit square S = {, y } to any parallelogram P with one corner at
More informationA Second Time Dimension, Hidden in Plain Sight
A Secon Time Dimension, Hien in Plain Sight Brett A Collins. In this paper I postulate the existence of a secon time imension, making five imensions, three space imensions an two time imensions. I will
More informationON THE OPTIMALITY SYSTEM FOR A 1 D EULER FLOW PROBLEM
ON THE OPTIMALITY SYSTEM FOR A D EULER FLOW PROBLEM Eugene M. Cliff Matthias Heinkenschloss y Ajit R. Shenoy z Interisciplinary Center for Applie Mathematics Virginia Tech Blacksburg, Virginia 46 Abstract
More informationTMA 4195 Matematisk modellering Exam Tuesday December 16, :00 13:00 Problems and solution with additional comments
Problem F U L W D g m 3 2 s 2 0 0 0 0 2 kg 0 0 0 0 0 0 Table : Dimension matrix TMA 495 Matematisk moellering Exam Tuesay December 6, 2008 09:00 3:00 Problems an solution with aitional comments The necessary
More informationIntroduction to Markov Processes
Introuction to Markov Processes Connexions moule m44014 Zzis law Gustav) Meglicki, Jr Office of the VP for Information Technology Iniana University RCS: Section-2.tex,v 1.24 2012/12/21 18:03:08 gustav
More informationRobust Forward Algorithms via PAC-Bayes and Laplace Distributions. ω Q. Pr (y(ω x) < 0) = Pr A k
A Proof of Lemma 2 B Proof of Lemma 3 Proof: Since the support of LL istributions is R, two such istributions are equivalent absolutely continuous with respect to each other an the ivergence is well-efine
More informationCalculus BC Section II PART A A GRAPHING CALCULATOR IS REQUIRED FOR SOME PROBLEMS OR PARTS OF PROBLEMS
Calculus BC Section II PART A A GRAPHING CALCULATOR IS REQUIRED FOR SOME PROBLEMS OR PARTS OF PROBLEMS. An isosceles triangle, whose base is the interval from (0, 0) to (c, 0), has its verte on the graph
More informationA variance decomposition and a Central Limit Theorem for empirical losses associated with resampling designs
Mathias Fuchs, Norbert Krautenbacher A variance ecomposition an a Central Limit Theorem for empirical losses associate with resampling esigns Technical Report Number 173, 2014 Department of Statistics
More informationChapter 9. There are 7 out of 50 measurements that are greater than or equal to 5.1; therefore, the fraction of the
Pratie questions 6 1 a y i = 6 µ = = 1 i = 1 y i µ i = 1 ( ) = 95 = s n 95 555. x i f i 1 1+ + 5+ n + 5 5 + n µ = = = f 11+ n 11+ n i 7 + n = 5 + n = 6n n = a Time (minutes) 1.6.1.6.1.6.1.6 5.1 5.6 6.1
More informationA. Incorrect! The letter t does not appear in the expression of the given integral
AP Physics C - Problem Drill 1: The Funamental Theorem of Calculus Question No. 1 of 1 Instruction: (1) Rea the problem statement an answer choices carefully () Work the problems on paper as neee (3) Question
More informationKramers Relation. Douglas H. Laurence. Department of Physical Sciences, Broward College, Davie, FL 33314
Kramers Relation Douglas H. Laurence Department of Physical Sciences, Browar College, Davie, FL 333 Introuction Kramers relation, name after the Dutch physicist Hans Kramers, is a relationship between
More information