Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

Complex Analysis & Combinatorics

Solve Combinatorial Series Using Complex Numbers

Hongjin LIN
April 22, 2016

Hongjin LIN (Occidental College) Complex Analysis & Combinatorics April 22, 2016 1 / 13
Outline

1 Goal

2 Definitions

3 Solving the problem using complex numbers

4 Roots of Unity Filter

Hongjin LIN (Occidental College) Complex Analysis & Combinatorics April 22, 2016 2 / 13
Goal
Solve the following Combinatorial Series:
        n  
n n n n X
j n
S1 = − + − + ... = (−1)
0 2 4 6 2j
j=0
        n  
n n n n X
j n
S2 = − + − + ... = (−1)
1 3 5 7 2j + 1
j=0

Hongjin LIN (Occidental College) Complex Analysis & Combinatorics April 22, 2016 3 / 13
Goal
Solve the following Combinatorial Series:
        n  
n n n n X
j n
S1 = − + − + ... = (−1)
0 2 4 6 2j
j=0
        n  
n n n n X
j n
S2 = − + − + ... = (−1)
1 3 5 7 2j + 1
j=0

999 999! 999!



333 = 333!(999−333)! = 333!(666)! =

Hongjin LIN (Occidental College) Complex Analysis & Combinatorics April 22, 2016 3 / 13
999 999! 999!

333 = 333!(999−333)! = 333!(666)! =

Hongjin LIN (Occidental College) Complex Analysis & Combinatorics April 22, 2016 4 / 13
999 999! 999!

333 = 333!(999−333)! = 333!(666)! =

Complex Numbers come to your rescue!

Hongjin LIN (Occidental College) Complex Analysis & Combinatorics April 22, 2016 4 / 13
Definitions
• Combinations: A way of selecting several things out of a larger
group, where order does not matter.
 
n n!
=
r r !(n − r )!

(repetition not allowed)


• Exponential Form of Complex Numbers:

z = |z|e iθ , where z ∈ C and θ = arg (z).

• Euler’s Formula:

e iθ = cos(θ) + isin(θ)

Hongjin LIN (Occidental College) Complex Analysis & Combinatorics April 22, 2016 5 / 13
Solving the problem using complex numbers

• Consider:
n   n  
X
n n j n−j
X n
(1 − i) = (−i) (1) = (−i)j
j j
j=0 j=0

(derived from the Binomial Theorem)


• Note:
(−i)0 = 1, (−i)1 = −i, (−i)2 = −1,
(−i)3 = i, (−i)4 = 1, (−i)5 = −i, ...

(−i)n+4 = (−i)n

Hongjin LIN (Occidental College) Complex Analysis & Combinatorics April 22, 2016 6 / 13
• Expand:
(1 − i)n

n  
X n
= (−i)j
j
j=0
               
n n n n n n n n
= −i − +i + −i − +i + ...
0 1 2 3 4 5 6 7
               
n n n n n n n n
={ − + − +...}−i{ − + − +...}
0 2 4 6 1 3 5 7

= S1 − iS2

Hongjin LIN (Occidental College) Complex Analysis & Combinatorics April 22, 2016 7 / 13
• Therefore:
S1 = <((1 − i)n )
S2 = −=((1 − i)n )
• From the exponential form of complex numbers and the Euler’s
Formula, we know: √ π
1−i = 2e − 4 i
√ nπ
(1 − i)n = ( 2)n e − 4 i
√ nπ √ nπ
= ( 2)n cos(− ) + i( 2)n sin(− )
4 4

Hongjin LIN (Occidental College) Complex Analysis & Combinatorics April 22, 2016 8 / 13
• Therefore:
       
n n n n
S1 = − + − + ...
0 2 4 6

= <((1 − i)n )
√ nπ
= ( 2)n cos(− )
4
       
n n n n
S2 = − + − + ...
1 3 5 7
= −=((1 − i)n )
√ nπ
= −( 2)n sin(− )
4

Hongjin LIN (Occidental College) Complex Analysis & Combinatorics April 22, 2016 9 / 13
• Check:
n = 3:
   
3 3
S1 = − = 1 − 3 = −2
0 2

√ 3 3π √ 2
( 2) cos(− ) = 2 2(− ) = −2X
4 2
   
3 3
S2 = − =3−1=2
1 3

√ 3 3π √ 2
−( 2) sin(− ) = −(2 2)(− ) = 2X
4 2

Hongjin LIN (Occidental College) Complex Analysis & Combinatorics April 22, 2016 10 / 13
Roots of Unity Filter
Definition
Root of Unity
An nth root of unity, where n is a positive integer (i.e. n = 1,2,3,), is
a number z satisfying the equation:

zn = 1
Since 1 = e 2πi , we can write an nth root as w = e 2πi/n . All other nth
roots are given by the integer powers of this root between 0 and
n − 1: the roots are 1,w,w 2 ,...,w n−1 . By factoring z n − 1 = 0, we can
obtain a useful identity:
z n1 = (z − 1)(z n−1 + z n−2 + ... + z + 1) = 0
This means that all nth roots of unity other than 1 satisfy the
equation:
1 + w + w 2 + ... + w n−1 = 0

Hongjin LIN (Occidental College) Complex Analysis & Combinatorics April 22, 2016 11 / 13
• Roots of Unity Filter:
Roots of Unity Filter is useful when we are trying to find a
specific set of coefficients of a polynomial function.

Let f (x) be a polynomial function:


f (x) = an x n + an−1 x n−1 + ... + a2 x 2 + a1 x + a0

• the sum of coefficients:

an + an−1 + ... + a2 + a1 + a0 = f (1)


.
• the sum of coefficients whose terms have even exponents:
f (1) + f (−1)
2
• what about the sum of coefficients whose exponents are multiples
of three?

Hongjin LIN (Occidental College) Complex Analysis & Combinatorics April 22, 2016 12 / 13
Solving Problem Using Roots of Unity Filter

• Find the sum of the coefficients of the polynomial


f (x) = (x + 1)99 for all powers of x that are divisible by 3.

This question is essentially asking us to solve the combinatorial


equation (from the Binomial Theorem):
33  
X 99
,
3j
j=0

99 99 99 P99 99
since (x + 1)99 = 1 + x 2 ... + x 99 = xj
   
1 x+ 2 99 j=0 j

Hongjin LIN (Occidental College) Complex Analysis & Combinatorics April 22, 2016 13 / 13

You might also like