Solutions to Problem Set 8

Similar documents
Algebra. Substitution in algebra. 3 Find the value of the following expressions if u = 4, k = 7 and t = 9.

Auchmuty High School Mathematics Department Advanced Higher Notes Teacher Version

Solution to HW 3, Ma 1a Fall 2016

Markscheme May 2017 Calculus Higher level Paper 3

f h = u, h g = v, we have u + v = f g. So, we wish

A Short Combinatorial Proof of Derangement Identity arxiv: v1 [math.co] 13 Nov Introduction

F-IF Logistic Growth Model, Abstract Version

Permutations and Combinations

Chapter Eight Notes N P U1C8S4-6

Then the number of elements of S of weight n is exactly the number of compositions of n into k parts.

A Bijective Approach to the Permutational Power of a Priority Queue

3.1 Random variables

Math 301: The Erdős-Stone-Simonovitz Theorem and Extremal Numbers for Bipartite Graphs

1) (A B) = A B ( ) 2) A B = A. i) A A = φ i j. ii) Additional Important Properties of Sets. De Morgan s Theorems :

The Substring Search Problem

Chapter 3: Theory of Modular Arithmetic 38

Calculus I Section 4.7. Optimization Equation. Math 151 November 29, 2008

(n 1)n(n + 1)(n + 2) + 1 = (n 1)(n + 2)n(n + 1) + 1 = ( (n 2 + n 1) 1 )( (n 2 + n 1) + 1 ) + 1 = (n 2 + n 1) 2.

arxiv: v1 [math.co] 1 Apr 2011

Topic 4a Introduction to Root Finding & Bracketing Methods

Physics 121 Hour Exam #5 Solution

PDF Created with deskpdf PDF Writer - Trial ::

BINOMIAL THEOREM An expression consisting of two terms, connected by + or sign is called a

BINOMIAL THEOREM NCERT An expression consisting of two terms, connected by + or sign is called a

radians). Figure 2.1 Figure 2.2 (a) quadrant I angle (b) quadrant II angle is in standard position Terminal side Terminal side Terminal side

arxiv: v1 [math.co] 4 May 2017

1. Review of Probability.

Physics 521. Math Review SCIENTIFIC NOTATION SIGNIFICANT FIGURES. Rules for Significant Figures

H.W.GOULD West Virginia University, Morgan town, West Virginia 26506

of the contestants play as Falco, and 1 6

Miskolc Mathematical Notes HU e-issn Tribonacci numbers with indices in arithmetic progression and their sums. Nurettin Irmak and Murat Alp

When two numbers are written as the product of their prime factors, they are in factored form.

ON INDEPENDENT SETS IN PURELY ATOMIC PROBABILITY SPACES WITH GEOMETRIC DISTRIBUTION. 1. Introduction. 1 r r. r k for every set E A, E \ {0},

Pledge: Signature:

Pushdown Automata (PDAs)

9.1 The multiplicative group of a finite field. Theorem 9.1. The multiplicative group F of a finite field is cyclic.

1. Show that the volume of the solid shown can be represented by the polynomial 6x x.

What to Expect on the Placement Exam

Lecture 16 Root Systems and Root Lattices

Part V: Closed-form solutions to Loop Closure Equations

Failure Probability of 2-within-Consecutive-(2, 2)-out-of-(n, m): F System for Special Values of m

18.06 Problem Set 4 Solution

Physics 2020, Spring 2005 Lab 5 page 1 of 8. Lab 5. Magnetism

Using Laplace Transform to Evaluate Improper Integrals Chii-Huei Yu

Syntactical content of nite approximations of partial algebras 1 Wiktor Bartol Inst. Matematyki, Uniw. Warszawski, Warszawa (Poland)

2 x 8 2 x 2 SKILLS Determine whether the given value is a solution of the. equation. (a) x 2 (b) x 4. (a) x 2 (b) x 4 (a) x 4 (b) x 8

Berkeley Math Circle AIME Preparation March 5, 2013

6 PROBABILITY GENERATING FUNCTIONS

4/18/2005. Statistical Learning Theory

Ch 8 Alg 2 Note Sheet Key

10/04/18. P [P(x)] 1 negl(n).

THE NUMBER OF TWO CONSECUTIVE SUCCESSES IN A HOPPE-PÓLYA URN

0606 ADDITIONAL MATHEMATICS

working pages for Paul Richards class notes; do not copy or circulate without permission from PGR 2004/11/3 10:50

Review: Electrostatics and Magnetostatics

SMT 2013 Team Test Solutions February 2, 2013

PROBLEM SET #1 SOLUTIONS by Robert A. DiStasio Jr.

Divisibility. c = bf = (ae)f = a(ef) EXAMPLE: Since 7 56 and , the Theorem above tells us that

3.6 Applied Optimization

Centripetal Force OBJECTIVE INTRODUCTION APPARATUS THEORY

Solving Some Definite Integrals Using Parseval s Theorem

PHYS Summer Professor Caillault Homework Solutions. Chapter 5

Linear Algebra Math 221

Graphs of Sine and Cosine Functions

Stanford University CS259Q: Quantum Computing Handout 8 Luca Trevisan October 18, 2012

PHYS 301 HOMEWORK #10 (Optional HW)

GCSE: Volumes and Surface Area

Physics Tutorial V1 2D Vectors

New problems in universal algebraic geometry illustrated by boolean equations

A generalization of the Bernstein polynomials

No. 39. R.E. Woodrow. This issue we give another example of a team competition with the problems

Motithang Higher Secondary School Thimphu Thromde Mid Term Examination 2016 Subject: Mathematics Full Marks: 100

Numerical Integration

Homework Set 3 Physics 319 Classical Mechanics

15.081J/6.251J Introduction to Mathematical Programming. Lecture 6: The Simplex Method II

A proof of the binomial theorem

Practice Integration Math 120 Calculus I Fall 2015

Method for Approximating Irrational Numbers

Rigid Body Dynamics 2. CSE169: Computer Animation Instructor: Steve Rotenberg UCSD, Winter 2018

( ) [ ] [ ] [ ] δf φ = F φ+δφ F. xdx.

Goodness-of-fit for composite hypotheses.

k. s k=1 Part of the significance of the Riemann zeta-function stems from Theorem 9.2. If s > 1 then 1 p s

Practice Integration Math 120 Calculus I D Joyce, Fall 2013

Exploration of the three-person duel

Research Design - - Topic 17 Multiple Regression & Multiple Correlation: Two Predictors 2009 R.C. Gardner, Ph.D.

Absolute Specifications: A typical absolute specification of a lowpass filter is shown in figure 1 where:

Section 8.2 Polar Coordinates

Einstein Classes, Unit No. 102, 103, Vardhman Ring Road Plaza, Vikas Puri Extn., Outer Ring Road New Delhi , Ph. : ,

5.61 Physical Chemistry Lecture #23 page 1 MANY ELECTRON ATOMS

NOTE. Some New Bounds for Cover-Free Families

0606 ADDITIONAL MATHEMATICS 0606/01 Paper 1, maximum raw mark 80

Pascal s Triangle (mod 8)

On the Quasi-inverse of a Non-square Matrix: An Infinite Solution

Many Electron Atoms. Electrons can be put into approximate orbitals and the properties of the many electron systems can be catalogued

A matrix method based on the Fibonacci polynomials to the generalized pantograph equations with functional arguments

Do Managers Do Good With Other People s Money? Online Appendix

MODULE 5a and 5b (Stewart, Sections 12.2, 12.3) INTRO: In MATH 1114 vectors were written either as rows (a1, a2,..., an) or as columns a 1 a. ...

A Power Method for Computing Square Roots of Complex Matrices

Appendix A. Appendices. A.1 ɛ ijk and cross products. Vector Operations: δ ij and ɛ ijk

ON THE INVERSE SIGNED TOTAL DOMINATION NUMBER IN GRAPHS. D.A. Mojdeh and B. Samadi

Transcription:

Massachusetts Institute of Technology 6.042J/18.062J, Fall 05: Mathematics fo Compute Science Novembe 21 Pof. Albet R. Meye and Pof. Ronitt Rubinfeld evised Novembe 27, 2005, 858 minutes Solutions to Poblem Set 8 Poblem 1. Find the coefficients of (a) 10 in ( + (1/)) 100 Solution. 55 (1/) 45 = 10 so the coefficient is ( ) 100 55 2 (b) k in ( (1/)) n. Solution. k must equal ( 2 ) j (1/) ( n j) fo some j whee 0 j n, in which case j = (n + k)/3. In such a case the coefficient is n ( 1) n j n = ( 1) (2n k)/3. j (n + k)/3 Poblem 2. Suppose a genealized Wold Seies between the So and the Cadinals involved 2n + 1 games. As usual, the genealized Seies will stop as soon as one team has won moe than half the possible games. (a) Suppose that when the So finally win the GSeies, the Cads have managed to win eactly games (so n). How many possible win loss pattens ae possible fo the So to win the GSeies in this way? Epess you answe as a binomial coefficient. Copyight 2005, Pof. Albet R. Meye.

Solutions to Poblem Set 8 Solution. ( ) n + 2 (1) Stas and bas, o bette S s and C s: we can epesent a win loss patten as a sequence of C s and n + 1 S s, whee an S in the ith position indicates that the So won the ith game. Howeve, the sequence must end with an S, so the numbe of such sequences is the same as the numbe of sequences of C s and n S s, namely (1). (b) How many possible win loss pattens ae possible fo the So to win the GSeies when the Cads win at most games? Epess you answe as a binomial coefficient. Solution. ( ) n + + 1 (2) We can epesent a win loss patten as a sequence of C s and n + 1 S s, as in pat (a). The numbe of C s which occu befoe the n + 1st (last) S is the numbe of games the Cads won when the GSeies ends. (c) Give a combinatoial poof that n + i n + + 1 =. (3) i i=0 Solution. The ighthand side of (3) is the numbe of pattens whee the Cads win at most games. But they can at most by winning eactly i games, whee 0 i. So by pat (a), the numbe of win loss pattens is given by the epession of the lefthand side of (3). (d) Veify equation (3) by induction using algeba. Solution. By induction on, taking (3) as P (). Poof. Base case ( = 0): n n + 1 = 1 =. 0 0

Solutions to Poblem Set 8 3 Inductive step: +1 ( ) n + i n + + 1 n + i = + i + 1 i i=0 i=0 n + + 1 n + + 1 = + (by Ind. Hyp.) + 1 ( ) n + ( + 1) + 1 = (Pascal s identity), + 1 Which poves P ( + 1). Poblem 3. (a) 1 Let a n be the numbe of length n tenay stings (stings of the digits 0, 1, and 2) that contain two consecutive digits that ae the same. Fo eample, a 2 = 3since the only tenay stings of length 2 with matching consecutive digits ae 11, 22, and 33. Also, a 0 = a 1 = 0, since in ode to have consecutive matching digits, a sting must be of length at least two. Find a ecuence fomula fo a n. Solution. Call a tenay sting with at least two consecutive matching digits a good sting. Let a n be the numbe of good stings of length n. Call the othe 3 n a n stings of length n the bad stings. Now fo n 2, a good sting of length n consists of (1) a good sting of length n 1 followed by any digit, o else (2) a bad sting of length n 1 followed by a digit that matches the last symbol of the bad sting. (Note that thee is such a last symbol because n 1 1.) Thee ae 3a n 1 stings of type (1) and 3 n 1 a n 1 stings of type (2), and these two types of stings ae disjoint. So a n = 3a n 1 + 3 n 1 a n 1 = 2a n 1 + 3 n 1. Also, a good sting must have at least two digits, so a 0 = a 1 = 0. (b) Show that + 1 2 (1 3)(1 2) is a closed fom fo the geneating function of the sequence a 0, a 1,... 1 Fom Rosen, 5th ed., 6.1, Eecise 34.

Solutions to Poblem Set 8 4 Solution. Fo n 1, the coefficient of n in the seies epansion of 2A() is 2a n 1, and the coefficient of n in 3 n + 3 2 + 3 2 + + n 1 3 + = (1 + 3 + (3) 2 + + (3) n 1 + ) = 1 3 is obviously 3 n 1. So in the seies fo A() 2A() /(1 3), all the coefficients of n fo n 2 ae zeo. This leaves A() 2A() 1 3 = (a 0 + a 1 ) 2a 0 =. So A() = 3 2 + =. (4) 1 2 (1 3)(1 2) (1 3)(1 2) (c) Find eal numbes and s such that 1 s = +. (1 2)(1 3) 1 2 1 3 Solution. Epessing the ighthand side of this equation as (1 3) + s(1 2), (1 2)(1 3) we need, s so the numeatos of the left and ighthand epessions ae equal, namely, so that 1 = (1 3) + s(1 2). So letting = 1/2, we conclude that 1 = ( 1/2) so = 2, and letting = 1/3, we conclude that 1 = s(1/3), so s = 3. (d) Use the pevious esults to wite a closed fom fo the nth tem in the sequence. Solution. Fom equation (4), the geneating function is 1 3 3 2 = 3 2 2 +. (1 2)(1 3) 1 2 1 3 So fo n 2, the coefficient of n in the geneating function is 3 ( 2) times the coefficient of n 2 in 1/(1 2), plus 3 3 times the coefficient of n 2 in 1/(1 3). Namely, a n = ( 3 2)2 n 2 + 3 2 3 n 2 = 3(3 n 1 2 n 1 ).

Solutions to Poblem Set 8 5 Poblem 4. Suppose thee ae fou kinds of doughnuts: plain, chocolate, glazed, and buttescotch. Wite geneating functions fo the numbe of ways to select the flavos of n doughnuts, subject to the following diffeent constaints. (a) Each flavo occus an odd numbe of times. Solution. Geneating function fo picking chocolate doughnuts is /(1 2 ), so fo all 4 doughnuts it is ( ) 4. 1 2 (b) Each flavo occus a multiple of 3 times. Solution. GF fo chocolate is 1/(1 3 ) so ( 1 ) 4 1 3 fo all 4 kinds. (c) Thee ae no chocolate doughnuts and at most one glazed doughnut. Solution. GF fo chocolate is 1, fo glazed 1 +, fo othes 1/(1 ), so fo all 4 it is 1 + (1 ) 2 (d) Thee ae 1, 3, o 11 chocolate doughnuts, and 2, 4, o 5 glazed. Solution. GF fo chocolate is + 3 + 11, fo glazed 2 + 4 + 5, and 1/(1 ) fo the othes, so ( + 3 + 11 )( 2 + 4 + 5 ). (1 ) 2 fo all. (e) Each flavo occus at least 10 times. Solution. GF fo chocolate is 10 /(1 ), so fo all 4. 40 (1 ) 4