lesson 4: summations a · 2020. 9. 3. · sample potw ycma sample potw let x,y,z be real numbers...

22
Lesson 4: Summations A Adithya B., Brian L., William W., Daniel X. May 2020

Upload: others

Post on 15-Sep-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

Lesson 4: Summations A

Adithya B., Brian L., William W., Daniel X.

May 2020

Page 2: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

Sample POTW

YCMA Sample POTW

Let x ,y ,z be real numbers such that

x2 + y2 + z2 − 1000

9= xy + xz + yz and x2 + y = y2 + z = z2 + x

If the maximum possible value of x + y can be written as a+√b

c , fornaturals a,b,c where c is minimal, compute a + b + c .

Note that we have the factorizationx2 + y2 + z2 − xy − xz − yz = 1

2

((x − y)2 + (y − z)2 + (z − x)2

).

The first equation can be rearranged to(x − y)2 + (y − z)2 + (z − x)2 = 2000

9 .If we rearrange x2 + y = y2 + z , then we get x2 − y2 = z − y or(x − y)(x + y) = −(y − z).Seeing the expressions x − y and y − z again, we are motivated tosubstitute a = x − y , b = y − z , and c = z − x .

Page 3: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

YCMA Sample POTW

Note that a + b + c = 0 and a2 + b2 + c2 = 20009 . From this, we can

obtain ab + bc + ac = −10009 .

The equation (x − y)(x + y) = −(y − z) can be rewritten asx + y = −b

a .

Similarly, we can use y2 + z = z2 + x to obtain y + z = − cb .

Subtract these two equations: (x + y)− (y + z) = cb −

ba = −c.

Multiply this by ab to get ac − b2 = −abc.

Now, we can use the other equations (or use symmetry) to argue thatab − c2 = −abc and bc − a2 = −abc.

Adding these three equations, −3abc = ab+bc + ac − a2−b2− c2 =3(ab + bc + ac)− (a + b + c)2 = −3000

9 . Therefore, abc = 10009 .

Now, from Vieta’s a, b, c are roots of the equation t3 − 10009 t − 1000

9 .

By factoring/solving this cubic, the roots are −10, 5± 5√133 .

Now, remember that x + y = −ba , so x + y = −5+ 5

√133

5− 5√133

= 11+√117

2 .

Page 4: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

Basic Sums

Notation:n∑

i=mf (i) means f (m) + f (m + 1) + . . .+ f (n)

Basic formulae:

Sum of first n terms of arithmetic sequence a, a + d , . . . = n(2a+(n−1)d)2

Sum of first n terms of geometric sequence a, ar , . . . = a rn−1r−1

Sum of infinite geometric sequence a, ar , . . . with |r | < 1 = a1−r

Page 5: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

Basic Sums

2010 MPFG #16

Let P be the quadratic function such that P(0) = 7, P(1) = 10, andP(2) = 25. If a, b, and c are integers such that every positive number xless than 1 satisfies

∞∑n=0

P(n)xn =ax2 + bx + c

(1− x)3,

compute the ordered triple (a, b, c).

First find the polynomial: P(x) = 6x2 − 3x + 7

Our sum is

∞∑n=0

P(n)xn = 6∞∑n=0

n2xn − 3∞∑n=0

nxn + 7∞∑n=0

xn

Page 6: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

2010 MPFG #16

The last sum is normal infinite geometric: 11−x

If we let S =∞∑n=0

nxn, compute xS

xS =∞∑n=1

(n − 1)xn, so

S(1− x) =∞∑n=1

xn =x

1− x

S = x(1−x)2

Now, let T =∞∑n=0

n2xn. Let’s try the same thing by computing xT

xT =∑∞

n=1(n − 1)2xn, so

(1− x)T =∞∑n=1

(2n − 1)xn

Page 7: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

2010 MPFG #16

We know the right hand side!

∞∑n=1

(2n − 1)xn = 2∞∑n=1

nxn −∞∑n=1

xn = 2S − x

1− x

So,

T =1

1− x

(2x

(1− x)2− x

1− x

)=

x2 + x

(1− x)3

Putting everything together, the sum is 16x2−11x+7(1−x)3

Page 8: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

Telescoping

For a sumn∑

i=1f (i), f (i) can sometimes be written as

f (i) = g(i + 1)− g(i) for some function g

This allows us to cancel a lot of terms, as g(i),−g(i) appear once

each for 2 ≤ i ≤ n, meaningn∑

i=1f (i) = g(n + 1)− g(1)

The sum collapses on itself like a telescope, hence its name

To spot telescoping series, be on the lookout for a neat way to writef (i) as a difference

Partial fractionsTrying to relate consecutive termsSum to product

Page 9: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

Telescoping

2002 AIME I #4

Consider the sequence defined by ak = 1k2+k

for k ≥ 1. Given thatam + am+1 + · · ·+ an−1 = 1/29, for positive integers m and n with m < n,find m + n.

Split ak with partial fractions: ak = 1k −

1k+1

The sum telescopes as 1m −

1n

We want 1m −

1n = 1

29 =⇒ 29(n −m) = mn

This factors as (29−m)(29 + n) = 841

n = 812,m = 28, so m + n = 840

Page 10: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

Telescoping

MOP

Compute the sumn∑

k=0

(4k + 1)k!

(2k + 1)!

Try to relate parts of the consecutive terms. Factorials are generallyeasy to connect, so look at k!

(2k+1)! and (k+1)!(2k+3)!

We have that k!(2k+1)! = (4k + 6) · (k+1)!

(2k+3)!

Find a way to substitute this back into the initial summand

Note that (4k+1)k!(2k+1)! = (4k+2)k!

(2k+1)! −k!

(2k+1)! = (4k+2)k!(2k+1)! −

(4k+6)(k+1)!(2k+3)!

This telescopes!

If we plug in k + 1 for k into (4k+2)k!(2k+1)! we will get (4k+6)(k+1)!

(2k+3)!

Page 11: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

MOP

So, if we let f (k) = (4k+2)k!(2k+1)! = (k−1)!

(2k−1)! , our final answer is

f (0)− f (n + 1)n∑

k=0

(4k+1)k!(2k+1)! = 2− k!

(2k+1)!

Page 12: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

Double Sums

Sometimes we are asked to compute a sum whose individual termsare also sums

e.g.∞∑a=0

( ∞∑b=0

12a+b

); how do we evaluate this?

The inner sum is 12a + 1

2a+1 + 12a+2 + · · · = 1

2a−1 .

Thus the outer sum is

1

2−1+

1

20+

1

21+ · · · = 4.

A good way to think of double sums is as the sum of all of thenumbers in a square table:

20 2−1 2−2 · · ·2−1 2−2 2−3 · · ·2−2 2−3 2−4 · · ·· · · · · · · · · · · · · · ·

Page 13: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

Double Sums

There are a couple of strategies that can help evaluate double sums:

Most importantly, being flexible with the order of summation. Forexample, we can write the sum we had earlier as

(20) + (2−1 + 2−1) + (2−2 + 2−2 + 2−2) + (2−3 + 2−3 + 2−3 + 2−3) + · · ·

by summing along diagonals.

We can also sometimes factor double (or multiple) sums into theproduct of multiple single sums. An example is the sum of divisorsformula. If we wanted to find the sum of the divisors of1000000 = 2656 we could write

6∑i=0

6∑j=0

2i5j =

(6∑

i=0

2i

) 6∑j=0

5j

Page 14: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

Double Sums

2017 HMMT Algebra and Number Theory #5

Kelvin the Frog was bored in math class one day, so he wrote all orderedtriples (a, b, c) of positive integers such that abc = 2310 on a sheet ofpaper. Find the sum of all integers he wrote down. In other words,compute ∑

abc=2310a,b,c∈N

(a + b + c),

where N denotes the positive integers.

Want the sum of all numbers that Kelvin writes down

How many times does a given number n appear? (Clearly n has to bea divisor of 2310).

3 times the number of times Kelvin writes down n as the first numberin the triple

Page 15: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

Double Sums

If a = n then bc = 2310n

τ(2310n

)ways to choose (b, c)

Thus Kelvin writes down n as the first number τ(2310n

)times

So Kelvin writes down n a total of 3τ(2310n

)times

The answer is thus

3∑

n|2310

n · τ(

2310

n

)2310 = 2 · 3 · 5 · 7 · 11

Sum can be written as

32 + 16(2 + 3 + 5 + 7 + 11) + 8(2 · 3 + · · ·+ 7 · 11) + · · ·+ 2 · 3 · 5 · 7 · 11

This equals (2 + 2)(3 + 2)(5 + 2)(7 + 2)(11 + 2) = 16380

Final answer 3 · 16380 = 49140

Page 16: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

Double Sums

2017 PUMaC Algebra A #7

Compute∞∑k=0

2k

52k + 1.

At first glance, this seems like a nasty single sum that doesn’tsimplify. How can we handle the terms?

All denominators are of the form 1 + something; what can we do withthis?

Infinite geometric series expansion:

1

1 + 52k=

1

52k− 1

52·2k+

1

53·2k− 1

54·2k+

1

55·2k− · · ·

Page 17: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

2017 PUMaC Algebra A #7

Do this to every term: we get

1

1 + 51=

1

51− 1

52+

1

53− 1

54+

1

55− 1

56+

1

57− 1

58+ · · ·

2

1 + 52=

2

52− 2

54+

2

56− 2

58+ · · ·

4

1 + 54=

4

54− 4

58+ · · ·

8

1 + 58=

8

58− · · ·

This is 15 + 1

52+ 1

53+ 1

54+ · · · !

If 2k is the largest power of 2 dividing n then the coefficient of 5−n is

−1− 2− 4− · · · − 2k−1 + 2k = 1

Final sum 14

Page 18: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

Double Sums

2017 HMMT Algebra and Number Theory #2

Find the value of ∑1≤a<b<c

1

2a3b5c

(i.e. the sum of 12a3b5c

over all triples of positive integers (a, b, c)satisfying a < b < c).

We notice that we can write all triples (a, b, c) with 1 ≤ a < b < c astriples (a, a + x , a + x + y) with a, x , y ≥ 1

Thus, we write the sum as∞∑a=1

∞∑x=1

∞∑y=1

12a3a+x5a+x+y

We simplify this into∞∑a=1

∞∑x=1

∞∑y=1

130a15x5y .

Page 19: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

Double Sums

We now note that this can be factored into( ∞∑a=1

130a

)( ∞∑x=1

115x

)( ∞∑y=1

15y

)=

130

1− 130

115

1− 115

15

1− 15

= 11624

Page 20: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

Double Sums

2013 HMMT Algebra #7

Compute∞∑

a1=0

∞∑a2=0

· · ·∞∑

a7=0

a1 + a2 + · · ·+ a73a1+a2+···+a7

.

Split into seven terms, each of the form∞∑

a1=0

∞∑a2=0· · ·

∞∑a7=0

a13a1+a2+···+a7

.

Factor into

(∞∑

a1=0

a13a1

)(∞∑

a2=0

13a2

)(∞∑

a3=0

13a3

)· · ·

(∞∑

a7=0

13a7

).

Each term after the first is equal to 11− 1

3

= 32 .

The first one is equal to13

(1− 13)

2 = 34 .

Thus, we find that our answer is 7(34

) (32

)6= 15309

256

Page 21: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

Ad hoc

APMO 2000/1

Compute the sum:101∑i=0

x3i1−3xi+3x2i

for xi = i101 .

Notice that the denominator looks sort of like (1− xi )3.

The denominator is (1− xi )3 + x3i = x3101−i + x3i . Therefore, the sum

is∑101

i=0x3i

x3101−i+x3i.

But now notice thatx3i

x3101−i+x3i+

x3101−i

x3101−i+x3i= 1. Therefore, we can pair

up the terms so that they add to 1.

The sum becomes

101∑i=0

x3ix3101−i + x3i

=50∑i=0

(x3i

x3101−i + x3i+

x3101−ix3101−i + x3i

)= 51.

Page 22: Lesson 4: Summations A · 2020. 9. 3. · Sample POTW YCMA Sample POTW Let x,y,z be real numbers such that x2 + y2 + z2 1000 9 = xy + xz + yz and x2 + y = y2 + z = z2 + x If the maximum

Ad hoc

2007 AIME I # 11

For each positive integer p, let b(p) denote the unique positive integer ksuch that |k −√p| < 1

2 . For example, b(6) = 2 and b(23) = 5. If

S =∑2007

p=1 b(p), find the remainder when S is divided by 1000.

The given inequality is k − 12 <√p < k + 1

2 .

We can square this relation to get rid of the square root:k2 − k + 1

4 < p < k2 + k + 14 .

Since k is a positive integer, we have that b(p) = k forp = k2 − k + 1, k2 − k + 2, . . . , k2 + k . This is a total of 2k integers.

Note that the largest possible integer with b(p) = 44 is442 + 44 = 1980. Therefore, from p = 1981 to p = 2007, b(p) = 45.There are 2007− 1981 + 1 = 27 numbers such that b(p) = 45.

Therefore,∑2007

p=1 b(p) =∑44

k=1 k · 2k + 27 · 45.

Using∑n

i=1 i2 = n(n+1)(2n+1)

6 , the sum is 2 · 44·45·896 + 27 · 45 = 59955.