= z 20 z n. (k 20) + 4 z k = 4

Similar documents
1 Generating functions, continued

Difference Equations

8.6 The Complex Number System

THE CHINESE REMAINDER THEOREM. We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens

Expected Value and Variance

Example: (13320, 22140) =? Solution #1: The divisors of are 1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 27, 30, 36, 41,

5 The Rational Canonical Form

Week 2. This week, we covered operations on sets and cardinality.

Limited Dependent Variables

Complex Numbers Alpha, Round 1 Test #123

Chapter 1. Probability

Section 8.3 Polar Form of Complex Numbers

U.C. Berkeley CS294: Spectral Methods and Expanders Handout 8 Luca Trevisan February 17, 2016

NUMERICAL DIFFERENTIATION

NP-Completeness : Proofs

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction

Introduction to Vapor/Liquid Equilibrium, part 2. Raoult s Law:

Section 3.6 Complex Zeros

Problem Set 9 Solutions

C/CS/Phy191 Problem Set 3 Solutions Out: Oct 1, 2008., where ( 00. ), so the overall state of the system is ) ( ( ( ( 00 ± 11 ), Φ ± = 1

Lecture 12: Discrete Laplacian

Errors for Linear Systems

Quantum Mechanics for Scientists and Engineers. David Miller

FACTORIZATION IN KRULL MONOIDS WITH INFINITE CLASS GROUP

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X

Formulas for the Determinant

1 Generating functions, continued

Asymptotics of the Solution of a Boundary Value. Problem for One-Characteristic Differential. Equation Degenerating into a Parabolic Equation

Digital Signal Processing

Linear Approximation with Regularization and Moving Least Squares

Indeterminate pin-jointed frames (trusses)

Complex Numbers. x = B B 2 4AC 2A. or x = x = 2 ± 4 4 (1) (5) 2 (1)

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results.

Lecture 10 Support Vector Machines II

CHAPTER 14 GENERAL PERTURBATION THEORY

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 12 10/21/2013. Martingale Concentration Inequalities and Applications

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix

The Feynman path integral

x = , so that calculated

E Tail Inequalities. E.1 Markov s Inequality. Non-Lecture E: Tail Inequalities

Exercises. 18 Algorithms

CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

COMPLEX NUMBERS AND QUADRATIC EQUATIONS

Lecture 3: Probability Distributions

First day August 1, Problems and Solutions

SELECTED PROOFS. DeMorgan s formulas: The first one is clear from Venn diagram, or the following truth table:

More metrics on cartesian products

Case A. P k = Ni ( 2L i k 1 ) + (# big cells) 10d 2 P k.

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U)

LECTURE 9 CANONICAL CORRELATION ANALYSIS

Edge Isoperimetric Inequalities

Chapter 8 SCALAR QUANTIZATION

CS 2750 Machine Learning. Lecture 5. Density estimation. CS 2750 Machine Learning. Announcements

and problem sheet 2

Random Walks on Digraphs

Poisson brackets and canonical transformations

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems

11 Tail Inequalities Markov s Inequality. Lecture 11: Tail Inequalities [Fa 13]

Maximizing the number of nonnegative subsets

Common loop optimizations. Example to improve locality. Why Dependence Analysis. Data Dependence in Loops. Goal is to find best schedule:

2.3 Nilpotent endomorphisms

Module 9. Lecture 6. Duality in Assignment Problems

Vapnik-Chervonenkis theory

Department of Electrical & Electronic Engineeing Imperial College London. E4.20 Digital IC Design. Median Filter Project Specification

Bernoulli Numbers and Polynomials

The KMO Method for Solving Non-homogenous, m th Order Differential Equations

Finding Dense Subgraphs in G(n, 1/2)

Linear Regression Analysis: Terminology and Notation

Report on Image warping

AS-Level Maths: Statistics 1 for Edexcel

1 Matrix representations of canonical matrices

Beyond Zudilin s Conjectured q-analog of Schmidt s problem

Solutions to the 71st William Lowell Putnam Mathematical Competition Saturday, December 4, 2010

Unit 5: Quadratic Equations & Functions

Notes on Frequency Estimation in Data Streams

Composite Hypotheses testing

Determinants Containing Powers of Generalized Fibonacci Numbers

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity

CS-433: Simulation and Modeling Modeling and Probability Review

Mixed-integer vertex covers on bipartite graphs

PHYS 705: Classical Mechanics. Calculus of Variations II

Problem Set 9 - Solutions Due: April 27, 2005

Affine transformations and convexity

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal

Structure and Drive Paul A. Jensen Copyright July 20, 2003

Advanced Quantum Mechanics

G = G 1 + G 2 + G 3 G 2 +G 3 G1 G2 G3. Network (a) Network (b) Network (c) Network (d)

Ballot Paths Avoiding Depth Zero Patterns

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity

Discussion 11 Summary 11/20/2018

UNIT 4 EXTENDING THE NUMBER SYSTEM Lesson 3: Operating with Complex Numbers Instruction

4 Analysis of Variance (ANOVA) 5 ANOVA. 5.1 Introduction. 5.2 Fixed Effects ANOVA

2E Pattern Recognition Solutions to Introduction to Pattern Recognition, Chapter 2: Bayesian pattern classification

8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS

For all questions, answer choice E) NOTA" means none of the above answers is correct.

One-sided finite-difference approximations suitable for use with Richardson extrapolation

The optimal delay of the second test is therefore approximately 210 hours earlier than =2.

APPROXIMATE PRICES OF BASKET AND ASIAN OPTIONS DUPONT OLIVIER. Premia 14

SL n (F ) Equals its Own Derived Group

Transcription:

Problem Set #7 solutons 7.2.. (a Fnd the coeffcent of z k n (z + z 5 + z 6 + z 7 + 5, k 20. We use the known seres expanson ( n+l ( z l l z n below: (z + z 5 + z 6 + z 7 + 5 (z 5 ( + z + z 2 + z + 5 5 ( z 20 z + 5 z 20 z n 5 + z n+20 Ths s an acceptable but not entrely canoncal representaton of the generatng functon: to be standardzed (and useful for answerng the queston asked we d lke to change the exponent on z to be a sngle varable. So let k n + 20, replacng every n above wth k 20: k 200 ( (k 20 + z k ( k 6 z k so the coeffcent of z k s ( k 6 for z 20 (and for z < 20, the coeffcent s zero, as these terms do not appear n the seres expanson. (b Fnd the coeffcent of z k n (z + z + z 5 ( + z n, k 5. We use the known bnomal expanson (+z n ( n z below. Note that the upper bound can be, snce every bnomal coeffcent ( n k wth k > n s zero; ths s not necessary, but actually makes our seres manpulaton easer, snce we need not worry about the upper lmt of the sum: (z + z + z 5 ( + z n (z + z + z 5 z z + + z + + z +5 Now we need to perform ndex-shfts on each sum to get our z-terms to match; so we ntroduce new ndces k +, k +, and k + 5 to the three sums: z + + z + + z +5 z k + z k + z k k k k 5 k k k5 [( ] [( ] n n [( ( ( ] n n n z + nz 2 + + z + + n z + + + z k 2 k k k k20 k5 Page of 6 March, 2008

Problem Set #7 solutons So despte all the specal-casng necessary for k < 5 (whch need not be calculated as explctly as shown here, we see that the coeffcent of z k for k 5 wll always be ( ( n k + n ( k + n k. 7.2.6. What s the generatng functon for a n, the number of ntegers from 0 to 99, 999, whose dgts sum to n? How many of these ntegers have dgts that sum to 27? The generatng functon for numbers from zero to 99, 999 categorzed by dgt sum s ( + z + z 2 + + z 9 5 (cf. problem 7..5(a from Problem Set #6. We shall perform expansons of the generatng functon to determne the z 27 term of ths seres: ( z ( + z + + z 9 5 0 5 z ( z 0 5 ( z 5 ( 5z 0 + 0z 20 0z 0 + 5z 0 z 50 + z n To fnd the z 27 term, we consder all possble products of z 27 that can be produced va a product of the 50th-degree polynomal and seres gven. A z 27 term arses va all of the followng products: (27+ z 27, 5z 0 (7+ z 7, and 0z 20 (7+ z 7. Thus, the total z 27 coeffcent n ths product s: ( ( ( 2 5 + 0 80 7.2.. Show that the followng formulas hold: (a z ( + z( + z2 ( + z ( + z 8. We can prove by nducton that (+z(+z 2 (+z 2n +z+z 2 + +z 2n+ : t s clearly true for n, and assumng t for a partcular n, we can derve ts truth for n + : ( + z( + z 2 ( + z 2n + z + z 2 + + z 2n+ ( ( + z( + z 2 ( + z 2n ( + z 2n+ + z + z 2 + + z 2n+ ( + z 2n+ ( + z + z 2 + + z 2n+ ( + z 2n+ + z 2n+ + + z 2n+ + + + z 2n+ +(2 n+ + z + z 2 + + z 2(2n+ + z + z 2 + + z (2n+2 We thus have that n ( + z2 2 n+ z n, so n the lmtng case (dong the sorts of thngs I tell MATH 205 students that we are never, ever allowed to do, ( + z 2 z n z Page 2 of 6 March, 2008

Problem Set #7 solutons (b z ( + z + z2 ( + z + z 6 ( + z 9 + z 8. Ths proceeds smlarly to the argument above, only wth n nstead of 2 n everywhere. 7.2.5. Fnd a generatng functon and formula for a n, the number of ways to dstrbute n smlar jugglng balls to four dfferent jugglers so that each juggler receves an odd number of jugglng balls that s larger than or equal to three. Montorng the number of balls dstrbuted, dstrbuton of balls to a sngle juggler under these constrants can be modeled wth the seres z + z 5 + z 7 + z ( + z 2 + z + z z. Dong so for jugglers yelds the generatng functon 2. z 2 ( z 2 To fnd a formula for a n, we need to put ths generatng functon n the form a n z n n order to make determnng ndvdual coeffcents easy. We use the known seres expanson for wth z 2 standng n for y: ( y k z 2 ( z 2 z2 k 60 ( m + ( m + (z 2 m z 2m+2 m0 Now we use ndex-shftng, lettng k m+6 and replacng all occurrences approprately to clean up the exponent on z and gettng the followng smplfed sum: ( k 6 + ( k z 2k z 2k Thus, the coeffcent of z 2k s ( k, and the coeffcent of any odd pwoer of z s zero; thus a n ( k f n 2k, and an 0 f n s odd. 7.2.22. In how many ways can a con be flpped 25 tmes n a row so that exactly fve heads occur and no more than seven tals occur consecutvely? Let n keep track of the total number of flps n the followng process: flp from zero to seven tals; flp a head then flp from zero to seven tals fve tmes. Ths process s guaranteed to yeld exactly fve heads and no more than 7 consecutve tals. Ths procedure has dscrete steps, but they fall nto two categores: flps of a sngle con yeldng heads, wth generatng functon z; and flps of a con from zero to seven tmes yeldng tals, wth generatng functon + z + z 2 + + z 7. Thus, our generatng functon n total s k6 m0 ( + z + z 2 + + z 7 [ z( + z + z 2 + + z 7] 5 z 5 ( z 8 6 whch can be calculated to be z 5 ( 6z 8 + 5z 6 + z 8 + 5 z n 5 ( z 6 We then determne the z 25 term n ths seres by fndng all possble products of terms from the factors yeldng z 25 : z 5 (25 5 z 20, z 5 6z 8 (7 5 z 2, and z 5 5z 6 (9 5 z ; thus the total coeffcent of z 2 5 n the above product s ( ( 25 5 6 7 ( 5 + 5 9 5 7892. Page of 6 March, 2008

Problem Set #7 solutons 7... Fnd a generatng functon for a n, the number of parttons of n nto (a Odd ntegers. A partton of n nto odd numbers can specfcally be consdered as a partton nto x ones, x threes, x 5 fves, etc.; then, these varables conform to the equaton x +x +5x 5 + n. The generatng functon descrbng the number of solutons to ths equaton s the product of the generatng functons for the ndvdual choces of x, x, x 5, etc. Thus, we have the product (+z+z 2 +z + (+z +z 6 +z 9 + (+z 5 +z 0 +z 5 ( z( z ( z 5 (b Dstnct odd ntegers. Ths s as above, but wth each x constraned to be zero or, so we have fnte generatng functons for each ndvdual choce, yeldng: ( + z( + z ( + z 5 ( + z 7 7... Fnd a product whose expanson can be used to fnd the number of parttons of (a 2 wth even summands. For even summands we are determnng the number of nonnegatve solutons to the equaton 2x 2 + x + 6x 6 + 8x 8 + 0x 0 + 2x 2 2. The generatng functon for each of these can, n the nterest of yeldng a fnte product, be capped at the z 2 term, and ther product s thus (+z 2 +z +z 6 +z 8 +z 0 +z 2 (+z +z 8 +z 2 (+z 6 +z 2 (+z 8 (+z 0 (+z 2 whose product s an enormous 66th-degree polynomal, n whch the only term of nterest to us s z 2 (so there are even-term parttons of 2; unsurprsng snce each s the double of one of the free parttons of 6. (b 0 wth summands greater than 2. We are determnng the number of nonnegatve solutons to x +x +5x 5 + + 0x 0 0; we do ths by multplyng the generatng functons for each summand, cappng each seres wth the z 0 term to get polynomals nstead of seres, and thus get ( + z + z 6 + z 9 ( + z + z 8 ( + z 5 + z 0 ( + z 6 ( + z 7 ( + z 8 ( + z 9 ( + z 0 whose product s a 67th-degree polynomal, n whch we are nterested n the term 5z 0, denotng 5 parttons of 0 nto parts or larger; we can, knowng there are so few, actually explctly enumerate them: + +, + 7, + 6, 5 + 5, and 0. (c 9 wth dstnct summands. We are determnng the number of solutons to x + 2x 2 + x + + 9x 9 9 wth each x {0, }. Thus the generatng functons for ndvdual summands are bnomals, and we multply them as such: ( + z( + z 2 ( + z ( + z ( + z 5 ( + z 6 ( + z 7 ( + z 8 ( + z 9 Page of 6 March, 2008

Problem Set #7 solutons to get a 5th-degree polynomal whch contans the term 8z 9, ndcatng 8 parttons of 9 nto dstnct summands. The complete lst of these s +2+6, ++5, 2 + +, + 8, 2 + 7, + 6, + 5, and 9. 7..6. (a Show that the number of parttons of n s exactly equal to the number of parttons of n whose smallest summand s. One could do ths wth generatng functons: we know that ( + z + z 2 + ( + z 2 + z + ( + z + z 6 + p(nz n but f we force our parttons to contan at least one, the frst factor n the above product becomes (z + z 2 + z + z( + z + z 2, yeldng the generatng functon z p(nz n p(nz n+ p(n z n So we see that forcng at least one n a partton of n elements s possble n p(n ways. We could also accomplsh ths wth an explct bjecton. Any partton of n wth a n ts expanson can be mapped to a partton of n by smply removng the ; ths s clearly a bjectve map snce t can be reversed by takng any partton of n and addng a sngle to t. Snce ths s a bjecton, the two sets nvolved must be of equal sze. (b Descrbe the parttons of n that are counted by the expresson p(n p(n. We know p(n counts the parttons of n; and from the above concluson we know that p(n counts the parttons of n whch have a n ther expanson. Thus, ther dfference counts the parttons of n whch do not contan a n ther expansons. Let P n be the set of parttons of n, so that P n p(n. Then p(n p(n would be the sze of P n wth some set bjectvely mapped to P n removed. There s a smple njecton of P n nto P n : smply add a sngle to every partton n P n to get a partton from P n. The set mapped onto by ths operaton s precsely those parttons of P n contanng n ther expansons, snce ths procedure could be reversed by removng a. The set yelded by removng all these mages of P n from P n s thus those parttons of n not usng the number ; and ths s what s counted by p(n p(n. 7..7. Use the Ferrer s graph to show that the number of parttons of n nto exactly k summands equals the number of parttons of n havng ts largest summand equal to k. All one needs to do s consder the transpose. A Ferrer s graph assocated wth a partton nto k summands wll have heght exactly k, and thus, ts transpose wll have wdth exactly k, meanng that one of ts summands s sze k but none exceed k. Snce the transpose s a bjectve map, the parttons satsfyng these two condtons are equnumerous. n Page 5 of 6 March, 2008

Problem Set #7 solutons 7... Fnd a generatng functon for the number of parttons of n nto (a Summands no larger than. We want nonnegatve solutons to x +2x 2 +x 6 +x n, whch can be expressed as a product of the four ndvdual generatng functons for decson of x, x 2, x, and x : (+z+z 2 +z + (+z 2 +z +z 6 + (+z +z 6 +z 9 + (+z +z 8 +z 2 + (b Summands the largest of whch s. Ths s as above, except we requre at least one, so we constran x, whch affects the fourth multplcand n our expresson: (+z +z 2 +z + (+z 2 +z +z 6 + (+z +z 6 +z 9 + (z +z 8 +z 2 + (c At most four summands. By the transposton bjecton on Ferrer s dagrams we know ths s an dentcal enumeraton to part (a, and thus has the same generatng functon. (d Exactly four summands. By the transposton bjecton on Ferrer s dagrams we know ths s an dentcal enumeraton to part (a, and thus has the same generatng functon. Page 6 of 6 March, 2008