Yorktown Heights, New York * San Jose, California * Zurich, Switzerland

Similar documents
Dynamic location, euclidean center problem, global optimization.

that nds a basis which is optimal for both the primal and the dual problems, given

to provide continuous buered playback ofavariable-rate output schedule. The

The Minimum Reservation Rate Problem in Digital. Audio/Video Systems. Abstract

ON THE COMPLEXITY OF SOLVING THE GENERALIZED SET PACKING PROBLEM APPROXIMATELY. Nimrod Megiddoy

IBM Research Report. Minimum Up/Down Polytopes of the Unit Commitment Problem with Start-Up Costs

IBM Almaden Research Center, 650 Harry Road, School of Mathematical Sciences, Tel Aviv University, TelAviv, Israel

Unit 1. Revisiting Parent Functions and Graphing

IBM Research Report. Meertens Number and Its Variations

Bjorn Poonen. MSRI Introductory Workshop on Rational and Integral Points on Higher-dimensional Varieties. January 18, 2006

Algebra 2 (2006) Correlation of the ALEKS Course Algebra 2 to the California Content Standards for Algebra 2

THE DIVISION THEOREM IN Z AND R[T ]

The subject of this paper is nding small sample spaces for joint distributions of

Tennessee s State Mathematics Standards Precalculus

IBM Research Report. On the Linear Relaxation of the p-median Problem I: Oriented Graphs

APPENDIX B SUMMARIES OF SUBJECT MATTER TOPICS WITH RELATED CALIFORNIA AND NCTM STANDARDS PART 1

IBM Research Report. On a Connection between Facility Location and Perfect Graphs. Mourad Baïou University of Clermont

Learning Module 1 - Basic Algebra Review (Appendix A)

IBM Research Report. Conditions for Separability in Generalized Laplacian Matrices and Diagonally Dominant Matrices as Density Matrices

IBM Almaden Research Center,650 Harry Road Sun Jose, Calijornia and School of Mathematical Sciences Tel Aviv University Tel Aviv, Israel

Rigid Divisibility Sequences Generated by Polynomial Iteration

THIS paper is aimed at designing efficient decoding algorithms

Miller Objectives Alignment Math

Math 3 Unit 5: Polynomial and Rational Representations and Modeling

CPSC 518 Introduction to Computer Algebra Asymptotically Fast Integer Multiplication

Lecture for Week 2 (Secs. 1.3 and ) Functions and Limits

Analysis of California Mathematics standards to Common Core standards Algebra I

Seyed Mohammad Bagher Kashani. Abstract. We say that an isometric immersed hypersurface x : M n R n+1 is of L k -finite type (L k -f.t.

Math Review. for the Quantitative Reasoning measure of the GRE General Test

Review questions for Math 111 final. Please SHOW your WORK to receive full credit Final Test is based on 150 points

A Separator Theorem for Graphs with an Excluded Minor and its Applications

Comparison of Virginia s College and Career Ready Mathematics Performance Expectations with the Common Core State Standards for Mathematics

CS3719 Theory of Computation and Algorithms

Register machines L2 18

MyMathLab for School Precalculus Graphical, Numerical, Algebraic Common Core Edition 2016

Cathedral Catholic High School Course Catalog

IBM Research Report. The Relation between the ROC Curve and the CMC

Algebra II. A2.1.1 Recognize and graph various types of functions, including polynomial, rational, and algebraic functions.

Prentice Hall: Algebra 2 with Trigonometry 2006 Correlated to: California Mathematics Content Standards for Algebra II (Grades 9-12)

IBM Research Report. Equilibrium in Prediction Markets with Buyers and Sellers

All-norm Approximation Algorithms

arxiv:cs/ v1 [cs.ds] 22 Jun 1999

Algebra One Dictionary

CONSERVATION by Harvey M. Friedman September 24, 1999

Classical transcendental curves

CS6901: review of Theory of Computation and Algorithms

LECTURE 3. RATIONAL NUMBERS: AN EXAMPLE OF MATHEMATICAL CONSTRUCT

ON THE INTRACTABILITY OF HILBERT S NULLSTELLENSATZ AND AN ALGEBRAIC VERSION OF NP P?

From the Shortest Vector Problem to the Dihedral Hidden Subgroup Problem

Introduction to Divide and Conquer

Distribution of Environments in Formal Measures of Intelligence: Extended Version

The School District of Palm Beach County Algebra 1 Honors Unit A: Data Analysis

Approximate Binary Search Algorithms for Mean Cuts and Cycles

Prentice Hall CME Project, Algebra

Pre-Calculus and Trigonometry Capacity Matrix

A VERTICAL LOOK AT KEY CONCEPTS AND PROCEDURES ALGEBRA I. Texas Education Agency

MCPS Algebra 2 and Precalculus Standards, Categories, and Indicators*

The Shortest Vector Problem (Lattice Reduction Algorithms)

Mathematics High School Algebra

CCSS Math- Algebra. Domain: Algebra Seeing Structure in Expressions A-SSE. Pacing Guide. Standard: Interpret the structure of expressions.

Succinct Data Structures for Approximating Convex Functions with Applications

1 Introduction A one-dimensional burst error of length t is a set of errors that are conned to t consecutive locations [14]. In this paper, we general

Identify the graph of a function, and obtain information from or about the graph of a function.

A linear programming instance with. Author(s) Mizuno, Shinji; Megiddo, Nimrod; Ts. Citation 数理解析研究所講究録 (1996), 945: 68-74

A Deterministic Fully Polynomial Time Approximation Scheme For Counting Integer Knapsack Solutions Made Easy

Chapter 2: Real solutions to univariate polynomials

The max flow problem. Ford-Fulkerson method. A cut. Lemma Corollary Max Flow Min Cut Theorem. Max Flow Min Cut Theorem

The P-vs-NP problem. Andrés E. Caicedo. September 10, 2011

over the parameters θ. In both cases, consequently, we select the minimizing

Range of Competencies

CHAPTER 0 PRELIMINARY MATERIAL. Paul Vojta. University of California, Berkeley. 18 February 1998

DRAFT. Algebraic computation models. Chapter 14

Sampling Contingency Tables

SMSU Mathematics Course Content

Precalculus AB Honors Pacing Guide First Nine Weeks Unit 1. Tennessee State Math Standards

CONTROL POLYGONS FOR CUBIC CURVES

Unit 3 Radical and Rational Functions Algebra 2

Pre-Calculus MATH 119 Fall Section 1.1. Section objectives. Section 1.3. Section objectives. Section A.10. Section objectives

An Algorithmic Proof of the Lopsided Lovász Local Lemma (simplified and condensed into lecture notes)

The real line: the equational compatibility problem and one-variable variants Hilbert s 10 th Problem

Adaptive Online Gradient Descent

Taking the Convoluted out of Bernoulli. Bernoulli Convolutions: A Combinatorial Approach

1 Adeles over Q. 1.1 Absolute values

Bias and No Free Lunch in Formal Measures of Intelligence

THE DIVISION THEOREM IN Z AND F [T ]

IBM Research Report. Hilbert's Nullstellensatz and an Algorithm for Proving Combinatorial Infeasibility

THE WEIGHTED EUCLIDEAN 1-CENTER PROBLEM*?

Unit 1. Revisiting Parent Functions and Graphing

An Interesting Perspective to the P versus NP Problem

Functional Analysis Exercise Class

High School Mathematics Honors PreCalculus

SUPPORTING INFORMATION ALGEBRA I. Texas Education Agency

On the complexity of approximate multivariate integration

Introduction. A rational function is a quotient of polynomial functions. It can be written in the form

Chapter Four Gelfond s Solution of Hilbert s Seventh Problem (Revised January 2, 2011)

WORD: EXAMPLE(S): COUNTEREXAMPLE(S): EXAMPLE(S): COUNTEREXAMPLE(S): WORD: EXAMPLE(S): COUNTEREXAMPLE(S): EXAMPLE(S): COUNTEREXAMPLE(S): WORD:

Bare-bones outline of eigenvalue theory and the Jordan canonical form

1+t 2 (l) y = 2xy 3 (m) x = 2tx + 1 (n) x = 2tx + t (o) y = 1 + y (p) y = ty (q) y =

Notes on uniform convergence

Realization Plans for Extensive Form Games without Perfect Recall

Transcription:

RJ 4958 (51768) 12/16/85 Computer Science/Mathematics Research Report A NOTE ON SENSITIVITY ANALYSIS IN ALGEBRAIC ALGORITHMS Nimrod Megiddo IBM Almaden Research Center 650 Harry Road, San Jose, CA 95120-6099, Mathematical Sciences Research Institute, Berkeley, California and Tel Aviv University, Tel Aviv, Israel LIMITED DISTRIBUTION NOTICE This report has been submitted for publication outside of IBM and will probably be copyrighted if accepted for publication. It has been issued as a Research Report for early dissemination of its contents. In view of the transfer of copyright to the outside publisher, its distribution outside of IBM prior to publication should be limited to peer communications and specific requests. After outside publication, requests should be filled only by reprints or legally obtained copies of the article (e.g., payment of royalties). --- ----- --- - - -- ----,, Research Division. - Yorktown Heights, New York * San Jose, California * Zurich, Switzerland

RJ 4958 (51768) 12/16/85 Computer Science/Mathematics A NOTE ON SENSITIVITY ANALYSIS IN ALGEBRAIC ALGORITHMS Nimrod Megiddo IBM Almaden Research Center 650 Harry Road, San Jose, CA 95120-6099, Mathematical Sciences Research Institute, Berkeley, California and Tel Aviv University, Tel Aviv, Israel ABSTRAC'R This note discusses a problem that is analyzed in a recent report by Eaves and Rothblum. It deals with computation over any ordered field F. However, knowledge of ordered field theory is not required. The model of computation is that of the random access machine where each register holds a single element a E F. The primitive operations are the arithmetic operations +, -, x and +, comparisons and data transfers. It is shown how algorithms can be extended to solve problems with parametric data.

A Note on Sensitivity Analysis in Algebraic Algorithms Nimrod Megiddo We discuss here one problem that is analyzed in a recent report by Eaves and Rothblum [ER]. Previous papers that used related methods are listed in the references. Our discussion here is about computation over any ordered field F. However, knowledge of ordered field theory is not required here. For the reader who is interested in concrete computation, the ordered field of the rational numbers may be taken as an example. We do not need F to be real closed or archimedian. The model of computation is the random access machine where each register holds a single element a E F. The primitive operations are the arithmetic operations +, -, x and +, comparisons (that is, given two elements a, p E F, the machine can recognize whether a < P) and, of course, data transfers. this model an algorithm d receives input in the form of a vector a = (al,..., a,) E P. The algorithm outputs a vector p = (PI,..., Pm) E P. We note that the elements 0 and 1 can be used in the usual way to encode information so that this model can in particular be used to solve combinatorial problems with data taken from F. It is also obvious that in this model an algorithm can, in particular, recognize whether a given element a equals 0 or 1, even if the elements 0 and 1 are not given explicitly. Without further restrictions an algorithm may attempt to divide by 0 and also may not halt. Definition 0.1. Let d be an algorithm. An input a E P is valid for d if, given a, d reaches the halting state. In particular, throughout the execution d never attempts to divide by 0. We are interested in the following question of parametric extension of algorithms in this model. Imagine that the input vector a = (al,..., a,) consists of the values of n rational functions (over F) fi(t),...,fn( t) (for example, ai=fi(0)). Furthermore, suppose there is some E > 0 such that a = f(t) is a valid input for d for any t such that 1 t I < E. We would like to extend d into an algorithm d* that computes some 6 > 0 and provides a "closed-form" description of the output of d relative to all t such that I t I < 6. This is the problem of sensitivity amlysis or local parametric computing. The sense of the closed-form is explained below. Essentially, this means a piecewise rational function with a small number of pieces. We will describe a fairly simple extension of this kind that is valid under a natural assumption as follows. Given the vector-function f, let Tf(t) denote the running time (that is, the number of primitive operations executed by d) in case the algorithm is given the values of f at t (assuming It I < E). The natural assumption is that Tf(t) is bounded over some neighborhood of 0. The idea behind the extension is fairly intuitive. Rational functions can be operated with like field elements. Of course, the costs of the operations (that is, the number of elementary operations In

of the machine) depend on the degrees of the polynomials involved and the specific algorithms used for carrying out these operations on rational functions. Suppose a rational function g(t) =p(t) /q(t) is represented by two vectors of field elements containing the coefficients of the polynomials p(t) and q(t). Then it is straightforward to carry out and represent the results of the arithmetic operations applied to rational functions. If one is interested in maintaining an interval of values of t over which all the current functions are well-defined, then one has to exclude zeros of functions h(t) before executing a division g(t) + h(t). We explain below how this can be done. Comparisons between two functions depend of course on the value of t. However, when we compare two rational functions g(t) and h(t), well-defined in a neighborhood of 0, there is a 6> 0 such that the comparison is uniform over each of the open intervals (-6,O) and (0,S). In other words, either g(t) < h(t) for all t in the same interval, or g(t) 2 h(t) for all t in the same interval. We show below how to determine such a 6. It follows that we can extend an algorithm JB so that the "program variables" become rational functions rather than field elements. More precisely, at any instant during the execution there is a 6 > 0 such that for each program variable X there are at most two more "variables" associated with X: (i) a rational function X+(t) well-defined over (0,6) and (ii) a rational function X-(t) well-defined over (-6,O). Often there will be just one function X(t) from which X-(t), X and X+(t) are obtained trivially by restriction. To simplify the discussion, let us without loss of generality consider only the interval (0,6). There is an easy estimation problem that needs to be solved each time the extended algorithm attempts to carry out a division or a comparison. Suppose g(t) =p(t) /q(t) and h(t) =r(t) /s(t) are rational functions, that is, p,q, r and s are polynomials such that q(t) and s(t) do not vanish in (0,6). We wish to find a a', 0 < S' < 6 such that i(t) = g(t) /h(t) is well-defined over (0, S'). The representation of i(t) as a quotient of two polynomials is easily obtained by polynomial multiplication. For comparison we have to determine a 6' such that either g(t) < h(t) for all t E (0,d) or g(t) 2 h(t) for all t E (0,S'). In both cases the problem of determining 6' can obviously be reduced to the following problem: Given a polynomial p(t) = PO + rlt +... + wntn (assuming vn # 0). find a h > 0 such that p(t) # 0 for all t E (0, A). The solution of this problem is summarized in the following proposition. Proposition 0.2. Let p(t) = wo + q t +... + wntn (n 1 1) be a polynomial over F such that both v,, # 0 and PO # 0. Let h = I t I < Mini 1, I PO I / ( I PI I +... + I 'ir, 1 ) 3. Under these conditions, for every t such that It I <A, p(t) # 0. Proof. Suppose t satisfies the condition stated in the proposition. Note that the triangle inequality l a + j3 I 5 l a 1 + I j3 1 holds over any ordered field. It follows that

Obviously, the assumption that rrg # 0 is not restrictive since a factor of the form ti can be eliminated. This discussion leads to the following theorem: Theorem 0.3. Suppose d is an algorithm over F and f(t) = (fl(t),..., fn (t)) is a vector of rational functions over F satisfying the following conditions: (i) There exists an element E > 0 such that for every t E (-E,E), f(t) is a valid input for d. (ii) mere exists an integer T =?;(f) such that for every t E (- E,E), d halts on f(t) within T elementary operations. Under these conditions, there exists an element 6, 0 < 6 I E, such that over each of the open intervals (-6,O) and (0, a), d executes the same sequence of elementary operations for all t in the same interval. Furthennore, the outputs can be described by rational functions over these intervals, and these functions can be computed by an extended algorithm d * within T(f) "'elementary" operations on rational functions. Proof. The proof of the theorem goes by induction on the number k of the step in the execution of the algorithm. Obviously, the extended algorithm simulates the original algorithm over two nested sequences of intervals (-Sk,O) and (O,Sk). There remains the question of halting. But, since d is assumed to obey a uniform time bound in a some neighborhood of 0 (given the rational functions as input) it follows that d* halts within this uniform time bound, interpreted as the number of rational functions operations. Note that in numbers of elementary field operations d * runs longer, and obviously the degrees of the polynomials involved may grow exponentially during the execution. Thus, usually, the running times of the two algorithms are not polynomially related. However, in the worst case, if d terminates in T operations over (-&,a) principle was not used in our construction. - then d * requires no more that 2 (T) operations. Also, note that Tarski's References [A] [Co] M. J. Atallah, "Dynamic computational geometry", in: Proceedings of the 24th Annual IEEE Symposium on Foundations of Computer Science (1983), IEEE Computer Society Press, Los Angeles, 1983, pp. 92-99. R. Cole, "Slowing down sorting networks to obtain faster sorting algorithms" in: Proceedings of the 25th Annual IEEE Spposium on Foundations of Computer Science (1984), IEEE Computer Society Press, Los Angeles, 1984, pp. 255-260.

R. Cole, M. Sharir and C. Yap, "On k-hulls and related problems" in: Proceedings of the Sixteenth Annual ACM Symposium on fieory of Computing (1984), ACM, New York, 1984, pp. 154-166. B. C. Eaves and U. G. Rothblum, "A theory of extending algorithms for parametric problems", Technical Report, August 1985. D. Gusfield, "Parametric combinatorial computing and a problem of program module dis- tribution", Journal of the Association for Computing Machinery 30 (1983), pp. 55 1-563. R. G. Jeroslow, "Asymptotic linear programming", Operations Research 21 (1973) pp. 1128-1141. N. Megiddo. "Combinatorial optimization with rational objective functions", Mathematics of Operations Research 4 (1979) pp. 414-424. N. Megiddo, "Towards a genuinely polynomial algorithm for linear programming", SIAM Journal on Computing 12 (1983) No. 2, pp. 347-353. N. Megiddo, "Applying parallel computation algorithms in the design of serial algorithms", Journal of the Association for Computing Machinery 30 (1983) No. 4, pp. 337-341. N. Megiddo, "The weighted Euclidean 1-center problem", Mathematics of Operations Research 8 (1983) NO. 4, pp. 498-504. N. Megiddo, "Dynamic location problems", Annals of Operations Research 5 ("Location decisions: methodology and applications"), to appear. N. Megiddo and A. Tamir, "Finding least-distances lines", SIAM Journal on Algebraic and Discrete Methods 4 (1983) No. 2, pp. 207-21 1. N. Megiddo and A. Tamir, "New results on the complexity of p-center problems", SIAM Journal on Computing 12 (1983) No. 4, pp. 751-758. N. Megiddo and E. Zemel, "A randomizing O(n1ogn) algorithm for the weighted 1-center problem", Journal of Algorithms, to appear.