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
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
System of equations in juniors' exam
AlperenINAN   0
5 minutes ago
Source: Turkey JBMO TST P3
Find all positive real solutions $(a, b, c)$ to the following system:
$$
\begin{aligned}
a^2 + \frac{b}{a} &= 8, \\
ab + c^2 &= 18, \\
3a + b + c &= 9\sqrt{3}.
\end{aligned}
$$
0 replies
AlperenINAN
5 minutes ago
0 replies
reals associated with 1024 points
bin_sherlo   0
7 minutes ago
Source: Türkiye JBMO TST P8
Pairwise distinct points $P_1,\dots,P_{1024}$, which lie on a circle, are marked by distinct reals $a_1,\dots,a_{1024}$. Let $P_i$ be $Q-$good for a $Q$ on the circle different than $P_1,\dots,P_{1024}$, if and only if $a_i$ is the greatest number on at least one of the two arcs $P_iQ$. Let the score of $Q$ be the number of $Q-$good points on the circle. Determine the greatest $k$ such that regardless of the values of $a_1,\dots,a_{1024}$, there exists a point $Q$ with score at least $k$.
0 replies
bin_sherlo
7 minutes ago
0 replies
n + k are composites for all nice numbers n, when n+1, 8n+1 both squares
parmenides51   3
N 9 minutes ago by Nuran2010
Source: 2022 Saudi Arabia JBMO TST 1.1
The positive $n > 3$ called ‘nice’ if and only if $n +1$ and $8n + 1$ are both perfect squares. How many positive integers $k \le 15$ such that $4n + k$ are composites for all nice numbers $n$?
3 replies
parmenides51
Nov 3, 2022
Nuran2010
9 minutes ago
Divisibility NT
reni_wee   2
N 12 minutes ago by reni_wee
Source: Iran 1998
Suppose that $a$ and $b$ are natural numbers such that
$$p = \frac{b}{4}\sqrt{\frac{2a-b}{2a+b}}$$is a prime number. Find all possible values of $a$,$b$,$p$.
2 replies
reni_wee
Today at 5:11 AM
reni_wee
12 minutes ago
Aslı tries to make the amount of stones at every unit square is equal
AlperenINAN   0
12 minutes ago
Source: Turkey JBMO TST P2
Let $n$ be a positive integer. Aslı and Zehra are playing a game on an $n\times n$ grid. Initially, $10n^2$ stones are placed on some of the unit squares of this grid.

On each move (starting with Aslı), Aslı chooses a row or a column that contains at least two squares with different numbers of stones, and Zehra redistributes the stones in that row or column so that after redistribution, the difference in the number of stones between any two squares in that row or column is at most one. Furthermore, this move must change the number of stones in at least one square.

For which values of $n$, regardless of the initial placement of the stones, can Aslı guarantee that every square ends up with the same number of stones?
0 replies
AlperenINAN
12 minutes ago
0 replies
Minimum value of a 3 variable expression
bin_sherlo   2
N 16 minutes ago by Tamam
Source: Türkiye JBMO TST P6
Find the minimum value of
\[\frac{x^3+1}{(y-1)(z+1)}+\frac{y^3+1}{(z-1)(x+1)}+\frac{z^3+1}{(x-1)(y+1)}\]where $x,y,z>1$ are reals.
2 replies
bin_sherlo
30 minutes ago
Tamam
16 minutes ago
ISI UGB 2025 P8
SomeonecoolLovesMaths   5
N 21 minutes ago by MathematicalArceus
Source: ISI UGB 2025 P8
Let $n \geq 2$ and let $a_1 \leq a_2 \leq \cdots \leq a_n$ be positive integers such that $\sum_{i=1}^{n} a_i = \prod_{i=1}^{n} a_i$. Prove that $\sum_{i=1}^{n} a_i \leq 2n$ and determine when equality holds.
5 replies
SomeonecoolLovesMaths
Today at 11:20 AM
MathematicalArceus
21 minutes ago
2n^2+4n-1 and 3n+4 have common powers
bin_sherlo   1
N 23 minutes ago by Burmf
Source: Türkiye JBMO TST P5
Find all positive integers $n$ such that a positive integer power of $2n^2+4n-1$ equals to a positive integer power of $3n+4$.
1 reply
bin_sherlo
33 minutes ago
Burmf
23 minutes ago
Trigo relation in a right angled. ISIBS2011P10
Sayan   9
N 23 minutes ago by sanyalarnab
Show that the triangle whose angles satisfy the equality
\[\frac{\sin^2A+\sin^2B+\sin^2C}{\cos^2A+\cos^2B+\cos^2C} = 2\]
is right angled.
9 replies
Sayan
Mar 31, 2013
sanyalarnab
23 minutes ago
Pentagon with given diameter, ratio desired
bin_sherlo   0
25 minutes ago
Source: Türkiye JBMO TST P7
$ABCDE$ is a pentagon whose vertices lie on circle $\omega$ where $\angle DAB=90^{\circ}$. Let $EB$ and $AC$ intersect at $F$, $EC$ meet $BD$ at $G$. $M$ is the midpoint of arc $AB$ on $\omega$, not containing $C$. If $FG\parallel DE\parallel CM$ holds, then what is the value of $\frac{|GE|}{|GD|}$?
0 replies
bin_sherlo
25 minutes ago
0 replies
Points on the sides of cyclic quadrilateral satisfy the angle conditions
AlperenINAN   0
31 minutes ago
Source: Turkey JBMO TST P1
Let $ABCD$ be a cyclic quadrilateral and let the intersection point of lines $AB$ and $CD$ be $E$. Let the points $K$ and $L$ be arbitrary points on sides $CD$ and $AB$ respectively, which satisfy the conditions
$$\angle KAD = \angle KBC \quad \text{and} \quad \angle LDA = \angle LCB.$$Prove that $EK = EL$.
0 replies
AlperenINAN
31 minutes ago
0 replies
ISI UGB 2025 P2
SomeonecoolLovesMaths   4
N 44 minutes ago by MathsSolver007
Source: ISI UGB 2025 P2
If the interior angles of a triangle $ABC$ satisfy the equality, $$\sin ^2 A + \sin ^2 B + \sin^2  C = 2 \left( \cos ^2 A + \cos ^2 B + \cos ^2 C \right),$$prove that the triangle must have a right angle.
4 replies
SomeonecoolLovesMaths
Today at 11:16 AM
MathsSolver007
44 minutes ago
IMO ShortList 1998, combinatorics theory problem 5
orl   47
N an hour ago by mathwiz_1207
Source: IMO ShortList 1998, combinatorics theory problem 5
In a contest, there are $m$ candidates and $n$ judges, where $n\geq 3$ is an odd integer. Each candidate is evaluated by each judge as either pass or fail. Suppose that each pair of judges agrees on at most $k$ candidates. Prove that \[{\frac{k}{m}} \geq {\frac{n-1}{2n}}. \]
47 replies
orl
Oct 22, 2004
mathwiz_1207
an hour ago
Cyclic equality implies equal sum of squares
blackbluecar   34
N an hour ago by Markas
Source: 2021 Iberoamerican Mathematical Olympiad, P4
Let $a,b,c,x,y,z$ be real numbers such that

\[ a^2+x^2=b^2+y^2=c^2+z^2=(a+b)^2+(x+y)^2=(b+c)^2+(y+z)^2=(c+a)^2+(z+x)^2 \]
Show that $a^2+b^2+c^2=x^2+y^2+z^2$.
34 replies
blackbluecar
Oct 21, 2021
Markas
an hour ago
Functional equation on the set of reals
abeker   26
N Apr 29, 2025 by Bardia7003
Source: MEMO 2017 I1
Determine all functions $f : \mathbb{R} \to \mathbb{R}$ satisfying
$$f(x^2 + f(x)f(y)) = xf(x + y)$$for all real numbers $x$ and $y$.
26 replies
abeker
Aug 25, 2017
Bardia7003
Apr 29, 2025
Functional equation on the set of reals
G H J
G H BBookmark kLocked kLocked NReply
Source: MEMO 2017 I1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
abeker
35 posts
#1 • 3 Y
Y by Amir Hossein, Adventure10, ItsBesi
Determine all functions $f : \mathbb{R} \to \mathbb{R}$ satisfying
$$f(x^2 + f(x)f(y)) = xf(x + y)$$for all real numbers $x$ and $y$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pco
23511 posts
#3 • 5 Y
Y by FC_YangGuifei, vsathiam, Amir Hossein, Adventure10, Mango247
abeker wrote:
Determine all functions $f : \mathbb{R} \to \mathbb{R}$ satisfying
$$f(x^2 + f(x)f(y)) = xf(x + y)$$for all real numbers $x$ and $y$.
The only constant solution is $\boxed{\text{S1 : }f(x)=0\quad\forall x}$.
So let us from now look only for nonconstant solutions.

Let $P(x,y)$ be the assertion $f(x^2+f(x)f(y))=xf(x+y)$

If $\exists u$ such that $f(u)=0$
$P(u,x-u)$ $\implies$ $f(u^2)=uf(x)$
And so $u=0$, else $f(x)=\frac{f(u^2)}u$ is constant.

And since $P(0,0)$ implies $f(f(0)^2)=0$, we get that $f(x)=0$ $\iff$ $x=0$

Comparing $P(x,0)$ with $P(-x,0)$, we get $f(-x)=-f(x)$ $\forall x$
$P(x,-x)$ $\implies$ $f(x^2-f(x)^2)=0$ and so $f(x)=\pm x$ $\forall x$

Suppose now that $\exists x,y$ such that $f(x)=x$ and $f(y)=-y$
$P(x,y)$ $\implies$ $x^2-xy=\pm(x^2+xy)$ which implies $xy=0$ and so

Either $\boxed{\text{S2 : }f(x)=x\quad\forall x}$ which indeed is a solution

Either $\boxed{\text{S3 : }f(x)=-x\quad\forall x}$ which indeed is a solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
DerJan
407 posts
#4 • 2 Y
Y by Adventure10, Mango247
Let $P(x,y)$ be the assertion $f(x^2+f(x)f(y))=xf(x+y)$.
$P(0,0) \Rightarrow f(f(0)^2)=0$
$P(0,f(0)^2) \Rightarrow f(0)=0$
Now, let $u,v$ satisfy $f(u)=f(v)$ and $v\neq 0$. We have
$$-vf(-v+u)=f(v^2+f(-v)f(u))=f(v^2+f(-v)f(v))=-vf(-v+v) \Rightarrow f(u-v)=f(0)=0$$Note that $f(x)=0\quad\forall x$ is a solution. Assume there exists an $a$, such that $f(a) \neq 0$. We get
$P(u-v,0) \Rightarrow f((u-v)^2)=(u-v)f(u-v)=0$
$P(u-v,a-(u-v)) \Rightarrow 0=(u-v)f(a) \Rightarrow u=v$
Thus, $f$ is injective.
$P(1,y) \Rightarrow f(1+f(1)f(y))=f(1+y) \Rightarrow f(y)=\frac{y}{f(1)}$
From here we easily get the other two solutions.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MilosMilicev
241 posts
#5 • 1 Y
Y by Adventure10
For $x=0$, we get that $f$ has a zero point. Let $f(c)=0$. Plugging in $x=0, y=c$, we get $f(0)=0$.
Now for $y=0$, for all $x$ we have $f(x^2)=xf(x)$, and by changing $x$ by $-x$ we get that $f$ is odd.
1) There exists t different from $0$ s. t. $f(t)=0$.
For $x=t$, for all $y$, we have $f(t^2)=t*f(y+t)=t*f(t)=0$. So for all $y, f(y+t)=0$, but $y+t$ can get every real value while $y$ varying, so $f$ is a zero function.
2) $f(x)=0 => x=0$:
Take $x,-x$:
$f(x^2+f(x)f(-x))=0$, so $x^2=-f(x)*f(-x)=f(x)^2$, so for all $x, f(x)$ is either $x$ or $-x$.
We can easily check that $f(x)=x, f(y)= -y$ implies $xy=0$.
So $f$ is zero, fixed or $f(x)=-x$ for all $x$. These three functions satisfy the condition.
This post has been edited 3 times. Last edited by MilosMilicev, May 15, 2018, 1:12 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Sylvestra
38 posts
#6 • 2 Y
Y by Adventure10, Mango247
How can I enter submitter information on the problems?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
NathalieShwarz
51 posts
#7 • 1 Y
Y by Adventure10
pco wrote:
abeker wrote:
Determine all functions $f : \mathbb{R} \to \mathbb{R}$ satisfying
$$f(x^2 + f(x)f(y)) = xf(x + y)$$for all real numbers $x$ and $y$.
The only constant solution is $\boxed{\text{S1 : }f(x)=0\quad\forall x}$.
So let us from now look only for nonconstant solutions.

Let $P(x,y)$ be the assertion $f(x^2+f(x)f(y))=xf(x+y)$

If $\exists u$ such that $f(u)=0$
$P(u,x-u)$ $\implies$ $f(u^2)=uf(x)$
And so $u=0$, else $f(x)=\frac{f(u^2)}u$ is constant.

And since $P(0,0)$ implies $f(f(0)^2)=0$, we get that $f(x)=0$ $\iff$ $x=0$

Comparing $P(x,0)$ with $P(-x,0)$, we get $f(-x)=-f(x)$ $\forall x$
$P(x,-x)$ $\implies$ $f(x^2-f(x)^2)=0$ and so $f(x)=\pm x$ $\forall x$

Suppose now that $\exists x,y$ such that $f(x)=x$ and $f(y)=-y$
$P(x,y)$ $\implies$ $x^2-xy=\pm(x^2+xy)$ which implies $xy=0$ and so

Either $\boxed{\text{S2 : }f(x)=x\quad\forall x}$ which indeed is a solution

Either $\boxed{\text{S3 : }f(x)=-x\quad\forall x}$ which indeed is a solution

I didn't understand the passage from $f(x^2-f(x)^2)=0$ to $f(x)=\pm x$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pco
23511 posts
#8 • 2 Y
Y by Adventure10, Mango247
NathalieShwarz wrote:
I didn't understand the passage from $f(x^2-f(x)^2)=0$ to $f(x)=\pm x$
I first proved that $f(u)=0$ implies $u=0$
I then proved that $f(x^2-f(x)^2)=0$

So ...
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
NathalieShwarz
51 posts
#9 • 1 Y
Y by Adventure10
But I think that we need to prove the injectivity ?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pco
23511 posts
#10 • 2 Y
Y by Adventure10, Mango247
NathalieShwarz wrote:
But I think that we need to prove the injectivity ?
Have you just read me ? :

(1) I proved first that $f(u)=0$ implies $u=0$
Do you understand this phrase ?
Do you agree the proof ?

If so :
(2) I proved then that $f(x^2-f(x)^2)=0$ $\forall x$
Do you understand this phrase ?
Do you agree the proof ?

If so:
Let $x\in\mathbb R$
(3) Let $u=x^2-f(x)^2$
Then, using (2) above : $f(u)=0$
Then, using (1) above : $u=0$
Then, using (3) above : $f(x)=\pm x$

Is it OK now ?
And no need for injectivity.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
NathalieShwarz
51 posts
#11 • 3 Y
Y by mistakesinsolutions, Adventure10, Mango247
pco wrote:
NathalieShwarz wrote:
But I think that we need to prove the injectivity ?
Have you just read me ? :

(1) I proved first that $f(u)=0$ implies $u=0$
Do you understand this phrase ?
Do you agree the proof ?

If so :
(2) I proved then that $f(x^2-f(x)^2)=0$ $\forall x$
Do you understand this phrase ?
Do you agree the proof ?

If so:
Let $x\in\mathbb R$
(3) Let $u=x^2-f(x)^2$
Then, using (2) above : $f(u)=0$
Then, using (1) above : $u=0$
Then, using (3) above : $f(x)=\pm x$

Is it OK now ?
And no need for injectivity.

hhhhh thank you, I'm kind of stupid
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rkm0959
1721 posts
#13 • 2 Y
Y by Adventure10, Mango247
Denote $P(x,y)$ as the assertion $f(x^2+f(x)f(y)) = xf(x+y)$ and assume that such function $f$ exists.
$f \equiv 0$ is a solution, and it is the only constant solution. Let's look at nonconstant solutions now.

Since $f$ is nonconstant, we may take $\alpha$ such that $f(\alpha)$ is nonzero.
We will use this to show that $f$ is surjective. For any $T \in \mathbb{R}$, take $P \left( \frac{T}{f(\alpha)} , \alpha - \frac{T}{f(\alpha)}. \right)$.

Next, we will show that $f$ is injective. First, we will show that if $f(u)=0$ if and only if $u=0$.
First, take $P(0,y)$ to have $f(f(0)f(y))=0$ for all $y$.
If $f(0) \neq 0$, by the fact that $f$ is surjective we get $f(x) \equiv 0$ for all $x$.
This is an obvious contradiction, so $f(0)=0$. Now if $f(u)=0$ and $u \neq 0$, by $P(u,y)$ we have $f(u^2) = uf(u+y)$, so again, contradiction to surjective condition. We now have $f(u)=0 \iff u=0$.

To improve this to injectivity, assume $f(u)=f(v)$ and $u \neq v$. Then by $P(x,u)$ and $P(x,v)$, it is easy to note that $f$ is a periodic function with period $|u-v|$. Since $f(|u-v|)$ is nonzero, this cannot hold. Therefore, $f$ is injective.

Now $P(x,-x)$ gives $f(x^2+f(x)f(-x))=0$ and $P(x,0)$ gives $f(x^2)=xf(x)$.
So by injectivity we have $x^2+f(x)f(-x)=0$, and $-f(-x)=f(x)$.
This gives us that $f(x)$ is equal to either $x$ or $-x$. Now we take care of the "point-wise trap".

Assume nonzero reals $u, v$ exist such that $f(u)=u$ and $f(v)=-v$. $P(u,v)$ gives the desired contradiction.

So in the end we have three solutions, $f \equiv 0$, $f \equiv x$, and $f \equiv -x$. These clearly work, done.
This post has been edited 3 times. Last edited by rkm0959, Feb 19, 2018, 1:15 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mathematicsislovely
245 posts
#14 • 1 Y
Y by ismayilzadei1387
Denote $P(x,y)$ the assertion of the question.Observe that $f\equiv 0$ is the only constant solution of $f$.Now assume that $f$ is non-constant.

$P(0,0)\implies f(f(0)^2)=0$.So assume for some $t_0, f(t_0)=0$.

$P(t_0,x-t_0)\implies f(t_0^2)=t_0f(x)$.If $t_0\ne 0$ then $f(x)=\frac{f(t_0^2)}{t_0}=\text {constant}$.Which is a contradiction.
Hence we get $f(x)=0\iff x=0$.

Now we claim that $f$ is injective function.Suppose for some $a,b\in \mathbb R,f(a)=f(b)$.
Then $P(x,a)$ and $P(x,b)$ implies,
$f(x^2+f(x)f(a))=f(x^2+f(x)f(b))\\
\iff xf(x+a)=xf(x+b)\\
\iff f(x+a)=f(x+b)$.

Putting, $x=-a$ in the last equation we get $f(b-a)=0\iff b=a$.

Now, $P(1,y)$ implies $f(1+f(1)f(y))=f(1+y)\iff f(y)=cy$ where $c=\frac{1}{f(1)}$.
Putting it in the main equation we get $c=1$ or $c=-1$.

Hence (1)$f\equiv 0$, (2)$f(x)=x\forall x\in \mathbb R$ and (3)$f(x)=-x\forall x\in \mathbb R$ are all the solutions.$\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathLuis
1525 posts
#15
Y by
abeker wrote:
Determine all functions $f : \mathbb{R} \to \mathbb{R}$ satisfying
$$f(x^2 + f(x)f(y)) = xf(x + y)$$for all real numbers $x$ and $y$.

Assume that $f(x)=c$ for $c$ any constant.
$$c=cx \; \forall x \in \mathbb R \implies c=0 \implies f(x) \equiv 0 \; \forall x \in \mathbb R$$Now take that $f$ is not constant.
Let $P(x,y)$ the assertion of the given FE.
$P(0,x)$
$$f(f(x)f(0))=0  \; \forall x \in \mathbb R \implies f(0)=0$$$P(x,0)$
$$f(x^2)=xf(x) \; \forall x \in \mathbb R$$$P(x,-x)$
$$f(x^2+f(x)f(-x))=0 \; \forall x \in \mathbb R$$Now assume that exists more than 1 cero no the function.
Let $\mathbb C$ the set of the ceros of $f$ and take $c \in \mathbb C$ then $f(c)=0$.
$P(x,c)$
$$f(x^2)=xf(x+c) \; \forall x \in \mathbb R$$Then $f$ is periodic at $c$.
Note that $c^2$ is also a cero by $f(x^2)=xf(x)$.
Then:
$$cf(2c)=0 \implies c=0 \; \text{or} \; f(2c)=0$$Now take $f(2c)=0$ then $f(4c^2)=0$
In fact if we skip the case when $c=0$ then $f(n \cdot c)=0 \; \forall n \in \mathbb Z$
$P(-x,0)$
$$f(x^2)=xf(x)=-xf(-x) \implies f(-x)=-f(x)$$Assume that exists $a,b \ne n \cdot c$ such that $f(a)=f(b)$ then i will prove that $a=b$.
$P(a,-b)+P(-b,a)$
$$f(a^2-f(a)^2)+f(b^2-f(b)^2)=(a-b)f(a-b) \implies a=b$$Then $f$ is injective.
That means exists an only $0$ and hence $c=0$ (contradiction!!) (We assumed that exists more than 1 cero, thats why contradiction)
Hence $f(0)=0$ has an unique $0$
The same proof for get $f$ injective.
Then:
$$x^2-f(x)^2=0 \implies f(x)= \pm x$$Then the solutions are:
$\boxed{f(x)=x \; \forall x \in \mathbb R}$

$\boxed{f(x)=-x \; \forall x \in \mathbb R}$

$\boxed{f(x) \equiv 0 \; \forall x \in \mathbb R}$

Thus we are done :blush:
This post has been edited 1 time. Last edited by MathLuis, May 4, 2021, 1:01 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jasperE3
11321 posts
#16 • 1 Y
Y by Mango247
$\boxed{f(x)=0}$ works, assume now that $\exists j:f(j)\ne0$. Let $P(x,y)$ denote the given assertion.

$P(0,x)\Rightarrow f(f(0)f(x))=0$
$P(0,f(0)f(x))\Rightarrow f(0)=0$
$P(x,0)\Rightarrow f(x^2)=xf(x)\Rightarrow f$ is odd

If $\exists k:f(k)=0$:
$P(k,j-k)\Rightarrow kf(j)=f(k^2)=kf(k)=0\Rightarrow k=0$

$P(x,-x)\Rightarrow f(x^2-f(x)^2)=0\Rightarrow f(x)^2=x^2$

The assertion becomes $f(x^2+f(x)f(y))^2=x^2f(x+y)^2$, or $2x^2f(x)f(y)=2x^3y$. Then $f(x)f(y)=xy\forall x\ne0$, but since it also holds for $x=0$, we set $y=1$ to get that $f(x)=cx$ for some constant $c$. Testing, we have that either $\boxed{f(x)=x}$ or $\boxed{f(x)=-x}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
hakN
429 posts
#17
Y by
Note that $\boxed{f(x) = 0 \ \forall x \in \mathbb{R}}$ is the only constant solution. Now we look for non-constant solutions.
Let $P(x,y)$ be the assertion.
If there exist a $u\neq 0$ such that $f(u) = 0$, then
$P(u,y-u) \implies \frac{f(u^2)}{u} = f(y)$ and so $f$ is constant, contradiction.
$P(0,x) \implies f(f(0)f(x)) = 0$ so $f(0)f(x) = 0 \implies f(0) = 0$.
$P(x,0) \implies f(x^2) = xf(x) \implies f$ is odd.
$P(x,-x) \implies f(x^2 - f(x)^2) = 0 \implies f(x)^2 = x^2$ so $f(x) \in \{x,-x\}$ for all $x\in \mathbb{R}$.
So we have $\boxed{f(x) = x \ \forall x\in \mathbb{R}}$ and $\boxed{f(x) = -x \ \forall x\in \mathbb{R}}$ as solutions.
Let for some $a , b \neq 0$ we have $f(a) = a$ and $f(b) = -b$.
$P(a,b) \implies f(a^2 - ab) = af(a+b) \in \{a^2 + ab , -a^2 - ab\} \implies ab = 0$, contradiction.
So we have our three solutions.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
logrange
120 posts
#18
Y by
I have a much simpler solution but I don't know that it is correct or not, kindly check.
Substituting $x=0$ in the original equation gives $f(f(0)f(y))=0$
$f(0)f(y)$ can be any real number (except if either $f(0)=0$ or $f(y)=0$) and it is not possible that $f(R)=0$ (R represents every real number/$f(0)f(y)$) and so the above equation is true if and only if either $f(0)=0$ or $f(y)=0$.
Case 1 - $f(x)=0$, it is indeed a solution.
Case 2 - $f(0)=0$
$P(x,-x) -     x^2+f(x)f(-x)=0$
$f(x^2)=xf(x)=-xf(-x)$ which gives $f(-x)=-f(x)$
Combining, we get $f(x)=x$ and $f(x)=-x$
This post has been edited 1 time. Last edited by logrange, May 9, 2021, 7:03 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jasperE3
11321 posts
#19
Y by
Quote:
$f(0)f(y)$ can be any real number
What if $f(x)=x^2$ or $f(x)=\operatorname{sgn}(x)$?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
logrange
120 posts
#20 • 1 Y
Y by Mango247
jasperE3 wrote:
Quote:
$f(0)f(y)$ can be any real number
What if $f(x)=x^2$ or $f(x)=\operatorname{sgn}(x)$?

Nice! Thank you for checking.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
logrange
120 posts
#21
Y by
What if I write finitely many, will my solution become wrong?
This post has been edited 1 time. Last edited by logrange, May 9, 2021, 7:09 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jasperE3
11321 posts
#22 • 1 Y
Y by Mango247
For $f(x)=x^2+1$, there are infinitely many possible values for $f(0)f(y)$ and in the case of $f(x)=1+(-1)^{|x|+2}$, there are finitely many (both cases have $f(0)\ne0$ and $f\not\equiv0$).
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
llplp
191 posts
#23
Y by
strange solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Fibonacci_11235
44 posts
#24
Y by
I denote by $P(x, y)$ plugging in some $x$ and $y$ into the given equation.
Firstly, suppose that there exists a real number $a$ such that $f(a) \ne 0$, otherwise $f(x) = 0$ for all $x \in \mathbb{R}$
$P(\frac{x}{f(a)}, a-\frac{x}{f(a)}):f(...) = x$ and thus f is bijective.
$P(1, y): f(1 + f(1)f(y)) = f(1+y)$
since f is bijective and therefore injective, we know:
$1+f(1)f(y) = 1+y$
Case 1: $f(1) = 0$
then we have $1 + 0 = 1 + y \implies y = 0$ but that does not hold true for all $y \in \mathbb{R}$ so $f(1) \ne 0$
$1 + f(1)f(y) = 1+y \implies f(y) = \frac{y}{f(1)} = cy$ for some $c \ne 0$
Plugging back in the original equation, we get $c=1$ or $c=-1$ So...
$f(x) = 0$, $f(x) = x$, $f(x)=-x$ are all solutions.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ezpotd
1271 posts
#25
Y by
Consider $P(x,-x)$ and $P(-x,x)$, this gives $f(x^2 + f(x)f(-x)) = xf(0)= -xf(0)$, thus $f(0) = 0$. Then $P(x,0)$ gives $f(x^2) = xf(x)$, and $f(x) = -f(-x)$. Now consider $a$ with $f(a) = 0$. $P(a,y)$ gives $f(a^2 + f(a)f(y)) = af(a + y)$. The left hand side evaluates to $f(a^2 + f(a)f(y)) = f(a^2) = af(a)  =0$. Thus we are either forced $a = 0$ or $f$ is all zero. Assume the former. Now we show $f$ injective, consider $a,b$ with $a < b$, $f(a) = f(b)$, then $P(x,a), P(x,b)$ forces $xf(x  + a) = xf(x+b)$, so either $f(x + a) = f(x + b)$ or $x = 0$(this second case doesn't matter because $f(a)  = f(b)$ by definition). Thus we can conclude $f(x + a) = f(x + b)$ for all $x$. Then consider $x = -a$, this gives $f(0)=  f(b)$, which is a contradiction. Thus $f$ is injective. Then take $P(1,a)$ to get $f(1)f(a) = a$, so $f$ is linear going thru the origin, testing functions we get $f(x) = x,-x$, along with our original solution of $f = 0$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rafigamath
57 posts
#26
Y by
First assume that there exists $u\ne 0$ such that $f(u)=0$.$P(u,0)$ implies $f(u^2)=0$.So either 1.$f(x)=0$ for all $x$ or 2.$u=0$.So we proved that $f(0)=0$ and $f$ is injective at $0$(since $f(u^2)=uf(u+y)$ and $f(u^2)=0$ at $y=0$ we can say this).$P(x,0)$ implies $f(x^2)=xf(x)$ so $f$ is odd,and $P(x,-x)$ gives $f(x^2+f(x)f(-x))=0$ $\implies$ $f(x)=x$ or $f(x)=-x$.Plug in $f(x)=x,f(y)=-y$ and this will cause a contradiction so $f(x)=0$;or $f(x)=x$; or $f(x)=-x$ for all $x$.
This post has been edited 2 times. Last edited by rafigamath, Feb 26, 2024, 1:00 PM
Reason: typo
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AshAuktober
1007 posts
#27
Y by
We claim the only solutions are $f(x) \equiv 0  \forall  x$, $f(x) = x  \forall  x$ and $f(x) = -x  \forall  x$. Clearly all of these functions work. Now we prove these are the only such functions.
Let the above assertion be represented by $P(x, y)$.
Clearly the only constant solution is $f(x) \equiv 0$. Now assume $f$ to be nonconstant.
Claim 1: $\boxed{f(0) = 0}$
Proof: Note that $P(0,0)$ gives us $f(f(0)^2) = 0$.
Now $P(0, f(0)^2)$ gives us $f(0) = 0 \square$.
Claim 2: $\boxed{f \text{ is odd}}$
Proof: Observe that $P(x, 0)$ gives us $f(x^2) = xf(x) = -xf(-x) \implies f(-x) = -f(x) \square$
Claim 3: $\boxed{\text{ There exists no nonzero } a \text{ such that } f(a) = 0}$
Proof: Assume FtSoC that such $a$ exists. Then $P(a, y-a)$ gives us $f(a^2) = af(y) \implies f(y) \equiv \frac{f(a^2)}{a}$. However we have assumed $f$ to be nonconstant. Contradiction. $\square$
Claim 4: $\boxed{f(x) = x \text{ or } -x \forall x}$
Proof: $P(x, -x)$ yields $f(x^2 + f(x)f(-x)) = 0 \implies x^2 + f(x)f(-x) = x^2 - f(x)^2 = 0 \implies f(x) = x \text{ or } -x \forall x \square$
Claim 5: $\boxed{ f(x) = x \forall x \text{ or } f(x) = -x \forall x}$
Proof: Assume FtSoC that for some nonzero $m$, $n$ we have $f(m) = m, f(n) = -n$.
Then $f(m^2 - mn) = mf(m+n)$. If $f(m^2 - mn) = m^2 - mn, f(m+n) = m-n, \text{else} f(m+n) = n-m$, both of which lead to a contradiction. $\square$
Therefore we are done.
Q. E. D.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ItsBesi
146 posts
#30
Y by
Nice one :)

Answer: $f \equiv 0 , f(x)=\pm x \forall x \in \mathbb{R}$

It's easy to see that these work hence we move on.

Solution: Let $P(x,y)$-denote the given assertion.

Note that the only constant solution is $f \equiv 0$ hence assume $f$-is not constant

Claim: $f(0)=0$

Proof:

$P(0,0) \implies f(f(0)^2)=0 ...(1)$

$P(0,f(0)^2) \implies f(0)=0$ $\square$

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

Proof:

$P(x,0) \implies f(x^2)=xf(x) \forall x \in \mathbb{R} ...(*)$ $\square$

Claim: $f-\text{odd}$

Proof:

From $(*) \implies f(x^2)=xf(x) , x \rightarrow -x \implies xf(x) \stackrel{(*)}{=} f(x)^2=-xf(x) \implies f(x)=-f(-x) \forall x \in \mathbb{R} / \{0\}.$
Combining with $f(0)=0 \implies f(x)=-f(x) \forall x \in \mathbb{R} \square$.

Claim: $\exists \alpha \in \mathbb{R} : f(\alpha)=0 \implies \alpha=0$ or $f-\text{injective on} 0$

Proof: FTSOC assume $\alpha \neq 0$

From $(*) \implies f(x^2)=xf(x) , x \rightarrow \alpha \implies f(\alpha^2)=\alpha \cdot f(\alpha)=0 \implies f(\alpha^2)=0$

$P(\alpha,1) \implies \alpha (\alpha+1)=0 \implies \alpha=0 \vee f(\alpha+1)=0$. Since we assumed $\alpha \neq 0 \implies f(\alpha+1)=0$

$P(1,\alpha) \implies f(1)=0$

$P(1,x) \implies f(f(x)f(1)+1)=f(x+1) \implies f(1)=f(x+1) \implies f(x+1)=0 , x \rightarrow x-1 \implies f(x)=0 \iff f(x) \equiv 0$.
which is a contradition since we assumed $f$-is not constant.

Hence our assumption is wrong so $\alpha=0$ $\square$

Claim: $f(x)=\pm x$

Proof: $P(x,-x) \implies f(x^2+f(x)f(-x))=0=f(0) \implies f(x^2+f(x)f(-x)=f(0)$
combining with our previous claim we have:

$x^2+f(x)f(-x)=0 \implies f(x)f(-x)=-x^2 \stackrel{f-\text{odd}}{\implies} -f(x)f(x)=-x^2 \implies f(x)^2=x^2 \implies f(x)=\pm x$

DON'T FORGET POINTWISE TRAP
This post has been edited 1 time. Last edited by ItsBesi, Jan 24, 2025, 11:44 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Bardia7003
22 posts
#31
Y by
Let $P(x,y)$ denote the given assertion.
$f \equiv 0$ is a solution, we want to find the other solutions, so we can assume there exists $k$ such that $f(k) \neq 0$
$P(x, k - x): f(x^2 + f(x)f(k-x)) = xf(k)$ so $f$ is surjective.
$(0, y): f(f(0)f(y)) = 0$. If $f(0) \neq 0$, then by surjectivity there exists $y$ such that $f(y) = \frac{k}{f(0)}$ so $f(k) = 0$, contradiction. Therefore, $f(0) = 0$.
$P(x, 0): f(x^2) = xf(x) \quad x:= -x \to f(x^2) = xf(x) = -xf(-x) \to f(-x) = -f(x)$.
$P(x, -x): f(x^2 + f(x)f(-x)) = 0 \to f(x^2 - f(x^2)) = 0$.
Suppose $f(t) = 0$. Then $P(x, k): f(x^2) = xf(x+t) = xf(x) \to \forall x \neq 0: f(x) = f(x+t), f(0) = f(t) \to \forall x: f(x) = f(x+a)$
$P(t, y): f(t^2) = tf(t+y) = tf(y)$. Now if $t \neq 0$ then $f$ is constant, but $f$ is surjective, contradiction. As a result, $t = 0$.
Now, $f(x^2 - f(x^2)) = 0 \to f(x^2) = x^2 \to f(x) = \pm x$
Now, as we don't fall into the pointwise trap :), we assume there exists $a, b \neq 0$ such that $f(a) = a, f(b) = -b$.
$P(a, b) \pm(a^2 - ab) = a. \pm(a+b)$.
We write all the four possibilities:
- $a^2 - ab = a^2 + ab \to 2ab = 0$, contradition.
- $a^2 - ab = -a^2 - ab \to 2a^2 = 0$, contradition.
- $-a^2 + ab = a^2 + ab \to 2a^2 = 0$, contradition.
- $-a^2 + ab = -a^2 - ab \to 2ab = 0$, contradition.
So, no such $a, b$ exists. This means $f(x) = -x \forall x$ or $f(x) = x \quad  \forall x$, which we can check and see that both are indeed solutions.
To sum up, we proved the only solutions are $\boxed{f(x) = 0 \quad \forall x \in \mathbb{R}}$, $\boxed{f(x) = x \quad \forall x \in \mathbb{R}}$, and $\boxed{f(x) = -x \quad \forall x \in \mathbb{R}}$. $\blacksquare$
Z K Y
N Quick Reply
G
H
=
a