Summer is a great time to explore cool problems to keep your skills sharp!  Schedule a class today!

G
Topic
First Poster
Last Poster
k a June Highlights and 2025 AoPS Online Class Information
jlacosta   0
Jun 2, 2025
Congratulations to all the mathletes who competed at National MATHCOUNTS! If you missed the exciting Countdown Round, you can watch the video at this link. Are you interested in training for MATHCOUNTS or AMC 10 contests? How would you like to train for these math competitions in half the time? We have accelerated sections which meet twice per week instead of once starting on July 8th (7:30pm ET). These sections fill quickly so enroll today!

[list][*]MATHCOUNTS/AMC 8 Basics
[*]MATHCOUNTS/AMC 8 Advanced
[*]AMC 10 Problem Series[/list]
For those interested in Olympiad level training in math, computer science, physics, and chemistry, be sure to enroll in our WOOT courses before August 19th to take advantage of early bird pricing!

Summer camps are starting this month at the Virtual Campus in math and language arts that are 2 - to 4 - weeks in duration. Spaces are still available - don’t miss your chance to have a transformative summer experience. There are middle and high school competition math camps as well as Math Beasts camps that review key topics coupled with fun explorations covering areas such as graph theory (Math Beasts Camp 6), cryptography (Math Beasts Camp 7-8), and topology (Math Beasts Camp 8-9)!

Be sure to mark your calendars for the following upcoming events:
[list][*]June 5th, Thursday, 7:30pm ET: Open Discussion with Ben Kornell and Andrew Sutherland, Art of Problem Solving's incoming CEO Ben Kornell and CPO Andrew Sutherland host an Ask Me Anything-style chat. Come ask your questions and get to know our incoming CEO & CPO!
[*]June 9th, Monday, 7:30pm ET, Game Jam: Operation Shuffle!, Come join us to play our second round of Operation Shuffle! If you enjoy number sense, logic, and a healthy dose of luck, this is the game for you. No specific math background is required; all are welcome.[/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, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
Wednesday, Jul 16 - Oct 29
Sunday, Aug 17 - Dec 14
Tuesday, Aug 26 - Dec 16
Friday, Sep 5 - Jan 16
Monday, Sep 8 - Jan 12
Tuesday, Sep 16 - Jan 20 (4:30 - 5:45 pm ET/1:30 - 2:45 pm PT)
Sunday, Sep 21 - Jan 25
Thursday, Sep 25 - Jan 29
Wednesday, Oct 22 - Feb 25
Tuesday, Nov 4 - Mar 10
Friday, Dec 12 - Apr 10

Prealgebra 2 Self-Paced

Prealgebra 2
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
Friday, Jul 25 - Nov 21
Sunday, Aug 17 - Dec 14
Tuesday, Sep 9 - Jan 13
Thursday, Sep 25 - Jan 29
Sunday, Oct 19 - Feb 22
Monday, Oct 27 - Mar 2
Wednesday, Nov 12 - Mar 18

Introduction to Algebra A Self-Paced

Introduction to Algebra A
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
Tuesday, Jul 15 - Oct 28
Sunday, Aug 17 - Dec 14
Wednesday, Aug 27 - Dec 17
Friday, Sep 5 - Jan 16
Thursday, Sep 11 - Jan 15
Sunday, Sep 28 - Feb 1
Monday, Oct 6 - Feb 9
Tuesday, Oct 21 - Feb 24
Sunday, Nov 9 - Mar 15
Friday, Dec 5 - Apr 3

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Wednesday, Jul 2 - Sep 17
Sunday, Jul 27 - Oct 19
Monday, Aug 11 - Nov 3
Wednesday, Sep 3 - Nov 19
Sunday, Sep 21 - Dec 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Friday, Oct 3 - Jan 16
Tuesday, Nov 4 - Feb 10
Sunday, Dec 7 - Mar 8

Introduction to Number Theory
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
Tuesday, Jul 15 - Sep 30
Wednesday, Aug 13 - Oct 29
Friday, Sep 12 - Dec 12
Sunday, Oct 26 - Feb 1
Monday, Dec 1 - Mar 2

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14
Thursday, Aug 7 - Nov 20
Monday, Aug 18 - Dec 15
Sunday, Sep 7 - Jan 11
Thursday, Sep 11 - Jan 15
Wednesday, Sep 24 - Jan 28
Sunday, Oct 26 - Mar 1
Tuesday, Nov 4 - Mar 10
Monday, Dec 1 - Mar 30

Introduction to Geometry
Monday, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
Monday, Jul 14 - Jan 19
Wednesday, Aug 13 - Feb 11
Tuesday, Aug 26 - Feb 24
Sunday, Sep 7 - Mar 8
Thursday, Sep 11 - Mar 12
Wednesday, Sep 24 - Mar 25
Sunday, Oct 26 - Apr 26
Monday, Nov 3 - May 4
Friday, Dec 5 - May 29

Paradoxes and Infinity
Mon, Tue, Wed, & Thurs, Jul 14 - Jul 16 (meets every day of the week!)

Intermediate: Grades 8-12

Intermediate Algebra
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
Friday, Aug 8 - Feb 20
Tuesday, Aug 26 - Feb 24
Sunday, Sep 28 - Mar 29
Wednesday, Oct 8 - Mar 8
Sunday, Nov 16 - May 17
Thursday, Dec 11 - Jun 4

Intermediate Counting & Probability
Sunday, Jun 22 - Nov 2
Sunday, Sep 28 - Feb 15
Tuesday, Nov 4 - Mar 24

Intermediate Number Theory
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3
Wednesday, Sep 24 - Dec 17

Precalculus
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8
Wednesday, Aug 6 - Jan 21
Tuesday, Sep 9 - Feb 24
Sunday, Sep 21 - Mar 8
Monday, Oct 20 - Apr 6
Sunday, Dec 14 - May 31

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

Calculus
Wednesday, Jun 25 - Dec 17
Sunday, Sep 7 - Mar 15
Wednesday, Sep 24 - Apr 1
Friday, Nov 14 - May 22

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
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!)
Sunday, Aug 17 - Nov 9
Wednesday, Sep 3 - Nov 19
Tuesday, Sep 16 - Dec 9
Sunday, Sep 21 - Dec 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Oct 6 - Jan 12
Thursday, Oct 16 - Jan 22
Tues, Thurs & Sun, Dec 9 - Jan 18 (meets three times a week!)

MATHCOUNTS/AMC 8 Advanced
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
Sunday, Aug 17 - Nov 9
Tuesday, Aug 26 - Nov 11
Thursday, Sep 4 - Nov 20
Friday, Sep 12 - Dec 12
Monday, Sep 15 - Dec 8
Sunday, Oct 5 - Jan 11
Tues, Thurs & Sun, Dec 2 - Jan 11 (meets three times a week!)
Mon, Wed & Fri, Dec 8 - Jan 16 (meets three times a week!)

AMC 10 Problem Series
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!)
Sunday, Aug 10 - Nov 2
Thursday, Aug 14 - Oct 30
Tuesday, Aug 19 - Nov 4
Mon & Wed, Sep 15 - Oct 22 (meets twice a week!)
Mon, Wed & Fri, Oct 6 - Nov 3 (meets three times a week!)
Tue, Thurs & Sun, Oct 7 - Nov 2 (meets three times a week!)

AMC 10 Final Fives
Monday, Jun 30 - Jul 21
Friday, Aug 15 - Sep 12
Sunday, Sep 7 - Sep 28
Tuesday, Sep 9 - Sep 30
Monday, Sep 22 - Oct 13
Sunday, Sep 28 - Oct 19 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, Oct 8 - Oct 29
Thursday, Oct 9 - Oct 30

AMC 12 Problem Series
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Wednesday, Aug 6 - Oct 22
Sunday, Aug 10 - Nov 2
Monday, Aug 18 - Nov 10
Mon & Wed, Sep 15 - Oct 22 (meets twice a week!)
Tues, Thurs & Sun, Oct 7 - Nov 2 (meets three times a week!)

AMC 12 Final Fives
Thursday, Sep 4 - Sep 25
Sunday, Sep 28 - Oct 19
Tuesday, Oct 7 - Oct 28

AIME Problem Series A
Thursday, Oct 23 - Jan 29

AIME Problem Series B
Sunday, Jun 22 - Sep 21
Tuesday, Sep 2 - Nov 18

F=ma Problem Series
Wednesday, Jun 11 - Aug 27
Tuesday, Sep 16 - Dec 9
Friday, Oct 17 - Jan 30

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
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
Thursday, Aug 14 - Oct 30
Sunday, Sep 7 - Nov 23
Tuesday, Dec 2 - Mar 3

Intermediate Programming with Python
Sunday, Jun 1 - Aug 24
Monday, Jun 30 - Sep 22
Friday, Oct 3 - Jan 16

USACO Bronze Problem Series
Sunday, Jun 22 - Sep 1
Wednesday, Sep 3 - Dec 3
Thursday, Oct 30 - Feb 5
Tuesday, Dec 2 - Mar 3

Physics

Introduction to Physics
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15
Tuesday, Sep 2 - Nov 18
Sunday, Oct 5 - Jan 11
Wednesday, Dec 10 - Mar 11

Physics 1: Mechanics
Monday, Jun 23 - Dec 15
Sunday, Sep 21 - Mar 22
Sunday, Oct 26 - Apr 26

Relativity
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Jun 2, 2025
0 replies
Write down sum or product of two numbers
Rijul saini   3
N 8 minutes ago by math_comb01
Source: India IMOTC Practice Test 2 Problem 3
Suppose Alice's grimoire has the number $1$ written on the first page and $n$ empty pages. Suppose in each of the next $n$ seconds, Alice can flip to the next page, and write down the sum or product of two numbers (possibly the same) which are already written in her grimoire.

Let $F(n)$ be the largest possible number such that for any $k < F(n)$, Alice can write down the number $k$ on the last page of her grimoire. Prove that there exists a positive integer $N$ such that for all $n>N$, we have that \[n^{0.99n}\leqslant F(n)\leqslant n^{1.01n}.\]
Proposed by Rohan Goyal and Pranjal Srivastava
3 replies
+2 w
Rijul saini
Wednesday at 6:56 PM
math_comb01
8 minutes ago
gcd (a^n+b,b^n+a) is constant
EthanWYX2009   83
N 11 minutes ago by Adywastaken
Source: 2024 IMO P2
Determine all pairs $(a,b)$ of positive integers for which there exist positive integers $g$ and $N$ such that
$$\gcd (a^n+b,b^n+a)=g$$holds for all integers $n\geqslant N.$ (Note that $\gcd(x, y)$ denotes the greatest common divisor of integers $x$ and $y.$)

Proposed by Valentio Iverson, Indonesia
83 replies
EthanWYX2009
Jul 16, 2024
Adywastaken
11 minutes ago
Bugs Bunny at it again
Rijul saini   8
N 35 minutes ago by quantam13
Source: LMAO 2025 Day 2 Problem 1
Bugs Bunny wants to choose a number $k$ such that every collection of $k$ consecutive positive integers contains an integer whose sum of digits is divisible by $2025$.

Find the smallest positive integer $k$ for which he can do this, or prove that none exist.

Proposed by Saikat Debnath and MV Adhitya
8 replies
Rijul saini
Wednesday at 7:01 PM
quantam13
35 minutes ago
The Bank of Bath
TelMarin   101
N an hour ago by monval
Source: IMO 2019, problem 5
The Bank of Bath issues coins with an $H$ on one side and a $T$ on the other. Harry has $n$ of these coins arranged in a line from left to right. He repeatedly performs the following operation: if there are exactly $k>0$ coins showing $H$, then he turns over the $k$th coin from the left; otherwise, all coins show $T$ and he stops. For example, if $n=3$ the process starting with the configuration $THT$ would be $THT \to HHT  \to HTT \to TTT$, which stops after three operations.

(a) Show that, for each initial configuration, Harry stops after a finite number of operations.

(b) For each initial configuration $C$, let $L(C)$ be the number of operations before Harry stops. For example, $L(THT) = 3$ and $L(TTT) = 0$. Determine the average value of $L(C)$ over all $2^n$ possible initial configurations $C$.

Proposed by David Altizio, USA
101 replies
TelMarin
Jul 17, 2019
monval
an hour ago
No more topics!
MEMO 2010, Problem T-2: Stronger than Cauchy
Martin N.   11
N Oct 25, 2022 by Kimchiks926
For each integer $n\geqslant2$, determine the largest real constant $C_n$ such that for all positive real numbers $a_1, \ldots, a_n$ we have
\[\frac{a_1^2+\ldots+a_n^2}{n}\geqslant\left(\frac{a_1+\ldots+a_n}{n}\right)^2+C_n\cdot(a_1-a_n)^2\mbox{.}\]

(4th Middle European Mathematical Olympiad, Team Competition, Problem 2)
11 replies
Martin N.
Sep 12, 2010
Kimchiks926
Oct 25, 2022
MEMO 2010, Problem T-2: Stronger than Cauchy
G H J
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Martin N.
434 posts
#1 • 2 Y
Y by Adventure10, Mango247
For each integer $n\geqslant2$, determine the largest real constant $C_n$ such that for all positive real numbers $a_1, \ldots, a_n$ we have
\[\frac{a_1^2+\ldots+a_n^2}{n}\geqslant\left(\frac{a_1+\ldots+a_n}{n}\right)^2+C_n\cdot(a_1-a_n)^2\mbox{.}\]

(4th Middle European Mathematical Olympiad, Team Competition, Problem 2)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ovchinnikov Denis
470 posts
#2 • 2 Y
Y by Adventure10, Mango247
$C_n = \frac{1}{2n}$.
Example for proving maximal $a_1=2; a_2=1; a_3=1; ....; a_{n-1}=1; a_n=0$.
Let's prove that for such $C_n$ inequality holds.

$\frac{a_1^2+...+a_n^2}{n}-( \frac{a_1+...a_n}{n})^2-\frac{1}{2n} (a_1-a_n)^2$ = $\frac{(\frac{a_1+a_n}{2})^2+a_2+a_3+....+a_{n-1}+(\frac{a_1+a_n}{2})^2}{n}-$ $(\frac{\frac{a_1+a_n}{2}+a_2+a_3+....+a_{n-1}+\frac{a_1+a_n}}{2})^2 \geq 0 $ by Cauchy for numbers $(\frac{a_1+a_n}{2};a_2;a_3;....;a_{n-1};\frac{a_1+a_n}{2})$

So maximal constant is $\frac{1}{2n}$

By generalization of this problem and other generalizations of Power mean inequalities project on Intel ISEF 2010 "Generalization of Power mean inequality"
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
kuing
1008 posts
#3 • 2 Y
Y by Adventure10, Mango247
Martin N. wrote:
For each integer $n\geqslant2$, determine the largest real constant $C_n$ such that for all positive real numbers $a_1, \ldots, a_n$ we have
\[\frac{a_1^2+\ldots+a_n^2}{n}\geqslant\left(\frac{a_1+\ldots+a_n}{n}\right)^2+C_n\cdot(a_1-a_n)^2\mbox{.}\]

(4th Middle European Mathematical Olympiad, Team Competition, Problem 2)

if $a_1=a_n$ then $C_n$ can be any reals. Let us assume $a_1\ne a_n$, then we just need to find the min of
$f\left( {a_1 , \ldots ,a_n } \right) = \frac{{\frac{{a_1^2  +  \ldots  + a_n^2 }}{n} - \left( {\frac{{a_1  +  \ldots  + a_n }}{n}} \right)^2 }}{{\left( {a_1  - a_n } \right)^2 }}$
let $a_1=a,a_2+...+a_{n-1}=(n-2)b,a_n=c$, then $a\ne c$ and by Cauchy Inequality, we have
$f\left( {a_1 , \ldots ,a_n } \right) \ge \frac{{\frac{{a^2  + \left( {n - 2} \right)b^2  + c^2 }}{n} - \left( {\frac{{a + \left( {n - 2} \right)b + c}}{n}} \right)^2 }}{{\left( {a - c} \right)^2 }}$ $ = \frac{{\left( {n - 2} \right)\left( {a + c - 2b} \right)^2  + n\left( {a - c} \right)^2 }}{{2n^2 \left( {a - c} \right)^2 }} \ge \frac{1}{{2n}}$
when $a_2  = a_3  =  \cdots  = a_{n - 1}  = \frac{{a_1  + a_n }}{2}$ equality holds, so $C_n=\frac{1}{2n}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
chinacai
254 posts
#4 • 2 Y
Y by Adventure10, Mango247
this is China shanxi olipic
设a1,a2,…,an是正数,min{a1,a2,…,an}=a1,max{a1,a2,…,an}=an,证明不等式:
a1^2+a2^2+…+an^2≥1/n(a1+a2+…+an)^2+1/2(a1-an)^2.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
colorfuldreams
803 posts
#5 • 1 Y
Y by Adventure10
kuing wrote:
Martin N. wrote:
For each integer $n\geqslant2$, determine the largest real constant $C_n$ such that for all positive real numbers $a_1, \ldots, a_n$ we have
\[\frac{a_1^2+\ldots+a_n^2}{n}\geqslant\left(\frac{a_1+\ldots+a_n}{n}\right)^2+C_n\cdot(a_1-a_n)^2\mbox{.}\]

(4th Middle European Mathematical Olympiad, Team Competition, Problem 2)

if $a_1=a_n$ then $C_n$ can be any reals. Let us assume $a_1\ne a_n$, then we just need to find the min of
$f\left( {a_1 , \ldots ,a_n } \right) = \frac{{\frac{{a_1^2  +  \ldots  + a_n^2 }}{n} - \left( {\frac{{a_1  +  \ldots  + a_n }}{n}} \right)^2 }}{{\left( {a_1  - a_n } \right)^2 }}$
let $a_1=a,a_2+...+a_{n-1}=(n-2)b,a_n=c$, then $a\ne c$ and by Cauchy Inequality, we have
$f\left( {a_1 , \ldots ,a_n } \right) \ge \frac{{\frac{{a^2  + \left( {n - 2} \right)b^2  + c^2 }}{n} - \left( {\frac{{a + \left( {n - 2} \right)b + c}}{n}} \right)^2 }}{{\left( {a - c} \right)^2 }}$ $ = \frac{{\left( {n - 2} \right)\left( {a + c - 2b} \right)^2  + n\left( {a - c} \right)^2 }}{{2n^2 \left( {a - c} \right)^2 }} \ge \frac{1}{{2n}}$
when $a_2  = a_3  =  \cdots  = a_{n - 1}  = \frac{{a_1  + a_n }}{2}$ equality holds, so $C_n=\frac{1}{2n}$.

$\frac{{\left({n-2}\right)\left({a+c-2b}\right)^{2}+n\left({a-c}\right)^{2}}}{{2n^{2}\left({a-c}\right)^{2}}}\ge\frac{1}{{2n}} $

How you get this?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
chinacai
254 posts
#6 • 2 Y
Y by Adventure10, Mango247
$ \frac{{\left({n-2}\right)\left({a+c-2b}\right)^{2}+n\left({a-c}\right)^{2}}}{{2n^{2}\left({a-c}\right)^{2}}}\ge{{\left0+n\left({a-c}\right)^{2}}}{{2n^{2}\left({a-c}\right)^{2}}}
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathUniverse
1009 posts
#7 • 2 Y
Y by Adventure10, Mango247
I don't like previous solutions because Ovchinnikov Denis didn't prove that $C_n=\frac{1}{2n}$ is maximal constant (or at least I can't see how), and kuing probably guessed $C_n$ and then proved it. I have systematical way to prove that constant.

WLOG we can suppose that $a_2,...,a_{n-1} \in [a_1,a_n]$ and since inequality is symmetric in variables $a_2,...,a_{n-1}$, we can also suppose $a_2\le ... \le a_{n-1}$.

Let's make a change $(a_2,a_{n-1}) \rightarrow (\frac{a_2+a_{n-1}}{2},\frac{a_2+a_{n-1}}{2})$. With this change, RHS stays untouched, so we need to prove:
$\frac{a_1^2+a_2^2+...+a_{n-1}^2+a_n^2}{n} \ge \frac{a_1^2+(\frac{a_2+a_{n-1}}{2})^2+...+(\frac{a_2+a_{n-1}}{2})^2+a_n^2}{n}$
what is clearly true by Cauchy-Schwarz inequality.

Let $a_1=1$ (because of homogenity), and $a_n=a$. Using mixing variable method, we just need to prove inequality for case $t=a_2=...=a_n=\frac{a_2+...+a_{n-1}}{n-2}$, $t\in [1,a]$.
Inequality is equal to:

$\frac{a^2+(n-2)t^2+1}{n} \ge \left( \frac{1+(n-2)t+a}{n} \right)^2+ C_n(a-1)^2$
After expanding we have:

$2(n-2)(t-\frac{a+1}{2})^2+(K_1\cdot a^2+K_2\cdot a +K_3) \ge 0$
Where $K_1=-\frac{n-2}{2}+n-1-n^2C_n$.

We see that $K_1$ must be greater than zero
(see why)
and that means $-\frac{n-2}{2}+n-1-n^2C_n \ge 0$

$\Leftrightarrow$ $C_n \le \frac{1}{2n}$.

Now we just need to prove inequality for $C=\frac{1}{2n}$ what Ovchinnikov Denis has done very well. :)


EDIT to fix a typo.
This post has been edited 2 times. Last edited by MathUniverse, Sep 17, 2010, 4:49 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ovchinnikov Denis
470 posts
#8 • 2 Y
Y by Adventure10, Mango247
Ineqality holds for all numbers => it holds for numbers $a_1=3; a_2=2; a_3=2; .... a_{n-1}=2; a_n=1 $. Then inequality becomes $\frac{9+4(n-1)+1}{n} \geq (\frac{3+2n+1}{n})^2 + C_n(3-1)^2 <=> 1+ \frac{2}{n} \geq 1+ C_n 4 <=> C_n \leq \frac{1}{2n}$

(In my first post I write, that equality holds for $a_1=2; a_2=1; a_3=1; .....; a_{n-1}=1; a_n=0$, but $a_n=0$ in this example, so it is not true :( )

But this example is correct !! :)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathUniverse
1009 posts
#9 • 2 Y
Y by Adventure10, Mango247
Now it is true, but that is still guessing the constant. ;)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AlexanderMusatov
24 posts
#10 • 2 Y
Y by Adventure10, Mango247
We write the inequality as $ \frac{\sum a ^2}{n} - (\frac{\sum a}{n})^2\geq C_n(a_n -a_1)^2 $ .The left hand side can be written as
$ \frac{\sum (a-\alpha)^2 }{n} $ where $ \alpha $ is the arithmetic mean of $ a_1,...,a_n $.We substitute $ x_i=a_i-\alpha $.Then the inequality is equivalent to $ \frac{\sum x^2 }{n}\geq C_n(x_n -x_1)^2 $,and we have $ \sum x=0 $.By setting $ x_1=-c,x_2=...=x_{n-1}=0,x_n=c $ we find that $ C_n\leq \frac{1}{2n} $.Thus we have to prove that $ \frac{\sum x^2 }{n}\geq \frac{1}{2n}(x_n -x_1)^2 $ .It is clear that $ x_i^2\geq 0 $ so it remains to show that $ \frac{x_1^2+x_n^2}{n}\geq \frac{1}{2n}(x_n -x_1)^2 $ which is clearly equivalent to $ (x_1+x_n)^2\geq 0 $.QED
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
danepale
99 posts
#11 • 2 Y
Y by Adventure10, Mango247
The inequality is equivalent to:
\[((n-2)(a_1+a_n)-2(a_2+\ldots+a_{n-1}))^2+2n((n-2)(a_2^2+\ldots+a_{n-1}^2)-(a_2+\ldots+a_{n-1})^2) \ge n(n-2)(2nC_n-1)(a_1-a_n)^2\]
Clearly, the $LHS$ is always nonnegative. Setting $C_n=\frac{1}{2n}$ makes the $RHS$ zero, thus satisfying the inequality.
Equality holds for $a_1+a_n=2a_2=\ldots=2a_{n-1}$,
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 • 2 Y
Y by mkomisarova, Mango247
Solved with Alfreed .
Set $a_1=\frac{1}{2}, a_2=a_3=\ldots=a_{n-1}=1, a_{n}=\frac{3}{2}$ to get that $C_n \le \frac{1}{2n}$.

Now we will prove that:
\[\frac{a_1^2+\ldots+a_n^2}{n}\geqslant\left(\frac{a_1+\ldots+a_n}{n}\right)^2+\frac{1}{2n}\cdot(a_1-a_n)^2\mbox{.}\]Since inequality is homogenous we can assume that $a_1+a_2+\ldots+a_n=n$. We can rewrite inequality as follows:
\begin{align*}
 2(a_1^2+a_2^2+\ldots+a_n^2) \ge 2n + (a_1-a_n)^2 \\
2(a_1^2+a_n^2)+2(a_2^2+\ldots+a_{n-1}^2) \ge 2n + (a_1-a_n)^2 
\end{align*}From Cauchy inequality we have:
$$ (a^2+\ldots+a_{n-1}^2) \ge \frac{(a_2+\ldots+a_{n-1})^2}{n-2} $$Therefore:
$$ 2(a_1^2+a_n^2)+2(a_2^2+\ldots+a_{n-1}^2) \ge 2(a_1^2+a_n^2)+2\frac{(a_2+\ldots+a_{n-1})^2}{n-2} $$It remains to show that:
\begin{align*} 
2(a_1^2+a_n^2)+2\frac{(a_2+\ldots+a_{n-1})^2}{n-2} \ge 2n + (a_1-a_n)^2 \\ 
(a_1+a_n)^2 + 2\frac{(a_2+\ldots+a_{n-1})^2}{n-2} \ge 2n \\ 
(a_1+a_n)^2+2\frac{(n-(a_1+a_n))^2}{n-2} \ge 2n \\ 
x^2(n-2)+2(n-x)^2 \ge 2n(n-2) \\ 
x^2n-2x^2+2n^2-4nx+2x^2 \ge 2n^2-4n \\ 
x^2n -4nx+4n \ge 0 \\ 
n(x-2)^2 \ge 0 
\end{align*}where $x=a_1+a_n$. Hence the conclusion.
This post has been edited 1 time. Last edited by Kimchiks926, Oct 25, 2022, 10:21 PM
Reason: typo
Z K Y
N Quick Reply
G
H
=
a