Stay ahead of learning milestones! Enroll in a class over the summer!

G
Topic
First Poster
Last Poster
k a May Highlights and 2025 AoPS Online Class Information
jlacosta   0
May 1, 2025
May is an exciting month! National MATHCOUNTS is the second week of May in Washington D.C. and our Founder, Richard Rusczyk will be presenting a seminar, Preparing Strong Math Students for College and Careers, on May 11th.

Are you interested in working towards MATHCOUNTS and don’t know where to start? We have you covered! If you have taken Prealgebra, then you are ready for MATHCOUNTS/AMC 8 Basics. Already aiming for State or National MATHCOUNTS and harder AMC 8 problems? Then our MATHCOUNTS/AMC 8 Advanced course is for you.

Summer camps are starting next 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 an enriching 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][*]May 9th, 4:30pm PT/7:30pm ET, Casework 2: Overwhelming Evidence — A Text Adventure, a game where participants will work together to navigate the map, solve puzzles, and win! All are welcome.
[*]May 19th, 4:30pm PT/7:30pm ET, What's Next After Beast Academy?, designed for students finishing Beast Academy and ready for Prealgebra 1.
[*]May 20th, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 1 Math Jam, Problems 1 to 4, join the Canada/USA Mathcamp staff for this exciting Math Jam, where they discuss solutions to Problems 1 to 4 of the 2025 Mathcamp Qualifying Quiz!
[*]May 21st, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 2 Math Jam, Problems 5 and 6, Canada/USA Mathcamp staff will discuss solutions to Problems 5 and 6 of the 2025 Mathcamp Qualifying Quiz![/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
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
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, 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
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
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
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
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

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

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

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

Precalculus
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
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
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

AIME Problem Series A
Thursday, May 22 - Jul 31

AIME Problem Series B
Sunday, Jun 22 - Sep 21

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
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
May 1, 2025
0 replies
Geometry marathon
HoRI_DA_GRe8   846
N 2 minutes ago by ItzsleepyXD
Ok so there's been no geo marathon here for more than 2 years,so lets start one,rules remain same.
1st problem.
Let $PQRS$ be a cyclic quadrilateral with $\angle PSR=90°$ and let $H$ and $K$ be the feet of altitudes from $Q$ to the lines $PR$ and $PS$,.Prove $HK$ bisects $QS$.
P.s._eeezy ,try without ss line.
846 replies
HoRI_DA_GRe8
Sep 5, 2021
ItzsleepyXD
2 minutes ago
Find all functions $f$ is strictly increasing : \(\mathbb{R^+}\) \(\rightarrow\)
guramuta   0
7 minutes ago
Find all functions $f$ is strictly increasing : \(\mathbb{R^+}\) \(\rightarrow\) \(\mathbb{R^+}\) such that:
i) $f(2x)$ \(\geq\) $2f(x)$
ii) $f(f(x)f(y)+x) = f(xf(y)) + f(x) $
0 replies
guramuta
7 minutes ago
0 replies
Inspired by Bet667
sqing   2
N 7 minutes ago by lightsynth123
Source: Own
Let $ a,b $ be a real numbers such that $a^3+kab+b^3\ge a^4+b^4.$Prove that
$$1-\sqrt{k+1} \leq  a+b\leq 1+\sqrt{k+1} $$Where $ k\geq 0. $
2 replies
sqing
an hour ago
lightsynth123
7 minutes ago
Partitioning coprime integers to arithmetic sequences
sevket12   3
N 11 minutes ago by quacksaysduck
Source: 2025 Turkey EGMO TST P3
For a positive integer $n$, let $S_n$ be the set of positive integers that do not exceed $n$ and are coprime to $n$. Define $f(n)$ as the smallest positive integer that allows $S_n$ to be partitioned into $f(n)$ disjoint subsets, each forming an arithmetic progression.

Prove that there exist infinitely many pairs $(a, b)$ satisfying $a, b > 2025$, $a \mid b$, and $f(a) \nmid f(b)$.
3 replies
sevket12
Feb 8, 2025
quacksaysduck
11 minutes ago
No more topics!
Functional xf(x+f(y))=(y-x)f(f(x)) for all reals x,y
cretanman   58
N Apr 27, 2025 by GreekIdiot
Source: BMO 2023 Problem 1
Find all functions $f\colon \mathbb{R} \rightarrow \mathbb{R}$ such that for all $x,y \in \mathbb{R}$,
\[xf(x+f(y))=(y-x)f(f(x)).\]
Proposed by Nikola Velov, Macedonia
58 replies
cretanman
May 10, 2023
GreekIdiot
Apr 27, 2025
Functional xf(x+f(y))=(y-x)f(f(x)) for all reals x,y
G H J
Source: BMO 2023 Problem 1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SomeonesPenguin
128 posts
#50 • 1 Y
Y by zzSpartan
Cute FE. :) $P(x,y):xf(x+f(y))=(y-x)f(f(x))$

Case 1. $f(f(x)) = 0\ \forall x\in \mathbb R$. We have that $xf(x+f(y)) = 0$. If $f$ is constant, then $f \equiv 0$. If not, there exists $a\neq b \in \text{Im}f$. Take $y$ such that $f(y) = a$ and vary $x$ such that $x+a$ covers $\mathbb R$ and for the case where $x=0$ just swap $a$ with $b$ and take $x=a-b \neq 0$. Hence we get $f \equiv 0$.

Case 2. there exists $a$ such that $f(f(a)) \neq 0$. Suppose that there exists $y_{1}\neq y_{2}$ with $f(y_{1})=f(y_{2})$. From $P(a,y_{1})$ and $P(a,y_{2})$ we get a contradiction. So $f$ is injective.

$P(0,1) \Rightarrow f(f(0)) = 0$. And from $P(x,x)$ with $x\neq 0$ we get that $f(x+f(x)) = 0$ so from injectivity we have $x+f(x)=f(0)$. Notice that $0$ also satisfies this relation so we get that $f(x)=c-x$ which does satisfy the FE.
This post has been edited 1 time. Last edited by SomeonesPenguin, Aug 5, 2024, 3:23 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
onyqz
195 posts
#51
Y by
Let $P(x,y)$ denote the given assertion.
Now note that:
$P(x,x)$ gives $xf(x+f(x))=0$
$P(0,x)$ gives $f(f(0))=0$
Moreover, $P(f(0),x)$ and $P(0,x)$ give $f(0)f(f(0)+f(x))=(x-f(0))f(0)$, therefore we check the two cases $f(0)=0$ and $f(0)\neq0$.

Case 1: $f(0)=0$
$P(x,0)$ gives $f(x)=-f(f(x))$
$P(-f(x),x)$ and $P(x,0)$ give $0=(x+f(x))(f(-f(x))$
Case 1.1: $x+f(x)=0$, hence $f(x)=-x, \forall x\in\mathbb{R}$
Case 1.2: $f(-f(x))=0$. $P(x,0)$ and $P(x,-f(x))$ give $xf(x)=f(x)^2+xf(x)$ so $f(x)\equiv 0$.

Case 2: $f(0)\neq 0$ and $f(f(0)+f(x))=x-f(0)$ (which in fact also shows surjectivity).
Let $f(0)=a$, then from $f(f(0))=0$ we know $f(a)=0$.

Claim: $f$ is injective.
Proof: Suppose there exist $b, c \in\mathbb{R}$ s.t. $f(b)=f(c)$. Now look at $P(a,b): a(b-a)=af(a+f(b))=af(a+f(c))=a(c-a)$, therefore $b=c$ and $f$ is injective.

Looking back at $P(x,x)$ and using injectivity finally shows $x+f(x)=a$ or $f(x)=a-x$.
We conclude that $\boxed{f(x)=c-x}$ for some constant $c$ and $\boxed{f(x)\equiv 0}$ are the only solutions. $\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Flint_Steel
38 posts
#52
Y by
Lunch break!
Click to reveal hidden text
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Warideeb
59 posts
#53
Y by
Let $P(x,y)$ be the assertion of
$xf(x+f(y))=(y-x)f(f(x))$
\(Our\) \(claim\) \(is\) $f \equiv 0$ or $f(x)=u-x$ for some constant $u$
Now $f \equiv 0$ is obvious
We assume $f \not\equiv 0$
Now $P(0,y)$ gives us
$y f(f(0))=0$ so $f(f(0))=0$ Let $f(0)$ \(be\) $u$ then
$f(u)=0$ Now
$P(x,x)$ gives us
$xf(x+f(x))=0$ then $f(x+f(x))=0$
Now as $f \not\equiv 0$ there exists some $c \ne 0$ such $f(f(c)) \ne 0$ Now
$P(c,y)$ gives us
$cf(c+f(y))=(y-c)f(f(c))$ proving its bijectivity
Now then $f(x+f(x))=0=f(u)$
Then $x+f(x)=u$ then $f(x)=u-x$ for some constant $u$
This post has been edited 6 times. Last edited by Warideeb, Aug 15, 2024, 1:28 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
kinnikuma
9 posts
#54
Y by
Let $f$ be a solution to this equation.

Letting $x = y$ gives $xf(x + f(x)) = 0$.
Letting $x = 0$ and $y \neq 0$ gives $f(f(0)) = 0$.
Let's then take $y$ such that $f(y) = 0$ : we get $xf(x) = (y-x)f(f(x))$.

We are going to distinguish two cases :

- if there exists $x$ such that $f(f(x)) \neq 0$, then $y = \frac{xf(x)}{f(f(x))} + x$. So if there are two different $y$ such that $f(y) = 0$ then from this equation these two $y$ should be equal, absurd. Therefore there exists at most one $y$ such that $f(y) = 0$ : we have already established that $f(f(0)) = 0$, so this $y$ must be $f(0)$. For $x \neq 0$, we have $f(x+f(x)) = 0$ from the $x=y$ equation. So $x+f(x) = f(0) \Longrightarrow f(x) = -x + f(0)$. Combining with $f(0) = -0 + f(0)$, we can affirm that $f$ is of the form $- x + k$ where $k$ is a constant.

- if not, this means that $f(f(x)) = 0$ for all $x$. Therefore, $xf(x) = 0$. Clearly for $x \neq 0$, we necessarily have $f(x) = 0$. By the way, with $y = 0$, we have $xf(x+f(0)) = 0$ since $f(f(x)) = 0$. Letting $x = -f(0)$ we have $-f(0)^2 = 0$ so $f(0) = 0$. In summary, $f \equiv 0$.

To conclude there are two potential solutions : $f(x) = 0$ and $f(x) = -x + k$ where $k$ is a constant. We easily check that there are indeed solutions.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Acclab
33 posts
#55
Y by
$P(x,x)$ and $P(0,x)$ gives that $x+f(x)$ is always annihilated by $f$, then $P(x,x+f(x))$ yields that
$$ xf(x)=f(x)f(f(x)) $$giving either $f(x)=0$ or $f(f(x))=x$ for each $x$. If there is $x \neq 0$ such that the latter hold, $f$ is injective, giving $f(x) \equiv c-x$, otherwise we have the constant $0$ function everywhere except $0$ and a quick check reveals at $0$ too, both of which works.
This post has been edited 1 time. Last edited by Acclab, Oct 7, 2024, 3:12 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathematical717
34 posts
#56
Y by
Let the problem statement be denoted by $P(x,y)$, we have that \[P(x,x): xf(x+f(x))=0 \implies f(x+f(x))=0, \ \ \ \forall x \in \mathbb{R*}\]wherein $\mathbb{R*}$ is reals without $0$. Now we have \[P(-f(y),y): -f(y)f(0)=(y+f(y))f(f(-f(y)))\]where letting $y \ne 0$ we would have, $f(y)f(0)=0$ forcing either $f(0)=0$ otherwise $f(y) \equiv 0 \ \ \forall y \in \mathbb{R*}$ Now if we have $f \equiv 0$ that acts as a solution, assuming there are more we must have some $f(f(x)) \neq 0$ otherwise we have, \[xf(x+f(y))=0 \ \forall (x,y) \in \mathbb{R} \implies xf(x+f(f(0)))=0 \implies xf(x)=0 \implies f(x)=0 \ \forall x \in \mathbb{R*}\]however for some $y \ne 0$, we must have that $0=f(f(y))=f(0)$ which indicates identically $0$ a direct contradiction to our assumption. Now we have established our claim so let $f(y)=f(y'), \ y \ne y'$ then we compare $P(x,y)$ and $P(x,y')$ to obtain that $f$ is injective. However since \[P(0,1): f(f(0))=0 \ \land \ f(x+f(x))=0 \ \ \forall x \in \mathbb{R*}\]so we must have $f(x)+x=f(0)$ for some constant $f(0)$ and thus $f(x)=f(0)-x \ \forall x \in \mathbb{R*}$ however we must also have that, $f(0)=f(0)-0$ and so we have $f \equiv f(0)-x \ \ \forall x$.
Thus our solutions are $\boxed{f \equiv 0; f(x)=f(0)-x \ \ \forall x}$ which are trivial to check that they work.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cosdealfa
27 posts
#59 • 1 Y
Y by pb_ana
Denote by $P(x, y)$ the given assertion.
For an $y \neq 0$ $P(0, y): f(f(0)) = 0$
For an $x \neq 0$ $P(x, x): f(x + f(x))=0$

Case 1: $f$ is injective
$\Rightarrow x + f(x) = f(0)$ so $f(x) = f(0) - x, \forall x \in \mathbb{R} $

Case 2: $f$ is not injective
Then we can find $a, b \in \mathbb{R}$ such that $a \neq b$ and $f(a) = f(b)$

Then for any $x$ such that $x \neq a, x \neq b, x \neq 0$ we have:
$P(x, a) : xf(x + f(a)) = (a-x)f(f(x)) $
$P(x, b): xf(x + f(b)) = (b-x)f(f(x)) $

Assume LHS $\neq 0$ then RHS $\neq 0$. It follows that $a-x = b-x$ which is false, by the way we picked $x$.
So LHS $= 0$ therefore $f(x + f(a)) = 0$. $\forall x$ such that $x \neq a, x \neq b, x \neq 0$.
We are only left to check if $f(a + f(a)), f(b+ f(b)), f(f(a))$ are $0$.
By $P(a,a)$ and $P(b,b)$ we get $af(a + f(a)) = bf(b + f(b))= 0$ If $a, b \neq 0$ we are done. So assume one of them is $0$. If $a = 0$:
$\Rightarrow f(b + f(0)) = 0$ and by the first observation $f(f(0)) =0$. We also have $f(x + f(0)) = 0$ for all $x \neq 0, x\neq b$. So basically, $f \equiv 0$. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
iStud
268 posts
#60
Y by
nice problem for P1 level of BMO!

Clearly $\boxed{f(x)=0\quad\forall x\in\mathbb{R}}$ is a solution, so we'll now look for all nonzero solutions. Let $P(x,y)$ be the assertion of the functional equation given.

Take $x=y$, so $xf(x+f(x))=0$. For $x\ne 0$, the equation yields $f(x+f(x))=0\dots(1)$. Now taking $P(0,x)$ easily gives us that $xf(f(0))=0$, which is $f(f(0))=0\dots(2)$ for $x\ne 0$. Suppose there exists $a,b\in\mathbb{R}$ so that $f(a)=f(b)$. Hence, by comparing $P(1,a)$ and $P(1,b)$ yields $a-1=b-1$ $\Longleftrightarrow$ $a=b$ $\Longleftrightarrow$ $f$ is injective. So by applying injectivity at $(1)$ and $(2)$ will implies $x+f(x)=f(0)$ $\Longleftrightarrow$ $f(x)=f(0)-x$. Now by letting $f(0)=c$ for some $c\in\mathbb{R}$, we easily get $\boxed{f(x)=c-x\quad\forall x\in\mathbb{R}}$, which is indeed a solution. Therefore, 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.
Davud29_09
20 posts
#61
Y by
P(1,0) implies that f(f(0))=0.if f(f(x)) isn't constant then f is injective .And P(x,x) implies f(x+f(x))=0=f(f(0)) and we get f(x)=c-x from injectivity.If f(f(x)) is constant f(f(x))=0 and y>>f(0) implies f(x)=0 Answers: f(x)=0 and f(x)=c-x.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
TestX01
341 posts
#63
Y by
Suppose $f(f(x))=0$ holds for all $x$. Then if $x\neq 0$, we have $f(x+f(y))=0$. Fix $y=y_0$. Then $f(f(y_0))=0$, and $f(f(y_0)+x)=0$ for $x\neq 0$ but $x+f(y_0)$ along with $f(y_0)$ produce entire set of reals. Hence $f$ is $0$. We check easily that this works.

Now, subbing $x=0$ gives $0=yf(f(0))$. Pick $y$ nonzero, then $f(f(0))=0$. Hence, assume that $f(f(x_0))\neq 0$ for some $x_0\neq 0$. Substituting that for $x$, we have
\[f(c+f(y))=c'(y-x_0)\]for constants $c',c,x_0$ all non-zero. $f$ is injective as there is an isolated $f(y)$ on the LHS, noting $c'\neq 0$. $f$ is also surjective because shifting and scaling the reals still gives the reals on the RHS. Hence, there is an unique $k$ such $f(k)=0$. Letting $x=y$ initially, we have $xf(x+f(x))=0$, so when $x\neq 0$, then $f(x+f(x))=0=f(k)$, injectiveness yields $f(x)=k-x$. Of course, when $x=0$, then $f(0)=k=k-0$ too. One checks this works easily.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
awesomeming327.
1714 posts
#64
Y by
The answers are $f(x)=c-x$ and $f(x)=0$. These clearly work, so we will now prove that they are the only functions. Let $P(x,y)$ denote the assertion.

Claim 1: $f(x+f(x))=0$.
If $x\neq 0$ then use $P(x,x)$ to get $xf(x+f(x))=0$. If $x=0$ then use $P(0,1)$ to get that $f(f(0))=0$, which finishes the claim.

If $f(f(x))=0$ for all $x$ then $xf(x+f(y))=0$ for all $x$. Then $P(x,f(x))$ gives $xf(x)=0$ for all $x$. If $x\neq 0$ then $f(x)=0$. If $x=0$ then take $P(-f(0),0)$ to get $-f(0)^2=0$ which implies $f(0)=0$.

If $f(f(x))\neq 0$ for even a single value of $x$ then if $f(y_1)=f(y_2)$, then comparing $P(x,y_1)$ and $P(x,y_2)$ immediately gives $y_1=y_2$, so $f$ is injective. Then, by Claim $1$, $x+f(x)$ is a constant. 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.
GreekIdiot
219 posts
#65
Y by
$f$ is injective only for values $t$ such that $f(f(t)) \neq 0$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jasperE3
11305 posts
#66
Y by
cretanman wrote:
Find all functions $f\colon \mathbb{R} \rightarrow \mathbb{R}$ such that for all $x,y \in \mathbb{R}$,
\[xf(x+f(y))=(y-x)f(f(x)).\]
Proposed by Nikola Velov, Macedonia

Let $P(x,y)$ be the assertion $xf(x+f(y))=(y-x)f(f(x))$ and $S=\{x\in\mathbb R\mid f(x)=0\}$.

Case 1: $|S|=0$
$P(0,1)\Rightarrow f(f(0))=0$, contradiction.

Case 2: $|S|=1$
Let $k\in S$. Note that $f(x+f(x))=0$, since:
$P(x,x)\Rightarrow f(x+f(x))=0$ for all $x\ne0$
$P(0,1)\Rightarrow f(f(0))=0\Rightarrow f(x+f(x))=0$ for $x=0$
Then $x+f(x)=k$ for all $x$, or $\boxed{f(x)=k-x}$ which satisfies the equation for any $k\in\mathbb R$.

Case 3: $|S|\ge2$
Let $a,b\in S$ with $a\ne b$. Note that $\boxed{f(x)=0}$ is a solution, else there is some $j$ with $f(j)\ne0$.
$P(a,b)\Rightarrow f(0)=0\Rightarrow j\ne0$
$P(j,0)\Rightarrow jf(j)=-jf(f(j))\Rightarrow f(f(j))\ne0$
$P(j,a)\Rightarrow jf(j)=(a-j)f(f(j))$
$P(j,b)\Rightarrow jf(j)=(b-j)f(f(j))$
Comparing, we have $a=b$, contradiction. So no further solutions.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
GreekIdiot
219 posts
#67
Y by
pointwise avoided with this one
Z K Y
N Quick Reply
G
H
=
a