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

  Find the absolute minimum value of the given function

Find the x-coordinate of the local maximum of f(x) = x3 - 2.7x2 - 2.8x. Find the absolute minimum value of the following function on the interval [0,2].

  Write an r program to find the efficient frontier

Write an R program to find the efficient frontier, the tangencyportfolio, and the minimum variance portfolio, and plot on "reward-riskspace" the location of each of the six stocks, the efficient frontier

  Is the improvement significant

Statistical vs Practical Significance. Example. The same as previous example, but there are 1000 students with a sample average of 75.5. Is the improvement significant?

  Explain what time did begin and end trip

Before noon he averaged 60 miles per hour, and after noon he averaged 50 miles per hour. At what time did he begin his trip and when did he end it?

  Complete journal entries company would record for each of

a company sold 18000 of goods on credit on may 1. at the time of the sale the company recorded a debit to accounts

  How many different ways can the dogs finish

How many different ways can the dogs finish 1st, 2nd, and 3rd place?

  Matrice operations solve the problem

Matrice operations solve the problem.

  Find the symmetric equations for the normal line

Find all points where the tangent plane to the surface is parallel to the plane z = 3x + y. Find the symmetric equations for the normal line to the surface at the point (1, 1, 2).

  How many degrees of rotation did the pendulum swing

A 30cm pendulum traverses an arc of 15 cm. To the nearest degree, how many degrees of rotation did the pendulum swing?

  What is the speed of the plane in calm air

It took a small plan 1 hour longer to fly 480 miles against the wind than it took the plane to fly the same distance with the wind. If the wind speed was 20 mph, then what is the speed of the plane in calm air?

  How many balloons of each color did marty inflate

There were 116 fewer blue balloons than white ones. How many balloons of each color did Marty inflate?

  The area of a rectangle equals the length x width the

the area of a rectangle equals the length x width. the equation for the area of a rectangle with a length of 12 is a12w

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