RECURSIVE TREES. Michael Drmota. Institue of Discrete Mathematics and Geometry Vienna University of Technology, A 1040 Wien, Austria

Size: px
Start display at page:

Download "RECURSIVE TREES. Michael Drmota. Institue of Discrete Mathematics and Geometry Vienna University of Technology, A 1040 Wien, Austria"

Transcription

1 RECURSIVE TREES Michael Drmota Institue of Discrete Mathematics and Geometry Vienna University of Technology, A 040 Wien, Austria michael.drmota@tuwien.ac.at Enrage Topical School on GROWTH AND SHAPES, Paris, IHP, June 2 6, 2008

2 Contents Combinatorics on Recursive Trees The Shape or Random Recursive Trees Cutting down Recursive Trees Plane Oriented Recursive Trees Methodology Mixture of combinatorial, analytic and probabilistic methods Heavy use of generating function

3 Recursive Trees

4 Recursive Trees....

5 Recursive Trees.. 2..

6 Recursive Trees

7 Recursive Trees

8 Recursive Trees

9 Recursive Trees

10 Recursive Trees

11 Recursive Trees Combinatorial Description labelled rooted tree labels are strictly increasing no left-to-right order (non-planar)

12 Recursive Trees Motivations spread of epidemics pyramid schemes familiy trees of preserved copies of ancient texts convex hull algorithms...

13 Enumeration of Recursive Trees All recursive trees of size 4:

14 Enumeration of Recursive Trees Number of recursive trees y n = number of recursive trees of size n = (n )! The node with label j has exactly j possibilities to be inserted = y n = 2 (n ).

15 Enumeration of Recursive Trees Bijection to permutations root degree = number of cycles subtree sizes = cycle lengths

16 Enumeration of Recursive Trees Generating Functions: y(x) = n y n x n n! = n x n n = log x y (x) = + y(x) + y(x)2 2! + y(x)3 3! + = e y(x) R = + R + R R + R R R +... A recursive tree can be interpreted as a root followed by an unordered sequence of recursive trees. (y (x) = y n+ x n /n!) n 0

17 Random Recursive Trees Probability Model: Process of growing trees: The process starts with the root that is labeled with. At step j a new node (with label j) is attached to any previous node with probability /(j ). After n steps every tree (of size n) has equal probability /(n )!.

18 Random Recursive Trees....

19 Random Recursive Trees.. p =..

20 Random Recursive Trees.. 2 p =..

21 Random Recursive Trees.. p = /2 2 p = /2..

22 Random Recursive Trees.. 2 p = /2 p = /

23 Random Recursive Trees Remark: left-to-right order is irrelevant =

24 Profile of Recursive Trees First sample of shape parameters: insertion depth of the n-th node: D n path length: I n (sum of alle distances to the root) height H n (maximal distance to the root) degree distribution profile X n,k (number of nodes at level k)

25 Profile of Recursive Trees First sample of shape parameters: insertion depth of the n-th node: D n path length: I n (sum of alle distances to the root) height H n (maximal distance to the root) degree distribution PROFILE X n,k (number of nodes at level k)

26 Profile of Recursive Trees Relevance of the profile X n,k : P{D n = k} = n E X n,k I n = k 0 kx n,k H n = max{k 0 : X n,k > 0} The profile descibes the shape of the tree.

27 Profile of Recursive Trees Average profile: E X n,k = ( ( )) n n)2 (k log e 2 log n + O. 2π log n log n 0,5 0-0,5-0 2 x 3 4

28 Profile of Recursive Trees Central limit theorem for the insertion depth [Devroye, Mahmoud] D n log n log n N(0, ) E D n = log n + O(), V D n = log n + O().

29 Profile of Recursive Trees Lemma [Dondajewski+Szymánski] E X n,k = [u k ] ( n + u ) s n,k = n (n )! s n,k... Stirling numbers of the first kind s n,k... number of permutations of {,... n} with k cycles: n k=0 n k=0 s n,k u k = u(u ) (u n + ) s n,k u k = u(u + ) (u + n )

30 Stirling Numbers s n+,k = s n,k ns n,k, s n+,k = s n,k + n s n,k s n,k k = 0 k = k = 2 k = 3 k = 4 k = 5 k = 6 k = 7 k = 8 n = 0 n = 0 n = n = n = n = n = n = n =

31 Profile of Recursive Trees Remark ( n + α ) = ( ) n ( α) n α = n n Γ(α) ( + O ( )) n Corollary s n,k = (n )!(log n)k k k!γ( log n + ) n! n)2 (k log e 2 log n 2π log n ( + O ( )) n Proof: ( n + u ) n u n Γ(u + ) = [u k ] ( n + u n ) (log n) k k k!γ( log n + ).

32 Profile of Recursive Trees Corollary P{D n = k} = E X n,k n n)2 (k log e 2 log n 2π log n This implies the central limit theorem for D n.

33 Cycles in Permutations s n,k = number of permutations of {,... n} with k cycles Corollary C n... random number of cycles in permutations C n log n log n N(0, ) Corollary R n... root degree of random recursive trees R n log n log n N(0, )

34 Profile of Recursive Trees Profile polynomial W n (u) = X n,k u k k 0 Lemma. The normalized profile polynomial M n (u) = W n(u) E W n (u) is a martingale (with respect to the natural filtration related to the tree evolution process).

35 Profile of Recursive Trees Theorem [Chauvin+Drmota+Jabbour for binary search trees] ( ) Wn (u) E W n (u), u B (M(u), u B) for a suitable domain B C. Remarks (M(u), u B) stochastic process of random analytic functions. Fixed point equation: M(u) uu u M () (u) + ( U) u M (2) (u), where M () (u) and M (2) (u) are independent copies of M(u), U is uniform in [0, ] and (U, M () (u), M (2) (u)) are independent.

36 Profile of Recursive Trees Theorem [Chauvin+Drmota+Jabbour for binary search trees], α I (M(α), α I). E X n, α log n X n, α log n Idea X n,k = [u k ]W n (u) = [u k ]M n (u) E W n (u) [u k ]M(u) E W n (u) M(α)[u k ]E W n (u) = M(α)E X n,k. α = k/ log n... saddle point the function n u u k.

37 Path Length Remark M n() = I n E I n n Corollary I n E I n n M () The random variable M () is not normal. Note also that E I n n log n.

38 Leaves in Recursive Trees Theorem [Najock+Heyde] L n... number of leaves in a random recursive tree of size n n P{L n = k} =. (n )! k n k... Eulerian numbers Remark n k = number or recursive trees of size n with k leaves.

39 Eulerian Numbers n k = k n k + (n k) n k n k k = 0 k = k = 2 k = 3 k = 4 k = 5 k = 6 k = 7 k = 8 n = 0 n = n = 2 4 n = 3 n = n = n = n = n =

40 Leaves in Recursive Trees Corollary L n n n N(0, ) E L n = n 2, E (L n) 2 = 2 (3(n )2 + 3(n ) + 4),

41 Leaves in Recursive Trees Generating functions l n,k... number or recursive trees of size n with k leaves. y(x, u) = n,k l n,k u k xn n! = P{L n = k} u k xn n n,k y(x, u) x = u + e y(x,u) y(x, u) = (x )(u ) + log ( u e (x )(u ) )

42 Degree Distribution l (d) n,k... number or r.t. s of size n with k nodes of outdegree d. L (d) n... number of nodes of outdegree d in a random r.t. of size n: P{L (d) n = k} = l(d) n,k (n )! D n... degree of a random node in a random r.t. of size n P{D n = d} = n E L(d) n Theorem P{D n = d} = ( 2 d+ + O (2 log n) d ) n 2 d!

43 Degree Distribution Generating functions y(x, u) = n,k l (d) n,k uk xn n! = P{L n (d) n,k = k} u k xn n y(x, u) x = e y(x,u) y(x, u)d + (u ) d! Y (x) = y(x, u) u = u= n 0 E L (d) n xn n = P{D n = d} x n n 0 Y (x) = x Y (x) + d! ( log ) d x

44 Degree Distribution Y (x) = x Y (x) + d! ( log ) d x = Y (x) = 2 d+ x + (x ) d j=0 j!2 d+ j ( log ) j x = P{D n = d} = ( 2 d+ + O (2 log n) d ) n 2 d! uniformly for d (2 ε) log n. Corollary P{D n > d} = ( 2 d+ + O (2 log n) d ) n 2 d!

45 Maximum Degree Theorem [Szymánski, Pittel] n... maximum node degree in random r.t. s. E n log 2 n Remark. This degree is much larger than the expected root degree with is about log n.

46 First Moment Method X... discrete random variable on non-negative integers. = P{X > 0} min{, E X}. Proof E X = k P{X = k} P{X = k} = P{X > 0}. k 0 k

47 Maximum Degree Upper bound: first moment method X d... number of nodes of degree > d: E X d = np{d n > d} n > d X d > 0 = E n = P{ n > d} d 0 = P{X d > 0} d 0 min{, E X d } d 0 d log 2 n + n = log 2 n + O(). d>log 2 n P{D n > d}

48 Second Moment Method Theorem X... non-negative random variable with bounded second moment = P{X > 0} (E X)2 E (X 2 ). Proof E X = E ( ) X [X>0] E (X 2 ) E ( 2[X>0] ) = E (X 2 ) P{X > 0} Remark In order to apply the second moment method to obtain a lower bound for E n one needs estimates for E (X d ) 2 which can be derived in a similar fashion as above.

49 Maximum Degree Theorem [Goh+Schmutz] P{ n d} = exp ( 2 (d log 2 n+) ) + o() Remark. The limiting behaviour of n is related the the exteme value (= Gumbel) distribution (F (t) = e e t ). The distribution of n is extremely concentrated around d log 2 n. The proof is an analytic tour de force.

50 Height of Recursive Trees Height H n Theorem [Devroye 987, Pittel 994] H n log n e (a.s.)

51 Height Distribution F (z) solution of y F (y/e /e ) = y 0 F (z/e/e )F (y z) dz Recursive sequence of generating functions: y k+ (x) = eyk(x), y 0 (x) = 0, y k (0) = 0. Theorem [Drmota] E H n = e log n + O ( log n (log log n) ). P{H n k} = F (n/y k ()) + o() P{ H n E H n η} e cη (c > 0)

52 Height Distribution y n,k... number of r.t. s of size n and height k: P{H n k} = y n,k /(n )! y k (x) = n 0 P{H n k} xn n = x n y n,k n 0 n! y k+ (x) = ey k(x) Y k (x) = y k (x) = n 0 P{H n+ k}x n (Y k+ (0) = ) Y k+ (x) = Y k+(x)y k (x)

53 Height Distribution y F (y/e /e ) = y 0 F (z/e/e )F (y z) dz Ψ(u) = 0 F (y)e yu dy Y k (x) = e k/e Ψ ( e k/e ( x) )

54 Height Distribution Y k (0) Ck ( 2 e ) k, Y k () = e k/e. Y k+(x) = Y k+ (x)y k (x) For every positive integer l and for every real number k > 0 the difference Y l (x) Y k (x) has exactly one zero ( Intersection Property ).

55 Height Distribution Y k (x) = n 0 Y n,k x n is an entire function with coefficients Y n,k = F ( ve k/e ) v n e v dv 0 and asymptotically we have Y n,k = F ( ne k/e) + o()

56 Height Distribution Remark: The functions satisfy the recurrence y k (x) = x 0 Y k(t) dt = log Y k+ (x) y k+ (x) = e y k(x)

57 Height Distribution Proof idea Y k (x) is approximated by the auxiliary function Y ek (x): Y k () = Y ek () e k = e log Y k (ρ) k. Y k (x) Y ek (x) in a neighbourhood of x = = P{H n k} Y n,ek = F ( n/y k () ) + o()

58 Plane Oriented Trees....

59 Plane Oriented Trees.. p =..

60 Plane Oriented Trees.. 2 p =..

61 Plane Oriented Trees.. p = /3 p = /3 2 p = /3..

62 Plane Oriented Trees p = /3 p = /3 p = /3 3..

63 Plane Oriented Trees Remark: left-to-right order is relevant =

64 Plane Oriented Trees Number of Plane Oriented Trees: y n = number of plane oriented trees of size n = 3 5 (2n 3) = (2n 3)!! = (2n 2)! 2 n (n )! The node with label j has exactly 2j 3 possibilities to be inserted = y n = 3 (2n 3).

65 Plane Oriented Trees Generating Functions: y(x) = n y n x n n! = n 2 n ( 2(n ) n ) x n n = 2x y (x) = + y(x) + y(x) 2 + y(x) 3 + = y(x) R = + R + R R + R R R +... A plane oriented tree can be interpreted as a root followed by an ordered sequence of plane oriented trees. (y (x) = y n+ x n /n!) n 0

66 Plane Oriented Trees Probability Model: Process of growing trees The process starts with the root that is labeled with. At step j a new node (with label j) is attached to any previous node of outdegree d with probability (d + )/(2j 3). After n steps every tree (of size n) has equal probability /(2n 3)!!.

67 Plane Oriented Trees Depth D n of the n-th node E D n = H 2n 2 H n = 2 log n + O() V D n = H 2n 2 H n H (2) 2n + 4 H(2) n = 2 log n + O() Central limit theorem: D n 2 log n 2 log n N(0, )

68 Plane Oriented Trees Number L n of leaves E L n = 2n 3 V L n = n 9 8 6(2n ) Central limit theorem: L n 2 3 n n9 N(0, )

69 Plane Oriented Trees Distribution of out-degrees D n... degree of a random node in a random p.o.r.t. of size n P{D n = d} = 4 (d + )(d + 2)(d + 3) + o() Remark. 4 (d + )(d + 2)(d + 3) 4 d 3 as d.

70 Plane Oriented Trees Root degree R n P{R n = k} = (2n 3 k)! 2 n k (n k)! 2 πn e k2 /(4n) E R n = πn + O()

71 Plane Oriented Trees Height H n [Pittel 994] H n log n 2s = (a.s.) where s = is the positive solution of se s+ =. Precise results (as above) are also available ([Drmota]).

72 D-ary Recursive Trees

73 D-ary Recursive Trees

74 D-ary Recursive Trees 2

75 D-ary Recursive Trees 2 3

76 D-ary Recursive Trees 2 4 3

77 D-ary Recursive Trees

78 D-ary Recursive Trees

79 D-ary Recursive Trees

80 D-ary Recursive Trees

81 Cutting down Recursive Trees

82 Cutting down Recursive Trees

83 Cutting down Recursive Trees

84 Cutting down Recursive Trees

85 Cutting down Recursive Trees

86 Cutting down Recursive Trees

87 Cutting down Recursive Trees

88 Cutting down Recursive Trees

89 Cutting down Recursive Trees....

90 Cutting down Recursive Trees X n... number of random cuts to cut down a random r.t. of size n. X 0 = X = 0, X n X In + (n 2), where I n is a discrete random variable with P{I n = k} = (n k)(n k + ) that is independent of (X 0, X,..., X n ). n n (0 k < n)

91 Cutting down Recursive Trees Lemma The probability to that the remaining tree has size = k if we cut a random edge in a random recursive tree of size n equals (n k)(n k + ) n n Proof (k )!(n k )! (n )(n )! k j= ( n j) (k )!(n k )! = ( n n k (n )(n )! n k + n = (n k)(n k + ) n )

92 Cutting down Recursive Trees Theorem [Drmota+Iksander+Möhle+Rösler] X n log n n log log n n (log n) 2 n (log n) 2 Y, where Y is a stable random variable with characteristic function E e iλy = e iλ log λ π 2 λ. E X n = n ( ) ( ) n log n + O log 2, V X n = n2 n 2 n 2 log 3 n + O log 4 n

93 Cutting down Recursive Trees Stable distributions The distribution of random variable X is stable, if for all real a, b and independent copies X, X 2 of X there exists c, d with ax + bx 2 cx + d Examples: normal distribution, Cauchy distribution, Levy distribution All stable distributions can be characterized in term of the characteristic function E e iλx.

94 Coalescent Process

95 Coalescent Process

96 Coalescent Process

97 Coalescent Process

98 Coalescent Process

99 Coalescent Process

100 Coalescent Process

101 Coalescent Process

102 Coalescent Process Stochastic model Let Λ be a measure on [0, ]. Continuous Markov process of partitions of {, 2..., n}, Initial partition: {{}, {2},..., {n}}. If ξ and η are two partitions with a resp. b equivalence classes, where b a + classes of ξ are merged to obtain η. Then the rate q ξ,η that ξ merges to η is q ξ,η = { [0,]( ( x)b bx( x) b )x 2 dλ(x) if ξ = η, [0,] xb a ( x) a dλ(x) if ξ η.

103 Coalescent Process Kingman-coalescent Λ = δ 0 Bolthausen-Sznitman-coalescent Λ = univ[0, ]

104 Coalescent Process Remark The process of number of classes is also a Markov process with rates ( a < b n) ) g ba = ( b a [0,] xb a ( x) a dλ(x)

105 Coalescent Process Bolthausen-Sznitman-coalescent X n... number of collisions until there is a single block: X 0 = X = 0, X n X In + (n 2), where I n is a discrete random variable with P{I n = k} = (n k)(n k + ) that is independent of (X 0, X,..., X n ). n n (0 k < n)

106 Cutting down Recursive Trees Lemma f(s, t) = n E s Xn t n satisfies the partial differential equation f(s, t) t ( t + with initial condition f(s, 0) =. t log( t) ( s ) ) = f(s, t)

107 Cutting down Recursive Trees Expected Value g(t) := f(s, t) = E X s n t n s= = g(t) = = g (t) g(t) t = t ( t) 3 log t ( t) 2 log t log log t t + O ( t) 2 log 2 t = E X n = n ( ) n log n + O log 2 n.

108 Thank You!

Catalan Numbers. Thomas A. Dowling, Department of Mathematics, Ohio State Uni- versity.

Catalan Numbers. Thomas A. Dowling, Department of Mathematics, Ohio State Uni- versity. 7 Catalan Numbers Thomas A. Dowling, Department of Mathematics, Ohio State Uni- Author: versity. Prerequisites: The prerequisites for this chapter are recursive definitions, basic counting principles,

More information

VERTICES OF GIVEN DEGREE IN SERIES-PARALLEL GRAPHS

VERTICES OF GIVEN DEGREE IN SERIES-PARALLEL GRAPHS VERTICES OF GIVEN DEGREE IN SERIES-PARALLEL GRAPHS MICHAEL DRMOTA, OMER GIMENEZ, AND MARC NOY Abstract. We show that the number of vertices of a given degree k in several kinds of series-parallel labelled

More information

Probability Generating Functions

Probability Generating Functions page 39 Chapter 3 Probability Generating Functions 3 Preamble: Generating Functions Generating functions are widely used in mathematics, and play an important role in probability theory Consider a sequence

More information

THE DYING FIBONACCI TREE. 1. Introduction. Consider a tree with two types of nodes, say A and B, and the following properties:

THE DYING FIBONACCI TREE. 1. Introduction. Consider a tree with two types of nodes, say A and B, and the following properties: THE DYING FIBONACCI TREE BERNHARD GITTENBERGER 1. Introduction Consider a tree with two types of nodes, say A and B, and the following properties: 1. Let the root be of type A.. Each node of type A produces

More information

Influences in low-degree polynomials

Influences in low-degree polynomials Influences in low-degree polynomials Artūrs Bačkurs December 12, 2012 1 Introduction In 3] it is conjectured that every bounded real polynomial has a highly influential variable The conjecture is known

More information

Mathematics for Algorithm and System Analysis

Mathematics for Algorithm and System Analysis Mathematics for Algorithm and System Analysis for students of computer and computational science Edward A. Bender S. Gill Williamson c Edward A. Bender & S. Gill Williamson 2005. All rights reserved. Preface

More information

The Goldberg Rao Algorithm for the Maximum Flow Problem

The Goldberg Rao Algorithm for the Maximum Flow Problem The Goldberg Rao Algorithm for the Maximum Flow Problem COS 528 class notes October 18, 2006 Scribe: Dávid Papp Main idea: use of the blocking flow paradigm to achieve essentially O(min{m 2/3, n 1/2 }

More information

On the shape of binary trees

On the shape of binary trees On the shape of binary trees Mireille Bousquet-Mélou, CNRS, LaBRI, Bordeaux ArXiv math.co/050266 ArXiv math.pr/0500322 (with Svante Janson) http://www.labri.fr/ bousquet A complete binary tree n internal

More information

GRAPH THEORY LECTURE 4: TREES

GRAPH THEORY LECTURE 4: TREES GRAPH THEORY LECTURE 4: TREES Abstract. 3.1 presents some standard characterizations and properties of trees. 3.2 presents several different types of trees. 3.7 develops a counting method based on a bijection

More information

Offline sorting buffers on Line

Offline sorting buffers on Line Offline sorting buffers on Line Rohit Khandekar 1 and Vinayaka Pandit 2 1 University of Waterloo, ON, Canada. email: rkhandekar@gmail.com 2 IBM India Research Lab, New Delhi. email: pvinayak@in.ibm.com

More information

The Basics of Graphical Models

The Basics of Graphical Models The Basics of Graphical Models David M. Blei Columbia University October 3, 2015 Introduction These notes follow Chapter 2 of An Introduction to Probabilistic Graphical Models by Michael Jordan. Many figures

More information

Degree distribution of random Apollonian network structures and Boltzmann sampling

Degree distribution of random Apollonian network structures and Boltzmann sampling Discrete Mathematics and Theoretical Computer Science (subm.), by the authors, 2 rev Degree distribution of random Apollonian network structures and Boltzmann sampling Alexis Darrasse and Michèle Soria

More information

Introduction to Algebraic Geometry. Bézout s Theorem and Inflection Points

Introduction to Algebraic Geometry. Bézout s Theorem and Inflection Points Introduction to Algebraic Geometry Bézout s Theorem and Inflection Points 1. The resultant. Let K be a field. Then the polynomial ring K[x] is a unique factorisation domain (UFD). Another example of a

More information

The positive minimum degree game on sparse graphs

The positive minimum degree game on sparse graphs The positive minimum degree game on sparse graphs József Balogh Department of Mathematical Sciences University of Illinois, USA jobal@math.uiuc.edu András Pluhár Department of Computer Science University

More information

COMBINATORIAL PROPERTIES OF THE HIGMAN-SIMS GRAPH. 1. Introduction

COMBINATORIAL PROPERTIES OF THE HIGMAN-SIMS GRAPH. 1. Introduction COMBINATORIAL PROPERTIES OF THE HIGMAN-SIMS GRAPH ZACHARY ABEL 1. Introduction In this survey we discuss properties of the Higman-Sims graph, which has 100 vertices, 1100 edges, and is 22 regular. In fact

More information

Numerical methods for American options

Numerical methods for American options Lecture 9 Numerical methods for American options Lecture Notes by Andrzej Palczewski Computational Finance p. 1 American options The holder of an American option has the right to exercise it at any moment

More information

Modern Optimization Methods for Big Data Problems MATH11146 The University of Edinburgh

Modern Optimization Methods for Big Data Problems MATH11146 The University of Edinburgh Modern Optimization Methods for Big Data Problems MATH11146 The University of Edinburgh Peter Richtárik Week 3 Randomized Coordinate Descent With Arbitrary Sampling January 27, 2016 1 / 30 The Problem

More information

STAT 830 Convergence in Distribution

STAT 830 Convergence in Distribution STAT 830 Convergence in Distribution Richard Lockhart Simon Fraser University STAT 830 Fall 2011 Richard Lockhart (Simon Fraser University) STAT 830 Convergence in Distribution STAT 830 Fall 2011 1 / 31

More information

THE FUNDAMENTAL THEOREM OF ALGEBRA VIA PROPER MAPS

THE FUNDAMENTAL THEOREM OF ALGEBRA VIA PROPER MAPS THE FUNDAMENTAL THEOREM OF ALGEBRA VIA PROPER MAPS KEITH CONRAD 1. Introduction The Fundamental Theorem of Algebra says every nonconstant polynomial with complex coefficients can be factored into linear

More information

INDISTINGUISHABILITY OF ABSOLUTELY CONTINUOUS AND SINGULAR DISTRIBUTIONS

INDISTINGUISHABILITY OF ABSOLUTELY CONTINUOUS AND SINGULAR DISTRIBUTIONS INDISTINGUISHABILITY OF ABSOLUTELY CONTINUOUS AND SINGULAR DISTRIBUTIONS STEVEN P. LALLEY AND ANDREW NOBEL Abstract. It is shown that there are no consistent decision rules for the hypothesis testing problem

More information

Lecture 1: Course overview, circuits, and formulas

Lecture 1: Course overview, circuits, and formulas Lecture 1: Course overview, circuits, and formulas Topics in Complexity Theory and Pseudorandomness (Spring 2013) Rutgers University Swastik Kopparty Scribes: John Kim, Ben Lund 1 Course Information Swastik

More information

Lecture 18: Applications of Dynamic Programming Steven Skiena. Department of Computer Science State University of New York Stony Brook, NY 11794 4400

Lecture 18: Applications of Dynamic Programming Steven Skiena. Department of Computer Science State University of New York Stony Brook, NY 11794 4400 Lecture 18: Applications of Dynamic Programming Steven Skiena Department of Computer Science State University of New York Stony Brook, NY 11794 4400 http://www.cs.sunysb.edu/ skiena Problem of the Day

More information

LECTURE 4. Last time: Lecture outline

LECTURE 4. Last time: Lecture outline LECTURE 4 Last time: Types of convergence Weak Law of Large Numbers Strong Law of Large Numbers Asymptotic Equipartition Property Lecture outline Stochastic processes Markov chains Entropy rate Random

More information

Lecture 6 Black-Scholes PDE

Lecture 6 Black-Scholes PDE Lecture 6 Black-Scholes PDE Lecture Notes by Andrzej Palczewski Computational Finance p. 1 Pricing function Let the dynamics of underlining S t be given in the risk-neutral measure Q by If the contingent

More information

Conductance, the Normalized Laplacian, and Cheeger s Inequality

Conductance, the Normalized Laplacian, and Cheeger s Inequality Spectral Graph Theory Lecture 6 Conductance, the Normalized Laplacian, and Cheeger s Inequality Daniel A. Spielman September 21, 2015 Disclaimer These notes are not necessarily an accurate representation

More information

Message-passing sequential detection of multiple change points in networks

Message-passing sequential detection of multiple change points in networks Message-passing sequential detection of multiple change points in networks Long Nguyen, Arash Amini Ram Rajagopal University of Michigan Stanford University ISIT, Boston, July 2012 Nguyen/Amini/Rajagopal

More information

A characterization of trace zero symmetric nonnegative 5x5 matrices

A characterization of trace zero symmetric nonnegative 5x5 matrices A characterization of trace zero symmetric nonnegative 5x5 matrices Oren Spector June 1, 009 Abstract The problem of determining necessary and sufficient conditions for a set of real numbers to be the

More information

Basics of Polynomial Theory

Basics of Polynomial Theory 3 Basics of Polynomial Theory 3.1 Polynomial Equations In geodesy and geoinformatics, most observations are related to unknowns parameters through equations of algebraic (polynomial) type. In cases where

More information

Bargaining Solutions in a Social Network

Bargaining Solutions in a Social Network Bargaining Solutions in a Social Network Tanmoy Chakraborty and Michael Kearns Department of Computer and Information Science University of Pennsylvania Abstract. We study the concept of bargaining solutions,

More information

Large induced subgraphs with all degrees odd

Large induced subgraphs with all degrees odd Large induced subgraphs with all degrees odd A.D. Scott Department of Pure Mathematics and Mathematical Statistics, University of Cambridge, England Abstract: We prove that every connected graph of order

More information

1 if 1 x 0 1 if 0 x 1

1 if 1 x 0 1 if 0 x 1 Chapter 3 Continuity In this chapter we begin by defining the fundamental notion of continuity for real valued functions of a single real variable. When trying to decide whether a given function is or

More information

PÓLYA URN MODELS UNDER GENERAL REPLACEMENT SCHEMES

PÓLYA URN MODELS UNDER GENERAL REPLACEMENT SCHEMES J. Japan Statist. Soc. Vol. 31 No. 2 2001 193 205 PÓLYA URN MODELS UNDER GENERAL REPLACEMENT SCHEMES Kiyoshi Inoue* and Sigeo Aki* In this paper, we consider a Pólya urn model containing balls of m different

More information

Lecture 15 An Arithmetic Circuit Lowerbound and Flows in Graphs

Lecture 15 An Arithmetic Circuit Lowerbound and Flows in Graphs CSE599s: Extremal Combinatorics November 21, 2011 Lecture 15 An Arithmetic Circuit Lowerbound and Flows in Graphs Lecturer: Anup Rao 1 An Arithmetic Circuit Lower Bound An arithmetic circuit is just like

More information

Factoring Trinomials: The ac Method

Factoring Trinomials: The ac Method 6.7 Factoring Trinomials: The ac Method 6.7 OBJECTIVES 1. Use the ac test to determine whether a trinomial is factorable over the integers 2. Use the results of the ac test to factor a trinomial 3. For

More information

Stern Sequences for a Family of Multidimensional Continued Fractions: TRIP-Stern Sequences

Stern Sequences for a Family of Multidimensional Continued Fractions: TRIP-Stern Sequences Stern Sequences for a Family of Multidimensional Continued Fractions: TRIP-Stern Sequences arxiv:1509.05239v1 [math.co] 17 Sep 2015 I. Amburg K. Dasaratha L. Flapan T. Garrity C. Lee C. Mihaila N. Neumann-Chun

More information

24. The Branch and Bound Method

24. The Branch and Bound Method 24. The Branch and Bound Method It has serious practical consequences if it is known that a combinatorial problem is NP-complete. Then one can conclude according to the present state of science that no

More information

Solutions to Homework 6

Solutions to Homework 6 Solutions to Homework 6 Debasish Das EECS Department, Northwestern University ddas@northwestern.edu 1 Problem 5.24 We want to find light spanning trees with certain special properties. Given is one example

More information

Master of Arts in Mathematics

Master of Arts in Mathematics Master of Arts in Mathematics Administrative Unit The program is administered by the Office of Graduate Studies and Research through the Faculty of Mathematics and Mathematics Education, Department of

More information

Graphs without proper subgraphs of minimum degree 3 and short cycles

Graphs without proper subgraphs of minimum degree 3 and short cycles Graphs without proper subgraphs of minimum degree 3 and short cycles Lothar Narins, Alexey Pokrovskiy, Tibor Szabó Department of Mathematics, Freie Universität, Berlin, Germany. August 22, 2014 Abstract

More information

Chapter 3. Distribution Problems. 3.1 The idea of a distribution. 3.1.1 The twenty-fold way

Chapter 3. Distribution Problems. 3.1 The idea of a distribution. 3.1.1 The twenty-fold way Chapter 3 Distribution Problems 3.1 The idea of a distribution Many of the problems we solved in Chapter 1 may be thought of as problems of distributing objects (such as pieces of fruit or ping-pong balls)

More information

Full and Complete Binary Trees

Full and Complete Binary Trees Full and Complete Binary Trees Binary Tree Theorems 1 Here are two important types of binary trees. Note that the definitions, while similar, are logically independent. Definition: a binary tree T is full

More information

Metric Spaces. Chapter 7. 7.1. Metrics

Metric Spaces. Chapter 7. 7.1. Metrics Chapter 7 Metric Spaces A metric space is a set X that has a notion of the distance d(x, y) between every pair of points x, y X. The purpose of this chapter is to introduce metric spaces and give some

More information

Solution to a problem arising from Mayer s theory of cluster integrals Olivier Bernardi, C.R.M. Barcelona

Solution to a problem arising from Mayer s theory of cluster integrals Olivier Bernardi, C.R.M. Barcelona Solution to a problem arising from Mayer s theory of cluster integrals Olivier Bernardi, C.R.M. Barcelona October 2006, 57 th Seminaire Lotharingien de Combinatoire Olivier Bernardi p.1/37 Content of the

More information

FACTORING PEAK POLYNOMIALS

FACTORING PEAK POLYNOMIALS FACTORING PEAK POLYNOMIALS SARA BILLEY, MATTHEW FAHRBACH, AND ALAN TALMAGE Abstract. Let S n be the symmetric group of permutations π = π 1 π 2 π n of {1, 2,..., n}. An index i of π is a peak if π i 1

More information

PROBLEM SET 6: POLYNOMIALS

PROBLEM SET 6: POLYNOMIALS PROBLEM SET 6: POLYNOMIALS 1. introduction In this problem set we will consider polynomials with coefficients in K, where K is the real numbers R, the complex numbers C, the rational numbers Q or any other

More information

SHARP BOUNDS FOR THE SUM OF THE SQUARES OF THE DEGREES OF A GRAPH

SHARP BOUNDS FOR THE SUM OF THE SQUARES OF THE DEGREES OF A GRAPH 31 Kragujevac J. Math. 25 (2003) 31 49. SHARP BOUNDS FOR THE SUM OF THE SQUARES OF THE DEGREES OF A GRAPH Kinkar Ch. Das Department of Mathematics, Indian Institute of Technology, Kharagpur 721302, W.B.,

More information

SMT 2014 Algebra Test Solutions February 15, 2014

SMT 2014 Algebra Test Solutions February 15, 2014 1. Alice and Bob are painting a house. If Alice and Bob do not take any breaks, they will finish painting the house in 20 hours. If, however, Bob stops painting once the house is half-finished, then the

More information

Recursive Algorithms. Recursion. Motivating Example Factorial Recall the factorial function. { 1 if n = 1 n! = n (n 1)! if n > 1

Recursive Algorithms. Recursion. Motivating Example Factorial Recall the factorial function. { 1 if n = 1 n! = n (n 1)! if n > 1 Recursion Slides by Christopher M Bourke Instructor: Berthe Y Choueiry Fall 007 Computer Science & Engineering 35 Introduction to Discrete Mathematics Sections 71-7 of Rosen cse35@cseunledu Recursive Algorithms

More information

On an anti-ramsey type result

On an anti-ramsey type result On an anti-ramsey type result Noga Alon, Hanno Lefmann and Vojtĕch Rödl Abstract We consider anti-ramsey type results. For a given coloring of the k-element subsets of an n-element set X, where two k-element

More information

High degree graphs contain large-star factors

High degree graphs contain large-star factors High degree graphs contain large-star factors Dedicated to László Lovász, for his 60th birthday Noga Alon Nicholas Wormald Abstract We show that any finite simple graph with minimum degree d contains a

More information

Stochastic Inventory Control

Stochastic Inventory Control Chapter 3 Stochastic Inventory Control 1 In this chapter, we consider in much greater details certain dynamic inventory control problems of the type already encountered in section 1.3. In addition to the

More information

Mathematical finance and linear programming (optimization)

Mathematical finance and linear programming (optimization) Mathematical finance and linear programming (optimization) Geir Dahl September 15, 2009 1 Introduction The purpose of this short note is to explain how linear programming (LP) (=linear optimization) may

More information

it is easy to see that α = a

it is easy to see that α = a 21. Polynomial rings Let us now turn out attention to determining the prime elements of a polynomial ring, where the coefficient ring is a field. We already know that such a polynomial ring is a UF. Therefore

More information

Mathematical Finance

Mathematical Finance Mathematical Finance Option Pricing under the Risk-Neutral Measure Cory Barnes Department of Mathematics University of Washington June 11, 2013 Outline 1 Probability Background 2 Black Scholes for European

More information

1/1 7/4 2/2 12/7 10/30 12/25

1/1 7/4 2/2 12/7 10/30 12/25 Binary Heaps A binary heap is dened to be a binary tree with a key in each node such that: 1. All leaves are on, at most, two adjacent levels. 2. All leaves on the lowest level occur to the left, and all

More information

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include 2 + 5.

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include 2 + 5. PUTNAM TRAINING POLYNOMIALS (Last updated: November 17, 2015) Remark. This is a list of exercises on polynomials. Miguel A. Lerma Exercises 1. Find a polynomial with integral coefficients whose zeros include

More information

Continued Fractions and the Euclidean Algorithm

Continued Fractions and the Euclidean Algorithm Continued Fractions and the Euclidean Algorithm Lecture notes prepared for MATH 326, Spring 997 Department of Mathematics and Statistics University at Albany William F Hammond Table of Contents Introduction

More information

Steiner Tree Approximation via IRR. Randomized Rounding

Steiner Tree Approximation via IRR. Randomized Rounding Steiner Tree Approximation via Iterative Randomized Rounding Graduate Program in Logic, Algorithms and Computation μπλ Network Algorithms and Complexity June 18, 2013 Overview 1 Introduction Scope Related

More information

Degree distribution in random Apollonian networks structures

Degree distribution in random Apollonian networks structures Degree distribution in random Apollonian networks structures Alexis Darrasse joint work with Michèle Soria ALÉA 2007 Plan 1 Introduction 2 Properties of real-life graphs Distinctive properties Existing

More information

SEQUENCES OF MAXIMAL DEGREE VERTICES IN GRAPHS. Nickolay Khadzhiivanov, Nedyalko Nenov

SEQUENCES OF MAXIMAL DEGREE VERTICES IN GRAPHS. Nickolay Khadzhiivanov, Nedyalko Nenov Serdica Math. J. 30 (2004), 95 102 SEQUENCES OF MAXIMAL DEGREE VERTICES IN GRAPHS Nickolay Khadzhiivanov, Nedyalko Nenov Communicated by V. Drensky Abstract. Let Γ(M) where M V (G) be the set of all vertices

More information

COUNTING INDEPENDENT SETS IN SOME CLASSES OF (ALMOST) REGULAR GRAPHS

COUNTING INDEPENDENT SETS IN SOME CLASSES OF (ALMOST) REGULAR GRAPHS COUNTING INDEPENDENT SETS IN SOME CLASSES OF (ALMOST) REGULAR GRAPHS Alexander Burstein Department of Mathematics Howard University Washington, DC 259, USA aburstein@howard.edu Sergey Kitaev Mathematics

More information

Gambling and Data Compression

Gambling and Data Compression Gambling and Data Compression Gambling. Horse Race Definition The wealth relative S(X) = b(x)o(x) is the factor by which the gambler s wealth grows if horse X wins the race, where b(x) is the fraction

More information

THE CENTRAL LIMIT THEOREM TORONTO

THE CENTRAL LIMIT THEOREM TORONTO THE CENTRAL LIMIT THEOREM DANIEL RÜDT UNIVERSITY OF TORONTO MARCH, 2010 Contents 1 Introduction 1 2 Mathematical Background 3 3 The Central Limit Theorem 4 4 Examples 4 4.1 Roulette......................................

More information

1 The Line vs Point Test

1 The Line vs Point Test 6.875 PCP and Hardness of Approximation MIT, Fall 2010 Lecture 5: Low Degree Testing Lecturer: Dana Moshkovitz Scribe: Gregory Minton and Dana Moshkovitz Having seen a probabilistic verifier for linearity

More information

MATHEMATICS: PAPER I. 5. You may use an approved non-programmable and non-graphical calculator, unless otherwise stated.

MATHEMATICS: PAPER I. 5. You may use an approved non-programmable and non-graphical calculator, unless otherwise stated. NATIONAL SENIOR CERTIFICATE EXAMINATION NOVEMBER 015 MATHEMATICS: PAPER I Time: 3 hours 150 marks PLEASE READ THE FOLLOWING INSTRUCTIONS CAREFULLY 1. This question paper consists of 1 pages and an Information

More information

Inner Product Spaces

Inner Product Spaces Math 571 Inner Product Spaces 1. Preliminaries An inner product space is a vector space V along with a function, called an inner product which associates each pair of vectors u, v with a scalar u, v, and

More information

a 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4)

a 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4) ROOTS OF POLYNOMIAL EQUATIONS In this unit we discuss polynomial equations. A polynomial in x of degree n, where n 0 is an integer, is an expression of the form P n (x) =a n x n + a n 1 x n 1 + + a 1 x

More information

THE NUMBER OF GRAPHS AND A RANDOM GRAPH WITH A GIVEN DEGREE SEQUENCE. Alexander Barvinok

THE NUMBER OF GRAPHS AND A RANDOM GRAPH WITH A GIVEN DEGREE SEQUENCE. Alexander Barvinok THE NUMBER OF GRAPHS AND A RANDOM GRAPH WITH A GIVEN DEGREE SEQUENCE Alexer Barvinok Papers are available at http://www.math.lsa.umich.edu/ barvinok/papers.html This is a joint work with J.A. Hartigan

More information

How To Solve A Minimum Set Covering Problem (Mcp)

How To Solve A Minimum Set Covering Problem (Mcp) Measuring Rationality with the Minimum Cost of Revealed Preference Violations Mark Dean and Daniel Martin Online Appendices - Not for Publication 1 1 Algorithm for Solving the MASP In this online appendix

More information

Collinear Points in Permutations

Collinear Points in Permutations Collinear Points in Permutations Joshua N. Cooper Courant Institute of Mathematics New York University, New York, NY József Solymosi Department of Mathematics University of British Columbia, Vancouver,

More information

On using numerical algebraic geometry to find Lyapunov functions of polynomial dynamical systems

On using numerical algebraic geometry to find Lyapunov functions of polynomial dynamical systems Dynamics at the Horsetooth Volume 2, 2010. On using numerical algebraic geometry to find Lyapunov functions of polynomial dynamical systems Eric Hanson Department of Mathematics Colorado State University

More information

Notes on Continuous Random Variables

Notes on Continuous Random Variables Notes on Continuous Random Variables Continuous random variables are random quantities that are measured on a continuous scale. They can usually take on any value over some interval, which distinguishes

More information

Scheduling a sequence of tasks with general completion costs

Scheduling a sequence of tasks with general completion costs Scheduling a sequence of tasks with general completion costs Francis Sourd CNRS-LIP6 4, place Jussieu 75252 Paris Cedex 05, France Francis.Sourd@lip6.fr Abstract Scheduling a sequence of tasks in the acceptation

More information

Using the ac Method to Factor

Using the ac Method to Factor 4.6 Using the ac Method to Factor 4.6 OBJECTIVES 1. Use the ac test to determine factorability 2. Use the results of the ac test 3. Completely factor a trinomial In Sections 4.2 and 4.3 we used the trial-and-error

More information

Random access protocols for channel access. Markov chains and their stability. Laurent Massoulié.

Random access protocols for channel access. Markov chains and their stability. Laurent Massoulié. Random access protocols for channel access Markov chains and their stability laurent.massoulie@inria.fr Aloha: the first random access protocol for channel access [Abramson, Hawaii 70] Goal: allow machines

More information

The Black-Scholes-Merton Approach to Pricing Options

The Black-Scholes-Merton Approach to Pricing Options he Black-Scholes-Merton Approach to Pricing Options Paul J Atzberger Comments should be sent to: atzberg@mathucsbedu Introduction In this article we shall discuss the Black-Scholes-Merton approach to determining

More information

Data Structure [Question Bank]

Data Structure [Question Bank] Unit I (Analysis of Algorithms) 1. What are algorithms and how they are useful? 2. Describe the factor on best algorithms depends on? 3. Differentiate: Correct & Incorrect Algorithms? 4. Write short note:

More information

Homework # 3 Solutions

Homework # 3 Solutions Homework # 3 Solutions February, 200 Solution (2.3.5). Noting that and ( + 3 x) x 8 = + 3 x) by Equation (2.3.) x 8 x 8 = + 3 8 by Equations (2.3.7) and (2.3.0) =3 x 8 6x2 + x 3 ) = 2 + 6x 2 + x 3 x 8

More information

Corollary. (f є C n+1 [a,b]). Proof: This follows directly from the preceding theorem using the inequality

Corollary. (f є C n+1 [a,b]). Proof: This follows directly from the preceding theorem using the inequality Corollary For equidistant knots, i.e., u i = a + i (b-a)/n, we obtain with (f є C n+1 [a,b]). Proof: This follows directly from the preceding theorem using the inequality 120202: ESM4A - Numerical Methods

More information

Section 5.1 Continuous Random Variables: Introduction

Section 5.1 Continuous Random Variables: Introduction Section 5. Continuous Random Variables: Introduction Not all random variables are discrete. For example:. Waiting times for anything (train, arrival of customer, production of mrna molecule from gene,

More information

MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set.

MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set. MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set. Vector space A vector space is a set V equipped with two operations, addition V V (x,y) x + y V and scalar

More information

Analysis of Algorithms I: Binary Search Trees

Analysis of Algorithms I: Binary Search Trees Analysis of Algorithms I: Binary Search Trees Xi Chen Columbia University Hash table: A data structure that maintains a subset of keys from a universe set U = {0, 1,..., p 1} and supports all three dictionary

More information

Product irregularity strength of certain graphs

Product irregularity strength of certain graphs Also available at http://amc.imfm.si ISSN 1855-3966 (printed edn.), ISSN 1855-3974 (electronic edn.) ARS MATHEMATICA CONTEMPORANEA 7 (014) 3 9 Product irregularity strength of certain graphs Marcin Anholcer

More information

SPECTRAL POLYNOMIAL ALGORITHMS FOR COMPUTING BI-DIAGONAL REPRESENTATIONS FOR PHASE TYPE DISTRIBUTIONS AND MATRIX-EXPONENTIAL DISTRIBUTIONS

SPECTRAL POLYNOMIAL ALGORITHMS FOR COMPUTING BI-DIAGONAL REPRESENTATIONS FOR PHASE TYPE DISTRIBUTIONS AND MATRIX-EXPONENTIAL DISTRIBUTIONS Stochastic Models, 22:289 317, 2006 Copyright Taylor & Francis Group, LLC ISSN: 1532-6349 print/1532-4214 online DOI: 10.1080/15326340600649045 SPECTRAL POLYNOMIAL ALGORITHMS FOR COMPUTING BI-DIAGONAL

More information

CS 522 Computational Tools and Methods in Finance Robert Jarrow Lecture 1: Equity Options

CS 522 Computational Tools and Methods in Finance Robert Jarrow Lecture 1: Equity Options CS 5 Computational Tools and Methods in Finance Robert Jarrow Lecture 1: Equity Options 1. Definitions Equity. The common stock of a corporation. Traded on organized exchanges (NYSE, AMEX, NASDAQ). A common

More information

Nan Kong, Andrew J. Schaefer. Department of Industrial Engineering, Univeristy of Pittsburgh, PA 15261, USA

Nan Kong, Andrew J. Schaefer. Department of Industrial Engineering, Univeristy of Pittsburgh, PA 15261, USA A Factor 1 2 Approximation Algorithm for Two-Stage Stochastic Matching Problems Nan Kong, Andrew J. Schaefer Department of Industrial Engineering, Univeristy of Pittsburgh, PA 15261, USA Abstract We introduce

More information

A simpler and better derandomization of an approximation algorithm for Single Source Rent-or-Buy

A simpler and better derandomization of an approximation algorithm for Single Source Rent-or-Buy A simpler and better derandomization of an approximation algorithm for Single Source Rent-or-Buy David P. Williamson Anke van Zuylen School of Operations Research and Industrial Engineering, Cornell University,

More information

Some stability results of parameter identification in a jump diffusion model

Some stability results of parameter identification in a jump diffusion model Some stability results of parameter identification in a jump diffusion model D. Düvelmeyer Technische Universität Chemnitz, Fakultät für Mathematik, 09107 Chemnitz, Germany Abstract In this paper we discuss

More information

From Binomial Trees to the Black-Scholes Option Pricing Formulas

From Binomial Trees to the Black-Scholes Option Pricing Formulas Lecture 4 From Binomial Trees to the Black-Scholes Option Pricing Formulas In this lecture, we will extend the example in Lecture 2 to a general setting of binomial trees, as an important model for a single

More information

On the k-path cover problem for cacti

On the k-path cover problem for cacti On the k-path cover problem for cacti Zemin Jin and Xueliang Li Center for Combinatorics and LPMC Nankai University Tianjin 300071, P.R. China zeminjin@eyou.com, x.li@eyou.com Abstract In this paper we

More information

3. Linear Programming and Polyhedral Combinatorics

3. Linear Programming and Polyhedral Combinatorics Massachusetts Institute of Technology Handout 6 18.433: Combinatorial Optimization February 20th, 2009 Michel X. Goemans 3. Linear Programming and Polyhedral Combinatorics Summary of what was seen in the

More information

Cpt S 223. School of EECS, WSU

Cpt S 223. School of EECS, WSU Priority Queues (Heaps) 1 Motivation Queues are a standard mechanism for ordering tasks on a first-come, first-served basis However, some tasks may be more important or timely than others (higher priority)

More information

CHAPTER 9. Integer Programming

CHAPTER 9. Integer Programming CHAPTER 9 Integer Programming An integer linear program (ILP) is, by definition, a linear program with the additional constraint that all variables take integer values: (9.1) max c T x s t Ax b and x integral

More information

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)! Math 7 Fall 205 HOMEWORK 5 SOLUTIONS Problem. 2008 B2 Let F 0 x = ln x. For n 0 and x > 0, let F n+ x = 0 F ntdt. Evaluate n!f n lim n ln n. By directly computing F n x for small n s, we obtain the following

More information

1) The postfix expression for the infix expression A+B*(C+D)/F+D*E is ABCD+*F/DE*++

1) The postfix expression for the infix expression A+B*(C+D)/F+D*E is ABCD+*F/DE*++ Answer the following 1) The postfix expression for the infix expression A+B*(C+D)/F+D*E is ABCD+*F/DE*++ 2) Which data structure is needed to convert infix notations to postfix notations? Stack 3) The

More information

A Note on the Bertsimas & Sim Algorithm for Robust Combinatorial Optimization Problems

A Note on the Bertsimas & Sim Algorithm for Robust Combinatorial Optimization Problems myjournal manuscript No. (will be inserted by the editor) A Note on the Bertsimas & Sim Algorithm for Robust Combinatorial Optimization Problems Eduardo Álvarez-Miranda Ivana Ljubić Paolo Toth Received:

More information

Arrangements And Duality

Arrangements And Duality Arrangements And Duality 3.1 Introduction 3 Point configurations are tbe most basic structure we study in computational geometry. But what about configurations of more complicated shapes? For example,

More information

A binary search tree is a binary tree with a special property called the BST-property, which is given as follows:

A binary search tree is a binary tree with a special property called the BST-property, which is given as follows: Chapter 12: Binary Search Trees A binary search tree is a binary tree with a special property called the BST-property, which is given as follows: For all nodes x and y, if y belongs to the left subtree

More information

CS473 - Algorithms I

CS473 - Algorithms I CS473 - Algorithms I Lecture 9 Sorting in Linear Time View in slide-show mode 1 How Fast Can We Sort? The algorithms we have seen so far: Based on comparison of elements We only care about the relative

More information

Shortest Path Algorithms

Shortest Path Algorithms Shortest Path Algorithms Jaehyun Park CS 97SI Stanford University June 29, 2015 Outline Cross Product Convex Hull Problem Sweep Line Algorithm Intersecting Half-planes Notes on Binary/Ternary Search Cross

More information