We have your learning goals covered with Spring and Summer courses available. Enroll today!

G
Topic
First Poster
Last Poster
k a March Highlights and 2025 AoPS Online Class Information
jlacosta   0
Mar 2, 2025
March is the month for State MATHCOUNTS competitions! Kudos to everyone who participated in their local chapter competitions and best of luck to all going to State! Join us on March 11th for a Math Jam devoted to our favorite Chapter competition problems! Are you interested in training for MATHCOUNTS? Be sure to check out our AMC 8/MATHCOUNTS Basics and Advanced courses.

Are you ready to level up with Olympiad training? Registration is open with early bird pricing available for our WOOT programs: MathWOOT (Levels 1 and 2), CodeWOOT, PhysicsWOOT, and ChemWOOT. What is WOOT? WOOT stands for Worldwide Online Olympiad Training and is a 7-month high school math Olympiad preparation and testing program that brings together many of the best students from around the world to learn Olympiad problem solving skills. Classes begin in September!

Do you have plans this summer? There are so many options to fit your schedule and goals whether attending a summer camp or taking online classes, it can be a great break from the routine of the school year. Check out our summer courses at AoPS Online, or if you want a math or language arts class that doesn’t have homework, but is an enriching summer experience, our AoPS Virtual Campus summer camps may be just the ticket! We are expanding our locations for our AoPS Academies across the country with 15 locations so far and new campuses opening in Saratoga CA, Johns Creek GA, and the Upper West Side NY. Check out this page for summer camp information.

Be sure to mark your calendars for the following events:
[list][*]March 5th (Wednesday), 4:30pm PT/7:30pm ET, HCSSiM Math Jam 2025. Amber Verser, Assistant Director of the Hampshire College Summer Studies in Mathematics, will host an information session about HCSSiM, a summer program for high school students.
[*]March 6th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar on Math Competitions from elementary through high school. Join us for an enlightening session that demystifies the world of math competitions and helps you make informed decisions about your contest journey.
[*]March 11th (Tuesday), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS Chapter Discussion MATH JAM. AoPS instructors will discuss some of their favorite problems from the MATHCOUNTS Chapter Competition. All are welcome!
[*]March 13th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar about Summer Camps at the Virtual Campus. Transform your summer into an unforgettable learning adventure! From elementary through high school, we offer dynamic summer camps featuring topics in mathematics, language arts, and competition preparation - all designed to fit your schedule and ignite your passion for learning.[/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Sunday, Mar 2 - Jun 22
Friday, Mar 28 - Jul 18
Sunday, Apr 13 - Aug 10
Tuesday, May 13 - Aug 26
Thursday, May 29 - Sep 11
Sunday, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
Wednesday, Jul 16 - Oct 29

Prealgebra 2 Self-Paced

Prealgebra 2
Tuesday, Mar 25 - Jul 8
Sunday, Apr 13 - Aug 10
Wednesday, May 7 - Aug 20
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
Friday, Jul 25 - Nov 21


Introduction to Algebra A Self-Paced

Introduction to Algebra A
Sunday, Mar 23 - Jul 20
Monday, Apr 7 - Jul 28
Sunday, May 11 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, May 14 - Aug 27
Friday, May 30 - Sep 26
Monday, Jun 2 - Sep 22
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
Tuesday, Jul 15 - Oct 28

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Sunday, Mar 16 - Jun 8
Wednesday, Apr 16 - Jul 2
Thursday, May 15 - Jul 31
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Wednesday, Jul 9 - Sep 24
Sunday, Jul 27 - Oct 19

Introduction to Number Theory
Monday, Mar 17 - Jun 9
Thursday, Apr 17 - Jul 3
Friday, May 9 - Aug 1
Wednesday, May 21 - Aug 6
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
Tuesday, Jul 15 - Sep 30

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Sunday, Mar 2 - Jun 22
Wednesday, Apr 16 - Jul 30
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
Tuesday, Mar 4 - Aug 12
Sunday, Mar 23 - Sep 21
Wednesday, Apr 23 - Oct 1
Sunday, May 11 - Nov 9
Tuesday, May 20 - Oct 28
Monday, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
Monday, Jul 14 - Jan 19

Intermediate: Grades 8-12

Intermediate Algebra
Sunday, Mar 16 - Sep 14
Tuesday, Mar 25 - Sep 2
Monday, Apr 21 - Oct 13
Sunday, Jun 1 - Nov 23
Tuesday, Jun 10 - Nov 18
Wednesday, Jun 25 - Dec 10
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22

Intermediate Counting & Probability
Sunday, Mar 23 - Aug 3
Wednesday, May 21 - Sep 17
Sunday, Jun 22 - Nov 2

Intermediate Number Theory
Friday, Apr 11 - Jun 27
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

Precalculus
Sunday, Mar 16 - Aug 24
Wednesday, Apr 9 - Sep 3
Friday, May 16 - Oct 24
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8

Advanced: Grades 9-12

Olympiad Geometry
Wednesday, Mar 5 - May 21
Tuesday, Jun 10 - Aug 26

Calculus
Sunday, Mar 30 - Oct 5
Tuesday, May 27 - Nov 11
Wednesday, Jun 25 - Dec 17

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Sunday, Mar 23 - Jun 15
Wednesday, Apr 16 - Jul 2
Friday, May 23 - Aug 15
Monday, Jun 2 - Aug 18
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

MATHCOUNTS/AMC 8 Advanced
Friday, Apr 11 - Jun 27
Sunday, May 11 - Aug 10
Tuesday, May 27 - Aug 12
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Problem Series
Tuesday, Mar 4 - May 20
Monday, Mar 31 - Jun 23
Friday, May 9 - Aug 1
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Tuesday, Jun 17 - Sep 2
Sunday, Jun 22 - Sep 21 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Jun 23 - Sep 15
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Final Fives
Sunday, May 11 - Jun 8
Tuesday, May 27 - Jun 17
Monday, Jun 30 - Jul 21

AMC 12 Problem Series
Tuesday, May 27 - Aug 12
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Wednesday, Aug 6 - Oct 22

AMC 12 Final Fives
Sunday, May 18 - Jun 15

F=ma Problem Series
Wednesday, Jun 11 - Aug 27

WOOT Programs
Visit the pages linked for full schedule details for each of these programs!


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

Introduction to Programming with Python
Monday, Mar 24 - Jun 16
Thursday, May 22 - Aug 7
Sunday, Jun 15 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Tuesday, Jun 17 - Sep 2
Monday, Jun 30 - Sep 22

Intermediate Programming with Python
Sunday, Jun 1 - Aug 24
Monday, Jun 30 - Sep 22

USACO Bronze Problem Series
Tuesday, May 13 - Jul 29
Sunday, Jun 22 - Sep 1

Physics

Introduction to Physics
Sunday, Mar 30 - Jun 22
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Tuesday, Mar 25 - Sep 2
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Mar 2, 2025
0 replies
k i Adding contests to the Contest Collections
dcouchman   1
N Apr 5, 2023 by v_Enhance
Want to help AoPS remain a valuable Olympiad resource? Help us add contests to AoPS's Contest Collections.

Find instructions and a list of contests to add here: https://artofproblemsolving.com/community/c40244h1064480_contests_to_add
1 reply
dcouchman
Sep 9, 2019
v_Enhance
Apr 5, 2023
k i Zero tolerance
ZetaX   49
N May 4, 2019 by NoDealsHere
Source: Use your common sense! (enough is enough)
Some users don't want to learn, some other simply ignore advises.
But please follow the following guideline:


To make it short: ALWAYS USE YOUR COMMON SENSE IF POSTING!
If you don't have common sense, don't post.


More specifically:

For new threads:


a) Good, meaningful title:
The title has to say what the problem is about in best way possible.
If that title occured already, it's definitely bad. And contest names aren't good either.
That's in fact a requirement for being able to search old problems.

Examples:
Bad titles:
- "Hard"/"Medium"/"Easy" (if you find it so cool how hard/easy it is, tell it in the post and use a title that tells us the problem)
- "Number Theory" (hey guy, guess why this forum's named that way¿ and is it the only such problem on earth¿)
- "Fibonacci" (there are millions of Fibonacci problems out there, all posted and named the same...)
- "Chinese TST 2003" (does this say anything about the problem¿)
Good titles:
- "On divisors of a³+2b³+4c³-6abc"
- "Number of solutions to x²+y²=6z²"
- "Fibonacci numbers are never squares"


b) Use search function:
Before posting a "new" problem spend at least two, better five, minutes to look if this problem was posted before. If it was, don't repost it. If you have anything important to say on topic, post it in one of the older threads.
If the thread is locked cause of this, use search function.

Update (by Amir Hossein). The best way to search for two keywords in AoPS is to input
[code]+"first keyword" +"second keyword"[/code]
so that any post containing both strings "first word" and "second form".


c) Good problem statement:
Some recent really bad post was:
[quote]$lim_{n\to 1}^{+\infty}\frac{1}{n}-lnn$[/quote]
It contains no question and no answer.
If you do this, too, you are on the best way to get your thread deleted. Write everything clearly, define where your variables come from (and define the "natural" numbers if used). Additionally read your post at least twice before submitting. After you sent it, read it again and use the Edit-Button if necessary to correct errors.


For answers to already existing threads:


d) Of any interest and with content:
Don't post things that are more trivial than completely obvious. For example, if the question is to solve $x^{3}+y^{3}=z^{3}$, do not answer with "$x=y=z=0$ is a solution" only. Either you post any kind of proof or at least something unexpected (like "$x=1337, y=481, z=42$ is the smallest solution). Someone that does not see that $x=y=z=0$ is a solution of the above without your post is completely wrong here, this is an IMO-level forum.
Similar, posting "I have solved this problem" but not posting anything else is not welcome; it even looks that you just want to show off what a genius you are.

e) Well written and checked answers:
Like c) for new threads, check your solutions at least twice for mistakes. And after sending, read it again and use the Edit-Button if necessary to correct errors.



To repeat it: ALWAYS USE YOUR COMMON SENSE IF POSTING!


Everything definitely out of range of common sense will be locked or deleted (exept for new users having less than about 42 posts, they are newbies and need/get some time to learn).

The above rules will be applied from next monday (5. march of 2007).
Feel free to discuss on this here.
49 replies
ZetaX
Feb 27, 2007
NoDealsHere
May 4, 2019
This problem has unintended solution, found by almost all who solved it :(
mshtand1   4
N 5 minutes ago by Ilikeminecraft
Source: Ukrainian Mathematical Olympiad 2025. Day 2, Problem 11.7
Given a triangle \(ABC\), an arbitrary point \(D\) is chosen on the side \(AC\). In triangles \(ABD\) and \(CBD\), the angle bisectors \(BK\) and \(BL\) are drawn, respectively. The point \(O\) is the circumcenter of \(\triangle KBL\). Prove that the second intersection point of the circumcircles of triangles \(ABL\) and \(CBK\) lies on the line \(OD\).

Proposed by Anton Trygub
4 replies
mshtand1
Today at 1:00 AM
Ilikeminecraft
5 minutes ago
USAMO 2001 Problem 4
MithsApprentice   32
N 31 minutes ago by HamstPan38825
Let $P$ be a point in the plane of triangle $ABC$ such that the segments $PA$, $PB$, and $PC$ are the sides of an obtuse triangle. Assume that in this triangle the obtuse angle opposes the side congruent to $PA$. Prove that $\angle BAC$ is acute.
32 replies
+1 w
MithsApprentice
Sep 30, 2005
HamstPan38825
31 minutes ago
APMO 2016: Line is tangent to circle
shinichiman   41
N 39 minutes ago by Ilikeminecraft
Source: APMO 2016, problem 3
Let $AB$ and $AC$ be two distinct rays not lying on the same line, and let $\omega$ be a circle with center $O$ that is tangent to ray $AC$ at $E$ and ray $AB$ at $F$. Let $R$ be a point on segment $EF$. The line through $O$ parallel to $EF$ intersects line $AB$ at $P$. Let $N$ be the intersection of lines $PR$ and $AC$, and let $M$ be the intersection of line $AB$ and the line through $R$ parallel to $AC$. Prove that line $MN$ is tangent to $\omega$.

Warut Suksompong, Thailand
41 replies
shinichiman
May 16, 2016
Ilikeminecraft
39 minutes ago
Parallelogram and a simple cyclic quadrilateral
Noob_at_math_69_level   5
N an hour ago by awesomeming327.
Source: DGO 2023 Individual P1
Let $ABC$ be an acute triangle with point $D$ lie on the plane such that $ABDC$ is a parallelogram. $H$ is the orthocenter of $\triangle{ABC}.$ $BH$ intersects $CD$ at $Y$ and $CH$ intersects $BD$ at $X.$ The circle with diameter $AH$ intersects the circumcircle of $\triangle{ABC}$ again at $Q.$ Prove that: The circumcircle of $\triangle{XQY}$ passes through the reflection point of $D$ over $BC.$

Proposed by MathLuis
5 replies
Noob_at_math_69_level
Dec 18, 2023
awesomeming327.
an hour ago
Line through incenter tangent to a circle
Kayak   31
N an hour ago by ihategeo_1969
Source: Indian TST D1 P1
In an acute angled triangle $ABC$ with $AB < AC$, let $I$ denote the incenter and $M$ the midpoint of side $BC$. The line through $A$ perpendicular to $AI$ intersects the tangent from $M$ to the incircle (different from line $BC$) at a point $P$> Show that $AI$ is tangent to the circumcircle of triangle $MIP$.

Proposed by Tejaswi Navilarekallu
31 replies
Kayak
Jul 17, 2019
ihategeo_1969
an hour ago
Changeable polynomials, can they ever become equal?
mshtand1   3
N an hour ago by CHESSR1DER
Source: Ukrainian Mathematical Olympiad 2025. Day 2, Problem 11.5
Initially, two constant polynomials are written on the board: \(0\) and \(1\). At each step, it is allowed to add \(1\) to one of the polynomials and to multiply another one by the polynomial \(45x + 2025\). Can the polynomials become equal at some point?

Proposed by Oleksii Masalitin
3 replies
mshtand1
Today at 12:47 AM
CHESSR1DER
an hour ago
Finally my algebra that I am proud of
mshtand1   1
N 2 hours ago by RagvaloD
Source: Ukrainian Mathematical Olympiad 2025. Day 2, Problem 8.7
Find the smallest real number \(a\) such that for any positive integer number \(n > 2\) and any arrangement of the numbers from 1 to \(n\) on a circle, there exists a pair of adjacent numbers whose ratio (when dividing the larger number by the smaller one) is less than \(a\).

Proposed by Mykhailo Shtandenko
1 reply
mshtand1
Yesterday at 11:59 PM
RagvaloD
2 hours ago
f(2) = 7, find all integer functions [Taiwan 2014 Quizzes]
v_Enhance   54
N 2 hours ago by Marcus_Zhang
Find all increasing functions $f$ from the nonnegative integers to the integers satisfying $f(2)=7$ and \[ f(mn) = f(m) + f(n) + f(m)f(n) \] for all nonnegative integers $m$ and $n$.
54 replies
v_Enhance
Jul 18, 2014
Marcus_Zhang
2 hours ago
Floor double summation
CyclicISLscelesTrapezoid   50
N 2 hours ago by Ilikeminecraft
Source: ISL 2021 A2
Which positive integers $n$ make the equation \[\sum_{i=1}^n \sum_{j=1}^n \left\lfloor \frac{ij}{n+1} \right\rfloor=\frac{n^2(n-1)}{4}\]true?
50 replies
CyclicISLscelesTrapezoid
Jul 12, 2022
Ilikeminecraft
2 hours ago
Binary expansion of sqrt3
v_Enhance   29
N 2 hours ago by Jack_w
Source: USA January TST for IMO 2016, Problem 1
Let $\sqrt 3 = 1.b_1b_2b_3 \dots _{(2)}$ be the binary representation of $\sqrt 3$. Prove that for any positive integer $n$, at least one of the digits $b_n$, $b_{n+1}$, $\dots$, $b_{2n}$ equals $1$.
29 replies
v_Enhance
May 17, 2016
Jack_w
2 hours ago
number theory
MuradSafarli   6
N 3 hours ago by fathermather_AZE
Find all natural numbers \( k \) such that

\[
4k^3 + 4k + 1
\]
is a perfect square.
6 replies
MuradSafarli
Today at 6:05 AM
fathermather_AZE
3 hours ago
Of course nobody solved it
mshtand1   1
N 3 hours ago by kiyoras_2001
Source: Ukrainian Mathematical Olympiad 2025. Day 1, Problem 9.4
There are \(n^2 + n\) numbers, none of which appears more than \(\frac{n^2 + n}{2}\) times. Prove that they can be divided into \((n+1)\) groups of \(n\) numbers each in such a way that the sums of the numbers in these groups are pairwise distinct.

Proposed by Anton Trygub
1 reply
mshtand1
Yesterday at 11:08 PM
kiyoras_2001
3 hours ago
A kite inside a cyclic
ricarlos   1
N 3 hours ago by MathLuis
Let $ABCD$ be a cyclic quadrilateral. $AC$ and $BD$ intersect at $E$. Let $P$ and $Q$ be the projections of $E$ onto $AB$ and $CD$ and $M$ and $N$ be the midpoints of $BC$ and $AD$, respectively. Prove that $PMQN$ is a kite.
1 reply
ricarlos
4 hours ago
MathLuis
3 hours ago
numbers on blackboard
QueenArwen   1
N 3 hours ago by WallyWalrus
Source: 46th International Tournament of Towns, Junior O-Level P1, Spring 2025
On the blackboard, there are numbers $1, 2, \dots , 100$. At each move, Bob erases arbitrary two numbers $a$ and $b$, where $a \ge b > 0$, and writes the single number $\lfloor{a/b}\rfloor$. After $99$ such moves the blackboard will contain a single number. What is its maximum possible value? (Reminder that $\lfloor{x}\rfloor$ is the maximum integer not exceeding $x$.)
1 reply
QueenArwen
Mar 11, 2025
WallyWalrus
3 hours ago
|a_i/a_j - a_k/a_l| <= C
mathwizard888   31
N Jul 16, 2024 by Sedro
Source: 2016 IMO Shortlist A2
Find the smallest constant $C > 0$ for which the following statement holds: among any five positive real numbers $a_1,a_2,a_3,a_4,a_5$ (not necessarily distinct), one can always choose distinct subscripts $i,j,k,l$ such that
\[ \left| \frac{a_i}{a_j} - \frac {a_k}{a_l} \right| \le C. \]
31 replies
mathwizard888
Jul 19, 2017
Sedro
Jul 16, 2024
|a_i/a_j - a_k/a_l| <= C
G H J
G H BBookmark kLocked kLocked NReply
Source: 2016 IMO Shortlist A2
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathwizard888
1635 posts
#1 • 10 Y
Y by Davi-8191, Kezer, rkm0959, Tawan, brokendiamond, HolyMath, megarnie, Adventure10, Mango247, lian_the_noob12
Find the smallest constant $C > 0$ for which the following statement holds: among any five positive real numbers $a_1,a_2,a_3,a_4,a_5$ (not necessarily distinct), one can always choose distinct subscripts $i,j,k,l$ such that
\[ \left| \frac{a_i}{a_j} - \frac {a_k}{a_l} \right| \le C. \]
This post has been edited 1 time. Last edited by mathwizard888, Jul 19, 2017, 6:09 PM
Reason: match official wording
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
v_Enhance
6857 posts
#2 • 26 Y
Y by Kezer, samuel, vsathiam, Tawan, Olympiad5642, futurestar, A_Math_Lover, sriraamster, ayan_mathematics_king, rashah76, Imayormaynotknowcalculus, Aryan-23, Mathematicsislovely, mijail, v4913, IAmTheHazard, HamstPan38825, Modesti, meowme, Quidditch, centslordm, Adventure10, Mango247, chakrabortyahan, Stuffybear, Sedro
The answer is $C = \frac{1}{2}$. For construction, take the five numbers $\varepsilon$, $1$, $2-\varepsilon$, $2$, $2+\varepsilon$ for arbitrarily small $\varepsilon$.

We now show selecting the five numbers is always possible. Assuming the numbers are $a < b < c < d < e$, consider the five fractions \[ a/c, \quad b/d, \quad c/e, \quad a/d, \quad b/e \]and arrange them in a pentagon. These fractions are less than $1$, so three of them must be on the same side of $\frac{1}{2}$; two are adjacent on the pentagon and give the desired.

Remark: Finding the answer is a large part of the difficulty of this problem. The way I motivated is solving the sub-problem with four numbers $a < b < c < d$, the minimum fraction is $|\frac{a}{c} - \frac{b}{d}|$ (check this). Thus given five distinct numbers $a < b < c < d < e$, the five values in consideration are:
  • $a/c - b/d$
  • $a/c - b/e$
  • $a/d - b/e$
  • $a/d - c/e$
  • $b/d - c/e$
One can then arrange these five fractions (less than $1$) around the vertices of a pentagon, connecting fractions with no common term; trying to maximize the minimal difference naturally gives the optimal value of $1/2$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
dangerousliri
924 posts
#3 • 2 Y
Y by Adventure10, Mango247
mathwizard888 wrote:
Find the smallest constant $C > 0$ for which the following statement holds: among any five distinct positive real numbers, one can label four different ones as $p, q, r, s$ such that
\[ \left| \frac{p}{q} - \frac {r}{s} \right| \le C. \]

In the official said that (not necessarily distinct).
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HECAM-CA-CEBEPA
13 posts
#4 • 2 Y
Y by Adventure10, Mango247
This was also problem 5 at Bosnia Herzegovina TST 2017.
This post has been edited 1 time. Last edited by HECAM-CA-CEBEPA, Jul 23, 2017, 12:20 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Kezer
986 posts
#5 • 7 Y
Y by manuel153, Tawan, A_Math_Lover, Modesti, centslordm, Adventure10, Mango247
Also German TSTST #4 and my favorite problem of 2017.

We'll prove $C=\frac{1}{2}$. Take for instance $1,1,1,2,N$ with an arbitrarily large $N$ to show that $C \geq \frac12$.
Let us now assume that there exists a choice of numbers, such that $C>\frac12$ to eventually prove $C \leq \frac12$. We will need a Lemma.

Lemma. If $x$ and $y$ are both larger or both smaller than $\frac12$, then $|x-y| \leq \frac12$.

Look at the case $\frac{a_1}{a_5} \geq \frac12$. The Lemma gives us $\frac{a_2}{a_3}, \frac{a_2}{a_4} \leq \frac12$ but a repeated use of the Lemma on those numbers give us $\frac{a_4}{a_5}, \frac{a_1}{a_3} \geq \frac12$. Now \[ \left| \frac{a_4}{a_5} -\frac{a_1}{a_3} \right| \leq \frac12, \]a contradiction.
The case $\frac{a_1}{a_5} \leq \tfrac12$ can be done in the same way, just reverse the inequality signs. Thus, we are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
neel02
66 posts
#6 • 2 Y
Y by Adventure10, Mango247
Easy enough as a TST problem !
$C=1/2$ ; For $a>b>c>d>e$ consider the 5 fraction $a/b,b/c,c/d,d/e,e/a$ . Since they are in $(0,1]$ so atleast 3 of them are in same side of $1/2$ . So done !
For equality consider the 5 tupple ${1,2,x,1-2x,1+2x}$
Actually the main part of the problem which is to find $C$ is get easy when one notes the fractions at that order and notes that any 3 of them contains 4 elements of the given 5 tupple and thinks about PHP which is trivial ! :-D
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Jughead_0
6 posts
#7 • 2 Y
Y by Adventure10, Mango247
Solution.

I will prove that $C=\frac{1}2$ works. For a construction, consider $\varepsilon, \frac{1}2, 1,1,1$; where $\varepsilon \to 0$

So it suffices to show $C \leq \frac{1}2$. WLOG let $a_1 \leq a_2 \leq a_3 \leq a_4 \leq a_5$, and assume $C > \frac{1}2$.

Clearly, $\left \{ \frac{a_1}{a_2}, \frac{a_1}{a_5}, \frac{a_2}{a_5} \right \}$ and $\left \{\frac{a_3}{a_4} \right \}$ must not lie on same side of $\frac{1}2$. Also, $\frac{a_1}{a_2} \geq \frac{a_1}{a_4} \geq \frac{a_1}{a_5} \implies\frac{a_1}{a_4},\frac{a_2}{a_5}$ lie on same side of $\frac{1}2$.

Therefore, $\left| \frac{a_1}{a_4} - \frac {a_2}{a_5} \right| \leq \frac{1}2$, contradicting our assumption. Hence, $C=\frac{1}2$ is indeed the solution. $\square$
This post has been edited 1 time. Last edited by Jughead_0, May 23, 2019, 5:54 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sriraamster
1492 posts
#8 • 2 Y
Y by Adventure10, Mango247
This was actually pretty hard :maybe:

The answer is $C = \frac{1}{2}$. A construction is $\varepsilon, \frac{1}{2}, 1, 1, 1$ where $\varepsilon \to 0$.

WLOG $a_1 \le a_2 \le a_3 \le a_4 \le a_5$. We will only consider the values $\frac{a_{i}}{a_{j}}$ less than $1$, since we seek to minimize $C$.
Assume FTSOC that each pair of ratios (with different indices) differ by $> \frac{1}{2}$. That is, $\left| \frac{a_1}{a_2} - \frac {a_3}{a_4} \right| > \frac{1}{2}$, $\left| \frac{a_1}{a_2} - \frac {a_3}{a_5} \right| > \frac{1}{2}$, and $\left| \frac{a_1}{a_2} - \frac {a_4}{a_5} \right| > \frac{1}{2}$, and so on. Suppose $\frac{a_i}{a_j} = x$ if $\frac{a_i}{a_j} < \frac{1}{2}$ and $\frac{a_i}{a_j} = y$ if $\frac{a_i}{a_j} \ge \frac{1}{2}$. If $\frac{a_1}{a_2} = x$, then we have $\frac{a_3}{a_5} = \frac{a_4}{a_5} = \frac{a_3}{a_4} = y$, but this implies $\frac{a_1}{a_4} = \frac{a_2}{a_4} = \frac{a_1}{a_3} = \frac{a_2}{a_3} = \frac{a_1}{a_5} = \frac{a_2}{a_5} = x$, which is a contradiction because then $\left| \frac{a_1}{a_4} - \frac {a_2}{a_5} \right| <\frac{1}{2}$ . $\blacksquare$
This post has been edited 2 times. Last edited by sriraamster, Oct 13, 2019, 12:05 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shalomrav
330 posts
#9 • 3 Y
Y by Mango247, Mango247, Mango247
Generalization to more than 5 variables looks pretty hard. I think the answer in the 6-variable case is $C=1/4$.
A construction is $1,1,1,2,4,N$ with an arbitrarily large $ N$
This post has been edited 6 times. Last edited by shalomrav, Mar 18, 2020, 10:38 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
math_pi_rate
1218 posts
#10 • 3 Y
Y by amar_04, Pluto1708, mijail
Here's my solution: Let $a \leq b \leq c \leq d \leq e$ denote the $5$ numbers. We claim the answer is $C=\frac{1}{2}$. Taking the $5$ numbers as $(1,1,1,2,x)$ with $x \rightarrow \infty$ gives that $C \geq \frac{1}{2}$, since the minimum value of the given expression can reach arbitrarily close to $\frac{1}{2}$. Now we show that this is indeed the minimum. Assume not. Then there exists some sequence $(a,b,c,d,e)$ such that for any $4$ distinct reals $w,x,y,z$ out of these five numbers, we have $$\left | \frac{w}{x}-\frac{y}{z} \right| > \frac{1}{2}$$Note that $\frac{c}{d} \geq \frac{b}{e}$, which gives $$1 \geq \frac{c}{d}>\frac{b}{e}+\frac{1}{2} \Rightarrow \frac{c}{d}>\frac{1}{2}> \frac{b}{e}$$If $\frac{a}{b} \geq \frac{c}{d}$, then we have $$\frac{a}{b}>\frac{1}{2}+\frac{c}{d}>1 \Rightarrow a>b$$which is not according to our assumption that $a \leq b$. So we get $$\frac{c}{d}>\frac{a}{b} \Rightarrow \frac{b}{d}>\frac{a}{c} \Rightarrow 1 \geq \frac{b}{d}>\frac{a}{c}+\frac{1}{2} \Rightarrow \frac{a}{c}<\frac{1}{2}$$In a similar fashion, if $\frac{b}{e} \geq \frac{a}{d}$, then $$\frac{b}{e}-\frac{a}{d}>\frac{1}{2} \Rightarrow \frac{b}{e}>\frac{1}{2}$$contrary to the previous statement. Else $$\frac{b}{e}<\frac{a}{d} \Rightarrow \frac{a}{d}>\frac{b}{e}+\frac{1}{2}>\frac{1}{2} \Rightarrow \frac{a}{c} \geq \frac{a}{d}>\frac{1}{2}$$which is again a contradiction to what we had discovered earlier. Thus, no such sequence exists, as desired. $\blacksquare$

REMARKS: To be honest, I didn't like this problem much. After getting the answer, it was more of a "keep playing with fractions till you find something" sort of a thing, which made it a bit boring. Although, looking at other solutions now (especially that pentagon/PHP idea), the problem doesn't seem so bad for an A2 :P
This post has been edited 4 times. Last edited by math_pi_rate, Apr 9, 2020, 2:49 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
fabijan_cikac_123
13 posts
#11
Y by
Also Croatia TST.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Kimchiks926
256 posts
#12 • 1 Y
Y by mkomisarova
Solved together with @Blastoor
The answer is $C=\frac{1}{2}$. For construction take numbers $1,1,1, 2, N$, where $N$ is large enough number.
Assume that there are given positive real numbers $a \ge b \ge c \ge d \ge e$. We split problem in two cases:

1) $\frac{b}{a} \ge \frac{1}{2}$. If at least one of the numbers $\frac{d}{c}, \frac{e}{d}, \frac{e}{c}$ is greater or equal to $\frac{1}{2}$ we are done. Otherwise $\frac{e}{a} \le \frac{e}{d} \le \frac{1}{2}$. So we pick numbers $\frac{e}{a}$ and $\frac{d}{c}$, because their absolute difference will be less or equal to $\frac{1}{2}$, since their are both less or equal to $\frac{1}{2}$

2) $\frac{b}{a} \le \frac{1}{2}$. If at least one of the numbers $\frac{d}{c}, \frac{e}{d}, \frac{e}{c}$ is less or equal to $\frac{1}{2}$ we are done. Otherwise consider numbers $\frac{c}{b}, \frac{d}{b}, \frac{e}{b}$. If at least one of the numbers $\frac{c}{b}, \frac{d}{b}, \frac{e}{b}$ is greater or equal to $\frac{1}{2}$, then we can easily pick appropriate number from $\frac{d}{c}, \frac{e}{d}, \frac{e}{c}$, since they are all greater or equal to $\frac{1}{2}$. Otherwise $\frac{e}{a} \le \frac{b}{a} \le \frac{1}{2}$ and $\frac{c}{b} \le \frac{1}{2}$. So we pick numbers $\frac{e}{a}$ and $\frac{c}{b}$ and we are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
goodgood
71 posts
#13
Y by
v_Enhance wrote:
The answer is $C = \frac{1}{2}$. For construction, take the five numbers $\varepsilon$, $1$, $2-\varepsilon$, $2$, $2+\varepsilon$ for arbitrarily small $\varepsilon$.

We now show selecting the five numbers is always possible. Assuming the numbers are $a < b < c < d < e$, consider the five fractions \[ a/c, \quad b/d, \quad c/e, \quad a/d, \quad b/e \]and arrange them in a pentagon. These fractions are less than $1$, so three of them must be on the same side of $\frac{1}{2}$; two are adjacent on the pentagon and give the desired.

Remark: Finding the answer is a large part of the difficulty of this problem. The way I motivated is solving the sub-problem with four numbers $a < b < c < d$, the minimum fraction is $|\frac{a}{c} - \frac{b}{d}|$ (check this). Thus given five distinct numbers $a < b < c < d < e$, the five values in consideration are:
  • $a/c - b/d$
  • $a/c - b/e$
  • $a/d - b/e$
  • $a/d - c/e$
  • $b/d - c/e$
One can then arrange these five fractions (less than $1$) around the vertices of a pentagon, connecting fractions with no common term; trying to maximize the minimal difference naturally gives the optimal value of $1/2$.

but how can we know that those two(which are adjacent) has distinct subscripts? I am asking the “two are adjacent on the pentagon and give the desired” part.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
peatlo17
77 posts
#14
Y by
Hello @goodgood, the pentagonal arrangement that v_Enhance is talking about is
$$\frac{a}{c} \rightarrow \frac{b}{d} \rightarrow \frac{c}{e} \rightarrow \frac{a}{d} \rightarrow \frac{b}{e} \rightarrow$$In this way, all adjacent fractions have distinct subscripts.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IAmTheHazard
4999 posts
#15
Y by
Replace $a_1,a_2,a_3,a_4,a_5$ with $a,b,c,d,e$.
The answer is $C=\frac{1}{2}$. As a construction, take $1,1,1,2,N$ for extremely large $N$. We have $\left| \frac{1}{2} - \frac {1}{N} \right| \leq C$, but making $C$ any smaller fails, which can easily be checked by considering a few cases.
Now we will show that all sequences work with this value of $C$. First note that scaling the entire sequence doesn't change anything, so WLOG let $a=1$. Also suppose that $a \leq b \leq c \leq d \leq e$.
Suppose FTSOC that some sequence $a,b,c,d,e$ does not work, and any $i,j,k,l$ satisfies $\left| \frac{a_i}{a_j} - \frac {a_k}{a_l} \right| \leq \frac{1}{2}$. First note that $d>2$, since if $d \leq 2$ then $\left| \frac{1}{d} - \frac {b}{c} \right| \leq \frac{1}{2}$. Then note that $\frac{b}{c}\geq \frac{1}{2}$, otherwise $\left| \frac{1}{d} - \frac {b}{c} \right| \leq \frac{1}{2}$. This means that $\frac{d}{e}<\frac{1}{2}$, otherwise $\left| \frac{b}{c} - \frac {d}{e} \right| \leq \frac{1}{2}$. But then $\frac{1}{b}\leq \frac{1}{2}$, otherwise $\left| \frac{d}{e} - \frac {1}{b} \right| \leq \frac{1}{2}$. Then $\frac{c}{d}<\frac{1}{2}$, otherwise $\left| \frac{1}{b} - \frac {c}{d} \right| \leq \frac{1}{2}$. Finally, $\frac{1}{e}\geq \frac{1}{2}$, otherwise $\left| \frac{c}{d} - \frac {1}{e} \right| \leq \frac{1}{2}$. This implies that $e\leq 2$, but we defined $e \geq d$, and $d>2$, so this is absurd. Therefore all such sequences work, so we are done. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
DanjelZone
70 posts
#16
Y by
Proof that two disjoint pairs of numbers from $a_1,\cdots ,a_5$ will lie on the same intervals between $(0,0.5]$ or $(0.5,1]$.
There are $10$ ways to choose a pair of numbers. We have to put each pair into one of the intervals. Let a pair be $(a_x,a_y)$ and let the sets of pairs in the given intervals be $A$ and $B$. ( for example $\frac{a_1}{a_2} \in  (0,0.5] \Rightarrow (a_1,a_2) \in A$
WLOG $(a_1,a_2) \in A   \Rightarrow (a_3,a_4),(a_4,a_5),(a_3,a_5) \in B$.
$(a_4,a_5) \in B \Rightarrow (a_1,a_3), (a_2,a_3) \in A$. We can't put $(a_1,a_5)$ in neither $A$ or $B$, because $(a_2,a_3) \in A$ and $(a_3,a_4) \in B$, which is a desired contradiction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mano
46 posts
#17
Y by
$C=\frac12$ is the best constant. We can't do any better because of the counterexample 1, 1, 1, 2, $N$, where $N$ is arbitrarily large.
Now show that $C=\frac12$ indeed works. WLOG, let $a_1\leq a_2\leq\dots\leq a_5$ and consider only ratios $\frac{a_i}{a_j}$ with $i<j$, so that everyhing is at most 1. If a ratio is exactly $\frac12$, then choose any other ratio. Otherwise, split the ratios into "large" ones ($>\frac12$) and "small" ones ($<\frac12$). The ratios $\frac{a_1}{a_4}$ and $\frac{a_2}{a_5}$ cannot be both small, so at least one of them is large. But then either both $\frac{a_1}{a_2}$ and $\frac{a_3}{a_4}$ or $\frac{a_2}{a_3}$ and $\frac{a_4}{a_5}$ are both large, with which we are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
edfearay123
92 posts
#18 • 1 Y
Y by Mango247
Also Peru TST 2017
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathForesterCycle1
79 posts
#19
Y by
dame dame
This post has been edited 2 times. Last edited by MathForesterCycle1, Oct 17, 2021, 5:09 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AwesomeYRY
579 posts
#20
Y by
Let the 5 numbers be $a<b<c<d<e$.

If $C< \frac12$, then for some $\varepsilon$, take \[a=\varepsilon,b=1,c=2-\varepsilon,d=2,e=2+\varepsilon,\]Then, all fractions get arbitrarily close to half-integers, so the minimum difference gets arbitrarily close to $\frac12$, so such $C$ fail.

If $C=\frac12$. Consider the cycle of $\left(\frac{a}{c},\frac{b}{e},\frac{a}{d},\frac{c}{e},\frac{b}{d}\right)$ all of which are disjoint from the adjacent fraction. Since 5 is odd, there exists some series of $0<f_1<f_2<f_3<1$, so there must exist some $|f_i-f_j|\leq \frac12$, so $C=\frac12$ works.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bluelinfish
1445 posts
#21
Y by
Oh, the pentagon solution is much nicer.
The answer is $C=\frac{1}{2}$. Necessity is shown by considering the five numbers $1,2,2,2,X$ for arbitrarily large $X$.

Now we prove sufficiency. Suppose there existed five real numbers $x_1\le x_2\le\ldots\le x_5$ such that $C=\frac{1}{2}$ failed and let $r_i=\frac{x_i}{x_{i+1}}$ for $1\le i\le 4$. Note that all $r_i$ are between $0$ and $1$.

Consider the following three values:
Value 1. $\left| \frac{a_1}{a_3} - \frac {a_2}{a_4} \right| = r_2|r_1-r_3|$.
Value 2. $\left| \frac{a_1}{a_4} - \frac {a_2}{a_5} \right| = r_2r_3|r_1-r_4|$.
Value 3. $\left| \frac{a_2}{a_4} - \frac {a_3}{a_5} \right| = r_3|r_2-r_4|$.
By assumption, all three values are greater than $\frac{1}{2}$.

Note that $r_2$ and $r_3$ must be greater than $\frac{1}{2}$, otherwise Value 2 must be less than or equal to $\frac{1}{2}$. Using the values in a similar manner, $|r_1-r_3|, |r_1-r_4|, |r_2-r_4| > \frac{1}{2}$. Since $|r_1-r_4|>\frac{1}{2}$ and the $r_i$ are between $0$ and $1$ we must have one of them (WLOG $r_1$) be greater than $\frac{1}{2}$. But then since $|r_1-r_3|>\frac{1}{2}$, we have that $r_3<\frac{1}{2}$, contradiction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
asdf334
7574 posts
#22
Y by
The answer is $C=\frac{1}{2}$; we can use the construction $x,\frac{1}{2},1,1,1$ for arbitrarily small $x$.

Now suppose that $C>\frac{1}{2}$, and WLOG $a_1\le a_2\le a_3\le a_4\le a_5$. Then since $\frac{a_3}{a_4}\ge \frac{a_2}{a_5}$ we clearly also have $\frac{a_3}{a_4}\ge \frac{a_1}{a_2}$ so that $\frac{a_1}{a_2}<\frac{1}{2}$. Similarly $\frac{a_4}{a_5}<\frac{1}{2}$ which is a contradiction. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Iora
194 posts
#23
Y by
WLOG $a_1 \le a_2 \le a_3 \le a_4 \le a_5$. I claim that $C= \frac{1}{2}$ is the smallest constant possible.
Claim 1. $C \ge \frac{1}{2}$
Simply take numbers $1,1,1,2,x$ where $x$ is arbitrarly larger real number. Considering all the possible values, we can see that indeed $C \ge \frac{1}{2}$. $\square$

Lemma 1. If $0 \le x,y \le \frac{1}{2}$ or $  \frac{1}{2} \le  x,y \le 1$ , then $|x-y| \le \frac{1}{2}$.
By definition of modulo, $|a|$ means distance between $0$ and $a$, if $M\le  a \le N$, then distance can't be greater than $N-M$, hence conclusion follows. $\square$

Claim 2.
for any real numbers $a_1 \le a_2 \le a_3 \le a_4 \le a_5$, the set $A= \{  \frac{a_i}{a_{i+j}} \  : i,j \in \mathbb{N} \}$ contains at least two elements lying on interval $(0, \frac{1}{2}]$ or $[\frac{1}{2},1]$
Let $x_i \in A$. Note that for any $i$, $x_i \le 1$ by WLOG. Since $|A| \ge 5$, by PHP there are at least $2$ elements lying on the same interval, hence by Lemma 1, we are finished!
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
JAnatolGT_00
559 posts
#24
Y by
We claim that the answer is $C=\frac 12.$

From the set of numbers $1,1,1,\frac 12,\epsilon$ with arbitrary $\epsilon$ we have $C\geq \frac 12 -\epsilon \implies C\geq \frac 12.$ To see that value $C=\frac 12$ suffices assume WLOG $a_i\leq a_{i+1}$ and consider five fractions $\frac{a_1}{a_2},\frac{a_3}{a_4},\frac{a_2}{a_5},\frac{a_1}{a_3},\frac{a_4}{a_5}$ in a cycle. They all don't exceed $1$ and by PHP there are three of them on one side about $\frac 12.$ Two of these are adjacent in a cycle, and the absolute difference between them doesn't exceed $\frac 12$, so it satisfies.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
anurag27826
93 posts
#25
Y by
I don't know what I am doing with my life.

The answer is $C = \frac{1}{2}$, WLOG assume $a \leq b \leq c \leq d \leq e$, then consider these 5 fractions $a/c, b/d, c/e, b/e$, 3 of them are either $\geq 1/2$ or $\leq 1/2$, two of them will have to be disjoint, consider their absolute difference which will be $\leq \frac{1}{2}$, the construction is the same as evan chen $(a, 2,2,2,1)$, where $a$ is arbitrarily small.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
awesomeming327.
1664 posts
#26
Y by
The answer is $C=\tfrac{1}{2}$. First, we will show that it works. WLOG assume $a_1<a_2<a_3<a_4<a_5$. Then, from \[\frac{a_1}{a_2}, \frac{a_3}{a_4},\frac{a_1}{a_5},\frac{a_2}{a_3},\frac{a_4}{a_5}\]note that all of them are less than $1$. If there are two of them that lie on the same side of $\tfrac12$ and have all different subscripts then we are done. Fortunately, we have by pigeonhole principle that there will be two cyclically adjacent fractions in our above list that will lie on the same side of $\tfrac12$ which finishes the proof. Now, consider $x,1,2,2,2$ where $x$ is small. Note that the only ratios present are either small, $\tfrac{1}{2}$, $1$, $2$, or large. Therefore, $C$ cannot go any lower than $\tfrac12$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5531 posts
#27
Y by
The answer is $\boxed{\frac{1}{2}}$. To see that $C \ge \frac{1}{2}$, we consider $1,1,2,2,N$ for some arbitrarily large positive integer $N$.

Now we show that $C = \frac{1}{2}$ works. WLOG that $a_1\le a_2\le a_3\le a_4\le a_5$.

Suppose FTSOC that for all distinct subscripts $i,j,k,l$, \[ \left| \frac{a_i}{a_j} - \frac {a_k}{a_l} \right| > \frac{1}{2}. \]Therefore if $i < j$ and $k < l$, then $\frac{a_i}{a_j}$ and $\frac{a_k}{a_l}$ are on different sides of $\frac{1}{2}$ (note they are both in the interval $(0,1]$)

Now, we get that $S = \left\{\frac{a_3}{a_4}, \frac{a_4}{a_5}, \frac{a_3}{a_5}\right \}$ are all on a different side of $\frac{1}{2}$ from $\frac{a_1}{a_2}$, so they themselves must be on the same side of $\frac{1}{2}$.

Similarly, we have $T = \left\{\frac{a_2}{a_3}, \frac{a_3}{a_4}, \frac{a_2}{a_4} \right\} $ are all on the same side of $\frac{1}{2}$, since they are on the opposite side from $\frac{a_1}{a_5}$.

However, since $S$ and $T$ have an element in common, they must both be on the same side of $\frac{1}{2}$, hence \[\left | \frac{a_2}{a_3} - \frac{a_4}{a_5} \right| \le \frac{1}{2} ,\]absurd. Therefore $C = \frac{1}{2}$ works.
This post has been edited 2 times. Last edited by megarnie, Aug 3, 2023, 8:28 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
YaoAOPS
1481 posts
#28
Y by
First, consider the $4$ variable case for $a < b < c < d$. By switching opposite numerator and denominators, it only remains to consider the fractions \[ \frac{a}{c} - \frac{b}{d}, \frac{b}{c} - \frac{a}{d}, \frac{c}{b} - \frac{a}{d} \]Since $|ad - bc| < |bd - ac| < |cd - ab|$, it follows that $\left|\frac{a}{c} - \frac{b}{d}\right|$ is minimal.
Now, suppose that $a < b < c < d < e$. We only need to consider \[ \frac{a}{c} - \frac{b}{d}, \frac{a}{c} - \frac{b}{e}, \frac{a}{d} - \frac{b}{e}, \frac{a}{d} - \frac{c}{e}, \frac{b}{d} - \frac{c}{e} \]Arrange these values in a circle, $\frac{a}{c}, \frac{b}{d}, \frac{c}{e}, \frac{a}{d}, \frac{b}{e}$.
One of the differences must have magnitude less than $\frac{1}{2}$, or else contradiction follows by considering buckets $(0, \frac{1}{2})$ and $(\frac{1}{2}, 1)$.
Then by taking $a = 1, b = x, c = 2x - 2, d = 2x - 1, e = 2x$ and taking $x \to \infty$ shows that $C = \frac{1}{2}$ is tight.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
lian_the_noob12
173 posts
#29
Y by
$\color{magenta} \boxed {\textbf{SOLUTION A2}}$

$\color{green} \textbf{Claim 1 :}$ $C \ge \frac{1}{2}$
$\textbf{proof :}$ Just Consider $1,1,1,2,a$ where $a \rightarrow \infty \square$

$\color{green} \textbf{Claim 2 :}$ $C=\frac{1}{2}$
$\textbf{proof :}$ Let $a \ge b \ge c \ge d \ge d$

Consider the fractions $$\frac{e}{a}, \frac{e}{d},\frac{d}{c},\frac{c}{b},\frac{b}{a}$$
Now divide them into to intervals, $0
< f_j \le \frac{1}{2}$ and $\frac{1}{2} < f_k \le 1$

by $\textbf{PHP}$ atleast $3$ of the fractions lie in same intervals. Among any $3$ fractions of the above $5$ farctions we will always find $2$ fractions with $4$ different numbers $\blacksquare$
This post has been edited 3 times. Last edited by lian_the_noob12, Jan 7, 2024, 10:50 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Philomath_314
42 posts
#30 • 1 Y
Y by mathogenie1211
A selection of $(1,1,1,2,m)$ with $m \rightarrow \infty$ ensures that $C\geq 1/2$ .
Without loss of generality,$a\leq b\leq c\leq d\leq e$
FTSOC, assume that for any distinct $a,b,c,d$ chosen from the ${a,b,c,d,e}$
we have $|\frac{a}{b}-\frac{c}{d}|>1/2$
CLAIM:- Any inequality of the form $\frac{a_i}{a_j} \leq \frac{a_k}{a_l}\leq1$ where $a_i's$ are distinct and chosen from $a,b,c,d,e$ is basically $\frac{a_i}{a_j} <1/2< \frac{a_k}{a_l}\leq 1$
PROOF:- $\frac{a_i}{a_j} < \frac{a_k}{a_l}\leq 1$ implies that $\frac{a_i}{a_j} +\frac{1}{2} < \frac{a_k}{a_l}\leq 1$ which basically proves the above claim.
As $\frac{b}{e} \leq \frac{c}{d}$, therefore $\frac{b}{e} < 1/2 < \frac{c}{d}$ . Similarly as $\frac{a}{b} \leq \frac{c}{d}$ and $\frac{b}{e}\leq \frac{a}{d}$ ,we get $\frac{a}{c} < 1/2< \frac{b}{d}$ and $\frac{b}{e} <1/2< \frac{a}{d}$.
We can conclude from all these that $ \frac{a}{c} \geq \frac{a}{d}> 1/2 $ which is a clear contradiction to $\frac{a}{c} < 1/2< \frac{b}{d}$. Hence, $C=1/2$ is indeed the minimum.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Shreyasharma
666 posts
#31
Y by
From walkthroughs.

We first solve the four variable case. Say we are given $a < b < c < d$. Say we wish to minimize $\left| \frac{w}{x} - \frac{y}{z}\right|$ for some permutation $(w, x, y, z)$ of $(a, b, c, d)$. Note that the only fractions we really need to consider are $\frac{a}{c} - \frac{b}{d}$, $\frac{b}{c} - \frac{a}{d}$ and $\frac{c}{b} - \frac{a}{d}$. Of these it is easily shown the first is minimal.

Now we move on to the five variable case. Assume without loss of generality that we have $a < b < c < d < e$. Then it suffices to consider the five permutations,
\begin{align*}
\frac{a}{c} - \frac{b}{d}, \frac{a}{c} - \frac{b}{e}, \frac{a}{d} - \frac{b}{e}, \frac{a}{d} - \frac{c}{e}, \frac{b}{d} - \frac{c}{e}
\end{align*}from the four variable case. Namely, these five differences arise from the $\binom{5}{4}$ ways of choosing numbers from $\{a, b, c, d, e\}$. Now consider the fractions $\frac{a}{c}$ , $\frac{b}{d}$ , $\frac{b}{e}$ , $\frac{c}{e}$ and $\frac{a}{d}$. Note that all of them are less than $1$. Then place them in the intervals $(0, \frac{1}{2}]$ and $[\frac{1}{2}, 1)$. Clearly at least three fractions lie in the same region, and for any three such fractions it can be observed that we may find two fractions involving four different variables. Thus we have attained a bound of $1 - \frac{1}{2} = \frac{1}{2} - 0 = \boxed{\frac{1}{2}}$. Now to show this is acheivable consider the constructions $(\epsilon, 1, 2 - \epsilon, 2, 2+ \epsilon)$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Sedro
5809 posts
#32
Y by
Solution
This post has been edited 3 times. Last edited by Sedro, Jul 16, 2024, 9:45 PM
Z K Y
N Quick Reply
G
H
=
a