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

Contests & Programs AMC and other contests, summer programs, etc.
AMC and other contests, summer programs, etc.
3 M G
BBookmark  VNew Topic kLocked
Contests & Programs AMC and other contests, summer programs, etc.
AMC and other contests, summer programs, etc.
3 M G
BBookmark  VNew Topic kLocked
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
2025 ROSS Program
scls140511   7
N 2 hours ago by Pengu14
Since the application has ended, are we now free to discuss the problems and stats? How do you think this year's problems are?
7 replies
scls140511
Today at 2:36 AM
Pengu14
2 hours ago
Stanford Math Tournament (SMT) Online 2025
stanford-math-tournament   6
N Today at 3:49 AM by Vkmsd
[center]Register for Stanford Math Tournament (SMT) Online 2025[/center]


[center] :surf: Stanford Math Tournament (SMT) Online is happening on April 13, 2025! :surf:[/center]

[center]IMAGE[/center]

Register and learn more here:
https://www.stanfordmathtournament.com/competitions/smt-2025-online

When? The contest will take place April 13, 2025. The pre-contest puzzle hunt will take place on April 12, 2025 (optional, but highly encouraged!).

What? The competition features a Power, Team, Guts, General, and Subject (choose two of Algebra, Calculus, Discrete, Geometry) rounds.

Who? You!!!!! Students in high school or below, from anywhere in the world. Register in a team of 6-8 or as an individual.

Where? Online - compete from anywhere!

Check out our Instagram: https://www.instagram.com/stanfordmathtournament/

Register and learn more here:
https://www.stanfordmathtournament.com/competitions/smt-2025-online


[center]IMAGE[/center]


[center] :surf: :surf: :surf: :surf: :surf: [/center]
6 replies
stanford-math-tournament
Mar 9, 2025
Vkmsd
Today at 3:49 AM
nice geometry
zhoujef000   26
N Today at 3:34 AM by smbellanki
Source: 2025 AIME I #14
Let $ABCDE$ be a convex pentagon with $AB=14,$ $BC=7,$ $CD=24,$ $DE=13,$ $EA=26,$ and $\angle B=\angle E=60^{\circ}.$ For each point $X$ in the plane, define $f(X)=AX+BX+CX+DX+EX.$ The least possible value of $f(X)$ can be expressed as $m+n\sqrt{p},$ where $m$ and $n$ are positive integers and $p$ is not divisible by the square of any prime. Find $m+n+p.$
26 replies
zhoujef000
Feb 7, 2025
smbellanki
Today at 3:34 AM
Convolution of order f(n)
trumpeter   71
N Today at 3:07 AM by chenghaohu
Source: 2019 USAMO Problem 1
Let $\mathbb{N}$ be the set of positive integers. A function $f:\mathbb{N}\to\mathbb{N}$ satisfies the equation \[\underbrace{f(f(\ldots f}_{f(n)\text{ times}}(n)\ldots))=\frac{n^2}{f(f(n))}\]for all positive integers $n$. Given this information, determine all possible values of $f(1000)$.

Proposed by Evan Chen
71 replies
trumpeter
Apr 17, 2019
chenghaohu
Today at 3:07 AM
No more topics!
average FE
KevinYang2.71   74
N Yesterday at 4:55 AM by joshualiu315
Source: USAJMO 2024/5
Find all functions $f:\mathbb{R}\rightarrow\mathbb{R}$ that satisfy
\[
f(x^2-y)+2yf(x)=f(f(x))+f(y)
\]for all $x,y\in\mathbb{R}$.

Proposed by Carl Schildkraut
74 replies
KevinYang2.71
Mar 21, 2024
joshualiu315
Yesterday at 4:55 AM
average FE
G H J
Source: USAJMO 2024/5
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
KevinYang2.71
392 posts
#65 • 1 Y
Y by deduck
We claim the only such functions are $\boxed{f(x)\equiv -x^2}$, $\boxed{f(x)\equiv 0}$, and $\boxed{f(x)\equiv x^2}$. It is easy to check that these work.

Let $P(x,y)$ be the given assertion. $P(0,0)$ gives us $f(f(0))=0$. We have
\begin{align*}
P(1,0)&\implies f(1)=f(f(1))+f(0)\\
P(1,1)&\implies f(0)+2f(1)=f(f(1))+f(1)
\end{align*}so $f(0)=0$. Now
\begin{align*}
P(x,0)&\implies f(x^2)=f(f(x))\\
P(x,x^2)&\implies 2x^2f(x)=f(f(x))+f(x^2)
\end{align*}so $f(f(x))=f(x^2)=x^2f(x)$. It follows that $f(x)=f(-x)$.

Claim 1. If $f(a)=f(b)\neq 0$ then $a=\pm b$.

Proof. Let $a,b\in\mathbb{R}$ satisfy $f(a)=f(b)\neq 0$. Then
\[
P(a,b^2)\implies f(a^2-b^2)+2b^2f(a)=a^2f(a)+b^2f(b)\implies f(a^2-b^2)=f(a)(a^2-b^2)
\]so
\[
f(a)(a^2-b^2)=f(a^2-b^2)=f(b^2-a^2)=f(a)(b^2-a^2).
\]It follows that $a^2=b^2$, as desired. Thus $f(x)\in\{-x^2,0,x^2\}$. $\square$

Claim 2. There exists no $a,b\in\mathbb{R}\setminus\{0\}$ such that $f(a)=a^2$ and $f(b)=-b^2$.

Proof. Assume the contrary. Then
\begin{align*}
P(a,b^2)&\implies f(a^2-b^2)=a^4-b^4-2a^2b^2\\
P(b,a^2)&\implies f(b^2-a^2)=a^4-b^4+2a^2b^2
\end{align*}so $ab=0$, a contradiction. $\square$

Claim 3. There exists no $a,b\in\mathbb{R}\setminus\{0\}$ such that $f(a)=a^2$ and $f(b)=0$.

Proof. Assume the contrary. Then
\begin{align*}
P(a,b^2)&\implies f(a^2-b^2)=a^4-2a^2b^2\\
P(b,a^2)&\implies f(a^2-b^2)=a^4
\end{align*}so $ab=0$, a contradiction. $\square$

Claim 4. There exists no $a,b\in\mathbb{R}\setminus\{0\}$ such that $f(a)=-a^2$ and $f(b)=0$.

Proof. Assume the contrary. Then
\begin{align*}
P(a,b^2)&\implies f(a^2-b^2)=-a^4+2a^2b^2\\
P(b,a^2)&\implies f(a^2-b^2)=-a^4
\end{align*}so $ab=0$, a contradiction. $\square$

The conclusion follows. $\square$
This post has been edited 1 time. Last edited by KevinYang2.71, May 8, 2024, 7:00 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
KevinChen_Yay
185 posts
#66
Y by
Awesomeness_in_a_bun wrote:
they gave 0 for just including the functions

Yea I wrote the correct answer along with full proof, only error being assuming polynomial and got a 0 rips
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OptimalFEian
10 posts
#67
Y by
It is obvious that the functions $f(x) = x^2 \thinspace \forall x \in \mathbb{R}$ and $f(x)\equiv 0$ satisfy the given equation. Now, we will prove that these are the only solutions. Let $P(x, y)$ denote the given assertion.
\begin{align*}
		P(0, 0)&: f(f(0)) = 0 \\
		P(f(0), f(0)^2/2)&: f(f(0)^2/2) = f(0) + f(f(0)^2/2) \implies f(0) = 0 \\
		P(x, 0)&: f(x^2) = f(f(x)) \\
		P(0, x)&: f(-x) = f(x) \\
		P(x, x^2/2)&: f(f(x)) = x^2 f(x).
	\end{align*}Then, we can rewrite $P(x, y)$ as
\[f(x^2 - y) = (x^2 - 2y) f(x) + f(y).\]Replacing $y$ by $-y^2$ gives
\[f(x^2 + y^2) = x^2 f(x) + y^2 f(y) + 2y^2 f(x).\]By symmetry, we get $y^2 f(x) = x^2 f(y)$. Setting $y \to 1$, we have $f(x) = cx^2$ for some constant $c$. Since $f(f(x)) = x^2 f(x)$, it follows that $c = 0$ or $1$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ihatemath123
3426 posts
#70
Y by
The solutions are $f(x) = x^2$, $f(x) = -x^2$ and $f(x) = 0$.

Claim: We have $f(0) = 0$.
Proof: The claim follows if we subtract $P(1, \tfrac{1}{2} )$ from $P(1,1)$.

Now, taking $P(x,0)$ gives us $f(x^2) = f(f(x))$, so our FE is equivalent to
\[f(x^2 - y) = (x^2 - 2y) f(x) + f(y).\]Let $Q(x,y)$ denote the above assertion.

Claim: If there exists a nonzero root of $f$, then $f(x) = 0$ for all $x$.
Proof: Let this nonzero root be $r$. Subtracting $Q(0,x)$ from $Q(r,x)$ gives us
\[f(r^2 - x) = f(-x),\]so $f$ is periodic with period $r^2$. Now, subtracting $Q(x, r^2)$ from $Q(x,0)$ gives us $r^2 f(x) = 0$ for all $x$, so $f$ is identically $0$.

From hereon, assume $0$ is the only root of $f$. Taking $P(x, \tfrac{x^2}{2} )$ where $x \neq 0$ gives us $x^2 f(x) = f(f(x))$, implying "quasi-injectivity": that if $f(a) = f(b)$, then $|a|  = |b|$. Now, taking $P(x,0)$ gives us $f(x^2) = f(f(x))$, so $f(x) = \pm x^2$ for each $x$.

Claim: Either $f(x) = x^2$ for all $x$ or $f(x) = -x^2$ for all $x$.
Proof: Suppose otherwise. Notice that if $f$ is a solution to our rewritten FE, then $-f$ is also a solution. So, assume WLOG that $f(1) = 1$. Now, let $x$ and $y$ be nonzero reals with such that $x^2 - y = 1$:
  • If, FTSOC, $f(x) = x^2$ and $f(y) = -y^2$, taking $Q(x,y)$ gives us $y = 0$, which is a contradiction.
  • If, FTSOC, $f(x) = -x^2$ and $f(y) = y^2$, taking $Q(x,y)$ gives us
    \[x^2(x^2 - 2y) = 0 \implies y =  x^2 - y = 1 \implies x = \sqrt{2}.\]But now, taking $Q(1, \sqrt{2})$ gives us $\left| (1 - \sqrt{2})^2 \right| = \left| -1 - 2 \sqrt{2} \right|$, contradiction.
  • If, FTSOC, $f(x) = -x^2$ and $f(y) = -y^2$, taking $Q(x,y)$ gives us $2(x^2 - y)^2 = 0$, contradiction.

It follows that $f(x) = x^2$ or $f(x) = -x^2$.
This post has been edited 1 time. Last edited by ihatemath123, Aug 23, 2024, 3:30 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
CyclicISLscelesTrapezoid
371 posts
#71 • 4 Y
Y by GrantStar, OronSH, megarnie, centslordm
The solutions are $f(x)=0$, $f(x) \equiv x$, and $f(x) \equiv -x^2$, which work. Let $P(x,y)$ denote the assertion in the problem statement.

$P(0,0)$ gives $f(f(0))=0$.
$P(f(0),\tfrac{f(0)^2}{2})$ gives $f(0)=0$.
$P(0,x)$ gives $f(x)=f(-x)$.
$P(x,0)$ gives $f(f(x))=f(x^2)$.

$P(x,y^2)$ gives
\[f(x^2-y^2)+2y^2f(x)=f(f(x))+f(y^2)=f(x^2)+f(y^2).\]Swapping $x$ and $y$ gives
\[f(x^2-y^2)+2y^2f(x)=f(y^2-x^2)+2x^2f(y)=f(x^2-y^2)+2x^2f(y),\]so $y^2f(x)=x^2f(y)$. Plugging in $y=1$ gives $f(x)=f(1)x^2$.

Since $f(f(x))=f(x^2)$, we have
\[f(1)(f(1)x^2)^2=f(1)x^4 \implies f(1)^3=f(1),\]so $f(1) \in \{0,1,-1\}$, as desired. $\blacksquare$
This post has been edited 1 time. Last edited by CyclicISLscelesTrapezoid, Sep 1, 2024, 9:15 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
fearsum_fyz
48 posts
#72
Y by
We claim the only answers are $\boxed{f(x) = 0}$, $\boxed{f(x) = x^2}$, and $\boxed{f(x) = - x^2}$. It is easy to verify that these work. It remains to show that they the only solutions.

Claim 1: $x^2 f(x) = f(f(x))$
Proof.
$\underline{P}(x, 0) \implies f(x^2) = f(f(x)) + f(0)$
$\underline{P}(x, x^2) \implies f(0) + 2x^2f(x) = f(f(x)) + f(x^2)$
Adding, we get $2x^2 f(x) = 2f(f(x)) \implies \boxed{x^2 f(x) = f(f(x))}$

Claim 2: $f(0) = 0$
Proof.
By Claim 1, we have $f(f(1)) = f(1)$. Therefore:
$\underline{P}(1, 1) \implies f(0) + \cancel{2f(1)} = \cancel{2f(1)}$
$\implies \boxed{f(0) = 0}$.

Claim 3: $f$ is even.
Proof.
Using Claim 2:
$\underline{P}(0, y) \implies \boxed{f(-y) = f(y)}$

Claim 4: If $f \not\equiv 0$, then $f(x) = f(y) \implies x = \pm y$.
Proof.
By Claim 1, $f(x) = f(y) \implies f(f(x)) = f(f(y)) \implies \frac{f(f(x))}{f(x)} = \frac{f(f(y))}{f(y)} \implies x^2 = y^2 \implies x = \pm y$.

It is easy to see that Claim 4 then finishes the problem: If $f \not\equiv 0$, then we have
$f(x^2) = f(f(x)) \implies \boxed{f(x) = \pm x^2}$.

It remains to take care of the pointwise trap, which is not hard to do. However, for the sake of compactness, I have excluded the details from my post.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
eg4334
597 posts
#73 • 1 Y
Y by Marcus_Zhang
I claim the only solutions are $\boxed{f(x) \equiv 0, x^2, -x^2}$ which can easily be verified to work. Let $P(x, y)$ denote the given assertion.

$P(x, \frac{x^2}{2})$ gives $f(f(x)) = x^2f(x)$.

$P(-x, y)$ and $P(x, y)$ and equating gives $x^2f(x)-2yf(x)=x^2f(-x)-2yf(-x)$. $y=0$ so $x^2f(x)=x^2f(-x)$ or $f(x)=f(-x)$ for nonzero $x$ and thus for all $x$. Therefore $f$ is even. Call this statement $1$.

Let $x=0$ immediately gives us $2yf(0)=0$ so $f(0)=0$, coupled with the fact that $f(f(0))=0$. Now let $y=0$, so $f(x^2)=f(f(x))$, and we have the chain: $$f(x^2)=f(f(x))=x^2f(x)$$which is of tremendous use. Let $x=f(x)$ in the latter inequality to get $$f(f(f(x)))=f(x)^2f(f(x))$$$$f(x)^2 f(x^2) = x^4 f(x^2)$$so $f(x) = 0, x^2, -x^2$ as mentioned before for an individual $x$.

We now tackle the pointwise trap. I provide a sketch below.

If $f(a)=a^2$ and $f(b)=0$ for $a, b \neq 0$, then consider $P(b, a)$ and $P(b, -a)$. This readily shows $f(b^2-a) = f(b^2+a)=a^2$. This contradicts $a, b \neq 0$.

If $f(a)=-a^2$ and $f(b)=0$ for $a, b \neq 0$ then consider $P(b, a)$ and $P(b, -a)$ yet again. This shows that $(b^2-a)^2 = (b^2+a)^2$ again which contradicts $a, b \neq 0$.

If $f(a)=a^2$ and $f(b)=-b^2$ then $P(\sqrt{a}, b)$ and $P(\sqrt{b}, a)$ give us another contradiction.
This post has been edited 1 time. Last edited by eg4334, Mar 1, 2025, 1:09 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cappucher
88 posts
#74
Y by
The only solutions that satisfy the given are $f(x) \equiv x^2, -x^2, 0$.

Claim 1: $f(0) = 0$

Proof: Let $P(x, y)$ denote the given equation. From $P(x, 0)$, we obtain

\[f(x^2) = f(f(x)) + f(0)\]
Let $c = f(0)$. From $P(0, 0)$, we obtain

\[c = f(c) + c \implies f(c) = 0 \implies f(f(c)) = c\]
From $P(c, 0)$, we obtain

\[f(c^2) = f(f(c)) + c \implies f(c^2) = 2c\]
However, from $P(c, c^2)$, we know that

\[f(0) + 2c^2f(c) = f(f(c)) + f(c^2)\]\[c = c + f(c^2) \implies f(c^2) = 0\]\[f(c^2) = 2c = 0 \implies c = 0\]
as desired.

Claim 2: $f(f(x)) = f(x^2) = x^2f(x)$.

Proof: From $P(x, 0)$, we have

\[f(x^2) = f(f(x)) + f(0) \implies f(x^2) = f(f(x))\]
From $P(x, x^2)$, we have

\[f(x^2 - x^2) + 2x^2f(x) = f(f(x)) + f(x^2)\]\[2x^2f(x) = 2f(x^2) \implies x^2f(x) = f(x^2)\]
as desired.

Claim 3: $f(x)$ is even.

Proof: From $P(0, y)$, we have

\[P(0 - y) + 2yf(0) = f(f(0)) + f(y)\]\[f(-y) = f(y)\]
as desired.

Using claims $2$ and $3$, we will prove that $f(x) \equiv x^2, -x^2, 0$. After we finish doing so, we will show these are the only solutions by avoiding the pointwise trap.

Note that

\[f(f(f(x))) = f(f(x^2)) = x^4f(x^2) = x^6f(x)\]
and that

\[f(f(f(x))) = (f(x))^2f(f(x)) = x^2(f(x))^3\]
We can then equate the two to obtain

\[x^6f(x) = x^2\left(f(x)\right)^3\]\[x^2f(x)\left(f(x)^2 - x^4\right) = 0\]\[x^2f(x)\left(f(x) + x^2\right)\left(f(x) - x^2\right) = 0\]
The only way for this equation to be satisfied for all $x$ is if $f(x) \equiv -x^2, x^2, 0$.

Avoiding the pointwise trap

There are three cases to tackle: $f(x) \equiv 0, x^2$, $f(x) \equiv 0, -x^2$, and $f(x) \equiv -x^2, x^2$. Because these take a while to type out, I will edit this solution later to include them. The basic idea is to have non-zero variables $a$ and $b$ such that $f(a) = 0$ and $f(b) = b^2$ (for case 1; same logic applies for cases 2 and 3) and show that this leads to a contradiction with the given. Claim 3 ($f(x)$ is even) will prove useful for this.
This post has been edited 2 times. Last edited by cappucher, Dec 23, 2024, 8:19 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Yiyj1
1175 posts
#75 • 1 Y
Y by megarnie
OronSH wrote:
$f(x^2-y)+2yf(x)=f(f(x))+f(y)$

We claim the solutions are $f(x)=0,f(x)=x^2,f(x)=-x^2.$

Denote the assertion as $P(x,y).$
Take $P(x,0)$ to get $f(x^2)=f(f(x))+f(0).$
Take $P(x,x^2)$ to get $f(0)+2x^2f(x)=f(f(x))+f(x)^2=2f(f(x))+f(0).$ Thus $x^2f(x)=f(f(x)).$ In particular, $f(f(0))=0.$
From $P(x,0)$ and $P(-x,0)$ we see $f(f(x))=f(f(-x)).$ Thus $x^2f(x)=x^2f(-x),$ so for $x\ne 0$ we have $f(x)=f(-x)$ and thus $f$ is even.
Take $P(0,y)$ to get $f(-y)+2yf(0)=f(f(0))+f(y).$ This simplifies to $2yf(0)=0,$ so $f(0)=0.$

Now suppose $f(k)=0.$ From $P(k,0)$ we get $f(k^2)=0.$ Taking $P(k,x^2)$ gives $f(x^2)=f(k^2-x^2)=f(x^2-k^2).$ Then $P(x,k^2)$ gives $f(x^2-k^2)+2kf(x)=f(f(x))=f(x^2),$ so $2kf(x)=0,$ so either $f$ is identically zero or $k=0.$

Now suppose $f(a)=f(b)\ne 0.$ From $x^2f(x)=f(f(x))$ we have $a^2f(a)=f(f(a))=f(f(b))=b^2f(b)$ so $a^2=b^2$ and $a=\pm b.$ From $P(x,0)$ we get $f(x)=\pm x^2$ for all $x.$

Taking $P(x,f(y))$ gives $f(x^2-f(y))=f(f(x))+f(f(y))-2f(x)f(y).$ This is symmetric, so $f(x^2-f(y))=f(y^2-f(x))$ so $x^2-f(y)=\pm(y^2-f(x)).$

Now suppose $f(a)=a^2,f(b)=-b^2.$ Taking $x=a,y=b$ in the above, we get $a^2+b^2=\pm(b^2-a^2),$ but clearly this only holds when either $a=0$ or $b=0.$

Thus the only possible solutions are $f(x)=0,f(x)=x^2,f(x)=-x^2$ and we may easily check that these work.

Oron orz
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
D4N13LCarpenter
13 posts
#76 • 1 Y
Y by Vahe_Arsenyan
Let $P(x, y)$ denote the given assertion. We claim that the only solutions are $f\equiv0$, $f(x)=x^2$ and, $f(x)=-x^2$ which clearly work.

Claim 1.4 We have $f(x^2)=f(f(x))$
Proof $P(x,0)$ yields $f(x^2)=f(f(x))+f(0)$, so it suffices to prove that $f(0)=0$. Observe that by $P(1,1)$, we get $$f(0)+2f(1)=f(f(1))+f(1)$$but after cancelling out terms and substituting $f(f(1))$ for $f(1)-f(0)$, we get $f(0)+f(1)=f(1)-f(0)$ which directly implies the result.
Notice how by using $f(0)=0$ we can now easily prove that $f$ is even, as $P(0,y)$ gives $f(-y)=f(y)$. The key claim is as follows.
Claim 1.5 $f(x)=f(y)$ implies $\vert x\vert=\vert y\vert$ or $f(x)=f(y)=0$
Proof $P(x, y^2)$ states $$f(x^2-y^2)+2y^2f(x)=f(f(x))+f(y^2)$$and $P(y, x^2)$ states $$f(y^2-x^2)+2x^2f(y)=f(f(x))+f(x^2)$$but using both that $f(x^2)=f(f(x))$ and that $f$ is even, this is equivalent to $y^2f(x)=x^2f(y)=x^2f(x)$ so either $f(x)=0$ or $x^2=y^2\implies \vert x\vert=\vert y\vert y$
Claim 1.6 If $f(c)=0$ for some positive real $c$, than $f\equiv0$
Proof $P(c,x)$ gives $$f(c^2-y)=f(f(c))+f(y)$$but note that $f(f(c))=f(0)=0$ so we in fact have $f(c^2-y)=f(y)$. However, by Claim 1.5 either $f(c^2-y)=f(y)=0$ or $\vert c^2-y\vert=\vert y\vert$, the latter being only true when $y=\frac{c^2}{2}$. Thus, we have $f(x)=0$ for all $x\neq \frac{c^2}{2}$. But one can now easily find $\frac{c^2}{2}$ taking any $x, y$ satisfying $x^2-y=\frac{c^2}{2}$, as then $P(x,y)$ gives $f(\frac{c^2}{2})=0$.
From now on, suppose that $f(c)\neq0$ for any $c$ greater than $0$. Recall that $f(x^2)=f(f(x))$ so we can apply Claim 1.5 to get $\vert f(x)^2\vert=\vert x^4\vert$, which yields $f(x)=\pm x^2$.

We now aim to prove that $f$ can't change of sign, thus leaving us with only the initially stated solutions. Assume for the sake of contradiction that $f$ changes in sign. By Pigeonhole principle, one of these must repeat an infinite number of times, WLOG say it is $f(x)=x^2$, as the other is completely symmetric. Now choose a sufficiently large $a$ such that $f(a)=a^2$ and a small $b\neq 0$ in comparison which satisfies $f(b)=-b^2$. Now notice that $P(a,b)$ gives $$f(a^2-b)+2a^2b=a^4-b^2$$where we used $f(f(x))=x^2f(x)$, which is a consequence of $P(x^2, y^2)$. We can rewrite this as $f(a^2-b)=a^4-b^2-2a^2b$ but we also know $f(a^2-b)=\pm (a^2-b)^2$. So we can now distinguish two cases.

Case 1. $f(a^2-b)=(a^2-b)^2$
Combining this with $f(a^2-b)=a^4-b^2-2a^2b$ we get $a^4-b^2-2a^2b=a^4-2a^2b+b^2$ so $-b^2=b^2\implies b=0$. But we supposed $b\neq 0$, so this case leads to a contradiction.

Case 2. $f(a^2-b)=-(a^2-b)^2$
Notice how $a^4-b^2-2a^2b$ is positive for sufficiently large $a$, however $-(a^2-b)^2$ is always negative, so we can immediately discard this case.
This post has been edited 2 times. Last edited by D4N13LCarpenter, Jan 10, 2025, 7:02 PM
Reason: I accidentally wrote $f(b)=b^2$ but it's clearly $f(b)=-b^2$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
anandswaroop191
14 posts
#77
Y by
Plug in $y = 0$ to get $f(f(x)) = f(x^2) - f(0)$, substitute in the original equation to get $f(x^2 - y) + 2yf(x) = f(x^2) + f(y) - f(0)$*.

Plug in $x = y = 1$ to get $f(0) + 2f(1) = f(1) + f(1) - f(0) \implies f(0) = 0$. Substitute into * to get $f(x^2 - y) + 2yf(x) = f(x^2) + f(y)$**.

Plug in $x = 0$ to get $f(y) = f(-y)$.

Substitute $y \mapsto -y$ to get $f(x^2 + y) - 2yf(x) = f(x^2) + f(-y) = f(x^2) + f(y)$. Subtract ** from this to get $f(x^2 + y) - f(x^2 - y) = 4yf(x)$. Substitute $y \mapsto y^2$ to get $f(x^2 + y^2) - f(x^2 - y^2) = 4y^2f(x)$.

Note that $f(x^2 - y^2) = f(y^2 - x^2)$ (because $f$ is even), so $4y^2f(x) = f(x^2 + y^2) - f(x^2 - y^2) = f(y^2 + x^2) - f(y^2 - x^2) = 4x^2f(y)$.

Simplifying, we get $y^2f(x) = x^2f(y)$. Plug in $y = 1$ to get $f(x) = x^2f(1)$. Therefore, $f(x) = cx^2$ for some constant $c$.

Going back to the original equation, we have $f(x^2 - y) + 2yf(x) = cx^4 - 2cx^2y + cy^2 + 2x^2y = cx^4 + cy^2$, and $f(f(x)) + f(y) = c^3x^4 + cy^2$. Equating these, we have $(c^3 - c)x^4 = 0$ for all real $x$; solving $c^3 - c = 0$, we get $c \in \{-1, 0, 1\}$.

The desired functions are $f(x) = -x^2$, $f(x) = 0$, and $f(x) = x^2$. $\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathwiz_1207
91 posts
#78
Y by
Avoids pointwise I think. We claim the only solutions are $f \equiv \boxed{0, x^2, -x^2}$. It can be easily verified that these work. We will now prove that these are the only solutions.

Claim: $f(f(x)) = x^2f(x) = f(x^2)$
Proof. $x = x, y = \frac{x^2}{2}$ yields
\[f(\frac{x^2}{2})+ x^2f(x) = f(f(x)) + f(\frac{x^2}{2}) \implies f(f(x)) = x^2f(x)\]Now, $x = x, y = x$ gives
\[f(x^2 - x) + 2xf(x) = x^2f(x) + f(x)\]\[f(x^2 - x) = (x - 1)^2f(x)\]Plugging in $x = 1$ gives $f(0) = 0$. Now, $x = x, y = 0$ gives us
\[f(x^2) = f(f(x)) = x^2f(x)\]so the claim is proven.

We now prove the second key claim, which almost finishes the problem:

Claim 2: $f$ is even.
Proof. By claim $1$, we have that
\[f(x^2) = x^2f(x)\]and that
\[f((-x)^2) = x^2f(-x)\]This implies that $x^2f(x) = x^2f( -x)$. If $x \neq 0$, we get $f(x) = f(-x)$. Otherwise, if $x = 0$, it is trivial that $f(0) = f(-0)$. Thus, $f$ is even.

Now for the finish. Plugging in $x = x, y = t^2$ yields
\[f(x^2 - t^2) + 2t^2f(x) = f(f(x)) + f(t^2) = f(f(x)) + f(f(t))\]Swapping $x$ and $t$ gives
\[f(t^2 - x^2) + 2x^2f(t) = f(f(t)) + f(x^2) = f(f(x)) + f(f(t))\]However, since $f$ is even, the first term of both equations are equal, so we may subtract to get
\[2x^2f(t) = 2t^2f(x)\]Assume $x, t$ are nonzero, then this means that $\frac{f(x)}{x^2}$ is equal to a constant for all nonzero values of $x$. This means $f(x) = cx^2$, and upon substituting, we find $c = 0, 1, -1$. Clearly, $x = 0$ also satisfies this, so we find $f \equiv 0, x^2, -x^2$ and we are done.
This post has been edited 1 time. Last edited by mathwiz_1207, Jan 30, 2025, 6:59 AM
Reason: skill issue
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bjump
962 posts
#79 • 2 Y
Y by KenWuMath, megarnie
Setting $x=y=0$ gives $f(f(0))=0$. Setting $x=1$, and $y=0$ gives $f(1)=f(f(1))+f(0)$. Setting $x=y=1$ gives $f(0)+f(1)=f(f(1))$. Subtracting the previous equations we have made gives $f(0)=0$. Therefore setting $y=0$ gives $f(x^2)=f(f(x))$. Setting $x=0$ now gives $f(y)=f(-y)$. Now I claim that $f(x)=g(x)$ is a valid solution to the functional equation iff $f(x)=-g(x)$ is a valid solution. This follows because :$$-f(x^2-y)-2yf(x)=-f(-f(x)) -f(y) = -f(f(x))-f(y) \iff f(x^2-y)+2yf(x) = f(f(x)) + f(y).$$Therefore we may assume that $f(1) \ge 0$. Notice that setting $x=1$ and $y=x^2$ implies that $f(x^2-1)+2x^2f(1)=f(1)$, and setting $x=x$, and $y=1$ gives $f(x^2-1)+2f(x)=f(x^2)+f(1)$ subtracting equations gives $f(x)=f(1)x^2$. We also have from previosly derived properties $f(1)=f(f(1))= f(1)^3$. Therefore $f(x)=-x^2, 0 , x^2$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilikeminecraft
277 posts
#80
Y by
I claim that $f(x) = 0, x^2, -x^2$

Let $P(x,y)$ be our assertion. We start by plugging in a lot of values.

$P(x, 0)$ implies that $f(x^2) = f(f(x)) + f(0),$ and $P(x, x^2)$ implies that $f(0) + 2x^2f(x) = f(f(x)) + f(x^2) = f(f(x)) + f(f(x)) + f(0),$ and thus $x^2f(x) = f(f(x)), (1)$. $P(0, 0)$ implies that $f(f(0)) = 0.$

\begin{lemma}
$f(0) = 0.$
\end{lemma}
\begin{proof}
Let $f(0) = k.$ Thus, we also have that $f(k) = 0.$

Now, we take $P(0, k),$ which tells us that $f(-k) = -2k^2.$ $P(-k, 0)$ gives us that $f(x^2) = f(f(-k)) + k = k^2f(-k) + k = -2k^4 + k$, but $P(k, 0)$ gives us that $f(x^2) = f(f(k)) + f(0) = 2k.$ Thus, $(2k^3 + 1)k = 0.$

If $k \neq 0,$ we have that $k = -2^{-\frac13}.$ Thus, $f(-k) = -2^{\frac13} = \frac1k.$ We also know that $k^2f(-k) = f(f(-k)) = f(\frac1k),$ and hence $f(\frac1k) = k.$ Thus, $f(f(\frac1k)) = 0,$ but then we also have that $f(f(\frac1k)) = \frac1{k^2}f(\frac1k) = \frac 1k$ by $(1),$ and hence $\frac1k = 0,$ which is a contradiction. Thus, $f(0) = 0.$
\end{proof}

$P(0, x)$ tells us that $f$ is even. Now, $P(x, y^2)$ tells us that $f(x^2 - y^2) + 2y^2f(x) = f(f(x)) + f(y^2) = x^2f(x) + y^2f(y).$ However, by swapping the variables, we get that $f(y^2 - x^2) + 2x^2f(y) = y^2f(y) + x^2f(x).$ By subtracting these two, we get that $2x^2f(y) + x^2f(x) + y^2f(y) = 2y^2f(x) + y^2f(y) + x^2f(x).$ Thus, $\frac{f(x)}{x^2} = \frac{f(y)}{y^2}.$

Let this constant be $c.$ By plugging it in our equation, we see that $c = 1, 0, -1.$ Thus, $f(x) = 0, -x^2, x^2$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
joshualiu315
2513 posts
#81
Y by
i believe this dodges pointwise trap


The answer is $f(x) = \boxed{0, \pm x^2}$.

Let the given assertion be $P(x,y)$. Note that $P(x,0)$ gives

\[f(x^2) = f(f(x))+f(0), \quad \bigstar\]
and $P(x,\tfrac{x^2}{2})$ gives $x^2f(x) = f(f(x))$. We plug this into the original equation to get a new assertion:

\[Q(x,y): \ f(x^2-y) + 2yf(x) = x^2f(x)+f(y).\]
Plugging in $Q(-x,y)$ gives

\[f(x^2-y) + 2yf(-x) = x^2f(-x) + f(y).\]
Comparing this to $Q(x,y)$ gives

\[(x^2-2y)(f(x)-f(-x)) = 0,\]
so for $y \neq \tfrac{x^2}{2}$, we have $f(x) = f(-x)$ for all $x$; in other words, $f$ is even. Then, $Q(0,y)$ gives

\[2yf(x) = 0,\]
which means $f(0) = 0$. Plugging this into $\bigstar$ yields $f(x^2) = f(f(x)) = x^2f(x)$. Comparing $Q(x,y^2)$ and $Q(y,x^2)$ gives

\[f(x^2-y^2) + 2y^2f(x) = x^2f(x) + f(y^2) = f(x^2)+f(y^2),\]\[f(y^2-x^2) + 2x^2f(y) = y^2f(y)+f(x^2) = f(y^2)+f(x^2).\]
Since $f(x^2-y^2) = f(y^2-x^2)$, we have $2y^2f(x) = 2x^2f(y)$, or that $\tfrac{f(x)}{x^2} = \tfrac{f(y)}{y^2}$. Setting this equal to a constant yields $f(x) = cx^2$ for some value of $c$ and all values of $x$. Then,

\[cx^4 = f(x^2) = f(f(x)) = c^3x^4 \implies c \in \{-1,0,1\}.\]
This gives us our desired solution set.
Z K Y
N Quick Reply
G
H
=
a