Archive

Archive for the ‘Algebra’ Category

Romanian Regional Olympiad 2024 – 10th grade

March 12, 2024 Leave a comment

Problem 1. Let {a,b \in \Bbb{R}}, {a>1}, {b>0}. Find the smallest real number {\alpha} such that

\displaystyle (a+b)^x \geq a^x+b, \forall x \geq \alpha.

Problem 2. Consider {ABC} a triangle inscribed in the circle {\mathcal C} of center {O} and radius {1}. For any {M \in \mathcal C\setminus \{A,B,C\}} denote by {S(M) = OH_1^2+OH_2^2+OH_3^2} where {H_1,H_2,H_3} are the orthocenters of the triangles {MAB,MBC,MCA}, respectively.

a) Prove that if the triangle {ABC} is equilateral then {s(M)=6} for every {M \in \mathcal C \setminus \{A,B,C\}}.

b) Show that if there exist three distinct points {M_1,M_2,M_3 \in \mathcal C\setminus \{A,B,C\}} such that {s(M_1)=s(M_2)=s(M_3)}, then the triangle {ABC} is equilateral. 

Problem 3. Let {a,b,c} be three non-zero complex numbers with the same modulus for which {A=a+b+c} and {B=abc} are real numbers. Show that for every positive integer {n} the number {C_n = a^n+b^n+c^n} is real. 

Problem 4. Let {n \in \Bbb N^*}. Determine all functions {f:\Bbb{R} \rightarrow \Bbb{R}} which verify

\displaystyle f(x+y^{2n})=f(f(x))+y^{2n-1}f(y),

for every {x,y \in \Bbb{R}} and such that {f(x)=0} has a unique solution. 

Hints:

Problem 1: study the monotonicity of the function {g(x)= (a+b)^x-a^x}. Then observe that the inequality is equivalent to {g(x) \geq g(1)}

Problem 2: Recall the identity {OH^2 = 9R^2-AB^2-BC^2-CA^2} whenever {H} is the orthocenter of {ABC} with circumcenter {O}. This can be proved using complex numbers and recalling that {OH = 3OG}, where {G} is the center of gravity. Therefore

\displaystyle OH_1^2 = 9-MA^2-MB^2-AB^2and the analogue equalities. Summing we get

\displaystyle s(M) = 27-2\sum MA^2-\sum AB^2.a) When {ABC} is equilateral and inscribed in a circle of radius {1} we have {AB=BC=CA=\sqrt{3}}. Moreover, the identity In particular, one can prove the following:

\displaystyle AM^2+BM^2+CM^2 = AG^2+BG^2+CG^2+3MG^2applied to the triangle equilateral triangle {ABC} with centroid {O} shows that

\displaystyle MA^2+MB^2+MC^2 = AO^2+BO^2+CO^2+3MO^2=6.Thus

\displaystyle s(M) = 27-12-9 = 6.b) Assume there exist three distinct points such that {s(M_1)=s(M_2)=s(M_3)}. This implies that

\displaystyle \sum M_1A^2 = \sum M_2A^2 = \sum M_3A^2.The relation above concerning the center of gravity of {ABC} shows that {M_1G=M_2G=M_3G}. Since the points are distinct, it follows that {G} coincides with {O}, the circumcenter of {ABC}, therefore {ABC} is equilateral.

Problem 3: Denote {r>0} the common value of the modulus: {|a|=|b|=|c|=r}. Then

\displaystyle \overline{a+b+c} = r^2\left( \frac{1}{a}+\frac{1}{b}+\frac{1}{c}\right) = r^2 \frac{ab+bc+ca}{abc}.Since {r, a+b+c, abc \in \Bbb{R}} it follows that {ab+bc+ca\in \Bbb{R}}. Then of course {a^2+b^2+c^2 = (a+b+c)^2-2(ab+bc+ca) \in \Bbb{R}}. Finally, we know that {a,b,c} are roots of

\displaystyle (z-a)(z-b)(z-c)=0 \Longleftrightarrow z^3-(a+b+c)z^2+(ab+bc+ca)z-abc=0.Since the coefficients of this polynomial are real, an inductive argument shows that if {C_n, C_{n+1}, C_{n+2}} are real then {C_{n+3}} is real, finishing the proof. 

Problem 4. Take {y=0} and get {f(x) = f(f(x))}. Thus, {f} is the identity mapping on its image!! Take {y\mapsto -y} and observe that {y^{2n-1}f(y) = -y^{2n-1}f(-y)}. Therefore {f(-y)=-f(y)} for any {y \neq 0}. Since the equation {f(x)=0} has a unique solution, it follows that {f(0)=0} and {f(x) \neq 0} for {x \neq 0}. Take {x=0} and get {f(y^{2n}) = y^{2n-1}f(y)}. Therefore

\displaystyle f(x+y^{2n})=f(x)+f(y^{2n})for any {x,y}. Since {y^{2n}} takes all positive values in {\Bbb{R}} it follows that

\displaystyle f(x+y) = f(x)+f(y)for every {x\in \Bbb{R}}, {y \geq 0}. Coupled with {f(-y)=-f(y)} this implies that

\displaystyle f(x+y)= f(x)+f(y).for all {x,y}. If {f(x_1)=f(x_2)} it follows that {f(x_1-x_2)=0} therefore {x_1=x_2}. From {f(f(x))=f(x)} we obtain {f(x)=x} for all reals {x}. It should be noted that this function obviously verifies the functional equation!

Putnam 2023 A1-A3

February 15, 2024 Leave a comment

A1. For a positive integer {n}, let {f_n(x) = \cos(x) \cos(2x) \cos(3x) \cdots \cos(nx)}. Find the smallest {n} such that {|f_n''(0)| > 2023}

Hints: Observe that

\displaystyle f_n'(x) = -f_n(x)\sum_{k=1}^n k \tan(kx).

Differentiate again and observe that

\displaystyle f_n''(x) = -f_n'(x)\sum_{k=1}^n k \tan(kx)+f_n(x) \sum_{k=1}^n k^2 (1+\tan^2(kx)).

It is straightforward now to evaluate {f_n''(0)} and to answer the question. 

A2. Let {n} be an even positive integer. Let {p} be a monic, real polynomial of degree {2n}; that is to say, {p(x) = x^{2n} + a_{2n-1} x^{2n-1} + \cdots + a_1 x + a_0} for some real coefficients {a_0, \dots, a_{2n-1}}. Suppose that {p(1/k) = k^2} for all integers {k} such that {1 \leq |k| \leq n}. Find all other real numbers {x} for which {p(1/x) = x^2}

Hints: Denote {g(y) = p(y)y^2}. Then {y \mapsto g(y)} is a polynomial of degree {2n+2}. Moreover, {g(1/k) = 1} for {1\leq |k|\leq n}, showing that {g-1} has the {2n} roots {\pm \frac{1}{k}}.

It follows that {g(y) = 1+\prod_{k=1}^n (y-\frac{1}{k})(y+\frac{1}{k}) \times (ay^2+by+c)}. Identifying coefficients one finds {a=1}, {b=0} and the value of {c} is obtained by observing that the constant term in {g} should be zero. Then the answer to the question is obtained by investigating the roots of {ay^2+by+c}. I guess a distinction should be made between the cases {n} even or odd, since it seems that the sign of {c} depends on that. 

A3. Determine the smallest positive real number {r} such that there exist differentiable functions {f\colon \mathbb{R} \rightarrow \mathbb{R}} and {g\colon \mathbb{R} \rightarrow \mathbb{R}} satisfying

  1. (a) {f(0) > 0},
  2. (b) {g(0) = 0},
  3. (c) {|f'(x)| \leq |g(x)|} for all {x},
  4. (d) {|g'(x)| \leq |f(x)|} for all {x}, and
  5. (e) {f(r) = 0}.

Hints: Of course, an example of functions {f,g} are {\cos} and {\sin}. This suggests that the answer could be {r = \pi/2}. In any case, this example shows that the smallest {r} verifies {r \leq \pi/2}.

Assuming that {r} is the smallest zero, on {[0,r]} we have {f(t)\geq 0}. Now let’s try to obtain some differential inequality using the hypothesis:

\displaystyle f'(x)+\int_0^x f(t)dt \geq -|g(x)|+\int_0^x |g'(t)|dt \geq 0,

where the last inequality follows from {g(x) = \int_0^x g'(t)}.

Therefore {F(x) = \int_0^x f(t)dt-f(0)\sin x} verifies {F(0)=0, F'(0)=0} and

\displaystyle F''(x)+F(x) \geq 0.

Therefore we have {F''(x)+F(x) = q(x)\geq 0} on {[0,r]} with {F'(0)=F(0)=0}. The general solution is

\displaystyle F(x) = A\cos x+B\sin x+\int_0^x q(t)\sin (x-t)dt.

The initial conditions show that {A=B=0}. Therefore

\displaystyle F(x) = \int_0^x q(t)\sin(x-t)dt, x\in [0,r]

and since {r\leq \pi/2} we have {F(x) \geq 0} on {[0,r]}. Moreover {F'(x) = \int_0^x q(t)\cos(x-t)dt} which is also non-negative on {[0,r]}. This implies

\displaystyle f(x)-f(0)\cos x\geq 0, x \in [0,r].

Thus the smallest {r} such that {f(r)=0} is indeed {r = \pi/2}.

Algebraic proof of the Finsler-Hadwiger inequality

December 29, 2023 Leave a comment

Weitzenbock’s inequality states that if {a,b,c} are the side lengths of a triangle with area {S} then

\displaystyle a^2+b^2+c^2 \geq 4\sqrt{3} S.

A strengthening of this result due to Finsler and Hadwiger states

\displaystyle a^2+b^2+c^2 \geq (a-b)^2+(b-c)^2+(c-a)^2+4\sqrt{3} S.

A variety of proofs rely on various trigonometric or geometric arguments. Below you can find a purely algebraic argument based on the classical characterization: {a,b,c} are side lengths of a triangle if and only if there exist {x,y,z \geq 0} such that {a=y+z}, {b=x+z}, {c=x+y}. If {x,y,z} are strictly positive then the triangle will be non-degenerate.

Replacing {a,b,c} with the above formulas replaces an inequality in a triangle with a general inequality where only positivity of the variables is involved. With this substitution, using classical notation for cyclic sums gives

\displaystyle a^2+b^2+c^2 = 2\sum x^2+2\sum xy

and

\displaystyle (a-b)^2+(b-c)^2+(c-a)^2 = 2\sum x^2-2\sum xy.

On the other hand the area given by Heron’s formula is

\displaystyle S = \sqrt{xyz(x+y+z)}.

Thus, Weitzenbock’s inequality is equivalent to

\displaystyle 2\sum x^2+2\sum xy \geq 4\sqrt{3} \sqrt{xyz(x+y+z)}

and the Finsler-Hadwiger inequality is equivalent to

\displaystyle \sum xy \geq \sqrt{3xyz(x+y+z)}.

This inequality follows at once, since squaring both sides gives

\displaystyle \sum x^2y^2 \geq \sum (xy)(yz),

which is a well known consequence of

\displaystyle X^2+Y^2+Z^2 \geq XY+YZ+ZX.

Equality holds, of course, if and only if {X=Y=Z}. If the triangle is non-degenerate then it must be equilateral. Thus, Weitzenbock and Finsler-Hadwiger inequalities follow at once from classical inequalities, once the side lengths of a triangle are replaced with unconstrained variables.

A proof of the Hadwiger Finsler inequality

December 14, 2023 Leave a comment

The Hadwiger-Finsler inequality states that if {a,b,c} are the side lengths of a triangle with area {S} then

\displaystyle a^2+b^2+c^2 \geq (a-b)^2+(b-c)^2+(c-a)^2+4\sqrt{3}S.

This was discussed previously on the blog. This post shows a translation of the original paper by Hadwiger and Finsler and this post shows a surprising geometrical proof.

Various proofs of the inequality are known. However, since an equality always beats an inequality, let us prove the identity

\displaystyle a^2+b^2+c^2 = (a-b)^2+(b-c)^2+(c-a)^2+4S\left( \tan \frac{A}{2}+\tan \frac{B}{2}+\tan \frac{C}{2}\right).

It is immediate to see that Jensen’s inequality applied to the tangent function, which is convex on {[0,\pi/2]} is enough to deduce the Hadwiger-Finsler inequality from the above identity. To prove the identity, simply compute

\displaystyle 4S \tan \frac{A}{2} = 2bc\sin A \tan \frac{A}{2} = 2bc 2\sin^2 \frac{A}{2} = 2bc(1-\cos A).

Replacing the usual formula {\cos A = (b^2+c^2-a^2)/(2bc)} gives

\displaystyle 4S \tan \frac{A}{2} = 2bc-b^2-c^2+a^2.

Summing these identities for the three angles {A,B,C} gives precisely the desired result. The same proof can be found, for example, here.

IMO 2023 Problem 4

July 12, 2023 Leave a comment

Problem 4. Let {x_1,x_2,\dots,x_{2023}} be pairwise different positive real numbers such that

\displaystyle a_n=\sqrt{(x_1+x_2+\dots+x_n)\left(\frac{1}{x_1}+\frac{1}{x_2}+\dots+\frac{1}{x_n}\right)}is an integer for every {n=1,2,\dots,2023.} Prove that {a_{2023} \geqslant 3034.} 

Read more…

IMO 2023 Problem 1

July 12, 2023 Leave a comment

Problem 1. Determine all composite integers {n>1} that satisfy the following property: if {d_1, d_2, \ldots, d_k} are all the positive divisors of {n} with {1=d_1<d_2<\cdots<d_k=n}, then {d_i} divides {d_{i+1}+d_{i+2}} for every {1 \leqslant i \leqslant k-2}

Read more…

Problems of the International Mathematical Olympiad 2023

July 11, 2023 Leave a comment

Problem 1. Determine all composite integers {n>1} that satisfy the following property: if {d_1, d_2, \ldots, d_k} are all the positive divisors of {n} with {1=d_1<d_2<\cdots<d_k=n}, then {d_i} divides {d_{i+1}+d_{i+2}} for every {1 \leqslant i \leqslant k-2}

Problem 2. Let {ABC} be an acute-angled triangle with {AB < AC}. Let {\Omega} be the circumcircle of {ABC}. Let {S} be the midpoint of the arc {CB} of {\Omega} containing {A}. The perpendicular from {A} to {BC} meets {BS} at {D} and meets {\Omega} again at {E \neq A}. The line through {D} parallel to {BC} meets line {BE} at {L}. Denote the circumcircle of triangle {BDL} by {\omega}. Let {\omega} meet {\Omega} again at {P \neq B}. Prove that the line tangent to {\omega} at {P} meets line {BS} on the internal angle bisector of {\angle BAC}

Problem 3. For each integer {k \geqslant 2}, determine all infinite sequences of positive integers {a_1, a_2, \ldots} for which there exists a polynomial {P} of the form {P(x)=x^k+c_{k-1} x^{k-1}+\cdots+c_1 x+c_0}, where {c_0, c_1, \ldots, c_{k-1}} are non-negative integers, such that

\displaystyle P\left(a_n\right)=a_{n+1} a_{n+2} \cdots a_{n+k}

for every integer {n \geqslant 1}

Problem 4. Let {x_1,x_2,\dots,x_{2023}} be pairwise different positive real numbers such that

\displaystyle a_n=\sqrt{(x_1+x_2+\dots+x_n)\left(\frac{1}{x_1}+\frac{1}{x_2}+\dots+\frac{1}{x_n}\right)}

is an integer for every {n=1,2,\dots,2023.} Prove that {a_{2023} \geqslant 3034.} 

Problem 5. Let {n} be a positive integer. A Japanese triangle consists of {1 + 2 + \dots + n} circles arranged in an equilateral triangular shape such that for each {i = 1}, {2}, {\dots}, {n}, the {i^{th}} row contains exactly {i} circles, exactly one of which is coloured red. A ninja path in a Japanese triangle is a sequence of {n} circles obtained by starting in the top row, then repeatedly going from a circle to one of the two circles immediately below it and finishing in the bottom row. Here is an example of a Japanese triangle with {n = 6}, along with a ninja path in that triangle containing two red circles.

In terms of {n}, find the greatest {k} such that in each Japanese triangle there is a ninja path containing at least {k} red circles. 

Problem 6. Let {ABC} be an equilateral triangle. Let {A_1,B_1,C_1} be interior points of {ABC} such that {BA_1=A_1C}, {CB_1=B_1A}, {AC_1=C_1B}, and

\displaystyle \angle BA_1C+\angle CB_1A+\angle AC_1B=480^\circ

Let {BC_1} and {CB_1} meet at {A_2,} let {CA_1} and {AC_1} meet at {B_2,} and let {AB_1} and {BA_1} meet at {C_2.} Prove that if triangle {A_1B_1C_1} is scalene, then the three circumcircles of triangles {AA_1A_2, BB_1B_2} and {CC_1C_2} all pass through two common points.

(Note: a scalene triangle is one where no two sides have equal length.)

Source: imo-official.org, AOPS forums

Matrices with entries of the form f(i,j) in Matlab

October 7, 2022 Leave a comment

It is often necessary to define a matrix with entries A_{ij} = f(i,j) where i,j are line and column indices. Using loops is possible, but is not the most elegant solution. Also, it may not be the fastest. Here is a way to construct such matrices fast and easy: simply use meshgrid to construct the arrays of indices i, j. Take a look at the example below and construct your own:

N = 10;
[I,J] = meshgrid(1:N,1:N);
A = N+1-max(I,J);

Categories: Algebra, matlab Tags: , ,

IMO 2022 – Problem 2 – Non-standard functional equation

September 6, 2022 2 comments

Problem 2. Let {\Bbb R^+} denote the set of positive real numbers. Find all functions {f : \Bbb{R}^+ \rightarrow \Bbb{R}^+} such that for each {x \in \Bbb R^+}, there is exactly one {y \in \Bbb R^+} satisfying {xf(y) + yf(x) \leq 2}

Read more…

IMC 2022 – Day 1 – Problem 2

August 8, 2022 Leave a comment

Problem 2. Let {n} be a positive integer. Find all {n \times n} real matrices {A} having only real eigenvalues satisfying

\displaystyle A+A^k = A^T

for some integer {k \geq n}

Read more…

Weitzenböck’s inequality

June 2, 2022 3 comments

Given a triangle {\Delta ABC}, denote by {a,b,c} the lengths of the sides opposite to angles {A,B,C}. Also denote by {S} the area of the triangle. Weitzenbrock’s inequality states that the following holds:

\displaystyle a^2+b^2+c^2 \geq 4\sqrt{3}S.

There are multiple ways of proving this inequality. Perhaps one of the most straightforward ways to approach this is to use the law of sines and trigonometry. We have {a=2R\sin A} where {R} is the circumradius. Moreover, {R} is related to {S} by {R= \frac{abc}{4S}}. Thus

\displaystyle S = \frac{abc}{4R} = \frac{8R^3 \sin A\sin B\sin C}{4R} = 2R^2 \sin A\sin B\sin C.

Therefore the original inequality is equivalent to

\displaystyle \sin^2A +\sin^2 B+\sin^2 C \geq 2\sqrt{3} \sin A \sin B\sin C.

One would be tempted to try the arithmetic geometric mean inequality here, but that cannot work, since the inequality is not homogeneous and {A,B,C} are not free, they verify {A+B+C=\pi}. However, note that the function {\sin} is concave on {[0,\pi]} therefore, applying Jensen’s inequality we get

\displaystyle \sin A+\sin B+\sin C \leq 3\frac{\sqrt{3}}{2}.

As a consequence, using cyclic sums over {A,B,C}, we get

\displaystyle \frac{3\sqrt{3}}{2} \sum \sin^2 A \geq \sum \sin^2 A \sum \sin A\geq 9 \sin A\sin B\sin C,

where for the last inequality above we applied AM-GM inequality two times. Regrouping we obtain exactly

\displaystyle \sin^2A +\sin^2 B+\sin^2 C \geq 2\sqrt{3} \sin A \sin B\sin C,

which is equivalent to the original inequality. Note that with the same ideas we have

\displaystyle \frac{3\sqrt{3}}{2} \sum \sin A\sin B \geq \sum \sin A\sin B \sum \sin A\geq 9 \sin A\sin B\sin C,

showing that we also have

\displaystyle \sin A\sin B+\sin B\sin C+\sin C\sin A \geq 2\sqrt{3} \sin A \sin B\sin C.

Observe that the equality can hold only if the triangle is equilateral.

This leads to the stronger inequality

\displaystyle ab+bc+ca\geq 4\sqrt{3}S.

Other proofs can be found in the Wikipedia article.

It can be observed that combining the above inequalities we can get the isoperimetric inequality for triangles

(a+b+c)^2 \geq 12\sqrt{3}S,

where the equality holds if and only if the triangle is equilateral.

Balkan Mathematical Olympiad 2022

Problem 1. Let {ABC} be an acute triangle such that {CA \neq CB} with circumcircle {\omega} and circumcentre {O}. Let {t_A} and {t_B} be the tangents to {\omega} at {A} and {B} respectively, which meet at {X}. Let {Y} be the foot of the perpendicular from {O} onto the line segment {CX}. The line through {C} parallel to line {AB} meets {t_A} at {Z}. Prove that the line {YZ} passes through the midpoint of the line segment {AC}

Problem 2. Let {a, b} and {n} be positive integers with {a>b} such that all of the following hold:

i. {a^{2021}} divides {n},

ii. {b^{2021}} divides {n},

iii. 2022 divides {a-b}.

Prove that there is a subset {T} of the set of positive divisors of the number {n} such that the sum of the elements of {T} is divisible by 2022 but not divisible by {2022^2}

Problem 3. Find all functions {f: (0, \infty) \rightarrow (0, \infty)} such that f(y(f(x))^3 + x) = x^3f(y) + f(x) for all {x, y>0}

Problem 4. Consider an {n \times n} grid consisting of {n^2} until cells, where {n \geq 3} is a given odd positive integer. First, Dionysus colours each cell either red or blue. It is known that a frog can hop from one cell to another if and only if these cells have the same colour and share at least one vertex. Then, Xanthias views the colouring and next places {k} frogs on the cells so that each of the {n^2} cells can be reached by a frog in a finite number (possible zero) of hops. Find the least value of {k} for which this is always possible regardless of the colouring chosen by Dionysus.

Source: AOPS

Putnam 2021 – Day 1

February 7, 2022 Leave a comment

Here you can find the problems of the first day of the Putnam 2021 contest. Source.

A1. A grasshopper starts at the origin in the coordinate plane and makes a sequence of hops. Each hop has length {5}, and after each hop the grasshopper is at a point whose coordinates are both integers; thus, there are {12} possible locations for the grasshopper after the first hop. What is the smallest number of hops needed for the grasshopper to reach the point {(2021,2021)}

A2. For every positive real number {x}, let

\displaystyle g(x) = \lim_{r\rightarrow 0} \left((x+1)^{r+1}-x^{r+1}\right)^{\frac{1}{r}}.

Find {\lim_{x \rightarrow \infty} \frac{g(x)}{x}}

A3. Determine all positive integers {N} for which the sphere

\displaystyle x^2+y^2+z^2=N

has an inscribed regular tetrahedron whose vertices have integer coordinates. 

A4. Let

\displaystyle I(R)= \iint_{x^2+y^2\leq R^2} \left( \frac{1+2x^2}{1+x^4+6x^2y^2+y^4}-\frac{1+y^2}{2+x^4+y^4}\right) dx dy.

Find {\lim_{R\rightarrow \infty} I(R)}, or show that this limit does not exist. 

A5. Let {A} be the set of all integers {n} such that {1 \leq n \leq 2021} and {\gcd (n,2021)=1}. For every nonnegative integer {j}, let

\displaystyle S_j = \sum_{n\in A} n^j.

Determine all values of {j} such that {S(j)} is a multiple of {2021}

A6. Let {P(x)} be a polynomial whose coefficients are all either {0} or {1}. Suppose that {P(x)} can be written as a product of two nonconstant polynomials with integer coefficients. Does it follow that {P(2)} is a composite integer?

IMC 2021 Problems – Day 1

September 1, 2021 Leave a comment

Problem 1. Let {A} be a real {n\times n} matrix such that {A^3=0}.

(a) Prove that there is a unique real {n\times n} matrix {X} that satisfies the equation

\displaystyle X+AX+XA^2 = A.

(b) Express {X} in terms of {A} 

Problem 2. Let {n} and {k} be fixed positive integers, and let {a} be an arbitrary non-negative integer. Choose a random {k}-element subset {X} of {\{1,2,...,k+a\}} uniformly (i.e., all {k}-element subsets are chosen with the same probability) and, independently of {X}, choose a random {n}-element subset {Y} of {\{1,...,k+n+a\}} uniformly. Prove that the probability

\displaystyle P(\min(Y)>\max(X))does not depend on {a}

Problem 3. We say that a positive real number {d} is good if there exists an infinite sequence {a_1,a_2,... \in (0,d)} such that for each {n} the points {a_1,...,a_n} partition the interval {[0,d]} into segments of length at most {1/n} each. Find \displaystyle \sup \{d | d\text{ is good} \}

Problem 4. Let {f: \Bbb{R}\rightarrow \Bbb{R}} be a function. Suppose that for every {\varepsilon>0} there exists a function {g: \Bbb{R}\rightarrow (0,\infty)} such that for every pair {(x,y)} of real numbers if {|x-y|<\min\{g(x),g(y)\}} then {|f(x)-f(y)|<\varepsilon}.

Prove that {f} is the pointwise limit of a sequence of continuous functions, i.e. there is a sequence of functions {h_n :\Bbb{R} \rightarrow \Bbb{R}} such that {\lim_{n\rightarrow \infty} h_n(x) = f(x)} for every {x \in \Bbb{R}}.

Putnam 2020 problems – Day 1

March 19, 2021 Leave a comment

A1. How many positive integers {N} satisfy all of the following three conditions?

  • (i) {N} is divisible by {2020}.
  • (ii) {N} has at most {2020} decimal digits.
  • (iii) The decimal digits of {N} are a string of consecutive ones followed by a string of consecutive zeros.

A2. Let {k} be a nonnegative integer. Evaluate

\displaystyle \sum_{j=0}^k 2^{k-j} {k+j \choose j}.

A3. Let {a_0=\pi/2} and {a_n = \sin(a_{n-1})} for {n\geq 1}. Determine whether

\displaystyle \sum_{n=1}^\infty a_n^2

converges.

A4. Consider a horizontal strip of {N+2} squares in which the first and the last square are black and the remaining {N} squares are all white. Choose a white square uniformly at random, choose one of its two neighbors with equal probability, and color this neighboring square black if it is not already black. Repeat this process untill all the remaining white squares have only black neighbors. Let {w(N)} be the expected number of white squares remaining. Find

\displaystyle \lim_{N \rightarrow \infty} \frac{w(N)}{N}.

A5. Let {a_n} be the number of sets {S} of positive integers for which

\displaystyle \sum_{ k \in S} F_k = n,where the Fibonacci sequence {(F_k)_{k\geq 1}} satisfies {F_{k+2}=F_{k+1}+F_k} and begins with {F_1=1,F_2=1,F_3=2,F_4=3}. Find the largest integer {n} such that {a_n = 2020}.

A6. For a positive integer {N}, let {f_N} be the function defined by

\displaystyle f_N(x) = \sum_{n=0}^N \frac{N+1/2-n}{(N+1)(2n+1)}\sin ((2n+1)x).Determine the smallest constant {M} such that {f_N(x)\leq M} for all {N} and all real {x}.

Source: https://kskedlaya.org/putnam-archive/

Minimal squared sum minus sum of squares

October 10, 2020 2 comments

a) Let {x_1,...,x_n} be real numbers such that {\sum_{i=1}^n |x_i|\leq 1}. Then

\displaystyle \left(\sum_{i=1}^n x_i\right)^2-\sum_{i=1}^n x_i^2 \geq -\frac{1}{2}.

b) Prove that if {\sum_{i=1}^n x_i^2 = \sum_{i=1}^n y_i^2 = 1} then

\displaystyle \left(\sum_{i=1}^n x_iy_i\right)-\sum_{i=1}^n x_i^2y_i^2 \geq -\frac{1}{2}.

Solution: a) Denote with {s_+} and {s_-} the sum of positive and negative terms among the {x_i}:

\displaystyle s_+ = \sum_{x_i\geq 0} x_i,\ s_- = -\sum_{x_i<0} x_i.It is obvious that {\sum_{i=1}^n x_i^2 \leq s_+^2+s_-^2} (it is enough to expand the sums). Moreover, the equality is attained here only if {s_+} and {s_-} contain at most one non-zero term.

Therefore, if {(s_+-s_-)^2-s_+^2-s_-^2\geq -\frac{1}{2}} the original inequality would be proved. This is equivalent to {s_+s_- \leq \frac{1}{4}}. But {s_++s_- = \sum_{i=1}^n |x_i|\leq 1}, which directly implies {s_+s_-\leq \frac{1}{4}}.

Let us now discuss the equality case. Equality holds if and only if {s_+s_-=1/4}. Since {1 \geq (s_++s_-)^2 \geq 4s_+s_-=1} it follows that {s_+=s_-=1/2}. Moreover, equality should also hold in

\displaystyle \sum_{i=1}^n x_i^2 = s_+^2+s_-^2.This means that all but one elements in {s_+} and in {s_-} are zero, which shows that the equality case is attaned for {(1/2,-1/2,0,0...,0)}.

b) It is enough to apply a) for {x_i : = x_iy_i} noting that

\displaystyle (\sum_{i=1}^n |x_iy_i|)^2 \leq \sum_{i=1}^n x_i^2\sum_{i=1}^n y_i^2=1.

Source: The solution here was inspired from the following MathOverflow answer: link.

Categories: Algebra, Inequalities Tags:

IMO 2020 Problems

September 23, 2020 Leave a comment

Problem 1. Consider the convex quadrilateral {ABCD}. The point {P} is in the interior of {ABCD}. The following ratio equalities hold:

\displaystyle \angle PAD : \angle PBA : \angle DPA = 1:2:3 = \angle CBP : \angle BAP : \angle BPC.

Prove that the following three lines meet in a point: the internal bisectors of angles {\angle ADP} and {\angle PCB} and the perpendicular bisector of segment {AB}.

Problem 2. The real numbers {a,b,c,d} are such that {a \geq b \geq c \geq d>0} and {a+b+c+d=1}. Prove that

\displaystyle (a+2b+3c+4d)a^ab^bc^cd^d<1.

Problem 3. There are {4n} pebbles of weights {1,2,3,...,4n}. Each pebble is coloured in one of {n} colours and there are four pebbles of each colour. Show that we can arrange the pebbles into two piles so that the following two conditions are both satisfied:

  • The total weights of both piles are the same.
  • Each pile contains two pebbles of each colour.

Problem 4. There is an integer {n>1}. There are {n^2} stations on a slope of a mountain, all at different altitudes. Each of two cable car companies, {A} and {B}, operaters {k} cable cars; each cable car provides a transfer from one of the stations to a higher one (with no intermediate stops). The {k} cable cars of {A} have {k} different starting points and {k} different finishing points, and a cable car which starts higher also finishes higher. The same conditions hold for {B}. We say that two stations are linked by a company if one can start from the lower station and reach the higher one by using one or more cars of that company (no other movements between stations are allowed). Determine the smallest positive {k} for which one can guarantee that there are two stations that are linked by both companies. 

Problem 5. A deck of {n>1} cards is given. A positive integer is written on each card. The deck has the property that the arithmetic mean of the numbers on each pair of cards is also the geometric mean of the numbers on some collection of one or more cards.

For which {n} does it follow that the numbers on all cards are all equal? 

Problem 6. Prove that there exists a positive constant {c} such that the following statement is true:

Consider an integer {n>1}, and a set {\mathcal S} of {n} points in the plane such that the distance between any two different points in {\mathcal S} is at least {1}. It follows that there is a line {\ell} separating {\mathcal S} such that the distance for any point of {\mathcal S} to {\ell} is at least {c n^{1/3}}.

(A line {\ell} separates a set of points {\mathcal S} if some segment joining two points in {\mathcal S} crosses {\ell}.) 

Note. Weaker results with {cn^{1/3}} replaced with {cn^\alpha} may be awarded points depending on the value of the constant {\alpha>1/3}.

Source: imo-official.org

IMC 2020 Day 1 – Some Hints for Problems 1-2

August 31, 2020 1 comment

Problem 1. Let {n} be a positive integer. Compute the number of words {w} (finite sequences of letters) that satisfy all the following requirements: (1) {w} consists of {n} letters, all of them from the alphabet {\{a,b,c,d\}} (2) {w} contains an even number of letters {a} (3) {w} contains an even number of letters {b} (For example, for {n=2} there are {6} such words: {aa, bb, cc,dd,cd} and {dc}.)

(proposed by Armend Sh. Shabani, University of Prishtina)

Hint:  In order to get a formula for the total number of words it is enough to note that the even number 2k of a’s can be distributed in {n\choose 2k} ways among the possible positions, and the even number of 2l b’s can be distributed in {n-2k\choose 2l} ways among the remaining positions. Once the a’s and b’s are there, the rest can be filled with c’s and d’s in 2^{n-2k-2l} ways.  This gives

\displaystyle \sum_{k=0}^{n/2} \sum_{l=0}^{n/2-k}{n\choose 2k}{n-2k\choose 2l}2^{n-2k-2l}

Next, use some tricks regarding expansions of (a+b)^n+(a-b)^n to compress the sum above to 4^{n-1}+2^{n-1}.

Problem 2. Let {A} and {B} be {n\times n} real matrices such that

\displaystyle \text{rank}(AB-BA+I) = 1,

where {I} is the {n\times n} identity matrix. Prove that

\displaystyle \text{tr}(ABAB)-\text{tr}(A^2B^2) = \frac{1}{2}n(n-1).

(proposed by Rustam Turdibaev, V.I. Romanovskiy Institute of Mathematics)

Hint: Every time you hear about a rank 1 matrix you should think of “column matrix times line matrix”. Indeed, writing AB-BA+I = cd^T with c,d column vectors, gives AB-BA = cd^T-I. Moreover, taking trace in the above equality and using the fact that you can perform circular permutations in products in traces, you obtain that tr(cd^T) = d^Tc = n.

Moreover, squaring AB-BA = cd^T-I gives

\displaystyle ABAB+BABA-ABBA-BAAB = d^Tc(cd^T) - 2d^Tc+I

Taking trace above gives the desired result!

IMC 2020 Online – Problems – Day 1

August 28, 2020 Leave a comment

Problem 1. Let {n} be a positive integer. Compute the number of words {w} (finite sequences of letters) that satisfy all the following requirements: (1) {w} consists of {n} letters, all of them from the alphabet {\{a,b,c,d\}} (2) {w} contains an even number of letters {a} (3) {w} contains an even number of letters {b} (For example, for {n=2} there are {6} such words: {aa, bb, cc,dd,cd} and {dc}.)

(proposed by Armend Sh. Shabani, University of Prishtina)

Problem 2. Let {A} and {B} be {n\times n} real matrices such that

\displaystyle \text{rank}(AB-BA+I) = 1,

where {I} is the {n\times n} identity matrix. Prove that

\displaystyle \text{tr}(ABAB)-\text{tr}(A^2B^2) = \frac{1}{2}n(n-1).

(proposed by Rustam Turdibaev, V.I. Romanovskiy Institute of Mathematics)

Problem 3. Let {d \geq 2} be an integer. Prove that there exists a constant {C(d)} such that the following holds: For any convex polytope {K\subset \Bbb{R}^d}, which is symmetric about the origin, and any {\varepsilon \in (0,1)}, there exists a convex polytope {L \subset \Bbb{R}^d} with at most {C(d) \varepsilon^{1-d}} vertices such that

\displaystyle (1-\varepsilon)K \subseteq L \subset K.

(For a real {\alpha}, a set {T\subset \Bbb{R}^d} with nonempty interior is a convex polytope with at most {\alpha} vertices if {T} is a convex hull of a set {X \subset \Bbb{R}^d} of at most {\alpha} points.)

(proposed by Fedor Petrov, St. Petersburg State University)

Problem 4. A polynomial {p} with real coefficients satisfies the equation {p(x+1)-p(x) = x^{100}} for all {x \in \Bbb{R}}. Prove that {p(1-t)\geq p(t)} for {0\leq t\leq 1/2}.

(proposed by Daniil Klyuev, St. Petersburg State University)

source: http://www.imc-math.org

Sum of floors of multiples of the Golden Ratio

July 25, 2020 1 comment

Propose an algorithm for computing

\displaystyle S_n = \sum_{i=1}^n \lfloor i\varphi \rfloor

for {n=10^{16}}, where {\varphi= \frac{\sqrt{5}+1}{2}} is the golden ratio. The sum {S_n} is the sum of the first {n} terms in the so called lower Wythoff sequence.

Solution: Computing a floor function and a multiplication is not complicated, therefore proposing a {O(n)} algorithm for computing {S_n} is trivial. However, such an algorithm is not viable for {n = 10^{16}}.

The path to a much more efficient algorithm goes through the notion of Beatty sequence. For a positive irrational number {r>1} the associated Beatty sequence is {(\lfloor nr\rfloor)_{n\geq 1}}. This notion becomes interesting when noting the following fact. If {s>1} is defined by {1/r+1/s=1} then the Beatty sequences {(\lfloor nr\rfloor)_{n\geq 1}} and {(\lfloor ns\rfloor)_{n\geq 1}} cover all the positive integers. The latter sequence is called the associated complementary Beatty sequence. Two proofs of this fact can be found in the Wikipedia link above.

It is obvious now that {S_n} is just the partial sum of the Beatty sequence associated to {\varphi}. Now let’s see what is the complementary sequence. A brief computation shows that the associated {s} is given by {s=\varphi+1}, which shows that the terms which are not of the form {\lfloor i\varphi\rfloor} are not far from it. In order to see how this can give an efficient algorithm, let’s follow the instructions below:

  • denote by {N = \lfloor n\varphi \rfloor}, the largest term in {S_n}.
  • looking at all the integers up to {N}, in view of the result regarding the Beatty sequences, they are either of the form {\lfloor i\varphi \rfloor} or of the form {\lfloor j(\varphi+1) \rfloor} (in the associated complementary sequence).
  • denote by {J} the largest integer such that {\lfloor j(\varphi+1) \rfloor< N}, which is given by {J = \lfloor (N+1)/(\varphi+1)\rfloor}. Then, it is not difficult to see that {S_n} is the difference between the sum of all positive integers up to {N} and {S_J+1+...+J}.
  • In the end we obtain

    \displaystyle S_n = N(N+1)/2 - S_J-J(J+1)/2.

  • by convention, state that {S_0=0} or {S_1=1}.

The last item above shows that a recursive algorithm can be implemented in order to compute {S_n}. Moreover, since the computation of {S_n} is reduced to the computation of {S_J} where {J = \lfloor (\lfloor n\varphi\rfloor+1)/(\varphi+1)\rfloor\leq n \frac{\varphi}{\varphi+1}+\frac{1}{\varphi+1}}, the algorithm will converge very fast, since the sequence of upper bounds for {J} converges exponentially to zero. Therefore, the algorithm obtained will have complexity {O(\log n)} and will work for extremely large values of {n}, provided the language you are using can handle the expected precision.

The algorithm for computing {S_n} shown above can be used, for example, in computing sums related to elements in the Wythoff table, which can be expressed using Fibonacci numbers and terms in {S_n}.

Other values of {r}, like for example {r=\sqrt{2}} (with {s=2+\sqrt{2}}) lead to other types of sums for which the same type of algorithm can be applied. It is likely that even cases where {s} is not explicitly related to {r} through an integer may be handled through a similar procedure (to be confirmed).