Join our free webinar April 22 to learn about competitive programming!

G
Topic
First Poster
Last Poster
k a April Highlights and 2025 AoPS Online Class Information
jlacosta   0
Apr 2, 2025
Spring is in full swing and summer is right around the corner, what are your plans? At AoPS Online our schedule has new classes starting now through July, so be sure to keep your skills sharp and be prepared for the Fall school year! Check out the schedule of upcoming classes below.

WOOT early bird pricing is in effect, don’t miss out! If you took MathWOOT Level 2 last year, no worries, it is all new problems this year! Our Worldwide Online Olympiad Training program is for high school level competitors. AoPS designed these courses to help our top students get the deep focus they need to succeed in their specific competition goals. Check out the details at this link for all our WOOT programs in math, computer science, chemistry, and physics.

Looking for summer camps in math and language arts? Be sure to check out the video-based summer camps offered at the Virtual Campus that are 2- to 4-weeks in duration. 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 events:
[list][*]April 3rd (Webinar), 4pm PT/7:00pm ET, Learning with AoPS: Perspectives from a Parent, Math Camp Instructor, and University Professor
[*]April 8th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS State Discussion
April 9th (Webinar), 4:00pm PT/7:00pm ET, Learn about Video-based Summer Camps at the Virtual Campus
[*]April 10th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MathILy and MathILy-Er Math Jam: Multibackwards Numbers
[*]April 22nd (Webinar), 4:00pm PT/7:00pm ET, Competitive Programming at AoPS (USACO).[/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, 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
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
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
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
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
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
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
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
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
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
Tuesday, Jun 10 - Aug 26

Calculus
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
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
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
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
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
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
Apr 2, 2025
0 replies
high school math
aothatday   8
N 4 hours ago by EthanNg6
Let $x_n$ be a positive root of the equation $x^n=x^2+x+1$. Prove that the following sequence converges: $n^2(x_n-x_{ n+1})$
8 replies
aothatday
Apr 10, 2025
EthanNg6
4 hours ago
Why is this series not the Fourier series of some Riemann integrable function
tohill   1
N 5 hours ago by alexheinis
$\sum_{n=1}^{\infty}{\frac{\sin nx}{\sqrt{n}}}$ (0<x<2π)
1 reply
tohill
Yesterday at 8:08 AM
alexheinis
5 hours ago
Research Opportunity
dinowc   0
Yesterday at 10:17 PM
Hi everyone, my name is William Chang and I'm a second year phd student at UCLA studying applied math. Over the past year, I've mentored many undergraduates at UCLA to finished papers (currently under review) in reinforcement learning (see here. :juggle:)

I'm looking to expand my group (and the topics I'm studying) so if you're interested, please let me know. I would especially encourage you to reach out to me chang314@g.ucla.edu if you like math. :wow:
0 replies
dinowc
Yesterday at 10:17 PM
0 replies
Computational Calculus - SMT 2025
Munmun5   3
N Yesterday at 9:58 PM by alexheinis
Source: SMT 2025
1. Consider the set of all continuous and infinitely differentiable functions $f$ with domain $[0,2025]$ satisfying $$f(0)=0,f'(0)=0,f'(2025)=1$$and $f''$ is strictly increasing on $[0,2025]$ Compute smallest real M such that all functions in this set ,$f(2025)<M$ .
2. Polynomials $$A(x)=ax^3+abx^2-4x-c$$$$B(x)=bx^3+bcx^2-6x-a$$$$C(x)=cx^3+cax^2-9x-b$$have local extrema at $b,c,a$ respectively. find $abc$ . Here $a,b,c$ are constants .
3. Let $R$ be the region in the complex plane enclosed by curve $$f(x)=e^{ix}+e^{2ix}+\frac{e^{3ix}}{3}$$for $0\leq x\leq 2\pi$. Compute perimeter of $R$ .
3 replies
Munmun5
Yesterday at 9:35 AM
alexheinis
Yesterday at 9:58 PM
No more topics!
fof=f' (open question for me)
blang   3
N Jan 1, 2010 by blang
Hi !

An open question for me :

Find all $ f: \mathbb{R} \rightarrow \mathbb{R}$ such that $ f \circ f =f'$ .

Thanks !
3 replies
blang
Dec 31, 2009
blang
Jan 1, 2010
fof=f' (open question for me)
G H J
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
blang
165 posts
#1 • 3 Y
Y by Adventure10 and 2 other users
Hi !

An open question for me :

Find all $ f: \mathbb{R} \rightarrow \mathbb{R}$ such that $ f \circ f =f'$ .

Thanks !
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
fedja
6920 posts
#2 • 6 Y
Y by pieater314159, Adventure10, Mango247, and 3 other users
Nice to have you back!

This is going to be long and technical, so I'm not even sure I'll be able to post the entire thing at once. OK, let's start at least :).

Step 1: $ f\in C^1$. Indeed, $ f$ muct be at least continuous, whence the derivative is continuous due to the equation. Actually, you can get $ C^\infty$ this way.

Step 2: $ f$ cannot have a fixed point $ a > 0$. Indeed, then we would have $ f(x)\ge a$ for all $ x\ge a$ (you cannot cross the level $ a$ down because every time you are at that level the derivative is $ a > 0$), whence $ f'(x)\ge a$ when $ x\ge a$, whence $ f(x)\ge a + a(x - a)$ for $ x\ge a$, whence $ f'(x) = f(f(x))\ge a + a^2(x - a)$ for $ x > a$, whence $ f(x)\ge a + c(x - a)^2$, so $ f'(x)\ge a + c(f(x) - a)^2$, but this inequality leads to a blow-up in finite time as $ x$ increases.

Step 3: $ f$ has a fixed point. Indeed, otherwise we have either $ f(x) > x$ for all $ x$, or $ f(x) < x$ for all $ x$. The first option will result in $ f'(x) > x$, in $ f(x) > \frac 12 x^2$, and, finally in $ f'(x)\ge \frac 12 f(x)^2$ and a blow-up in finite time. The second option will result in $ f'(x) < 0$ for all $ x < 0$, which is incompatible with going to $ - \infty$ at $ - \infty$.

Step 4: Suppose that $ f$ has $ 0$ as a fixed point. Then we have
\[ f(x) = \int_0^x f(f(t))\,dt.\]
Take the largest interval $ ( - a,a)$ with the property that $ |f\circ f|\le 1$ on $ [ - a,a]$ (possibly the entire real line). Now, we have $ |f(x)|\le |x|$ on $ ( - a,a)$ whence $ f(x)\in( - a,a)$ for $ x\in ( - a,a)$ and $ |f'(x)| = |f(f(x))|\le |f(x)|$ on $ ( - a,a)$. Now, Gronwall's lemma implies that $ f\equiv 0$ on $ ( - a,a)$, so if $ a = + \infty$, we are done and if $ a < + \infty$, then $ a$ can be increased contrdicting the choice of $ a$.

Thus, we may assume that $ f( - a) = - a$ for some $ a > 0$. We will show that for each $ a > 0$, there is a unique function $ f$ satisfying the equation and this initial condition. Needless to say, I have no hope for an explicit elementary formula for it.

Step 5: Similarly to Step 2, we can show that $ f(x)\le - a$ for $ x\ge - a$ and $ f(x)\ge - a$ for $ x\le - a$. Denoting $ g(t) = - f( - a + t) - a$ and $ h(t) = f( - a - t) + a$, we get the system
\[ g'(t) = a - h(g(t)),\qquad h'(t) = a + g(h(t))\]
with the initial data $ g(0) = h(0) = 0$ to solve in non-negative smooth functions on $ [0, + \infty)$.

Step 6: $ h$ is increasing and $ h(t)\ge at$. That is obvious.

Step 7: $ g$ is increasing and tends to a finite positive limit as $ t\to + \infty$ equal to the unique solution $ L\le 1$ of the equation $ h(L) = a$. This is not so obvious but pretty standard. The key is the Lemma in the next step that should be applied to the solution $ g$ and the constant solution $ L$ to show that $ g(t)\le L$ everywhere after which everything becomes clear.

Step 8:
Lemma: If $ F\ge G$ are two smooth functions on and $ f,g$ are two smooth solutions of $ f' = F(f)$, $ g' = G(g)$ with $ f(0)\ge g(0)$, then $ f\ge g$ on $ [0, + \infty)$.

Proof: Replace $ F$ by $ F_\delta = F + \delta$ with $ \delta > 0$ and consider $ f_\delta$ solving $ f_\delta' = F_\delta(f_\delta), f_\delta(0) = f(0) + \delta$. Then the graph of $ f_\delta$ cannot cross or even touch that of $ g$ because at the first crossing point we would have $ f_\delta' - g'\ge\delta > 0$. So, $ f_\delta > g$. But $ f_\delta\to f$ as $ \delta\to 0$ by the classical stability theorem.

Now we have come to the real meat but I'll have to interrupt my typing for at least half an hour. I'll continue as soon as I find free time.
This post has been edited 1 time. Last edited by fedja, Feb 15, 2010, 2:54 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
fedja
6920 posts
#3 • 3 Y
Y by pieater314159, Adventure10, and 1 other user
Uphh... Back to the proof. We have the system $ g'=a-h(g),h'=a+g(h)$. We want to solve it iteratively. Start with $ g$, find $ h$ from the second equation, find new $ g$ from the first equation for that $ h$, and so on. Everything will be fine if we are able to introduce some "distance" between possible functions $ g$, in which this single loop $ g\mapsto h\mapsto g$ is contractive. So, here goes

Step 9: Our possible functions $ g$ are $ C^1$, increasing, have positive derivative at $ 0$ and tend to some limit not greater than $ 1$ at $ +\infty$. This describes our space. For each pair $ g,g_1$ of such functions, there exists the least $ \lambda\ge 1$ such that $ \lambda^{-1}g\le g_1\le \lambda g$. This $ \lambda$ (or, more precisely, $ \lambda -1$ will measure how close $ g$ and $ g_1$ are. Note that it is not a distance but the fixed point theorem still holds in this strange space.

Step 10: Suppose that $ g$ and $ g_1$ are $ \lambda$-close, then
$ h(\mu^{-1}t) \le h_1(t)\le h(\mu t)$ with $ \mu-1=\frac{\lambda-1}{1+a}$. Indeed, we know that $ h$ solves $ h'=a+g(h)$, so $ H(t)=H(\mu t)$ solves
\[ \begin{aligned}
H'=\mu a+\mu g(H)&= a+ a(\mu-1)+\mu g(H)\ge a+ [a(\mu-1)+\mu] g(H)
\\
&=
a+\lambda g(H)\ge a+g_1(H)\,,
\end{aligned}\]
(we used that $ 0\le g\le 1$) so, by Lemma, $ H\ge h_1$. The other inequality is obtained by exchanging the roles of $ g$ and $ g_1$.

Step 11: Now it remains to show that the above inequality for $ h$ and $ h_1$ implies that new $ g$ and $ g_1$ are $ \mu$-close. Again, consider $ G=\mu g$. It solves
\[ G'=\mu(a-h(\mu^{-1}G))_+\ge (a-h_1(G))_+\]
and the lemma does the trick again (note that we can safely drop the values of $ h,h_1$ exceeding $ a$ in our differential equations for $ g,g_1$ because we never get to that area.

The end! :lol:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
blang
165 posts
#4 • 2 Y
Y by Adventure10, Mango247
Thanks, fedja ! :)
I will study your solution.
Z K Y
N Quick Reply
G
H
=
a