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

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

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

Looking for summer camps in math and language arts? Be sure to check out the video-based summer camps offered at the Virtual Campus that are 2- to 4-weeks in duration. There are middle and high school competition math camps as well as Math Beasts camps that review key topics coupled with fun explorations covering areas such as graph theory (Math Beasts Camp 6), cryptography (Math Beasts Camp 7-8), and topology (Math Beasts Camp 8-9)!

Be sure to mark your calendars for the following events:
[list][*]April 3rd (Webinar), 4pm PT/7:00pm ET, Learning with AoPS: Perspectives from a Parent, Math Camp Instructor, and University Professor
[*]April 8th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS State Discussion
April 9th (Webinar), 4:00pm PT/7:00pm ET, Learn about Video-based Summer Camps at the Virtual Campus
[*]April 10th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MathILy and MathILy-Er Math Jam: Multibackwards Numbers
[*]April 22nd (Webinar), 4:00pm PT/7:00pm ET, Competitive Programming at AoPS (USACO).[/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Sunday, Apr 13 - Aug 10
Tuesday, May 13 - Aug 26
Thursday, May 29 - Sep 11
Sunday, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
Wednesday, Jul 16 - Oct 29

Prealgebra 2 Self-Paced

Prealgebra 2
Sunday, Apr 13 - Aug 10
Wednesday, May 7 - Aug 20
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
Friday, Jul 25 - Nov 21

Introduction to Algebra A Self-Paced

Introduction to Algebra A
Monday, Apr 7 - Jul 28
Sunday, May 11 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, May 14 - Aug 27
Friday, May 30 - Sep 26
Monday, Jun 2 - Sep 22
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
Tuesday, Jul 15 - Oct 28

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Wednesday, Apr 16 - Jul 2
Thursday, May 15 - Jul 31
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Wednesday, Jul 9 - Sep 24
Sunday, Jul 27 - Oct 19

Introduction to Number Theory
Thursday, Apr 17 - Jul 3
Friday, May 9 - Aug 1
Wednesday, May 21 - Aug 6
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
Tuesday, Jul 15 - Sep 30

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Wednesday, Apr 16 - Jul 30
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
Wednesday, Apr 23 - Oct 1
Sunday, May 11 - Nov 9
Tuesday, May 20 - Oct 28
Monday, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
Monday, Jul 14 - Jan 19

Intermediate: Grades 8-12

Intermediate Algebra
Monday, Apr 21 - Oct 13
Sunday, Jun 1 - Nov 23
Tuesday, Jun 10 - Nov 18
Wednesday, Jun 25 - Dec 10
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22

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

Intermediate Number Theory
Friday, Apr 11 - Jun 27
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

Precalculus
Wednesday, Apr 9 - Sep 3
Friday, May 16 - Oct 24
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

Calculus
Tuesday, May 27 - Nov 11
Wednesday, Jun 25 - Dec 17

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Wednesday, Apr 16 - Jul 2
Friday, May 23 - Aug 15
Monday, Jun 2 - Aug 18
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

MATHCOUNTS/AMC 8 Advanced
Friday, Apr 11 - Jun 27
Sunday, May 11 - Aug 10
Tuesday, May 27 - Aug 12
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Problem Series
Friday, May 9 - Aug 1
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Tuesday, Jun 17 - Sep 2
Sunday, Jun 22 - Sep 21 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Jun 23 - Sep 15
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Final Fives
Sunday, May 11 - Jun 8
Tuesday, May 27 - Jun 17
Monday, Jun 30 - Jul 21

AMC 12 Problem Series
Tuesday, May 27 - Aug 12
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Wednesday, Aug 6 - Oct 22

AMC 12 Final Fives
Sunday, May 18 - Jun 15

F=ma Problem Series
Wednesday, Jun 11 - Aug 27

WOOT Programs
Visit the pages linked for full schedule details for each of these programs!


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

Introduction to Programming with Python
Thursday, May 22 - Aug 7
Sunday, Jun 15 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Tuesday, Jun 17 - Sep 2
Monday, Jun 30 - Sep 22

Intermediate Programming with Python
Sunday, Jun 1 - Aug 24
Monday, Jun 30 - Sep 22

USACO Bronze Problem Series
Tuesday, May 13 - Jul 29
Sunday, Jun 22 - Sep 1

Physics

Introduction to Physics
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Apr 2, 2025
0 replies
Inspired by old results
sqing   3
N a minute ago by sqing
Source: Own
Let \( a, b, c \) be real numbers.Prove that
$$ \frac{(a - b + c)^2}{  (a^2+  a+1)(b^2+b+1)(c^2+ c+1)} \leq 4$$$$ \frac{(a + b + c)^2}{  (a^2+  a+1)(b^2 +b+1)(c^2+ c+1)} \leq \frac{2(69 + 11\sqrt{33})}{27}$$
3 replies
sqing
4 hours ago
sqing
a minute ago
x^n + 1 = y^{n+1}
orl   8
N 10 minutes ago by AshAuktober
Source: IMO 1980 Finland, problem 3
Prove that the equation \[ x^n + 1 = y^{n+1}, \] where $n$ is a positive integer not smaller then 2, has no positive integer solutions in $x$ and $y$ for which $x$ and $n+1$ are relatively prime.
8 replies
orl
May 6, 2004
AshAuktober
10 minutes ago
A cyclic inequality
KhuongTrang   13
N 15 minutes ago by KhuongTrang
Source: own-CRUX
IMAGE
Link
13 replies
2 viewing
KhuongTrang
Apr 2, 2025
KhuongTrang
15 minutes ago
Quadric function
soryn   4
N 21 minutes ago by soryn
If f(x)=ax^2+bx+c, a,b,c integers, |a|>=3, and M îs the set of integers x for which f(x) is a prime number and f has exactly one integer solution,prove that M has at most three elements.
4 replies
soryn
Apr 18, 2025
soryn
21 minutes ago
Complex Numbers Question
franklin2013   2
N 4 hours ago by osszhangbanvan
Hello everyone! This is one of my favorite complex numbers questions. Have fun!

$f(z)=z^{720}-z^{120}$. How many complex numbers $z$ are there such that $|z|=1$ and $f(z)$ is an integer.

Hint
2 replies
franklin2013
Yesterday at 4:08 PM
osszhangbanvan
4 hours ago
Inequalities
sqing   25
N 5 hours ago by sqing
Let $   a,b    $ be reals such that $  a^2+ab+b^2 =3$ . Prove that
$$ \frac{4}{ 3}\geq \frac{1}{ a^2+5 }+ \frac{1}{ b^2+5 }+ab \geq -\frac{11}{4 }$$$$ \frac{13}{ 4}\geq \frac{1}{ a^2+5 }+ \frac{1}{ b^2+5 }+ab \geq -\frac{2}{3 }$$$$ \frac{3}{ 2}\geq  \frac{1}{ a^4+3 }+ \frac{1}{ b^4+3 }+ab \geq -\frac{17}{6 }$$$$ \frac{19}{ 6}\geq  \frac{1}{ a^4+3 }+ \frac{1}{ b^4+3 }-ab \geq -\frac{1}{2}$$Let $   a,b    $ be reals such that $  a^2-ab+b^2 =1 $ . Prove that
$$ \frac{3}{ 2}\geq \frac{1}{ a^2+3 }+ \frac{1}{ b^2+3 }+ab \geq \frac{4}{15 }$$$$ \frac{14}{ 15}\geq \frac{1}{ a^2+3 }+ \frac{1}{ b^2+3 }-ab \geq -\frac{1}{2 }$$$$ \frac{3}{ 2}\geq \frac{1}{ a^4+3 }+ \frac{1}{ b^4+3 }+ab \geq \frac{13}{42 }$$$$ \frac{41}{ 42}\geq \frac{1}{ a^4+3 }+ \frac{1}{ b^4+3 }-ab \geq -\frac{1}{2 }$$
25 replies
sqing
Apr 16, 2025
sqing
5 hours ago
Three variables inequality
Headhunter   4
N 6 hours ago by lbh_qys
$\forall a\in R$ ,$~\forall b\in R$ ,$~\forall c \in R$
Prove that at least one of $(a-b)^{2}$, $(b-c)^{2}$, $(c-a)^{2}$ is not greater than $\frac{a^{2}+b^{2}+c^{2}}{2}$.

I assume that all are greater than it, but can't go more.
4 replies
Headhunter
Yesterday at 6:58 AM
lbh_qys
6 hours ago
Indonesia Regional MO 2019 Part A
parmenides51   23
N Today at 2:08 AM by chinawgp
Indonesia Regional MO
Year 2019 Part A

Time: 90 minutes Rules


p1. In the bag there are $7$ red balls and $8$ white balls. Audi took two balls at once from inside the bag. The chance of taking two balls of the same color is ...


p2. Given a regular hexagon with a side length of $1$ unit. The area of the hexagon is ...


p3. It is known that $r, s$ and $1$ are the roots of the cubic equation $x^3 - 2x + c = 0$. The value of $(r-s)^2$ is ...


p4. The number of pairs of natural numbers $(m, n)$ so that $GCD(n,m) = 2$ and $LCM(m,n) = 1000$ is ...


p5. A data with four real numbers $2n-4$, $2n-6$, $n^2-8$, $3n^2-6$ has an average of $0$ and a median of $9/2$. The largest number of such data is ...


p6. Suppose $a, b, c, d$ are integers greater than $2019$ which are four consecutive quarters of an arithmetic row with $a <b <c <d$. If $a$ and $d$ are squares of two consecutive natural numbers, then the smallest value of $c-b$ is ...


p7. Given a triangle $ABC$, with $AB = 6$, $AC = 8$ and $BC = 10$. The points $D$ and $E$ lies on the line segment $BC$. with $BD = 2$ and $CE = 4$. The measure of the angle $\angle DAE$ is ...


p8. Sequqnce of real numbers $a_1,a_2,a_3,...$ meet $\frac{na_1+(n-1)a_2+...+2a_{n-1}+a_n}{n^2}=1$ for each natural number $n$. The value of $a_1a_2a_3...a_{2019}$ is ....


p9. The number of ways to select four numbers from $\{1,2,3, ..., 15\}$ provided that the difference of any two numbers at least $3$ is ...


p10. Pairs of natural numbers $(m , n)$ which satisfies $$m^2n+mn^2 +m^2+2mn = 2018m + 2019n + 2019$$are as many as ...


p11. Given a triangle $ABC$ with $\angle ABC =135^o$ and $BC> AB$. Point $D$ lies on the side $BC$ so that $AB=CD$. Suppose $F$ is a point on the side extension $AB$ so that $DF$ is perpendicular to $AB$. The point $E$ lies on the ray $DF$ such that $DE> DF$ and $\angle ACE = 45^o$. The large angle $\angle AEC$ is ...


p12. The set of $S$ consists of $n$ integers with the following properties: For every three different members of $S$ there are two of them whose sum is a member of $S$. The largest value of $n$ is ....


p13. The minimum value of $\frac{a^2+2b^2+\sqrt2}{\sqrt{ab}}$ with $a, b$ positive reals is ....


p14. The polynomial P satisfies the equation $P (x^2) = x^{2019} (x+ 1) P (x)$ with $P (1/2)= -1$ is ....


p15. Look at a chessboard measuring $19 \times 19$ square units. Two plots are said to be neighbors if they both have one side in common. Initially, there are a total of $k$ coins on the chessboard where each coin is only loaded exactly on one square and each square can contain coins or blanks. At each turn. You must select exactly one plot that holds the minimum number of coins in the number of neighbors of the plot and then you must give exactly one coin to each neighbor of the selected plot. The game ends if you are no longer able to select squares with the intended conditions. The smallest number of $k$ so that the game never ends for any initial square selection is ....
23 replies
parmenides51
Nov 11, 2021
chinawgp
Today at 2:08 AM
VOLUNTEERING OPPORTUNITIES OPEN TO HIGH/MIDDLE SCHOOLERS
im_space_cadet   13
N Today at 12:30 AM by im_space_cadet
Hi everyone!
Do you specialize in contest math? Do you have a passion for teaching? Do you want to help leverage those college apps? Well, I have something for all of you.

I am im_space_cadet, and during the fall of last year, I opened my non-profit DeltaMathPrep which teaches students preparing for contest math the problem-solving skills they need in order to succeed at these competitions. Currently, we are very much understaffed and would greatly appreciate the help of more tutors on our platform.

Each week on Saturday and Wednesday, we meet once for each competition: Wednesday for AMC 8 and Saturday for AMC 10 and we go over a past year paper for the entire class. On both of these days, we meet at 9PM EST in the night.

This is a great opportunity for anyone who is looking to have a solid activity to add to their college resumes that requires low effort from tutors and is very flexible with regards to time.

This is the link to our non-profit for anyone who would like to view our initiative:
https://www.deltamathprep.org/

If you are interested in this opportunity, please send me a DM on AoPS or respond to this post expressing your interest. I look forward to having you all on the team!

Thanks,
im_space_cadet
13 replies
im_space_cadet
Yesterday at 2:27 PM
im_space_cadet
Today at 12:30 AM
100th post
MathJedi108   1
N Yesterday at 11:10 PM by mdk2013
Well I guess this is my 100th post, it would be really funny if it isn't can yall share your favorite experience on AoPS here?
1 reply
MathJedi108
Yesterday at 10:59 PM
mdk2013
Yesterday at 11:10 PM
Find all triples
pedronis   2
N Yesterday at 10:43 PM by Kempu33334
Find all triples of positive integers $(n, r, s)$ such that $n^2 + n + 1$ divides $n^r + n^s + 1$.
2 replies
pedronis
Apr 19, 2025
Kempu33334
Yesterday at 10:43 PM
Median geometry
Sedro   4
N Yesterday at 10:01 PM by Sedro
In triangle $ABC$, points $D$, $E$, and $F$ are the midpoints of sides $BC$, $CA$, and $AB$, respectively. Prove that the area of the triangle with side lengths $AD$, $BE$, and $CF$ has area $\tfrac{3}{4}[ABC]$.
4 replies
Sedro
Yesterday at 6:03 PM
Sedro
Yesterday at 10:01 PM
geometry
carvaan   1
N Yesterday at 6:38 PM by Lankou
The difference between two angles of a triangle is 24°. All angles are numerically double digits. Find the number of possible values of the third angle.
1 reply
carvaan
Yesterday at 5:46 PM
Lankou
Yesterday at 6:38 PM
weird permutation problem
Sedro   1
N Yesterday at 6:07 PM by Sedro
Let $\sigma$ be a permutation of $1,2,3,4,5,6,7$ such that there are exactly $7$ ordered pairs of integers $(a,b)$ satisfying $1\le a < b \le 7$ and $\sigma(a) < \sigma(b)$. How many possible $\sigma$ exist?
1 reply
Sedro
Yesterday at 2:09 AM
Sedro
Yesterday at 6:07 PM
FE over R
IAmTheHazard   19
N Apr 1, 2025 by Bardia7003
Source: ELMO Shortlist 2024/A3
Find all functions $f : \mathbb{R}\to\mathbb{R}$ such that for all real numbers $x$ and $y$,
$$f(x+f(y))+xy=f(x)f(y)+f(x)+y.$$
Andrew Carratu
19 replies
IAmTheHazard
Jun 22, 2024
Bardia7003
Apr 1, 2025
FE over R
G H J
G H BBookmark kLocked kLocked NReply
Source: ELMO Shortlist 2024/A3
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IAmTheHazard
5002 posts
#1 • 3 Y
Y by ItsBesi, ihatemath123, pho1234
Find all functions $f : \mathbb{R}\to\mathbb{R}$ such that for all real numbers $x$ and $y$,
$$f(x+f(y))+xy=f(x)f(y)+f(x)+y.$$
Andrew Carratu
This post has been edited 1 time. Last edited by IAmTheHazard, Jun 22, 2024, 3:41 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MarkBcc168
1595 posts
#2
Y by
Solution
This post has been edited 1 time. Last edited by MarkBcc168, Jun 22, 2024, 3:42 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
VicKmath7
1388 posts
#3
Y by
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
fractals
3028 posts
#4
Y by
Let $P(x,y)$ denote the relation $f(x+f(y))+xy=f(x)f(y)+f(x)+y$.
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
CyclicISLscelesTrapezoid
372 posts
#5 • 1 Y
Y by pho1234
The solutions are $f(x) \equiv x$ and $f(x) \equiv -x$, which work.

Let $P(x,y)$ denote the assertion that
\[f(x+f(y))+xy=f(x)f(y)+f(x)+y.\]$P(0,x)$ gives $f(f(x))=f(0)f(x)+f(0)+x$. Notice that $P(f(x),y)$ gives
\[f(f(x)+f(y))+yf(x)=f(f(x))f(y)+f(f(x))+y,\]and subtracting this by its symmetric variant with $x$ and $y$ swapped gives
\[yf(x)-xf(y)=f(f(x))f(y)+f(f(x))+y-f(f(y))f(x)-f(f(y))-x.\]Using $P(0,x)$ to rewrite all the nested $f$'s, the RHS simplifies to $xf(y)-yf(x)$, so we have $xf(y)=yf(x)$. Plugging in $y=1$, we get $f(x)=xf(1)$. If $f(1)=c$, then the functional equation simplifies to $c(x+cy)+xy=c^2xy+cx+y$, which is only true for $c=1,-1$, as desired. $\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
KevinYang2.71
413 posts
#6
Y by
Solved with Orthogonal..

We claim the only functions are $\boxed{f(x)\equiv x}$ and $\boxed{f(x)\equiv -x}$. It is easy to check that these work.

Let $P(x,y)$ denote the given assertion. $P(0,x)$ gives $f(f(x))=f(0)f(x)+f(0)+x$. Comparing $P(f(x),1)$ and $P(f(1),x)$ gives $f(x)\equiv f(1)x$. We can show that $f(1)=\pm 1$, as desired. $\square$
This post has been edited 2 times. Last edited by KevinYang2.71, Jun 23, 2024, 2:26 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5585 posts
#7 • 1 Y
Y by KevinYang2.71
The only solutions are $f(x) = x$ and $f(x) = -x$, which work. Let $P(x,y)$ denote the given assertion.

Case 1: $f(0) = 0$
Then $P(0,x): f(f(x)) = x$, so $f$ is an involution.

$P(1, f(x)): f(x + 1)= x f(1) + f(1)$, so $f$ is linear, meaning $f(x) = cx$ for some constant $c$. Since $f$ is an involution, either $c = 1$ or $c = -1$.

Case 2: $f(0) \ne 0$.
Claim: $f$ is injective.
Proof: If $f(a)= f(b)$, then $P(0,a)$ compared with $P(0,b)$ gives $a = b$. $\square$

Claim: $x + f(x)$ is injective.
Proof: Suppose $a + f(a) = b + f(b)$. Then $P(x,x): f(x + f(x)) - (x + f(x)) = (f(x) - x)(x + f(x))$, so comparing $x = a$ and $x = b$ gives that $(a + f(a)) (f(a) - a)) = (a + f(a)) (f(b) - b)$. If $a + f(a) = 0$, then $P(a,a): f(0) = 0$, absurd. Hence $a + f(a) \ne 0$, so $f(a) - a = f(b)  - b$. Hence \[(f(a) - a) + (f(a) + a) = (f(b) - b) + (f(b) + b) \implies f(a) = f(b) \implies a = b\]$\square$

Now, the equation gives \[ f(x + f(y)) - f(x) - y = f(x) f(y) - xy,\]so swapping $x,y$ here gives $f(x + f(y)) - f(x) - y = f(y + f(x)) - f(y) - x$, so $f(x + f(y))  + (x + f(y)) = f(y + f(x)) + (y + f(x))$, which by our earlier claim implies $x + f(y) = y + f(x)\implies f(x) - x = f(y) - y$, so $f(x) = x + c$ for some constant $c$.

$P(0,0): f(f(0)) = f(0)^2 + f(0)$, so $2c = c^2 + c\implies c\in \{0,1\}$. Checking, we see that $c = 1$ fails, so $c = 0$, but this is absurd since $f(0) \ne 0$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
P2nisic
406 posts
#8
Y by
IAmTheHazard wrote:
Find all functions $f : \mathbb{R}\to\mathbb{R}$ such that for all real numbers $x$ and $y$,
$$f(x+f(y))+xy=f(x)f(y)+f(x)+y.$$
Andrew Carratu

$f(x)f(y)f(z)=f(x+f(y))f(z)+xyf(z)-f(z)f(x)-yf(z)=f(x+f(y)+f(z))+(x+f(y))f(z)-f(x+f(y))-z+xyf(z)-f(x+f(z))-xz+f(x)+z-yf(z)$

Now by the symmetry of $y,z$ we get that:

$f(x+f(y)+f(z))+(x+f(y))f(z)-f(x+f(y))-z+xyf(z)-f(x+f(z))-xz+f(x)+z-yf(z)=$
$f(x+f(z)+f(y))+(x+f(z))f(y)-f(x+f(z))-y+xzf(y)-f(x+f(y))-xy+f(x)+y-zf(y)$
$\Rightarrow xf(z)+xyf(z)-xz-yf(z)=xf(y)+xzf(y)-xy-zf(y)$

In this for $x=0$ we get that:
$-yf(z)=-zf(y)\Rightarrow \frac{f(z)}{z}=\frac{f(y)}{y}\Rightarrow f(x)=cx$

Now in the start we have that:
$cx+c^2y+xy=c^2xy+cx+y\Rightarrow c^2y=y\Rightarrow c=+-1$
So we get that: $\boxed{f(x)\equiv x}$ and $\boxed{f(x)\equiv -x}$.



In the same way we can solve the problem if $f : \mathbb{R^+}\to\mathbb{R^+}$
This post has been edited 1 time. Last edited by P2nisic, Jun 23, 2024, 11:20 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
X.Allaberdiyev
103 posts
#9
Y by
Cute one.
$P(0,x)$ -> $f(f(x))=f(x)f(0)+f(0)+x$ $(1)$
By looking at $P(f(x),y)$ and $P(f(y),x)$ we have $f(f(x)+f(y))=f(f(x))f(y)+f(f(x))+y-f(x)y=f(f(y))f(x)+f(f(y))+x-f(y)x$, and by using $(1)$ we observe that $xf(y)=yf(x)$, which means that $f(x)=cx$. And by plugging it into equation one can prove that only solutions are $\boxed{f(x)\equiv x}$ and $\boxed{f(x)\equiv -x}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ItsBesi
142 posts
#13
Y by
I am not sure about the surjectivety part
$\textbf{Answer:}$ $f(x)=\pm x \forall x \in \mathbb{R}$

$\textbf{Solution:}$

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

$\textbf{Claim:}$ $f$-bijective

$\textbf{Proof:}$

$P(0,x) \implies f(f(x))=f(x)f(0)+f(0)+x \implies f$-is surjective

f-injective

Since $f$ is both injective and surjective we get that $f$-is bijective. $\square$


$\textbf{Claim:}$ $f(0)=0$
$\textbf{Proof:}$

Since $f$-is surjective there exists an $\alpha$ such that $f(\alpha)=0 \iff \exists \alpha \in \mathbb{R} : f(\alpha)=0$

$P(\alpha,0) \implies f(\alpha+f(0))=0=f(\alpha) \implies f(\alpha+f(0))=f(\alpha) \stackrel{f-injective}{\implies} \alpha+f(0)=\alpha \implies f(0)=0.$ $\square$

$\textbf{Claim:}$ $f(x)= \pm x \forall \in \mathbb{R}$

$\textbf{Proof:}$
$P(0,x) \implies f(f(x))=x$ $...(*)$

$P(x,x) \implies f(x+f(x))+x^2=f(x)^2+f(x)+x \implies f(x+f(x))-x-f(x)=f(x)^2-x^2$
$...(3)$

$P(f(x),f(x)) \stackrel{(*)}{\implies} f(x+f(x))+f(x)^2=x^2+x+f(x) \implies f(x+f(x))-x-f(x)=x^2-f(x)^2$ $...(4)$

$(3)-(4) \implies f(x)^2-x^2=x^2-f(x)^2 \implies f(x)^2=x^2 \implies f(x)= \pm x \forall \in \mathbb{R}$ $\blacksquare$

$\textbf{POINTWISE TRAP!}$
This post has been edited 1 time. Last edited by ItsBesi, Jul 3, 2024, 5:37 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
omar1tun
34 posts
#14
Y by
This solution might be one of the lamest ever :
$P(x,y):f(x+f(y))+xy=f(x)f(y)+f(x)+y$
We will just simplify $P(f(y),1)$ to find the answer :

$ \boxed{f(f(y)+f(1)) +f(y)-1= f(f(y))(f(1)+1)}$

Now : $P(0,y)$ , gives $f(f(y))=f(0)(f(y)+1)+y$
So for the right side we get that : $\boxed{f(f(y))(f(1)+1)=f(y).f(0)(f(1)+1)+f(0)(f(1)+1)+y(f(1)+1)}$
For the left side using $P(f(1),y)$ , we get that :
$f(f(y)+f(1))=f(f(1))(f(y)+1)+y(1-f(1))=[f(0)(f(1)+1)+1](f(y)+1)+y(1-f(1))$

So :$ \boxed{f(f(y)+f(1))+f(y)-1=f(0)(f(1)+1).f(y)+f(0)(f(1)+1)+f(y)+1+f(y)-1+y(1-f(1))}$
Identifying both sides will be left with :
$2f(y)+y(1-f(1)) = y(f(1)+1)$ , thus $f(y)=yf(1)$ , the rest is obvious .
This post has been edited 2 times. Last edited by omar1tun, Aug 1, 2024, 5:23 PM
Reason: .
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
omar1tun
34 posts
#15
Y by
For above that equation doesn't imply that f is surjective as changing x to some value will also change f(x)
This post has been edited 1 time. Last edited by omar1tun, Aug 1, 2024, 5:28 PM
Reason: .
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
omar1tun
34 posts
#16
Y by
For above that equation doesn't imply that f is surjective as changing x to some value will also change f(x) an example is $f(x)=(x+1)^2$ ,will get on the right : $ (x+1)^2+(x+1)$ , which doesn't take all values in $R$ such as $-4$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ihatemath123
3442 posts
#17
Y by
The solutions are $f(x) = x$ and $f(x)=-x$, which are both easy to verify.

Claim: $f(0) = 0$.
Proof: Assume that $f(0) \neq 0$ FTSOC. Taking $P(x,0)$ gives us
\[f(x+f(0)) = f(x) \cdot (1 + f(0)),\]so incrementing $x$ by $f(0)$ gives some geometric sequence. But the original equation can be rewritten as
\[f(x+f(y)) - f(x)(1+f(y)) = y(1-x),\]and if we increment $x$ by $f(0)$ here, the LHS will multiply by $1+f(0)$. However, the RHS cannot grow exponentially since it is negative for all $x>1$ and positive for all $x < 1$, something no exponential function does. This gives us a contradiction.

Now, taking $P(0,x)$ gives us $f(f(x)) = x$, implying surjectivity, and $P(1,x)$ gives us
\[f(1+f(x)) = f(1)(1+f(x)),\]which is enough to imply that $f$ is linear. Plugging this into our original equation gives the claimed solutions.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bo18
38 posts
#18
Y by
f(x+f(y))+x.y=f(x).f(y)+f(x)+y
Let' s call this P(x,y)
P(0,0) gives us
f(f(0))=f(0)^2+f(0) this call *
P(x, 0) gives us
f(x+f(0))=f(x).f(0)+f(x)
x->-f(0) gives us
f(0)=f(-f(0)).f(0)+f(-f(0))
from this, we can get that:
f(0)/f(f(0))=f(0)+1
from this, * gives us
f(0)^2=f(-f(0)).f(f(0))=A
P(-f(0), f(0))
f(-f(0)+f(f(0)))-f(0)^2=A+f(-f(0))+f(0)
f(-f(0)+f(0)^2+f(0))=2.f(0)^2+f(0)+f(-f(0))
this give
f(f(0)^2)=f(0)^2+f(f(0))+f(-f(0))
P(f(0), f(0)^2)
f(f(0)+f(f(0)^2))+f(0)^3=f(f(0)).f(f(0)^2)+f(f(0))+f(0)^2
f(f(0)+f(0)^2+f(f(0))+f(-f(0)))+f(0)^3=f(f(0)).f(f(0)^2)+f(f(0))+f(0)^2
f(2f(f(0))+f(-f(0)))+f(0)^3=f(f(0)).f(f(0)^2)+f(f(0))+f(0)^2
Now, P(2f(f(0)), -f(0)), which give us
f(2f(f(0))+f(-f(0)))-2.f(f(0)).f(0)=f(2f(f(0))).f(-f(0))+f(2f(f(0)))-f(0)
Now P(x, f(0)) W
f(x+f(f(0)))+f(0).x=f(f(0)).f(x)+f(x)+f(0)
x->f(f(0)), I don' t know why I didn't put this here W
f(2f(f(0)))+f(0).f(f(0))=f(f(0)).f(f(f(0)))+f(f(f(0)))+f(0)
Now I want to find f(f(f(0)))
if we take this P(0, y) we will get this
f(f(y))=f(0).f(y)+f(0)+y
y->f(0), f(f(f(0)))=f(f(0)).f(0)+2.f(0)
if we call f(0) to be (a) and f(f(0)) to be (b), where b=a^2+a( from the beginning)
Then, f(2f(f(0)))+f(0).f(f(0))=f(f(0)).(f(f(0)).f(0)+2.f(0))+f(f(0)).f(0)+2.f(0)+f(0)
we will get this
f(2f(f(0)))+a.b=b.(b.a+2.a)+b.a+2.a+a, which is equivalent to f(2f(f(0)))=b(b.a+2.a)+3.a
f(2f(f(0))+f(-f(0)))-2.f(f(0)).f(0)=f(2f(f(0))).f(-f(0))+f(2f(f(0)))-f(0), Now, from this, we have:
f(2f(f(0))+f(-f(0)))-2.a.b=(b.(b.a+2.a)+3.a).f(-f(0))+b.(b.a+2.a)+3.a-a, call this T
From this, f(2f(f(0))+f(-f(0)))+f(0)^3=f(f(0)).f(f(0)^2)+f(f(0))+f(0)^2, we have that the left side is equal to, also I want to say that f(f(0)^2)=f(0)^2+f(f(0))+f(-f(0))=a^2+b+f(-f(0))
Now, nightmare is coming
The left side=b(a^2+b+f(-f(0)))+b+a^2-a^3
But we have that: f(0)^2=f(f(0)).f(-f(0)), which is equal to a^2=b.f(-f(0)), i.e the left side=a^2.b+b^2+a^2+b+a^2-a^3=a^2.b+b^2+2.a^2+b-a^3, call D
Now-if we multiply whole equation with b, we will get this
(The left side).b=2.b^2.a+(b^2.a+2.a.b+3.a).a^2+b^3.a+2.a.b^2+2.a.b
From D multiply with (b), we get this
a^2.b^2+b^3+2.a^2.b+b^2-a^3.b to be equal to 2.b^2.a+b^2.a^3+2.a^3.b+3.a^3+b^3.a+2.a.b^2+2.a.b
Now, if this above wasn' t nightmare, after we will replaceable b with a^2+a- this will be a real bad nightmare, let's start (teeth)
a^2.(a^2+a)^2+(a^2+a)^3+2.a^2.(a^2+a)+(a^2+a)^2-a^3.(a^2+a)=2.(a^2+a)^2.a+(a^2+a)^2.a^3+2.a^3.(a^2+a)+3.a^3+(a^2+a)^3.a+2.a.(a^2+a)^2+2.a.(a^2+a)
After we use Wolfram Alpha, oops, just a joke, I figured it all myself (sad) , we will get this
+2.a^7+3.a^6+6.a^5+5.a^4+4.a^3+a^2=0, the solution of this two in Real numbers, the one of them is approximately to some digit-negative and stranger, the other solution is 0
Then we have a=0=f(0)
Then, if we put this in this:
f(f(y)=f(0).f(y)+f(0)+y=y, i.e the function is involution
Now, let P(f(x), f(y)) gives us
f(f(x)+y)+f(x).f(y)=x.y+f(y)+x
But P(y,x) gives us
f(f(x)+y)+x.y=f(x).f(y)+f(y)+x, call G
Let sum this two, then this gives us
f(f(x)+y)=f(y)+x
Put this in G gives
x.y=f(x).f(y), y->x gives f(x)^2=x^2
f(x)=+x, f(x)=-x
This post has been edited 1 time. Last edited by bo18, Sep 18, 2024, 5:58 PM
Reason: This has a mistake
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
#19
Y by
P(f(x),y) ,change x,y after this and y=0 implies that f(f(x))×(f(0)+1)=f(x)×f(f(0))+f(f(0))+x-x×f(0).
Plug x=0 we get f(f(y))=f(0)×f(y)+f(0)+y we get f is injective. Also we use this equation above and we get f(x)×(f(0)²+f(0)-f(f(0))) =-2x×f(0)-(f(0)²+f(0)-f((0))) if f(0)²+f(0)-f(f(0)) isn't equal 0 then f(x)=ax+b we check and we get f(x)=x or f(x)=-x. Other case implies that f(0)=0.In common equation we plug x=0 and we get f(f(x))=x.In next steps P(x,f(y)) and we change x,y we get x×f(y)=y×f(x) y=1 and we get f(x)=cx.It is easy to check and find f(x)=x and f(x)=-x answers.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.
lksb
165 posts
#20
Y by
$P(0,x)\implies f(f(x))=f(0)(f(x)+1)$
$P(f(x), y)\implies f(f(x)+f(y))+yf(x)=f(0)(f(x)+1)(f(y)+1)+xf(y)+x+y$
$P(f(x),y)-P(x, f(y))\implies  xf(y)=yf(x)\implies \boxed{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.
awesomeming327.
1699 posts
#21
Y by
The answer is $f(x)=x$ or $f(x)=-x$, which clearly work. Now we prove that this is the only solution. Let $P(x,y)$ denote the assertion, and let $f(0)=c$.

We have
\begin{align*}
P(0,0) &\implies f(c) = c^2+c \\
P(0,x) &\implies f(f(x)) = cf(x) + c + x \\
P(x,0) &\implies f(x+c) = (c+1)f(x)
\end{align*}
Claim 1: $f(0)=0$.
Take $P(c,1)$ which gives us on one hand,
\[f(c+f(1))+c=(c^2+c)(f(1)+1)+1\]But on the other hand, we have
\begin{align*}
f(f(1)+c)+c &= (c+1)f(f(1)) + c \\
&= (c+1)(cf(1) + c + 1) + c \\
&=(c^2+c)(f(1)+1)+2c+1
\end{align*}which proves our claim.

Now, $P(0,x)$ gives $f(f(x))=x$. Thus when we use $P(f(x),y)$ we get
\[f(f(x)+f(y))+f(x)y=xy+x+y\]Since $xy+x+y-f(f(x)+f(y))$ is symmetric, we must have $f(x)y=f(y)x$, implying that $f(x)/x$ is a constant. Since $f$ is an involution, this constant is $\pm 1$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jasperE3
11229 posts
#22
Y by
IAmTheHazard wrote:
Find all functions $f : \mathbb{R}\to\mathbb{R}$ such that for all real numbers $x$ and $y$,
$$f(x+f(y))+xy=f(x)f(y)+f(x)+y.$$
Andrew Carratu

Let $P(x,y)$ be the assertion $f(x+f(y))+xy=f(x)f(y)+f(x)+y$.
$P(0,x)\Rightarrow f(f(x))=f(0)(f(x)+1)+x$
$P(f(x),y)\Rightarrow f(f(x)+f(y))-f(0)(f(x)+1)(f(y)+1)=xf(y)-yf(x)+x+y$
Swapping $x,y$ gives $yf(x)-xf(y)=xf(y)-yf(x)$, then setting $y=1$, we have $f(x)=xf(1)$. Testing, only $\boxed{f(x)=x}$ and $\boxed{f(x)=-x}$ work.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Bardia7003
12 posts
#23
Y by
Probably similar solutions are already mentioned. Anyway, I'll go on with mine.
Let $P(x, y)$ denote the given assertion.
$P(0, x): \underline{f(f(x)) = f(0)(f(x) + 1) + x}$
$P(f(x), y): f(f(x) + f(y)) + f(x)y = f(f(x))(f(y) + 1) + y = (f(0)(f(x) + 1) + x)(f(y) + 1) + y = f(0)f(x)f(y) + f(0)f(y) + xf(y) + f(0)f(x) + f(0) + x + y$
$\rightarrow f(f(x) + f(y)) = (x + y) + f(0)f(x)f(y) + f(0)(f(x)f(y) + f(y) + f(x) + 1) + xf(y) - f(x)y$
Now, if we swap $x,y$, the left side stays the same, and all the parts in the right side stay the same, except the $xf(y) - f(x)y$, so:
$$xf(y) - f(x)y = yf(x) - f(y)x \rightarrow 2xf(y) = 2yf(x) \rightarrow \frac{f(x)}{x} = \frac{f(y)}{y} \rightarrow \underline{f(x) = kx}$$And by checking this format in the equation, we find that only $k = 1, -1$ are the solutions, therefore the only answers are $\boxed{f(x) = x \quad \forall x \in \mathbb{R}}$ and $\boxed{f(x) = -x \quad \forall x \in \mathbb{R}}$. $\blacksquare$ :)
This post has been edited 1 time. Last edited by Bardia7003, Apr 1, 2025, 4:34 PM
Reason: typo
Z K Y
N Quick Reply
G
H
=
a