Problems: Ted Eisenberg, Section Editor
Problems: Ted Eisenberg, Section Editor
Problems: Ted Eisenberg, Section Editor
*********************************************************
This section of the Journal offers readers an opportunity to exchange interesting mathematical
problems and solutions. Please send them to Ted Eisenberg, Department of Mathematics,
Ben-Gurion University, Beer-Sheva, Israel or fax to: 972-86-477-648. Questions concerning
proposals and/or solutions can be sent e-mail to <eisenbt@013.net>. Solutions to previously
stated problems can be seen at <http://www.ssma.org/publications>.
————————————————————–
• 5620: Proposed by Daniel Sitaru, National Economic College “Theodor Costescu” Drobeta
Turnu-Severin, Mehedinti, Romania
Prove: If a, b, ∈ [0, 1]; a ≤ b, then
√ab
a √ab r a a+b
s !
a+b
√ b b
4 ab ≤ a + +b + ≤ 2(a + b).
a a b b
• 5622: Proposed by Albert Natian Los Angeles Valley College, Valley Glen, CA
Suppose f is a real-valued function such that for all real numbers x;
[f (x − 8/15)]2 + [f (x + 47/30)]2 + [f (x + 2/75)]2 =
= f (x − 8/15)f (x + 47/30) + f (x + 47/30)f (x + 2/75) + f (x + 2/75)f (x − 8/15).
49 11 1 28 2
If f = , then find f f − f (−42) .
5 3 2 50 25
1
• 5623: Proposed by José Luis Dı́az-Barrero, Barcelona Tech, Barcelona, Spain
Let P be an interior point to an equilateral triangle of altitude one. If x, y, z are the
distances from P to the sides of the triangle, then prove that
x2 + y 2 + z 2 ≥ x3 + y 3 + z 3 + 6xyz.
Solutions
Squaring both sides of the equation and cross-multiplying yields 362 x(x−1)2 = 77(x+1)4 .
Expanding gives the quartic equation 77x4 − 988x3 + 3054x2 − 988x + 77 = 0.
Note that the coefficients of the quartic polynomial p on the left side of the equation have
1
a palindrome pattern. So if r 6= 0 is a root of p, then is also a root of p. Indeed, for
r
4 1 4 1
x 6= 0 we have x p = p(x). So if r 6= 0 is a root of p, then r p = p(r) = 0, so
x r
1
that p = 0. (Note that all roots of p are nonzero, since p(0) = 77.)
r
2
Equating the x3 (equivalently, the x) coefficients and the x2 coefficients, we obtain the
following system of two equations:
1 1 988
r1 + + r2 + =
r r 77
1 2
1 1 3054
r1 + r2 + +2=
r1 r2 77
1
Solving for r2 + in the first equation and substituting into the second yields the
r2
1 2
988 1 3054
quadratic equation r1 + − r1 + + − 2 = 0. Since the system
r1 77 r1 77
1 1 1
is symmetric in r1 + and r2 + , the quadratic equation is also true with r1 +
r1 r2 r1
1 58 50
replaced by r2 + . The two solutions of this quadratic equation are and , so that
r2 7 11
1 58 1 50
r1 + = , say, and then r2 + = .
r1 7 r2 11
58 50
So q(x) = (x2 − x + 1)(x2 − x + 1). The solutions to the quadratic equation x2 −
7 √ 11 √
58 29 + 6 22 1 29 − 6 22
x + 1 = 0 are r1 = and = , and the solutions to the quadratic
7 7 r1 √ 7 √
2 50 25 + 6 14 1 25 − 6 14
equation x − x + 1 = 0 are r2 = and = . None of the four is
11 11 r2 11
an extraneous solution to the original equation, so these are its four solutions.
p √ p !2 √ !2
x(x − 1)2 77 x(x − 1)2 77 x(x − 1)2 77
2
= ⇒ = ⇒ =
(x + 1) 36 (x + 1)2 36 (x + 1) 4 1296
⇒ 1296x(x2 −2+1) = 77(x4 +4x3 +6x2 +4+1) ⇒ 0 = 77x4 −988x3 +3054x2 3−988x+77 ⇒
⇒ (7x2 − 58x + 7)(11x2 − 50x + 11) = 0 ⇒ 7x2 − 58x + 7 = 0 or 11x2 − 50x + 11 = 0 ⇒
p √
58 ± (−58)2 − 4 · 7 · 7 50 ± 502 − 4 · 11 · 11
⇒x= or x = ⇒
2·7 2 · 11
√ √
29 6 27 25 6 14
⇒x= ± or x = ± .
7 7 11 11
These four numbers are the roots to the given equation.
3
which yields
1296(x3 − 2x2 + x) = 77(x4 + 4x3 + 6x2 + 4x + 1)
and so finally
77x4 − 988x3 + 3054x2 − 988x + 77 = 0.
Now divide this equation by x2 to find
1 1
77x2 − 988x + 3054 − 988 + 77 2 = 0
x x
and so
2 1 1
77 x + 2 − 988 x + + 3054 = 0.
x x
1
2
Since x2 + x2
= x + x1 − 2 we have
1 2
1
77 x + − 988 x + + 2900 = 0.
x x
Now, by the quadratic formula, we have
1 58 50
x+ = or
x 7 11
which gives
√
2 58 29 ± 6 22
x − x + 1 = 0 with roots x = ≈ 8.16, 0.12
7 7
or √
2 50 25 ± 6 14
x − x + 1 = 0 with roots x = ≈ 4.31, 0.23
11 11
Since each of these roots are positive, our original equation has the four solutions
√ √
29 ± 6 22 25 ± 6 14
,
7 11
p √
x(x − 1)2 77
= (1)
(x + 1)2 36
Let a = 4x and b = x2 − 2x + 1
So we can write that
√ √
18 ab = 77(a + b) (3)
4
√
r
a
Divided (3) by ab, we get a quadratic equation in
b
√ a a √
r
77 − 18 + 77 = 0 (4)
b b
7
a 11
= (5)
b 11
7
On the other hand
a 4x
= 2 (6)
b x − 2x + 1
Finally from (5) and (6) we have the four roots:
√
22 ± 6 22
x1,2 = 1+
7
√
14 ± 6 14
x3,4 = 1+
11
Solution 5 by Albert Natian, Los Angeles Valley College, Valley Glen, Cali-
fornia.
n √ √ √ √ o
6+√14 6−√14 6+√22 6−√22
Answer. The solution set is 6− 14
, 6+ 14
, 6− 22
, 6+ 22
.
We will first find real solutions and then argue that there can be no other solutions,
not even non-real solutions.
We have √ √
(x − 1) x 77
= ,
(x + 1)2 36
√
√ i
h
x x+1
/ = 77 / [36]
x+1 x−1
We have √ √
(1 − x) x 77
= ,
(x + 1)2 36
which, in a manner as in the above,
√
√ i
h
x x+1
/ = 77 / [36]
x+1 1−x
6
2
36 36m2 − 1 = 77 · 4 36m2
36m−1
which, upon insertion into x = 36m+1 , gives
√ √
6 − 14 6 − 22
x= √ or x= √ .
6 + 14 6 + 22
The solution set of the given radical equation contains at least four different numbers and
is a subset of the solution set of a 4-th degree polynomial equation that can be derived
from the given equation (by squaring both sides of the equation). Since a 4-th degree
polynomial equation has at most 4 (different) solutions, then we can be certain that there
are no other solutions of the given equation and that the solution set of the given equation
is ( √ √ √ √ )
6 + 14 6 − 14 6 + 22 6 − 22
√ , √ , √ , √ .
6 − 14 6 + 14 6 − 22 6 + 22
7
Stone and John Hawkins, Georgia Southern University, Statesboro, GA, and
the proposer.
r r
2y 2 x2 (3x − 4x3 ) π 2π 3π π 2π 3π 4π 5π 6π 7
= = sin sin sin = sin sin sin sin sin sin =
y 7 7 7 7 7 7 7 7 7 64
n−1
πi(n−1) Y 2πik
xn − 1
= (−i)n−1 e 2 1−e n = lim = n, (see problem 5497, April 2018).
x→1 x − 1
k=1
8
Solution 2 by Brian Bradie, Christopher Newport University, Newport News,VA
Subtracting sin 3π
7 times the first row from the second row yields
Now,
2π π 3π 3π π π 3π
sin − cos sin = sin − − cos sin
7 7 7 7 7 7 7
3π π 3π π π 3π 3π π
= sin cos − cos sin − cos sin = − cos sin
7 7 7 7 7 7 7 7
and
π
2 3π π 3π π 3π
sin − sin2 = sin − sin sin + sin
7 7 7 7 7 7
π 2π 2π π 2π 4π
= −2 sin cos 2 sin cos = − sin sin ,
7 7 7 7 7 7
so
cos π7 sin 3π
1
7
det sin 3π sin 2π sin2 π7 = −2 sin3 π cos 3π + tan π sin 2π sin 4π
7 7 7 7 7 7 7
0 tan π7 2 sin2 π7
sin π7
2 π π 3π 2π 4π
= −2 sin cos cos + sin sin
cos π7 7 7 7 7 7
sin π7 sin 2π
7 π 3π 4π
= π − sin cos + sin
cos 7 7 7 7
π 2π
sin 7 sin 7 π 3π 3π π 3π π
= − sin cos + sin cos + cos sin
cos π7 7 7 7 7 7 7
π 2π 3π
= sin sin sin .
7 7 7
To show √
π 2π 3π 7
sin sin sin = ,
7 7 7 8
let n ≥ 2 be an integer. The roots of z n − 1 are ωk = e2ikπ/n , for k = 0, 1, 2, . . . , n − 1.
Then
n−1
X n−1
Y
z n − 1 = (z − 1) z k = (z − 1) (z − ωk ),
k=0 k=1
or
n−1
X n−1
Y
zk = (z − ωk ).
k=0 k=1
Substituting z = 1 yields
n−1
Y
n= (1 − ωk ).
k=1
9
Next,
r
2kπ 2kπ = 2 − 2 cos 2kπ = 2 sin kπ ,
|1 − ωk | = 1 − cos − i sin
n n n n
so
n−1 n−1
Y
n−1
Y kπ
n = |n| = |1 − ωk | = 2 sin .
n
k=1 k=1
Take n = 7 and note
4π 3π 5π 2π 6π π
sin = sin , sin = sin , and sin = sin .
7 7 7 7 7 7
It follows that
√
6π 2 2π 3π π 2π 3π 7
7 = 2 sin sin2 sin2 or sin sin sin = .
7 7 7 7 7 7 8
The proof of C was straight forward, in proving S he first showed that the square of the
LHS equals the square of the RHS,√and he then chose the positive square roots; in proving
7 √
S
T he showed that T = = 2 1 = 7.
1−C 1− 2
T
He then expanded the Determinate D down the third column and showed that D = =
√ 8
78. Lots of algebra, but it worked.
It is well known that sin 7θ = − sin θ(64 sin6 θ − 112 sin4 θ + 56 sin2 θ − 7)
− sin 7α
for any real number θ. Hence, 64k 6 − 112k 4 + 56k 2 − 7 = = 0.
k
Thus (1) holds and this completes the solution.
Editor0 s comment : David Stone and John Hawkins of Georgia Southern Uni-
versity used a statement in their
√ solution that was proved by P dilip k Stefan V.,
π 3π 7
sin 2π
that sin 7 sin = (see: (https://socratic.org/questions/how-do-you-
7 7 8
π 2π 3π
evaluate sin sin sin ). They concluded their solution by stating “in this
7 7 7
2π 3π
problem, the surprise is that the given determinate equals sin π7 sin sin ).”
7 7
Also solved by Brian D. Beasley, Presbyterian College, Clinton, SC; Bruno
Salgueiro Fanego, Viveiro, Spain; Peter Fulop, Gyomro, Hungary; Seán M.
Stewart, Bomaderry, NSW, Australia; David Stone and John Hawkins, Geor-
gia Southern University, Statesboro, GA, and the proposer.
11
First we generalize the problem as follows:
In an election m votes are cast for candidate A and n for candidate B. The candidates
agree to break the tie as follows: the votes will be tallied uniformly at random and if A
is ever in the lead (for the first time) by L votes, then A is declared the winner; oth-
erwise B wins. In this generalization, unlike the original statement of the problem, an
additional advantage/disadvantage of i votes is initially accorded candidate A. That is,
if, say, i = 1 and L = 3, and the first two tallies are for A, then A wins. But if the first
tally is for B, then A’s 1-point advantage is lost (and so i becomes 0) and now A needs
to lead B by 3 in order to win, and if the following tally is again for B, then now A’s
advantage/disadvantage i becomes −1. So i measures A’s lead over B by the latest tally.
It’s clear that i can be negative, zero or positive. So when (if ever) i becomes L, then A
wins. What is the probability that A wins?
We let P (m, n, i, L) denote the probability that A wins. It’s immediate that P satis-
fies the following conditions
P (m, n, i, L) = 1 if L = i or i=n+L−m
P (m, n, i, L) = 0 if m < L − i
L − i + n −1
P (L − i, n, i, L) = .
n
The first tally is a vote for A with probability m/ (m + n) and a vote for B with probability
n/ (m + n). If the first tally is a vote for A, then there will now be (m − 1) votes remaining
for A and n votes for B. Also if the first tally is a vote for A, then i is incremented by 1.
However, if the first tally is a vote for B, then there will now be (n − 1) votes remaining
for B and m votes for A. Also if the first tally is a vote for B, then i is decremented by 1.
Se we assert
m n
P (m, n, i, L) = · P (m − 1, n, i + 1, L) + · P (m, n − 1, i − 1, L) .
m+n m+n
In order to solve the above recursion with the given conditions, we define f as
m+n
f (m, n, i, L) = P (m, n, i, L) .
m
So
m + n −1
P (m, n, i, L) = f (m, n, i, L) .
m
12
Now
m+n m+n
f (m, n, i, L) = P (m, n, i, L) = P (m, n, i, L)
m n
m+n m n
= · P (m − 1, n, i + 1, L) + · P (m, n − 1, i − 1, L)
m m+n m+n
m+n m m+n n
= · P (m − 1, n, i + 1, L) + · P (m, n − 1, i − 1, L)
m m+n n m+n
m−1+n m+n−1
= · P (m − 1, n, i + 1, L) + · P (m, n − 1, i − 1, L)
m−1 n−1
= f (m − 1, n, i + 1, L) + f (m, n − 1, i − 1, L) .
f (m, n, i, L) = 0 if m < L − i
P (L − i, n, i, L) = 1.
The Solution for the recursion
f (m, n, i, L) = f (m − 1, n, i + 1, L) + f (m, n − 1, i − 1, L)
Thus
−1
m+n m+n m! n!
P (m, n, i, L) = = .
m m−L+i (m − L + i)! (n + L − i)!
13
Let us denote by Nn the number of “losing paths”, i.e., grand-Dyck paths from (0, 0) to
(n, 0) that never exceed the height 2.
Then the probability that candidate A will be declared the winner is
N2N
P (A wins) = 1 − 2N
.
N
Let Ψ (z) be the generating function of the sequence of numbers of grand-Dyck paths from
(0, 0) to (n, 0) that never exceed the height 2.
∞
X
Ψ (z) = Nn z n
n=0
The article by Panny and Prodinger [1] , states that (see theorem 4.1, page 130) the
generating function is
1 + v2 v
1 − v6 ,
Ψ (z) = 2
z= ,
1−v 1 + v2
or
1 p
Ψ (z) = 1 + 2v 2 + 2v 4 + v 6 , 1 − 1 − 4z 2 .
v=
2z
Now we find several generating functions on our way to evaluate Ψ (z) .
1 1
(− 1 )(− 32 )···(− 2n−3
2 )
By definition of the binomial coefficient n2 = 2 2 n! , hence
1 1 n = 0,
1
2 = 2 n = 1, (1)
n (−1)n−1 1 (2n−2
n )
n−1 22n−1 n > 1.
By the binomial theorem and (1),
∞ 1
2
1 X m 2m
2 z 2m ,
1 − 4z =1+
2
(−1) 2 (2)
m
m=1
∞ 3
3
2 2
X m 2m 2
1 − 4z =1+ (−1) 2 z 2m
m
m=1
∞
X 1 ∞
X 1
2 m 2m 2 2m 2 m 2m 2
= 1 − 4z + (−1) 2 z − 4z (−1) 2 z 2m (3)
m m
m=1 m=1
1 2 3 p
1+2v 2 +2v 4 +v 6 = − 8z 1 − 4z 2 2
+ 40z 4
− 4z 2
+ 3 1 − 4z 2 + 32z 2 − 24z 4 − 8
16z 6
(4)
Substituting (2) and (3) in (4) and after tedious simplifications we get,
∞
X 1 1 1
m 2m+1
Ψ (z) = 1 + (−1) 2 2 +8 2 + 16 2 z 2m
m+1 m+2 m+3
m=1
∞
9m2 + 9m + 6
X 2m
= z 2m .
m m3 + 6m2 + 11m + 6
m=0
14
It follows that
9N 2 + 9N + 6
2N
N2N = , (5)
N N 3 + 6N 2 + 11N + 6
and that
9N 2 + 9N + 6
P (A wins) = 1 − .
N 3 + 6N 2 + 11N + 6
9∗502 +9∗50+6 ∼
For the case N = 50, we have P(A wins) = 1 − 503 +6∗502 +11∗50+6 = 0.836 68.
Remarks:
1) Equation (5) can be verified for small values of N by manual counting of the paths:
2N
N N2N N P (A wins)
1 2 2 0
2 6 6 0
1
3 19 20 20 = 0.05
8 ∼
4 62 70 70 = 0.114 29
2) For large N
9 1
P (A wins) = 1 − 1+O
N N
3) We give here the essential steps in Panny and Prodinger derivation (see [2]).
We consider grand-Dyck paths form (0, 0) to (n, 0). We allow the path to touch −h and
k but not −h − 1 and k + 1. Let Nn,h be the number of paths which do not touch −h − 1
and k + 1 and lead to level i. Let Ψi be the generating function of the sequence (Nn,h )∞
n=0 ,
∞
X
Ψi = Nn,h z n .
n=0
Looking at the last step of the paths we write the following recurrences:
Nn,−h = Nn−1,−h
Nn,−h+1 = Nn−1,−h + Nn−1,−h+2
..
.
Nn,−1 = Nn−1,−2 + Nn−1,0
Nn−1,−1 + Nn−1,1 if n > 0
Nn,0 =
1 if n = 0
Nn,1 = Nn−1,0 + Nn−1,2
..
.
Nn,k−1 = Nn−1,k−2 + Nn−1,k
Nn,k = Nn−1,k
15
which implies (in terms of the generating functions)
Ψ−h 0
1 −z 0 · · · · · · 0
.. ..
−z 1 −z 0 · · · 0 . .
..
..
0 −z 1 −z · · · 0 .
.
= (6)
··· ···
Ψ0 1
0 · · · 0 −z 1 −z
..
..
0 · · · · · · 0 −z 1
. .
Ψk 0
fn = fn−1 − z 2 fn−2 .
2 2
v 1 v2
Setting z = (1+v)2
, for convenience, the solution is fn = a v 2 +1
+b v 2 +1
. Applying
the initial conditions f1 = 1 and f2 = 1 − z 2 , we find that
1 1 − v 2n+2
fn = .
1 − v 2 (v 2 + 1)n
Applying Cramer’s rule, to solve (6), we get
fh fk 1 + v2 2k+2
v 2h+2 − 1
Ψ0 = = 1 − v
fh+k+1 1 − v2 v 2h+2k+4 − 1
Now we send h to -∞, to get
1 + v2 2k+2
Ψ0 (z) = 1 − v .
1 − v2
References:
[1] Wolfgang Panny, Helmut Prodinger, “The expected height of paths for several notions
of height”, Studia Scientiarum Mathematicarum Hungarica 20 (1985), 119-132.
[2] Helmut Prodinger, “The number of restricted lattice paths revisited ”, Filomat 26:6,
1133-1134, published by Faculty of Sciences and Mathematics, University of Niŝ, Serbia.
[3] Wikipedia, ”Tridiagonal Matrix ” entry.
= P3 (a, a),
a(a − 1)(a − 2)
= .
(a + 1)(a + 2)(a + 3)
Let S be the set of all sequences of 50A0 s and 50B 0 s, and let A be the subset of S
consisting of the sequences in which there is an initial subsequence with three more A0 s
than B 0 s. We claim that there is a one-to-one correspondence between A and the set B
of all sequences of 47A0 s and 53 B 0 s.
Let (x1 , x2 , · · · , x100 ) be a sequence in A, and let k be the smallest integer for which the
initial sequence (x1 , x2 · · · , xk ) has exactly three more A0 s than B 0 s. Then the initial
sequence (x1 , x2 , · · · , xk ) has b B 0 s and b + 3 A0 s for some integer b, where 0 ≤ b ≤ 47,
and the remaining sequence (xk+1 , xk+2 , · · · x100 ) will have 50 − bB 0 s and 47 − bA0 s. Now
transform the sequence (x1 , x2 , · · · , x100 ) by changing the A0 s to B 0 s and the B 0 s to A0 s
in the initial k terms, and leaving the remaining 100 − k terms unchanged. This new
sequence will have b + (47 − b) = 47A0 s and (b + 3) + (50 − b) = 53B 0 s, and thus will be
a sequence in B.
In the other direction, if we begin with a sequence (y1 , y2 , · · · , y100 ) of 47A0 s and 53B 0 s,
then let k be the smallest integer for which the initial sequence (y1 , y2 , · · · yk ) has exactly
three more B 0 s than A0 s. Change the A0 s to B 0 s and B 0 s to A0 s in this initial sequence
and leave the tail end of the sequence unchanged. The resulting sequence will have 50A0 s
and 50B 0 s, and the initial sequence of k terms will have exactly three more A0 s than B 0 s.
100
Thus, the sets A and B have the same cardinality, |A| = |B| = and the probability
47
17
that Candidate A will win is
100
|A| 47
=
|B| 100
50
100! 50!50!
= ·
47!53! 100!
50 · 49 · 48
=
51 · 52 · 53
9800
=
11, 713
≈ 0.836677.
More generally, suppose A is declared the winner if A is ever in the lead by k votes,
where k is a positive integer less than or equal to 50. Let A be the subset of S containing
sequences in which there is an initial subsequence containing exactly k more A0 s than B 0 .
As before, there is a one−to−one correspondence between A and the set B of sequences
0 0 100
with 50 − kA s and 50 + kB s. Thus, the cardinality of A is and the probability
50 − k
that A is declared the winner is
100
50 − k (50!)2 50 · 49 · · · (51 − k)
= = .
100 (50 − k)!(50 + k)! 51 · 52 · · · (50 + k)
50
1
The value of k for which this probability comes closest to is k = 6, for which the
2
probability is
189, 175
≈ 0.48942.
386, 529
• 5604: Proposed by Albert Natian, Los Angeles Valley College, Valley Glen, CA
Prove:
n−1
N 1 X −irµ 2π 2π N
= lim e n 1 + eiµ n
r n→∞ n
µ=0
18
as claimed. We have used the binomial theorem and the fact that for an integer k
Z 1
2πikx 1, k = 0
e dx =
0 0, k 6= 0.
N
iµθ
N X N iµkθ
1+e = e ,
k
k=0
so
n−1 n−1 N N n−1
X
−irµθ
iµθ
N XX N iµθ(k−r) X N X iµθ(k−r)
e 1+e = e = e .
k k
µ=0 µ=0 k=0 k=0 µ=0
so
n−1
1 X −irµ 2π iµ 2π N
N
lim e n 1+e n =0= .
n→∞ n r
µ=0
19
where r, N ∈ N . To prove the result given we also need to make the additional assumption
that r ≤ N . From the binomial theorem we can write the term appearing in the brackets
inside the sum as
N
iµ 2π
N X N 2πiµk
1+e n = e n .
k
k=0
Thus
N n−1
X N X
S(r, N ) = eµθk ,
k
k=0 µ=0
2πi
after the order of the summations have been interchanged. Here θk = n (k − r). As
n−1
X enθk − 1
eµθk = ,
eθk − 1
µ=0
we see that
n−1
X e2πi(k−r) − 1
fk = eµθk = 2πi = 0,
(k−r)
µ=0 e n −1
Thus
N
X N N
S(r, N ) = fk = n .
k r
k=0
So for the desired limit we have
n−1
1 X −irµ 2π iµ 2π N
1 N N
lim e n 1+e n = lim ·n = ,
n→∞ n n→∞ n r r
µ=0
as required to prove.
If k = r, the inner sum has value equal to 1. Otherwise, the formula for the geometric
sum tells us that its value is equal to
1 − e2πi(k−r)
= 0,
1 − e2πi(k−r)/n
20
provided that n > |k − r|. Hence,
n−1
1 X −irµ 2π iµ 2π N
N
lim e n 1+e n = .
n→∞ n r
µ=0
n−1 2π
Z 1
1 X −irµ 2π 1+eiµ n N
lim e n
= e−ir2πx 1 + ei2πx dx
n→∞ n 0
µ=0
Z 1 N
X N
= e−ir2πx ei2πkx dx
0 k
k=0
N Z 1
X N
= e−i2πrx ei2πkx dx
k 0
k=0
Z 1
1 if k=r
e−i2πrx ei2πkx dx =
0 0 if k 6= r
and the result follows.
n−1 N
1 P −irµ 2π 2π N
+ eiµ n
Prove S = lim e n 1 =
n→∞ n µ=0 r
where N, r ∈ N
Riemann sum
We know that Riemann sum gives us the following formula for a function f ∈ C 1 :
n Z1
1X µ
lim f( ) = f (x)dx (8)
n→∞ n n
µ=0 0
In our case:
n Z1
1 X −irµ 2π 2π N
2N N
lim e n 1 + eiµ n − lim = e−2πixr 1 + e2πix dx (9)
n→∞ n n→∞ n
µ=0 | {z } 0
→0
Contour integral
Applying the z = e2πix substitution in the integral of (2) we get the following contour
integral:
(1 + z)N
I
1
S= dx (10)
2πi z r+1
|z|=1
21
N
Using the Cauchy’s differentiation formula and realized that g(z) = (1+z)
z r+1
function has
r + 1 poles at z = 0 which are inside the unit circle |z| = 1, so we get:
(1 + z)N 1 dr
I
1
S= dx = (1 + z)N (11)
2πi z r+1 r! dz r
|z|=1 z=0
1 dr 1
S= (1 + z)N = N (N − 1)(N − 2)....(N − r + 1) (1 + z)N −r (12)
r! dz r r!
z=0 z=0
N!
Easy to realize that N (N − 1)(N − 2)....(N − r + 1) = (N −r)!
Finally substitute back to (5) we give the result:
(1 + z)N
I
1 N
S= dx = (13)
2πi z r+1 r
|z|=1
Also solved by Pratik Donga, Junagadh, India; Kee-Wai Lau, Hong Kong,
China, and the proposer.
gcd(ab − 1, ac − 1) = 100.
For the proof we proceed by induction on max(r, s). The statement is trivial for max(r, s) =
1 and r = s. Suppose the statement holds true for all r, s with max(r, s) ≤ m. Suppose
that r = m + 1 > s. Then
22
Clearly, b ≥ 0, c ≥ 0. By (∗) 100=gcd(ab − 1, ac − 1) = agcd (b,c) − 1 = a − 1. Hence
a = 101.
let n = a and so we obtain gcd ab − 1, ac − 1 = agcd (b,c)−1=100 . But gcd (b, c) = 1 since
so that the only positive integer satisfying the given equation is a = 101.
To prove equation (1), we will us the following result: Let m be a positive integer and a
and b are integers relatively prime to m. If x and y are integers such that ax ≡ bx (mod
m) and ay ≡ by (mod m), then agcd(x,y) ≡ bgcd(x,y) (mod m)
Since gcd(b, c) divides both b and c, the polynomial xgcd(b,c) − 1 divides both xb − 1
and xc − 1. Hence, agcd(b,c)−1 divides both ab − 1 and ac − 1 so that agcd(b,c) − 1 is a
divisor of gcd(ab − 1, ac − 1). On the other hand, if m divides both ab − 1 and ac − 1,
then gcd(a, m) = 1 and ab ≡ 1 ≡ 1b (mod m). By the above stated result, it follows
that agcd(b,c) ≡ 1 (mod m); that is to say, m is a divisor of agcd(b,c) − 1. Therefore,
gcd(ab − 1, ac − 1) is a divisor of agcd(b,c) − 1. Hence, agcd(b,c) − 1 = gcd(ab − 1, ac − 1).
am+1 − 1
For convenience, let Pn = = am + am−1 + . . . + a + 1. Note that Pn has m + 1
a−1
terms.
Thus gcd ab − 1, ac − 1 = gcd ((a − 1)Pb−1 ) , (a − 1)Pc−1 = (a − 1) gcd(Pb−1 , Pc−1 ).
In Comment 1 below, we will use the Euclidean Algorithm to show that, for coprime b
and c, we have gcd(Pb−1 , Pc−1 ) = 1. Hence we have gcd ab − 1, ac − 1 = a − 1.
Comment 1: The Euclidean Algorithm process which is used to determine that gcd (b, c) =
1 can be used as a guide to show that gcd (Pb−1 , Pc−1 ) = 1.
23
We demonstrate with an illustrative example.
Let b = 25 and c = 9.
Apply the Euclidean Algorithm:
25 = 2 · 9 + 7
(1) 9=1·7+2
7=3·2+1
The final remainder is 1, verifying that gcd(25, 9) = 1.
Now we want to demonstrate that gcd(P24 , P8 ) = 1 by applying the Euclidean Algorithm.
The first step in (1) above tells us exactly what to do as a first step here. Divide P24 by
P8 : P8 goes 2 times with a remainder of 7. That is, the 25 terms of P24 a are grouped into
2 blocks of (9 terms each ) and there are 7 terms left over.
P24 = a24 + a23 + a22 + . . . + a + 1 =
+ a6 + a5 + a4 + a3 + a2 + a1 + 1 =
= a16 a8 + a7 + a6 + a5 + a4 + a3 + a2 + a + 1 +
+ a7 a8 + a7 + a6 + a5 + a4 + a3 + a2 + a + 1 +
+ a6 + a5 + a4 + a3 + a2 + a + 1 =
a16 + a7 P8 + P6 .
=
For the next step, we divide P8 by P6 . The second step of (1) above tells us exactly what
happens: P6 goes 1 times with a remainder 2. That is the 9 terms of P8 are grouped into
1 block (of 7 terms) and there are 2 terms left over.
P8 = a8 + a7 + a6 + a5 + a4 + a3 + a2 + a + 1 =
a8 + a7 + a6 + a5 + a4 + a3 + a2 + (a + 1) =
=
= a2 +a6 + a5 + a4 + a3 + a2 + a + 1 + (a + 1) =
= a2 P6 + P1 .
For the third step, we divide P6 by P1 . The third step of (1) above tells exactly what happens:
P1 goes 3 times with a remainder 1. That is, the 7 terms of P6 are grouped into 3 blocks of 2
terms, and there is 1 term remaining (with must be a 1):
P6 = a6 + a5 + a4 + a3 + a2 + a + 1
24
a6 + a5 + a4 + a3 + a2 + a) + 1
=
= a5 (a + 1) + a3 (a + 1) + a (a + 1) + 1
a5 + a3 + a (a + 1) + 1
=
a5 + a3 + a P1 + 1.
=
a15 + a7 P8 + P6
P24 =
P8 = a2 P6 + P1
P6 = a5 + a3 + a)P1 + 1. Therefore,
gcd (P24 , P8 ) = 1.
This process can be formalized. For any coprime b and c, the Euclidean Algorithm can be
employed to show that gcd (Pb−1 , Pc−1 ) = 1; the process demonstrated above will work and
terminate with 1, by repeatedly applying the following Lemma.
Lemma: For 1 ≤ n < m, when Pm is divided by Pn , the remainder is a Pk , with 0 ≤ k < n.
Proof: Use the Division Algorithm to divide m + 1 by n + 1:
m + 1 = q(n + 1) + r where 0 ≤ r ≤ n + 1. Then it is straight forward to see that
Pm = Q · Pn + Pr−1 ,where Q = qj=1 xm+1)−j(n+1) .
P
Note that the operations with the Pn can be considered as with integers or as with polynomials
with integer coefficients.
Comment 2: It seems surprising that the answer is independent of the values of b and c. What
if b and c are not relatively prime? Suppose that gcd(b, c) = d with b = dB and c = dC for B
and C coprime.
Then
B C
b c dB dC d d
gcd a − 1, a − 1 = gcd a − 1, a − 1 = gcd a − 1, a − 1 = ad − 1,
power.
25
• 5606: Proposed by Ovidiu Furdui and Alina Sîntămărian, Technical University of Cluj-Napoca,
Cluj-Napoca, Romania
Let a, b > 0, c ≥ 0 and 4ab − c2 > 0. Calculate
Z ∞
x
dx.
−∞ aex + be−x + c
Enforcing a substitution of t 7→ 1t in the second of the integrals after the equality in (1)
immediately shows it has a value equal to zero. Thus
r Z ∞
1 b b dt
I(a, b, c) = log q . (2)
2 a a 0 2
bt + ct b
+b a
Completing the square in the denominator of the integrand given in (2) one has
Z ∞
1 b dt
I(a, b, c) = √ log 2 . (3)
a
2 ab 0 t + 2√cab + 4ab−c
2
4ab
4ab−c2
The constant term 4ab appearing in the denominator of the integrand of (3) is positive since
26
4ab − c2 > 0 and a, b > 0. Performing the integration, which is elementary, we have
" √ !#∞
log(b/a) 2t ab + c
I(a, b, c) = √ arctan √
4ab − c2 4ab − c2 0
log(b/a) π c
=√ − arctan √
4ab − c2 2 4ab − c2
√ !
log(b/a) 4ab − c2
=√ arctan ,
4ab − c2 c
as announced. Note in the last line we have made use of the following well-known identity for
the arctangent function of
1 π
arctan(x) + arctan = , x > 0,
x 2
27
Denote the given Integral by I. We show that
c
(ln b − ln a) cos−1 √
√ 2 ab
I= (1)
4ab − c2
Z ∞
1 ln y
By the substitution x = ln y, we obtain I = dy. It is known
0 a + cy y2
a + a
b
([1], p.537, entry 4.233(5)) that for k > 0 and 0 < t < π, we have
Z ∞
ln x t ln k
2 2
dx = .
0 x + 2xk cos t + k k sin t
r
b −1 c
By putting k = and t = cos √ , we obtain (1) readily.
a 2 ab
1. I.S. Gradshteyn and I.M. Ryzhik. Table of Integrals, Series, and Products,
Seventh Edition, Elsevier, Inc. 2007.
R∞ x
Calculate I = dx
−∞ aex + be−x + c
Z∞ Z0
x x
I= dx − dx (15)
ae + b/ex + c
x aex + b/ex + c
0 −∞
At first appling the x → −x substitution for the second integral of the (1) and then the
substitution of t = e1x for both integrals of (1):
Z1 Z1
1 ln(t) 1 ln(t)
I= dt − dt (16)
a 2 c b
t + at + a b t2 + cb t + ab
0 0
√ r
−c ± i 4ab − c2 b ∓iϕ
t1,2 = = e (17)
2a a
√ r
−c ± i 4ab − c2 a ∓iϕ
t3,4 = = e (18)
2b b
√
where ϕ = arctan( dc ), d = 4ab − c2 and i2 = −1 the (2) is becoming the following:
28
Z1 1 Z1
1 ln(t) ln(t)
I= dt − dt (19)
a (t − t1 )(t − t2 ) b (t − t3 )(t − t4 )
0 0
Z1 Z1 Z1 Z1
i ln(t) ln(t) ln(t) ln(t)
I= − dt + dt + dt − dt (20)
d (t − t1 ) (t − t2 ) (t − t3 ) (t − t4 )
0 0 0 0
1 1
Ztk Ztk
ln(x) + ln(tk ) ln(x) ln(tk )
Ik = dx = + dx (21)
(1 − x) 1 − x (1 − x)
0 0
1
Ztk
ln(x) 1 1
Ik = dx + ln( ) ln(1 − ) (22)
1−x tk tk
0
1− t1
Z1 k
ln(1 − r) ln(1 − r)
Z
1 1
Ik = dr − dx + ln( ) ln(1 − ) (23)
r r tk tk
0 0
1 1 1
Ik = −Li2 (1) + Li2 (1 − ) + ln( ) ln(1 − ) (24)
tk tk tk
Applying the following identity of the Spence function:
Li2 (z) + Li2 (1 − z) = Li2 (1) − ln(z) ln(1 − z), (10) will be the following:
1
Ik = −Li2 ( ) (25)
tk
1 1
Based on (3),(4) can be seen that t4 = t1 and t3 = t2 , go back to (6) we get value of the
integral (I):
29
1 1
I = Li2 ( ) − Li2 ( ) − Li2 (t2 ) + Li2 (t1 ) (26)
t1 t2
Using the following identity Li2 (z) + Li2 ( z1 ) = −Li2 (1) − 12 ln2 (−z) twice we get:
i t2
I= ln( ) ln(t1 t2 ) (27)
2d t1
Finally substitute back t1 and t2 from (3) we get the result:
ln( a )
q
I= √ b
4ab−c2
arctan( 4ab
c − 1) (28)
30