Determine a closed form for the generating series

Assignment Help Mathematics
Reference no: EM131085021

Assignment 4-

1. For each of the following sequences a0, a1, a2, . . . , determine a closed form for the generating series A(x) = a0 + a1x + a2x2 + · · · .

(a) an = 0 if n is odd, an = 3n if n is even.

(b) an = i=0nbicn-i where the sequence b0, b1, b2, . . . has generating 1/(1-x)2 and the sequence c0, c1, c2, . . has generating series 1/√(1-x).

2. Briefly explain why the number of ways to change n cents into pennies, nickels, dimes, and quarters is the coefficient of xn in

1/(1 - x)(1 - x5)(1 - x10)(1 - x25),

and use this along with a computer to determine the number of ways of changing a dollar into pennies, nickels, dimes and quarters.

3. In this problem, we will show that the average number of comparisons in the QUICKSORT algorithm for sorting n distinct numbers is O(n log n). This algorithm takes a list of n distinct numbers, and sorts them in order from least to greatest. The algorithm runs as follows. First, select a random number p in the list. Then, compare p to all other elements in the list. If an element is less than p, place it in the list anywhere before p. If an element is greater than p, place it in the list anywhere after p. Then, recursively apply this algorithm to the sublist of elements falling before p, and the sublist of elements falling after p, while leaving p in its place. Thus, if an is the average number of comparisons in the QUICKSORT algorithm to sort n distinct numbers, we have a0 = 0 and for n ≥ 1,

an = n - 1 + (1/n) i=0n(ai-1 + an-i)

(a) Let f(x) be the generating series for the sequence {a0, a1, a2, . . .}. Deduce that

f'(x) - (2/1 - x)f(x) = 2x/(1 - x)3.

(b) Using differential equations, one can conclude (formally) that

f(x) = -2(x + log(1 - x))/(1 - x)2

(you do not need to show this). Use this, along with the fact that there is a constant M > 0 such that k=1∑n 1/k < M · log n (you can assume this result), to show that there is a constant C > 0 such that the average number of comparisons in the QUICKSORT algorithm is less than C · n log n.

4. Let A ⊂ {0, 1} be the set of binary strings in which each block of 0s has odd length, and each block of 1s has length one or two. Let A(x) = n=0anxn be the generating series for A with respect to length (i.e. with respect to the weight function ω: A → {0, 1, 2, 3, . . .} given by ω(a) = number of bits in a). Show that every string in A can be uniquely described by the regular expression

(∅ ∪ (00)0)((1 ∪ 11)(00)0)(∅ ∪ 1 ∪ 11).

and use this to find A(x), and hence a recurrence equation for an.

5. A beautiful theorem of Lagrange allows us to extract coefficients of generating series that satisfy certain functional equations. Lagrange's Theorem states that if f(x) is a generating series that satisfies the functional equation f(x) = x · g(f(x)) where g is some other function, then

[xn]f(x) = 1/n[yn-1]gn(y).

We will use this to count cubic plane planted trees. A cubic plane planted tree is a plane planted tree, all of whose vertices are adjacent to at most 4 other vertices.

(a) Let C be the set of cubic plane planted trees, and let ∈ be the unique cubic plane planted tree with only one non-root vertex (as in class). Explain why there is a bijection between C - { ∈} and

k=1∪3{ ∈} × Ck

that preserves the number of non-root vertices and deduce that if C(x) is the generating series for C with respect to the weight function ω: C → {0, 1, 2, . . .} defined by ω(c) = number of non-root vertices in c, then

C(x) = x · (1 - C4(x)/1 - C(x)).

(b) Use Lagrange's Theorem to deduce that the number of cubic plane planted trees on n vertices is

891_Figure.png

Reference no: EM131085021

Questions Cloud

Organization of the federal open market committee : Discuss your thoughts on the organization of the Federal Open Market Committee (FOMC). Why is the New York Federal Reserve president always on the FOMC? Does the committee meet often enough? Should its meetings be closed to the public? Have its recen..
Examine the quadrant streak and t-streak plates : Examine the quadrant streak and t-streak plates. have your lab partner write a critique of your isolation technique in the space below. the following should be addressed: was isolation produced on one or both plates.
About the exchange rate : What are the different arguments used by the US and Chinese governments about the renminbi's exchange rate? Do you think that the renminbi is overvalued against the U.S. dollar? The PBoC's policy of exchanging all US dollars for renminbi could produc..
Determine the best location using observation : A multinational fast food corporation plans to locate a restaurant in La Paz, Bolivia. Secondary data for this city are sketchy and outdated. How might you determine the best location using observation?
Determine a closed form for the generating series : For each of the following sequences a0, a1, a2, . . . , determine a closed form for the generating series A(x) = a0 + a1x + a2x2 + · ·
Quality and price-positioned in an existing market : Bayer Schering Pharma AG, Germany owns Alka-Seltzer, which was launched in 1931 and was meant for relief of minor aches, pains, inflammation, fever, headache, heartburn, sour stomach, indigestion, and hangovers. Alka-Seltzer Plus was a spin-off of th..
Find the probability that exactly 50 will be heads : PROBLEM 3.Determine the probability of "4 of a kind" in a 5-card poker draw.Submit thenumerical answerfollowed by MATLAB code. The MATLAB code should simulate the results of 100,000 experiments of poker hands.
The impact of globalisation on organisational strategy : You are required to answer all questions. Your initial submission must include BOTH assignments. If one or more assignments are referred, you can resubmit these on an individual basis, but not in the first instance.
Borrowed to buy housing on the expectation that home prices : In retrospect, it is clear that the U.S. economy was in a precarious position in 2006. Trillions of dollars had been borrowed to buy housing on the expectation that home prices would keep on rising. In 2006 the house prices fell; what happened in rel..

Reviews

Write a Review

Mathematics Questions & Answers

  Questions on ferris wheel

Prepare a Flexible Budget Gator Divers is a company that provides diving services such as underwater ship repairs to clients in the Tampa Bay area.

  Logistic map

This assignment has two question related to maths. Questions are related to bifurcation cascade and logistic map.

  Finding the probability of cards

This assignment has questions related to probabiltiy.

  Systems of ode

Find all the xed points, and study their stability and Draw the phase portrait of the system, as well as the graphs of the solutions in all relevant cases.

  Derive the boolean expression

Derive the Boolean Expression and construct the switching circuit for the truth table stated

  System of equations

Evaluate which equations are under-identified, just-identified, and over-identified.

  Linear programming problem

Linear programming problem consisting of only two constraints with one objective function.

  Find the natural domain

Find the natural domain of the given functions.

  Introduction to numerical methods

Compute the coecients of the polynomials using the term recurrence relation.

  Chart of the topological manifold

De?nition of smoothness of functions on a smooth manifold is chart independent and hence geometric.

  Mathematics in computing

Questions related on mathematics in computing.

  Complex problems

Complex problems

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd