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
a deep thinking topic. either useless or extraordinary , not yet disovered
jainam_luniya   0
6 minutes ago
Source: 1.99999999999....................................................................1. it this possible or not we can debate
it can be a new discovery in world or NT
0 replies
jainam_luniya
6 minutes ago
0 replies
Divisibilty...
Sadigly   4
N 9 minutes ago by jainam_luniya
Source: Azerbaijan Junior NMO 2025 P2
Find all $4$ consecutive even numbers, such that the sum of their squares divides the square of their product.
4 replies
Sadigly
Yesterday at 9:07 PM
jainam_luniya
9 minutes ago
ioqm to imo journey
jainam_luniya   2
N 10 minutes ago by jainam_luniya
only imginative ones are alloud .all country and classes or even colleges
2 replies
jainam_luniya
16 minutes ago
jainam_luniya
10 minutes ago
Inequality
Sadigly   5
N 11 minutes ago by jainam_luniya
Source: Azerbaijan Junior MO 2025 P5
For positive real numbers $x;y;z$ satisfying $0<x,y,z<2$, find the biggest value the following equation could acquire:


$$(2x-yz)(2y-zx)(2z-xy)$$
5 replies
1 viewing
Sadigly
May 9, 2025
jainam_luniya
11 minutes ago
D'B, E'C and l are congruence.
cronus119   7
N 20 minutes ago by Tkn
Source: 2022 Iran second round mathematical Olympiad P1
Let $E$ and $F$ on $AC$ and $AB$ respectively in $\triangle ABC$ such that $DE || BC$ then draw line $l$ through $A$ such that $l || BC$ let $D'$ and $E'$ reflection of $D$ and $E$ to $l$ respectively prove that $D'B, E'C$ and $l$ are congruence.
7 replies
cronus119
May 22, 2022
Tkn
20 minutes ago
a set of $9$ distinct integers
N.T.TUAN   17
N 27 minutes ago by hlminh
Source: APMO 2007
Let $S$ be a set of $9$ distinct integers all of whose prime factors are at most $3.$ Prove that $S$ contains $3$ distinct integers such that their product is a perfect cube.
17 replies
N.T.TUAN
Mar 31, 2007
hlminh
27 minutes ago
Asymmetric FE
sman96   13
N 37 minutes ago by youochange
Source: BdMO 2025 Higher Secondary P8
Find all functions $f: \mathbb{R} \to \mathbb{R}$ such that$$f(xf(y)-y) + f(xy-x) + f(x+y) = 2xy$$for all $x, y \in \mathbb{R}$.
13 replies
sman96
Feb 8, 2025
youochange
37 minutes ago
Divisibility NT
reni_wee   1
N 41 minutes ago by Pal702004
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$.
1 reply
reni_wee
3 hours ago
Pal702004
41 minutes ago
Drawing equilateral triangle
xeroxia   0
an hour ago
Equilateral triangle $ABC$ is given. Let $M_a$ and $M_c$ be the midpoints of $BC$ and $AB$, respectively.
A point $D$ on segment $BM_c$ is given. Draw equilateral $\triangle DEF$ such that $E$ is on $BC$ and $F$ is on $AM_a$.
0 replies
xeroxia
an hour ago
0 replies
n-variable inequality
bakkune   1
N an hour ago by ehuseyinyigit
Source: Own
Prove that the following inequality holds for all positive integer $n$ and all real numbers $x_1, x_2, \dots, x_n\neq 0$:
$$
\sum_{1\leq i < j \leq n} \dfrac{x_ix_j}{x_i^2 + x_j^2} \ge -\dfrac{n}{4}.
$$
1 reply
bakkune
an hour ago
ehuseyinyigit
an hour ago
Arbitrary point on BC and its relation with orthocenter
falantrng   35
N an hour ago by Giant_PT
Source: Balkan MO 2025 P2
In an acute-angled triangle \(ABC\), \(H\) be the orthocenter of it and \(D\) be any point on the side \(BC\). The points \(E, F\) are on the segments \(AB, AC\), respectively, such that the points \(A, B, D, F\) and \(A, C, D, E\) are cyclic. The segments \(BF\) and \(CE\) intersect at \(P.\) \(L\) is a point on \(HA\) such that \(LC\) is tangent to the circumcircle of triangle \(PBC\) at \(C.\) \(BH\) and \(CP\) intersect at \(X\). Prove that the points \(D, X, \) and \(L\) lie on the same line.

Proposed by Theoklitos Parayiou, Cyprus
35 replies
falantrng
Apr 27, 2025
Giant_PT
an hour ago
Kosovo MO 2021 Grade 12, Problem 2
bsf714   7
N an hour ago by Bardia7003
Find all functions $f:\mathbb R\to\mathbb R$ so that the following relation holds for all $x, y\in\mathbb R$.

$$f(f(x)f(y)-1) = xy - 1$$
7 replies
bsf714
Feb 27, 2021
Bardia7003
an hour ago
Calculus
youochange   4
N 2 hours ago by youochange
Find the area enclosed by the curves $e^x,e^{-x},x^2+y^2=1$
4 replies
youochange
Yesterday at 2:38 PM
youochange
2 hours ago
5-th powers is a no-go - JBMO Shortlist
WakeUp   9
N 2 hours ago by Namisgood
Prove that there are are no positive integers $x$ and $y$ such that $x^5+y^5+1=(x+2)^5+(y-3)^5$.

Note
9 replies
WakeUp
Oct 30, 2010
Namisgood
2 hours ago
R+ Functional Equation
Mathdreams   10
N Apr 15, 2025 by TestX01
Source: Nepal TST 2025, Problem 3
Find all functions $f : \mathbb{R}^+ \rightarrow \mathbb{R}^+$ such that \[f(f(x)) + xf(xy) = x + f(y)\]for all positive real numbers $x$ and $y$.

(Andrew Brahms, USA)
10 replies
Mathdreams
Apr 11, 2025
TestX01
Apr 15, 2025
R+ Functional Equation
G H J
G H BBookmark kLocked kLocked NReply
Source: Nepal TST 2025, Problem 3
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mathdreams
1472 posts
#1 • 1 Y
Y by khan.academy
Find all functions $f : \mathbb{R}^+ \rightarrow \mathbb{R}^+$ such that \[f(f(x)) + xf(xy) = x + f(y)\]for all positive real numbers $x$ and $y$.

(Andrew Brahms, USA)
This post has been edited 1 time. Last edited by Mathdreams, Apr 11, 2025, 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.
megarnie
5606 posts
#2 • 4 Y
Y by khan.academy, KevinYang2.71, abrahms, Alex-131
The only solutions are $f(x) = \frac cx$ for some constant $c$ and $f\equiv 1$, which clearly work.

Let $P(x,y)$ be the given assertion. Clearly $1$ is the only constant solution, so assume $f$ is not constant.

Claim: $f$ is injective.
Proof: Suppose $f(a) = f(b)$ for some positive reals $a,b$.

$P(x,a)$ with $P(x,b)$ gives that $f(xa) = f(xb)$ for all $x \in \mathbb R^{+}$.

Now, $P(a,x)$ compared with $P(b,x)$ gives $af(ax) - a = b f(bx) - b$, so $a(f(ax) - 1) = b (f(bx) - 1)$. But, since $f(ax) = f(bx)$, we have \[ a(f(ax) - 1) = b(f(ax) - 1) \]Since $f$ isn't constant, we can choose $x$ where $f(ax) \ne 1$, so $a = b$. $\square$

$P(x, f(x)): f(f(x)) + xf(xf(x)) = x + f(f(x))$, so $xf(xf(x)) = x \implies f(xf(x)) = 1$.

$P(1, y): f(f(1)) = 1$.

Injectivity implies $xf(x) = f(1)$ for all $x$, so $f(x) = \frac{f(1)}{x}$, and setting $c = f(1)$ gives the desired result.
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 • 4 Y
Y by khan.academy, Maksat_B, Sedro, abrahms
Mathdreams wrote:
Find all functions $f : \mathbb{R}^+ \rightarrow \mathbb{R}^+$ such that \[f(f(x)) + xf(xy) = x + f(y)\]for all positive real numbers $x$ and $y$.
Let $P(x,y)$ be the assertion $f(f(x))+xf(xy)=x+f(y)$
Let $c=f(1)$ and $d=f(2)$

Subtracting $P(x,1)$ from $P(x,2)$, we get $f(2x)=f(x)+\frac{d-c}x$
Subtracting $P(2,1)$ from $P(2,x)$, we get $f(2x)=d+\frac{f(x)-c}2$

Subtracting : $f(x)=2\frac{c-d}x+2d-c$

Plugging $f(x)=\frac ax+b$ in original equation, we get $(a,b)=(\text{anything},0)$ or $(0,1)$ and solutions :
$\boxed{\text{S1 : }f(x)=1\quad\forall x>0}$, which indeed fits

$\boxed{\text{S2 : }f(x)=\frac ax\quad\forall x>0}$, which indeed fits, whatever is $a>0$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jasperE3
11320 posts
#4 • 1 Y
Y by AlexCenteno2007
Let $P(x,y)$ be the assertion $f(f(x))+xf(xy)=x+f(y)$.
$P(x,f(x))\Rightarrow f(xf(x))=1$
$P(f(x),x)\Rightarrow f(f(f(x)))=f(x)$
$P(f(x),y)\Rightarrow f(x)f(yf(x))=f(y)$, in particular we have $f(f(x))=\frac{f(1)}{f(x)}$
$P(x,f(y))\Rightarrow xf(x)^2-(xf(y)+f(1))f(x)+f(y)f(1)=0\Rightarrow f(x)\in\left\{f(y),\frac{f(1)}x\right\}$ for each $x,y\in\mathbb R^+$ (we solved this as a quadratic in $f(x)$)
If $f(x)\ne\frac{f(1)}x$ for some $x$ then by varying $y$ over $\mathbb R^+$ we get that $f$ is constant, and testing, the only constant solution is $\boxed{f(x)=1}$ for all $x$.
Otherwise, $\boxed{f(x)=\frac cx}$ which works for any $c\in\mathbb R^+$.
This post has been edited 1 time. Last edited by jasperE3, Apr 11, 2025, 5:24 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Tony_stark0094
69 posts
#6
Y by
if $f \equiv c$ then $c$ must be $1$ further assume $f$ is not constant:
it's easy to get $f(f(1))=1$
and observe that $f$ is injective:
now $P(x,f(x)): f(f(x))+xf(xf(x))=x+f(f(x)) \implies f(xf(x))=1$
from injectivity $xf(x)=f(1) \implies f(x)=\frac {f(1)}{x}$
hence $f(x)=1 \forall x \in R$ and $f(x)=\frac {f(1)}{x} \forall x \in R$ are the only solutions
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jasperE3
11320 posts
#7
Y by
Tony_stark0094 wrote:
it's easy to get $f(f(1))=1$
and observe that $f$ is injective:

how?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Tony_stark0094
69 posts
#8
Y by
jasperE3 wrote:
Tony_stark0094 wrote:
it's easy to get $f(f(1))=1$
and observe that $f$ is injective:

how?

$P(1,1): f(f(1))+f(1)=1+f(1) \implies f(f(1))=1$
for injectivity assume $f(a)=f(b)$
then subtract $P(a,1)$ from $P(b,1)$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jasperE3
11320 posts
#9
Y by
Tony_stark0094 wrote:
jasperE3 wrote:
Tony_stark0094 wrote:
it's easy to get $f(f(1))=1$
and observe that $f$ is injective:

how?

$P(1,1): f(f(1))+f(1)=1+f(1) \implies f(f(1))=1$
for injectivity assume $f(a)=f(b)$
then subtract $P(a,1)$ from $P(b,1)$

and what if $f(a)=f(b)=1$ (which is indeed the particular case $f(xf(x))=f(f(1))=1$ that you use injectivity for)
This post has been edited 1 time. Last edited by jasperE3, Apr 12, 2025, 7:35 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ThatApollo777
73 posts
#10
Y by
Claim : the only solutions are $f(x) = 1$ and $f(x) = \frac{c}{x}$.
Pf : Its easy to check these work, we now show these are only solutions.

Claim 1: If $f$ is not injective, its identically $1$.
Let $P(x, y)$ be the assertion. $$P(1,1) \implies f(f(1)) = 1$$Assuming $f(a) = f(b)$ for $a \neq b$. Let $r = \frac{b}{a} \neq 1$. $$P(a, y) - P(b, y) \implies a(f(ay) - 1) = b(f(by)-1)$$Putting $y = \frac{f(1)}{a}$ we can conclude: $$f(rf(1)) = 1$$$$P(\frac{x}{f(1)}, f(1)) - P(\frac{x}{f(1)}, rf(1)) \implies f(x) = f(rx)$$$$P(x, \frac{t}{x}) - P(rx, \frac{t}{x}) \implies f(t) = 1$$Since $r \neq 1$.

Now, assuming $f$ is injective consider $$P(x, \frac{f(1)}{x}) : f(f(x)) = f(\frac{f(1)}{x}) \implies f(x) = \frac{f(1)}{x}$$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cursed_tangent1434
626 posts
#11
Y by
The answers are $f(x) = 1$ for all $x\in \mathbb{R}^+$ and $f(x)= \frac{c}{x}$ for all $x\in \mathbb{R}^+$ for some fixed constant $c \in \mathbb{R}^+$. It’s easy to see that these functions satisfy the given equation. We now show these are the only solutions. Let $P(x,y)$ be the assertion that $f(f(x))+xf(xy)=x+f(y)$ for positive real numbers $x$ and $y$.

In what follows we assume that $f$ is not constant one. Say there does now exist some $x_0 \ne 1$ such that $f(x_0) \ne 1$ (i.e for all $x_0\ne 1$ we have $f(x_0)=1$). As $f$ is not constant one this indicates that $f(1) \ne 1$. Then, $P\left(x,\frac{1}{x}\right)$ yields,
\begin{align*}
f(f(x)) + xf(1) &= x+f\left(\frac{1}{x}\right)\\
f(1) + xf(1) &= x+1 \\
(x+1)f(1) &= x+1
\end{align*}which is a clear contradiction since $x+1>0$ and $f(1) \ne 1$. Thus, there indeed exists some $x_0 \ne 1$ such that $f(x_0) \ne 1$. Now, $P(1,1)$ implies that
\[f(f(1))+f(1)=1+f(1)\]from which we have $f(f(1))=1$. We now make the following observation.

Claim : The function $f$ is injective.

Proof : We first show that it is injective at all points except 1. For this, note that if there exists $t_1 \ne t_2 $ such that $f(t_1) =f(t_2) \ne 1$. Then, $P(t_1,1)$ and $P(t_2,1)$ yeild,
\[f(f(t_1))+t_1f(t_1)=t_1+f(1)\]\[f(f(t_2))+t_2f(t_2)=t_2+f(1)\]whose difference implies
\[(t_1-t_2)f(t_1)=t_1-t_2\]which since $f(t_1) \ne 1$ implies that $t_1=t_2$ which is a contradiction. Hence, $f$ is indeed injective at all points except 1.

With this observation in hand, consider $x_0 \ne 1$ such that $f(x_0) \ne 1$ and $\alpha$ such that $f(\alpha)=1$. Then, from $P\left(x_0 , \frac{\alpha}{x_0}\right)$ we have
\begin{align*}
f(f(x_0)) + x_0f(\alpha) &= x_0 + f\left(\frac{\alpha}{x_0}\right)\\
f(f(x_0)) &=  f\left(\frac{\alpha}{x_0}\right)
\end{align*}Now,
\[f(f(f(x_0))) = f\left(f\left(\frac{\alpha}{x_0}\right)\right)=f(x_0)\]which since $f(x_0) \ne 1$ implies $f(f(x_0))=x_0 \ne 1$. Thus,
\begin{align*}
f(f(x_0)) &=  f\left(\frac{\alpha}{x_0}\right)\\
f(x_0) &= \frac{\alpha}{x_0}
\end{align*}In particular, if there exists $\alpha_1,\alpha_2 \in \mathbb{R}^+$ such that $f(\alpha_1)=f(\alpha_2)=1$ we have
\[\frac{\alpha_1}{x_0} = f(x_0) = \frac{\alpha_2}{x_0}\]which implies $\alpha_1=\alpha_2$ proving the claim.

Thus, $f$ is injective and
\[f(x) = \frac{f(1)}{x}\]for all $x \ne f(1)$ and $f(f(1))=1$. This implies that indeed $f(x) = \frac{c}{x}$ for some fixed constant $c \in \mathbb{R}^+$ as desired.
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
#12
Y by
cutie patootie problem

We claim either $f$ is one or $\frac{c}{x}$. These clearly work. Let $P(x,y)$ denote the assertion.
Firstly, $P(1,1)$ gives $f(f(1))=1$.
$P(x,1)$ yields $f(f(x))+xf(x)=x+f(1)$. Hence $f(f(x))=xf(1)-xf(x)$. Thus, subbing back, $xf(xy)+f(1)-xf(x)=f(y)$. Now take $x\to f(1)$ so we get
\[f(1)f(f(1)y)=f(y)\]Now, we will take $y\to f(1)y$ in $xf(xy)+f(1)-xf(x)=f(y)$ to get $\frac{xf(xy)}{f(1)}+f(1)-xf(x)=\frac{f(y)}{f(1)}$. Comparing this with $xf(xy)+f(1)-xf(x)=f(y)$, we have
\[xf(xy)\left(\frac{1}{f(1)}-1\right)=f(y)\left(\frac{1}{f(1)}-1\right)\]This gives us two cases. Either $f(1)=1$ or $xf(xy)=f(y)$ for all $x,y$. In the latter case, we would have $xf(x)=f(1)$, and $f(x)=\frac{c}{x}$ which is a solution.

Now, suppose $f(1)=1$. Then, taking $P\left(x,\frac{1}{x}\right)$, we have $f(f(x))+x=x+f\left(\frac{1}{x}\right)$ hence $f(f(x))=f\left(\frac{1}{x}\right)$. Assume that $f$ is not always constant, as if it was constant then we would have $cx=x$ hence $c=1$ as desired. We shall prove that $f$ is injective, which would finish as then cancelling one $f$ we get $f(x)=\frac{1}{x}$.

Let $f(a)=f(b)$ such that WLOG $\frac{b}{a}>1$. Take $y=a,b$, so we have $f(f(x))+xf(ax)=x+f(a)$ and $f(f(x))+xf(bx)=x+f(b)$. Subtracting we have
\[x(f(ax)-f(bx))=f(a)-f(b)=0\]Hence, as $x\neq 0$, we have
\[f(ax)=f(bx)\quad f(x)=f(cx)\]where $c=\frac{b}{a}>1$ by scaling down $x$.

Now, consider $P(cx,y)$ so we get $f(f(x))+cxf(xy)=cx+f(y)$. Comparing with $P(x,y)$ we have
\[xf(xy)(c-1)=x(c-1)\]Yet $c-1>0$. Thus, we have $xf(xy)=x$ or $f(xy)=1$. Taking $y=1$ gives $f(x)=1$ for all $x$, a contradiction as we have dealt with constant $f$.

Thus, $f$ must be injective, and we are done.
Z K Y
N Quick Reply
G
H
=
a