Department of Math and Computer Science
Problems of the Month 2002
Problem for 2002 January
|
Modified from a problem in the Canadian mathematics journal Crux Mathematicorum |
Suppose there are two players, say A and B; A tosses a fair coins, and B tosses
b fair coins; let P(a,b) be the probability that B gets more heads than A.
-
1.
-
Find a formula for P(n,n).
-
2.
-
Show that
- a.
- 0 £ P(n,n) < 1/2;
- b.
- (P(n,n))n=0¥\nearrow; i.e., the sequence (P(n,n)) increases;
- c.
- limn®¥P(n,n)=1/2.
-
3.
-
Determine P(n,n+1).
The probability that in a toss of n fair coins, 1 £ n, exactly i heads occur is
|
|
æ è
|
n
i
|
ö ø
|
|
æ è
|
|
1
2
|
|
ö ø
|
n
|
, 0 £ i £ n. |
|
Therefore the probability that in two tosses of n fair coins the same number of heads occurs
both times is
|
|
æ è
|
n
0
|
ö ø
|
|
æ è
|
|
1
2
|
|
ö ø
|
n
|
× |
æ è
|
n
0
|
ö ø
|
|
æ è
|
|
1
2
|
|
ö ø
|
n
|
+ |
æ è
|
n
1
|
ö ø
|
|
æ è
|
|
1
2
|
|
ö ø
|
n
|
× |
æ è
|
n
1
|
ö ø
|
|
æ è
|
|
1
2
|
|
ö ø
|
n
|
+¼+ |
æ è
|
n
n
|
ö ø
|
|
æ è
|
|
1
2
|
|
ö ø
|
n
|
× |
æ è
|
n
n
|
ö ø
|
|
æ è
|
|
1
2
|
|
ö ø
|
n
|
|
|
|
= |
æ è
|
|
1
2
|
|
ö ø
|
2n
|
|
n å
i=0
|
|
æ è
|
n
i
|
ö ø
|
2
|
|
| |
| = |
æ è
|
|
1
2
|
|
ö ø
|
2n
|
|
æ è
|
2n
n
|
ö ø
|
, |
|
|
the last equality following from the 2001 March ``problem of the month''.
It follows that the probability that in two tosses of n fair coins there are more heads in the
second toss is
|
P(n,n)= |
1
2
|
|
é ë
|
1- |
æ è
|
|
1
2
|
|
ö ø
|
2n
|
|
æ è
|
2n
n
|
ö ø
|
|
ù û
|
. |
|
It is now clear that 0 £ n Þ 0 £ P(n,n) < 1/2. Next, from
|
|
22n
|
= |
(2n)(2n-1)
nn
|
|
æ è
|
2n-2
n-1
|
ö ø
|
2·2·22n-2
|
= |
2n-1
2n
|
|
22n-2
|
< |
22n-2
|
|
|
we see that the sequence ((1/2)2n(2n || n))n=0¥
decreases, so that the sequence (P(n,n)) increases. Finally from the recursion formula
|
|
ó õ
|
p/2
0
|
sin0q dq = |
p
2
|
; 2 £ n Þ |
ó õ
|
p/2
0
|
sinnq dq = |
n-1
n
|
|
ó õ
|
p/2
0
|
sinn-2q dq, |
|
which follows from an application of integration by parts, we have
|
|
2
p
|
|
ó õ
|
p/2
0
|
sin2nq dq = |
(2n-1)×(2n-3)×¼×1
(2n)×(2n-2)×¼×2
|
= |
æ è
|
|
1
2
|
|
ö ø
|
2n
|
|
æ è
|
2n
n
|
ö ø
|
, |
|
(Wallis's product), from which it follows that
|
|
lim
n®¥
|
|
æ è
|
|
1
2
|
|
ö ø
|
2n
|
|
æ è
|
2n
n
|
ö ø
|
=0, |
|
whence limn®¥P(n,n)=1/2. In fact
|
P(n,n) ~ |
1
2
|
|
é ë
|
1- |
1
|
|
æ è
|
1- |
1
8n
|
+ |
1
128n2
|
-¼ |
ö ø
|
|
ù û
|
. |
|
Now for 0 £ a and 0 £ b we clearly have
|
|
|
= |
a å
i=0
|
|
æ è
|
a
i
|
ö ø
|
|
æ è
|
|
1
2
|
|
ö ø
|
a
|
|
b å
j=i+1
|
|
æ è
|
b
j
|
ö ø
|
|
æ è
|
|
1
2
|
|
ö ø
|
b
|
|
| |
|
= |
æ è
|
|
1
2
|
|
ö ø
|
a+b
|
|
a å
i=0
|
|
æ è
|
a
i
|
ö ø
|
|
b å
j=i+1
|
|
æ è
|
b
j
|
ö ø
|
, so that |
| |
|
= |
æ è
|
|
1
2
|
|
ö ø
|
2n+1
|
|
n å
i=0
|
|
æ è
|
n
i
|
ö ø
|
|
n+1 å
j=i+1
|
|
æ è
|
n+1
j
|
ö ø
|
|
| |
|
= |
æ è
|
|
1
2
|
|
ö ø
|
2n+1
|
|
n å
i=0
|
|
æ è
|
n
i
|
ö ø
|
|
n+1 å
j=i+1
|
|
é ë
|
|
æ è
|
n
j-1
|
ö ø
|
+ |
æ è
|
n
j
|
ö ø
|
|
ù û
|
|
| |
|
= |
æ è
|
|
1
2
|
|
ö ø
|
2n+1
|
|
n å
i=0
|
|
æ è
|
n
i
|
ö ø
|
|
é ë
|
|
n+1 å
j=i+1
|
|
æ è
|
n
j-1
|
ö ø
|
+ |
n+1 å
j=i+1
|
|
æ è
|
n
j
|
ö ø
|
|
ù û
|
|
| |
|
= |
æ è
|
|
1
2
|
|
ö ø
|
2n+1
|
|
n å
i=0
|
|
æ è
|
n
i
|
ö ø
|
|
é ë
|
|
n å
j=i
|
|
æ è
|
n
j
|
ö ø
|
+ |
n å
j=i+1
|
|
æ è
|
n
j
|
ö ø
|
|
ù û
|
|
| |
|
= |
æ è
|
|
1
2
|
|
ö ø
|
2n+1
|
|
n å
i=0
|
|
æ è
|
n
i
|
ö ø
|
|
é ë
|
|
æ è
|
n
i
|
ö ø
|
+2 |
n å
j=i+1
|
|
æ è
|
n
j
|
ö ø
|
|
ù û
|
|
| |
|
= |
æ è
|
|
1
2
|
|
ö ø
|
2n+1
|
|
é ë
|
|
n å
i=0
|
|
æ è
|
n
i
|
ö ø
|
2
|
+2 |
n å
i=0
|
|
æ è
|
n
i
|
ö ø
|
|
n å
j=i+1
|
|
æ è
|
n
j
|
ö ø
|
|
ù û
|
|
| |
|
= |
æ è
|
|
1
2
|
|
ö ø
|
2n+1
|
|
ì í
î
|
|
æ è
|
2n
n
|
ö ø
|
+ |
é ë
|
|
n å
i=0
|
|
æ è
|
n
i
|
ö ø
|
|
ù û
|
2
|
- |
n å
i=0
|
|
æ è
|
n
i
|
ö ø
|
2
|
|
ü ý
þ
|
|
| |
|
= |
æ è
|
|
1
2
|
|
ö ø
|
2n+1
|
|
é ë
|
|
æ è
|
2n
n
|
ö ø
|
+(2n)2- |
æ è
|
2n
n
|
ö ø
|
|
ù û
|
|
| |
| |
|
|
We have used here the facts that
-
1.
-
åi=0n(n || i)=2n; and
-
2.
-
for any n+1 real numbers (or complex numbers, or elements of a commutative ring)
x0,x1,¼,xn one has
|
2 |
n å
i=0
|
xi |
n å
j=i+1
|
xj= |
æ è
|
|
n å
i=0
|
xi |
ö ø
|
2
|
- |
n å
i=0
|
xi2, |
|
as one shows by induction on n or by considering (x0+x1+¼+xn)2.
Also solved by Gary Jinglin Kuang
Problem for 2002 February
Does there exist a continuous function f:R®R such that each value attained by
f is attained precisely twice?
That is, does there exist a function f:R®R such that
-
1.
-
f is continuous; and
-
2.
- x Î R Þ $ ! y Î R such that
- i.
-
y ¹ x, and
-
ii.
-
f(y)=f(x)?
There does not exist such a function. For suppose f is such a function; we derive a
contradiction as follows.
First let f0:R®R by f0(x)=f(x)-f(0). Then f0 is continuous and
f0(0)=0. Next there exists y ¹ 0 such that f(y)=f(0); let f1:R®R
by f1(x)=f0(y·x). Then f1 is continuous, and f1(1)=f0(y)=f(y)-f(0)=0=f0(0) = f1(0). Now f1|[0,1] is continuous, so attains a minimum and a maximum in [0,1]; let
us say a minimum occurs at u Î [0,1] and a maximum occurs at v Î [0,1]. Now clearly either
f1(u) < 0 or 0 < f1(v), as otherwise f attains the value 0 at more than two points.
Now define
Then f2 is continuous, f2(0)=0=f2(1), and f2|[0,1] attains a maximum value
different from 0 in the interval [0,1], let us say at the point a Î [0,1]. Now there exists
a point b Î R such that b ¹ a and f2(b)=f2(a). We consider two cases.
First suppose b Î [0,1]. Again there are two cases: b < a and a < b. We will consider a < b, as
the other case is similar. Now there exists c such that a < c < b, and 0 < f2(c) < f2(a)=f2(b).
By the intermediate value theorem there exist x1 between 0 and a such that
f2(x1)=f2(c), x2 between a and c such that f2(x2)=f2(c), x3 between
c and b such that f2(x3)=f2(c), and x4 between b and 0 such that
f2(x4)=f2(c). But it now follows that f(x1)=f(x2)=f(x3)=f(x4), and of course x1, x2,x3, and x4 are distinct. Thus f attains some value at least four times, a contradiction.
A similar (and similarly tedious) argument holds if b Ï [0,1].
Hence no such f exists.
Problem for 2002 March
For 0 £ n let Hn be the sum of the first n terms of the harmonic series; i.e.,
Find a formula for
The proposer encountered this sum when analyzing a certain variation of the quicksort algorithm.
Proposition.
|
0 £ n Þ |
n å
i=0
|
iHi= |
n2+n
2
|
Hn- |
n2-n
4
|
|
|
Proof.
The formula obviously holds if n=0; now suppose that 1 £ n and
|
|
|
= |
(n-1)2+(n-1)
2
|
Hn-1- |
(n-1)2-(n-1)
4
|
|
| |
|
= |
n2-2n+1+n-1
2
|
Hn-1- |
n2-2n+1-n+1
4
|
|
| |
|
= |
n2-n
2
|
|
æ è
|
Hn- |
1
n
|
|
ö ø
|
- |
n2-3n+2
4
|
|
| |
|
= |
n2-n
2
|
Hn- |
n-1
2
|
- |
n2-3n+2
4
|
|
| |
|
= |
n2-n
2
|
Hn- |
n2-3n+2+2n-2
4
|
|
| |
|
= |
n2-n
2
|
Hn- |
n2-n
4
|
; then |
| |
| |
|
|
so the proposition follows by induction on n.
Problem for 2002 April
Find a formula for the following sum, where n is a nonnegative integer.
We show that the sum equals [(n(3n+2)(n2-1))/24]. For with
|
|
|
= |
å
1 £ i < j £ n
|
ij, we have |
| |
|
= |
ì ï ï í
ï ï î
| |
|
| |
|
å
1 £ i < j £ n-1
|
ij+ |
æ è
|
|
n-1 å
i=1
|
i |
ö ø
|
×n |
|
|
| |
| |
|
|
Now the asserted formula obviously holds if n=0; suppose that 1 £ n and
|
|
|
= |
(n-1)[3(n-1)+2][(n-1)2-1]
24
|
; then |
| |
| |
|
= |
(n-1)(3n-1)(n2-2n)+12(n-1)n2
24
|
|
| |
|
= |
(n-1)n[(3n-1)(n-2)+12n]
24
|
|
| |
|
= |
(n-1)n[3n2-7n+2+12n]
24
|
|
| |
| |
| |
|
|
so that by induction the formula holds for each nonnegative integer n.
Problem for 2002 May
|
Communicated by Dan Jurca |
The following problem in the 2002 April issue of the Canadian mathematics journal
Crux Mathematicorum is from the Swiss Mathematical Contest, May 17, 1999.
Find all solutions (x,y,z) Î R×R×R of the system
|
|
4x2
1+4x2
|
=y, |
4y2
1+4y2
|
=z, |
4z2
1+4z2
|
=x. |
|
It is clear that (0,0,0) and (1/2,1/2,1/2) are solutions; we show these are the only
solutions.
Consider f:R®R by
|
|
| |
|
= |
8t·(1+4t2)-4t2·8t
(1+4t)2
|
|
| |
|
|
so t < 0 Þ f¢(t) < 0, 0 < t Þ 0 < f¢(t). Thus
|
f(0)=0, 0 £ f < 1, |
lim
¥
|
f=1, f\searrowon (-¥,0], f\nearrowon [0,¥). |
|
Now we have x=f(z)=f(f(y))=f(f(f(x))), so that with g=f°f°f, x is a fixed point
of g; i.e., g(x)=x. Since f\nearrow on [0,¥), it follows that g\nearrow on
[0,¥). Observe that
|
t-f(t)= |
t(1-2t)2
1+4t2
|
=0 if and only if t=0 or t=1/2, |
|
and 0 < t < 1/2 or 1/2 < t Þ t < f(t). Thus 0 < t < 1/2 or 1/2 < t Þ
|
|
| |
|
< f(f(t)), (since f\nearrow), so |
| |
|
< f(f(t)), (since t < f(t)), so |
| |
|
< f(f(f(t))), (since f\nearrow), so |
| |
| < g(t), (since t < f(t).) |
|
|
Hence t ¹ 0 or t ¹ 1/2 Þ g(t) ¹ t. Thus the only fixed points of g are
0 and 1/2. Therefore x=0 or x=1/2. Now
|
x=0 Þ y=0 Þ z=0, and x=1/2 Þ y=1/2 Þ z=1/2. |
|
Hence the only solutions are (0,0,0) and (1/2,1/2,1/2), as asserted.
Problem for 2002 June
|
Communicated by Dan Jurca |
This is an old problem, but has not appeared here for a long time.
There are one million dots (points) in the plane; prove that there exists a (straight) line such that
exactly half of the dots are on each side of the line.
|
Solution (from a book of problems by Charles Trigg) |
We generalize to the case that there are 2n dots, where n is a positive integer. Let us
call this set of points S. Consider the set of all
(not necessarily distinct) lines determined by each pair of points chosen from S.
These lines do not cover the entire plane-the plane is not the union of finitely many lines.
Hence there exists a point, say P, which does not lie on any of the lines, and furthermore lies
to the left of some disk the interior of which includes S. Now for each point Q in S the
line determined by P and Q contains no point of S other than Q. Therefore as the
point Q varies through S we may mark the n-th and the (n+1)-th lines; each line through
P between these lines has n points of S on each side.
Also solved by Matthew Hubbard and John Sayer.
Problem for 2002 July
Suppose n is a positive integer and An is the n×n matrix as follows.
|
An= |
æ ç ç ç ç ç ç
ç ç ç ç ç è
|
| |
ö ÷ ÷ ÷ ÷ ÷ ÷
÷ ÷ ÷ ÷ ÷ ø
|
|
|
That is, An=(aij)1 £ i £ n, 1 £ j £ n where
Compute the determinant det(An).
Let dn=det(An); then we find at once d1=2 and d2=3. If 3 £ n, then by expanding
along column 1 in An we find dn=2dn-1-dn-2. Thus 1 £ n Þ dn=n+1.
For this is clear if n=1 or n=2; if 3 £ n, dn-1=n, and dn-2=n-1, then by the
recursion relation we have dn=2×n-(n-1)=n+1; hence by induction on n we have
1 £ n Þ dn=n+1, as asserted.
Also solved by Walt Becker, Christopher Doi, John M. Sayer, and Murray Stokely
Problem for 2002 August
Suppose K is a field, and V is a vector space over K; a bilinear form on V is
a function
which is linear (additive and homogeneous) in each ``slot''; i.e.,
u,v,w Î V and k Î K Þ
|
|
|
=b(u,w)+b(v,w), and b(u,v+w)=b(u,v)+b(u,w); |
| |
|
|
One finds immediately that for each bilinear form b on V
The following is a standard exercise in linear algebra.
Suppose V is a finite-dimensional vector space over the field K, and b:V×V® K
is a bilinear form on V; then the following conditions are equivalent.
-
a.
-
{u Î V | b(u,v)=0 " v Î V}={0};
-
b.
- {v Î V | b(u,v)=0 " u Î V}={0};
-
c.
- for each basis {v1,v2,¼,vn} of V over K the
n×n matrix B=(bij)1 £ i £ n,1 £ j £ n, where
bij=b(vi,vj), is nonsingular.
(Such a bilinear form is called non-degenerate.)
Show that the hypothesis that dimK(V) < ¥ above is essential. That is, show that if
V is an infinite dimensional vector space over the field K, then there exists a
bilinear form b:V×V® K such that
|
{u Î V | b(u,v)=0 " v Î V} |
|
| |
but {v Î V | b(u,v)=0 " u Î V} |
|
|
|
Suppose V is a vector space over the field K, dimK(V)=¥, and {va | a Î A} is a K-basis of V. Thus A is an infinite set and if
v Î V, then for each a Î A there exists ka Î K and there exists
a finite subset Sv Ì A such that
-
i.
-
å{ kava | a Î A }=v and
-
ii.
- a Ï Sv Þ ka=0.
Now we choose a0 Î A and define b:V×V® K as follows.
|
(a,b) Î A×A Þ b(va,vb)= |
ì ï í
ï î
| |
|
|
if (b = a0) or [(a ¹ a0) and (a ¹ b)]; |
| |
| if (b ¹ a0) and [(a = a0) or (a = b)]; |
|
| |
|
and extend by bilinearity.
(One can see, using DeMorgan's laws, that the conditions here are complementary.)
The following sketch shows what the matrix
B=(bab)(a,b) Î A×A where bab = b(va,vb) looks like. (Of course without a well-ordering on A
the matrix B does not really look like anything.)
|
B= |
é ê ê ê ê ê ê ê ê ê
ê ê ê ê ê ê ê ê ë
|
| |
ù ú ú ú ú ú ú ú ú ú
ú ú ú ú ú ú ú ú û
|
|
|
Here the missing entries are all 0's; the a0-th column is all 0's; and the
a0-th row is all 1's except that the diagonal entry is 0; and each diagonal entry is 1,
except of course the one in the a0-th row and column.
We claim that if u Î V and b(u,v)=0 for each v Î V, then
u=0. For suppose that u=å{kava | a Î A},
where a Ï Su Þ ka=0. If a0 Î Su, then choose
b ¹ a0 such that kb=0; then b(u,vb)=0, from which
ka0b(va0,vb)=0, whence ka0=0. Next, for each
a Î Su, if a ¹ a0, since b(u,va)=0, then
ka0b(va0,va)+ka b(va,va)=0,
so that ka=0 (since ka0=0 whether a0 Î Su or
a0 Ï Su). Therefore a Î A Þ ka=0, and this
shows u=0. However, it is clear that u Î V Þ b(u,va0)=0; and of course va0, being an element of a basis, is
non-zero.
Thus for this particular bilinear form b, we have
as desired.
No other solution was received.
Problem for 2002 October
The following is a variation on a problem which, according to the 2002 September issue of the
Canadian mathematics journal Crux Mathematicorum, appeared in one of the St. Petersburg
contests, from 1965 to 1984.
Suppose that you have a calculator which may be used to
-
i.
-
add any two real numbers;
-
ii.
- subtract any real number from any real number;
-
iii.
- divide any real number by 24;
-
iv.
- raise any real number to the fourth power.
Show how this calculator may be used to compute the product of any two real numbers.
By repeated addition one can compute nx for each positive integer n and real number x;
hence one can compute x/2=(12x)/24, x/3=(8x)/24, x/8=(3x)/24 for each real number x.
Thus one can use this calculator to divide by 2, 3, and 8.
Next, from (x+y)2=x2+2xy+y2 one has xy=[(x+y)2-x2-y2]/2, so that if one can compute
squares, then one can compute products. Next, from (x+1)3=x3+3x2+3x+1 one finds
x2=[(x+1)3-x3-3x-1]/3, so that if one can compute cubes, then one can compute squares. Next,
from
one finds x3=[(x+1)4-(x-1)4-8x]/8, so that if one can compute fourth powers, then one can
compute cubes. Hence if one can compute sums and differences, can divide by 24=4!, and can
compute fourth powers, then one can compute products.
We remark that from
|
|
|
=x5+5x4+10x3+10x2+5x+1 and |
| |
|
|
one finds x3=[(x+1)5+(x-1)5-2x5-10x]/20, so that if one can compute sums, differences, fifth
powers, and can divide by 5!, then one can compute products.
Does this continue?
Problem for 2002 November
|
Communicated by Matthew Hubbard |
Find a polynomial p(x,y) such that
and
|
|
inf
| { p(x,y) | (x,y) Î R2 }=0. |
|
Consider the following polynomial, p.
Obviously "(x,y) Î R2: 0 £ p(x,y); and
clearly p(x,y)=0 if and only if both y=0 and xy+1=0, which is impossible, so that
Next, if 0 < e, then
so that im p=p(R2)={ t Î R | 0 < t }, and therefore
|
|
inf
| { p(x,y) | (x,y) Î R2 }=0. |
|
\bf Problem for 2002 December
Problem for 2002 December
|
Communicated by Dan Jurca |
The following problem appears on page 59 of A Course of Modern Analysis by E.T. Whittaker
and G.N. Watson.
Show that the series
|
|
¥ å
n=1
|
|
zn-1
(1-zn)(1-zn+1)
|
|
|
is equal to [ 1/((1-z)2)] when |z| < 1 and is equal to
[ 1/(z(1-z)2)] when 1 < |z|.
First suppose |z| ¹ 1. We shall show
|
1 £ N Þ |
N å
n=1
|
|
zn-1
(1-zn)(1-zn+1)
|
= |
1-zN
(1-z)2(1-zN+1)
|
. |
|
(We take 00=1 here.) First suppose N=1. Then
|
|
N å
n=1
|
|
zn-1
(1-zn)(1-zn+1)
|
|
|
| |
| |
|
|
so the assertion certainly holds if N=1. Next suppose 2 £ N and