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 cost of the materials for the cheapest

Material for the sides costs $10 per square meter. Find the cost of the materials for the cheapest such container. Round the result to the nearest cent.

  What is the greatest height that the stone reaches

32 feet per second squared 2 (the gravitational acceleration at the Earths surface). What is the greatest height that the stone reaches, and when does it reach that height?

  Computing linear equality

Provide a plot of temperature versus distance east. Based on its appearance, is it a good linear model for predicting temperature as a function of distance?

  How many pounds will be left after 90 years

Where x is the number of years since the material was put into the vault. If 200 pounds of the material are initially put into the vault, how many pounds will be left after 90 years?

  Venn diagram from table

The Wilcox fam is considering buying a dog. They have established several criteria for the family dog; It must be one of the breeds listed in the table, must not shed, must be less than 16 in tall, and must be good with children.

  Curvature and surface equation

Find the point on the graph of y= e^x at which the curvature is the greatest. Write the equation for the surface generated by revolving the curve x^2 - 2y^2 = 1 about the y-axis. Describe the surface

  Find the equation of motion

Find the equation of motion if the mass is initially released from equalibrium position with a downward velocity of 1 ft/s.

  Compute the taylor polynomial indicated

Compute the Taylor polynomial indicated. f(x) = -1/2, a = 4 T3(x) = Use the error bound to find the maximum possible size of the error.

  Question on extrema of function

Find two numbers whose product is 192 and the sum of the first plus three times the second is a minimum. (there should be a primary and a secondary equation)

  Explain the process used to obtain the interval

A company's CEO wanted to estimate the percentage of defective product per shipment. In a sample containing 400 products, he found 25 defective products.

  Different species of scorpions

Now you are studying a habitat in west Texas which contains 6 different species of scorpions: Centruroides vittatus (CV); Diplocentrus lindo (DL); Maakuyak waueri (MW); Paruroctonus gracilior (PG); Pseudouroctonus apacheanus (PA); and Chihuahuanus..

  Estimate the maximum error in the calculated surface area

The circumference of a sphere was measured to be 86000 cm with a possible error of 050000 cm. Use linear approximation to estimate the maximum error in the calculated surface area.

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