Join our FREE webinar on May 1st to learn about managing anxiety.

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
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
Integer Functional Equation
mathlogician   5
N 3 minutes ago by jasperE3
Source: LMAO P1
Let $f\colon\mathbb{N} \to \mathbb{N}$ be a function that satisfies$$\frac{ab}{f(a)} + \frac{ab}{f(b)} = f(a+b)$$for all positive integer pairs $(a,b).$ Find all possible functions $f.$

(Here, we define $\mathbb{N}$ as the set of all positive integers.)
5 replies
mathlogician
Sep 11, 2020
jasperE3
3 minutes ago
Another perpendicular to the Euler line
darij grinberg   25
N 15 minutes ago by MathLuis
Source: German TST 2022, exam 2, problem 3
Let $ABC$ be a triangle with orthocenter $H$ and circumcenter $O$. Let $P$ be a point in the plane such that $AP \perp BC$. Let $Q$ and $R$ be the reflections of $P$ in the lines $CA$ and $AB$, respectively. Let $Y$ be the orthogonal projection of $R$ onto $CA$. Let $Z$ be the orthogonal projection of $Q$ onto $AB$. Assume that $H \neq O$ and $Y \neq Z$. Prove that $YZ \perp HO$.

IMAGE
25 replies
+1 w
darij grinberg
Mar 11, 2022
MathLuis
15 minutes ago
2 variable functional equation in integers
Supercali   2
N 24 minutes ago by jasperE3
Source: IITB Mathathon 2022 Round 2 P5
Find all functions $f:\mathbb{Z} \rightarrow \mathbb{Z}$ satisfying
$$f(x+f(xy))=f(x)+xf(y)$$for all integers $x,y$.
2 replies
Supercali
Dec 20, 2022
jasperE3
24 minutes ago
H not needed
dchenmathcounts   47
N 26 minutes ago by AshAuktober
Source: USEMO 2019/1
Let $ABCD$ be a cyclic quadrilateral. A circle centered at $O$ passes through $B$ and $D$ and meets lines $BA$ and $BC$ again at points $E$ and $F$ (distinct from $A,B,C$). Let $H$ denote the orthocenter of triangle $DEF.$ Prove that if lines $AC,$ $DO,$ $EF$ are concurrent, then triangle $ABC$ and $EHF$ are similar.

Robin Son
47 replies
dchenmathcounts
May 23, 2020
AshAuktober
26 minutes ago
Counting graph theory
MathSaiyan   1
N 30 minutes ago by biomathematics
Source: PErA 2025/6
Let $m$ and $n$ be positive integers. For a connected simple graph $G$ on $n$ vertices and $m$ edges, we consider the number $N(G)$ of orientations of (all of) its edges so that, in the resulting directed graph, every vertex has even outdegree.
Show that $N(G)$ only depends on $m$ and $n$, and determine its value.
1 reply
MathSaiyan
Mar 17, 2025
biomathematics
30 minutes ago
hard problem
Cobedangiu   14
N an hour ago by IceyCold
Let $a,b,c>0$ and $a+b+c=3$. Prove that:
$\dfrac{4}{a+b}+\dfrac{4}{b+c}+\dfrac{4}{c+a} \le \dfrac{1}{a}+\dfrac{1}{b}+\dfrac{1}{c}+3$
14 replies
Cobedangiu
Apr 21, 2025
IceyCold
an hour ago
Vasc = 1?
Li4   8
N 2 hours ago by IceyCold
Source: 2025 Taiwan TST Round 3 Independent Study 1-N
Find all integer tuples $(a, b, c)$ such that
\[(a^2 + b^2 + c^2)^2 = 3(a^3b + b^3c + c^3a) + 1. \]
Proposed by Li4, Untro368, usjl and YaWNeeT.
8 replies
Li4
Apr 26, 2025
IceyCold
2 hours ago
\sqrt{(1^2+2^2+...+n^2)/n}$ is an integer.
parmenides51   7
N 2 hours ago by lightsynth123
Source: Singapore Open Math Olympiad 2017 2nd Round p3 SMO
Find the smallest positive integer $n$ so that $\sqrt{\frac{1^2+2^2+...+n^2}{n}}$ is an integer.
7 replies
parmenides51
Mar 26, 2020
lightsynth123
2 hours ago
Intersection of circumcircles of MNP and BOC
Djile   39
N 2 hours ago by bjump
Source: Serbian National Olympiad 2013, Problem 3
Let $M$, $N$ and $P$ be midpoints of sides $BC, AC$ and $AB$, respectively, and let $O$ be circumcenter of acute-angled triangle $ABC$. Circumcircles of triangles $BOC$ and $MNP$ intersect at two different points $X$ and $Y$ inside of triangle $ABC$. Prove that \[\angle BAX=\angle CAY.\]
39 replies
Djile
Apr 8, 2013
bjump
2 hours ago
Good divisors and special numbers.
Nuran2010   2
N 2 hours ago by BR1F1SZ
Source: Azerbaijan Al-Khwarizmi IJMO TST 2024
$N$ is a positive integer. Call all positive divisors of $N$ which are different from $1$ and $N$ beautiful divisors.We call $N$ a special number when it has at least $2$ beautiful divisors and difference of any $2$ beautiful divisors divides $N$ as well. Find all special numbers.
2 replies
Nuran2010
Yesterday at 4:52 PM
BR1F1SZ
2 hours ago
Inspired by old results
sqing   3
N 2 hours ago by Jamalll
Source: Own
Let $ a,b>0 , a^2+b^2+ab+a+b=5 . $ Prove that
$$ \frac{ 1 }{a+b+ab+1}+\frac{6}{a^2+b^2+ab+1}\geq \frac{7}{4}$$$$ \frac{ 1 }{a+b+ab+1}+\frac{1}{a^2+b^2+ab+1}\geq \frac{1}{2}$$$$  \frac{41}{a+b+2}+\frac{ab}{a^3+b^3+2} \geq \frac{21}{2}$$
3 replies
1 viewing
sqing
Yesterday at 12:29 PM
Jamalll
2 hours ago
Question on Balkan SL
Fmimch   0
3 hours ago
Does anyone know where to find the Balkan MO Shortlist 2024? If you have the file, could you send in this thread? Thank you!
0 replies
Fmimch
3 hours ago
0 replies
hard inequalities
pennypc123456789   0
3 hours ago
Given $x,y,z$ be the positive real number. Prove that

$\frac{2xy}{\sqrt{2xy(x^2+y^2)}} + \frac{2yz}{\sqrt{2yz(y^2+z^2)}} + \frac{2xz}{\sqrt{2xz(x^2+z^2)}} \le \frac{2(x^2+y^2+z^2) + xy+yz+xz}{x^2+y^2+z^2}$
0 replies
pennypc123456789
3 hours ago
0 replies
inequality problem
pennypc123456789   2
N 3 hours ago by pennypc123456789
Given $a,b,c$ be positive real numbers . Prove that
$$\frac{ab}{(a+b)^2} +\frac{bc}{(b+c)^2}+\frac{ac}{(a+c)^2} \ge \frac{6abc }{(a+b)(b+c)(a+c)}$$
2 replies
pennypc123456789
Yesterday at 2:42 PM
pennypc123456789
3 hours ago
BMO Shortlist 2021 A5
Lukaluce   17
N Apr 18, 2025 by jasperE3
Source: BMO Shortlist 2021
Find all functions $f: \mathbb{R}^{+} \rightarrow \mathbb{R}^{+}$ such that
$$f(xf(x + y)) = yf(x) + 1$$holds for all $x, y \in \mathbb{R}^{+}$.

Proposed by Nikola Velov, North Macedonia
17 replies
Lukaluce
May 8, 2022
jasperE3
Apr 18, 2025
BMO Shortlist 2021 A5
G H J
Source: BMO Shortlist 2021
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Lukaluce
267 posts
#1 • 1 Y
Y by Sedro
Find all functions $f: \mathbb{R}^{+} \rightarrow \mathbb{R}^{+}$ such that
$$f(xf(x + y)) = yf(x) + 1$$holds for all $x, y \in \mathbb{R}^{+}$.

Proposed by Nikola Velov, North Macedonia
This post has been edited 2 times. Last edited by Lukaluce, May 10, 2022, 2:31 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
username_
3 posts
#2 • 3 Y
Y by tiendung2006, XcFL, Sedro
solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Assassino9931
1284 posts
#3
Y by
Clearly $f$ is surjective on $(1,\infty)$ and injective as if $f(z_1) = f(z_2)$, then $y=z_1-x$ and $y=z_2-x$ for any $x<z_1,z_2$ yield $f(xf(z_1)) = (z_1-x)f(x) + 1$, $f(xf(z_2)) = (z_2-x)f(x) + 1$ and hence $z_1=z_2$. To use these properly, take any $z>1$, consider $x_0$ with $z=f(x_0)$ and aim to make the right-hand side of the initial equation with an $f$ in order to use injectivity. To be precise, setting $x=x_0$ and $y=\frac{z-1}{z}$ yields $f(x_0f(x_0+\frac{z-1}{z})) = f(x_0)$, thus $f(x_0 + \frac{z-1}{z}) = 1$ and so $x_0 + \frac{z-1}{z} = k$ for some constant $k$, thus
$$\mbox{If } x \mbox{ is such that }f(x) > 1, \mbox{ then } f(x) = \frac{1}{x+1-k}.$$Now, in the initial equation we have $f(xf(x+y)) = yf(x) + 1 > 1$, hence this equation becomes (with $f(k) = 1$)
$$ \frac{1}{xf(x+y) + 1-k} = yf(x) + 1 $$Setting $y=k-x$ yields $1 = (x+1-k)((k-x)f(x) + 1) \Leftrightarrow f(x) = \frac{1}{x+1-k}$ for all $x<k$. Setting $x=k$ yields $\frac{1}{kf(k+y) + 1 -k} = y+1$ and hence $kf(z) + 1 - k = \frac{1}{z-k+1} \Leftrightarrow f(z) = \frac{(k-1)z-k^2+2k}{zk - k^2+k}$ for all $z>k$. Now from $\frac{1}{x+1-k} = f(x) > 0$ we have $x > k-1$ for all $0<x<k$, thus $k\leq 1$; and in $\frac{(k-1)z-k^2+2k}{zk - k^2+k} = f(z) > 0$ for large $z$ and fixed $k<1$ the numerator will be negative and the denominator will be positive, contradiction! Therefore $k=1$ and substituting above yields $f(x) = \frac{1}{x}$ for all of $x<1$, $x=1$ and $x>1$, i.e. $f(x) = \frac{1}{x}$ for all $x$ (which satisfies the given equation).
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MrOreoJuice
594 posts
#5 • 1 Y
Y by math_comb01
Very nice :) we prove that the only function which works is $f(x)=\dfrac 1x$ and it is easy to verify that this indeed works.

Let $P(x,y)$ denote the given assertion. Firstly, fixing $x$ gives that $f$ is surjective over $(1, \infty)$. If $f(a)=f(b)$, then pick $c < \min\{a,b\}$, equating $P(c,a-c)$ and $P(c,b-c)$ gives $a=b$ hence $f$ is injective.

Claim:
$$f\left(x + \dfrac{1}{f(x)}\right) = \dfrac cx$$for some constant $c$ also from here onwards let this assertion denote $Q(x)$.
Proof: Equating $P(1,1/f(1))$ and $P(x, 1/f(x))$ we have
$$f(xf(x + 1/f(x)))=2=f(f(1+1/f(1)))$$and because of injectivity, $xf(x+1/f(x)) = f(1 + 1/f(1)) = c$.

Claim: $f(1)=1$.
Proof: $Q(c) \implies$ there exists $t$ such that $f(t)=1$. If $t > 1$ then $P(1,t-1) \implies f(t-1) = f(t-1) + 1$ which is a contradiction, hence $t \le 1$. Note that $Q(x)$ means that $f$ is completely surjective, if $t <1$ then choose $x_0$ such that $f(x_0)=\dfrac{1}{1-t}$ then $P(x_0,t) \implies f(x_0f(x_0 + t)) = tf(x_0)+1 = \dfrac{1}{1-t} = f(x_0)$ and because of injectivity it means $f(x_0 + t) = 1 = f(t)$ which is a contradiction. To conclude, $f(1)=1$.

Note that $P(x,1-x) \implies f(x) = \dfrac 1x$ for all $x < 1$. From $f(1)=1$, $Q(1)\implies c=f(2)$, $P(1,1) \implies f(c) = f(f(2))=2$, $P(1/2 , 1/2) \implies f(1/2) = 2 = f(c) \implies c=1/2$. $P(1,x) \implies f(f(1+x))=1+x \implies f(f(x)) = x$ for all $x\ge 1$.

Claim: $f(x) = \dfrac 1x$ for all $x \ge 1$.
Proof: Choose $x\ge 1$,
$$f(Q(x)) \implies x + \dfrac{1}{f(x)} = f(f(x + 1/f(x))) = f\left(\dfrac{1}{2x}\right)$$and since $x\ge 1 \implies \dfrac{1}{2x} <1$ thus
$$x + \dfrac{1}{f(x)} = f\left(\dfrac{1}{2x}\right) = 2x \implies f(x) = \dfrac 1x$$and this solves the problem.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
guptaamitu1
656 posts
#6
Y by
The answer is $f(x) \equiv \frac{1}{x}$. It is easy to see that it works.

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


Claim 1: $f$ is injective.

Proof: Suppose $f(a) = f(b)$. Fix a small $x$ (we only require $x < a,b$). Comparing $P(x,a-x)$ and $P(x,b-x)$ gives
$$ (x-a)f(x) = (x-b)f(x) $$As $f(x) \ne 0$, hence $a=b$, as desired. $\square$


Call two pairs $(x_1,y_1)$ and $(x_2,y_2)$ similar (and denote $(x_1,y_1) \sim (x_2,y_2)$) if
$$ y_1f(x_1) = y_2f(x_2) \qquad \qquad (1)$$Comparing $P(x_1,y_1)$ and $P(x_2,y_2)$ (and invoking $f$ is injective) gives
$$ x_1f(x_1 + y_1) = x_2 f(x_2 + y_2)\qquad \qquad (2)  $$whenever $(x_1,y_1) \sim (x_2,y_2)$. Basically, if $(1)$ is true $\iff$ $(2)$ is true. Note in some sense $(1)$ is just fixing the ratio of $y_1,y_2$.


Claim 2: $f$ is strictly decreasing.

Proof: Recall $f$ was injective. Assume on the contrary that $$x_1 < x_2 ~~ \text{and} ~~f(x_1) < f(x_2)$$Consider all $y_1,y_2$ such that $(1)$ is true. Then we have
$$ x_1f(x_1 + y_1) = x_2 f(x_2 + y_2) $$But due to our assumptions, $y_1,y_2$ can be chosen such that
$$ x_1 + y_2 = x_2 + y_2 $$So that forces
$$ x_1 = x_2 $$which is a contradiction. $\square$


Claim 3: $f$ is continuous.

Proof: (We basically vary $y$ in $P(x,y)$ to prove this) Fix $x$ and consider any $a$. It suffices to show (as we could take $x$ small) that
$$ f(x+a) = \lim_{z \to a} f(x+z) $$Let $I$ be any of the below two sets (or intervals)
$$\{z : 0 < a < x+a \} ~~,~~ \{z : a < z\}$$Pick any small $\epsilon > 0$. As $f$ is strict monotone, so it suffices to show set
$$ f(x + I) - f(x+a) $$has an element $\in (-\epsilon,\epsilon)$. Assume on the contrary that
$$|f(x+z) - f(x+a)| \ge \epsilon ~~ \forall ~ z \in I$$So there is a $\alpha > 0$ such that
$$ |xf(x+a) - xf(x+z)| \ge \alpha ~~ \forall ~ z \in I $$As $f$ is strict monotone, so $\exists ~ \beta >0$ such that
$$ \left\vert f(xf(x+a)) - f(xf(x+z)) \right\vert \ge \beta ~~ \forall ~ z \in I $$But then invoking $P(x,a)$ and $P(x,z)$ gives
$$ \left\vert af(x) - zf(x) \right\vert \ge \beta ~~ \forall ~ z \in I $$But tending $z \to a$, the LHS tends to $0$, so we obtain our desired contradiction. $\square$


Look at $(1),(2)$ now. Fix $x_1,x_2$. Pick $y_1,y_2$ satisfying $(1)$ and tend $y_1,y_2 \to 0$. Using continuity of $f$ we obtain
$$ x_1f(x_1) = x_2f(x_2) ~~ \forall ~ x_1,x_2$$It follows there exists a $c$ such that
$$ f(x) \equiv \frac{c}{x} $$Now there are several ways to conclude $c=1$:
  • Just plug in $f$ in $P(x,y)$.
  • Note $f$ is always a involution. $P(1,y)$ gives
    $$yf(1) + 1 = f(f(1+y)) = 1+y$$Which forces $f(1) = 1$, hence $c=1$.
This completes the proof. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ZETA_in_olympiad
2211 posts
#7
Y by
We claim that $f\equiv \text{Id}^{-1}$, which clearly works. Denote the assertion by $P(x,y).$

Claim: $f$ is bijective.
Proof. For injectivity, take $f(u)=f(v)$ and a small $w$ then by combining $P(w,u-w)$ and $P(w,v-w)$ we get $u=v.$ Then take $P(x,\tfrac{1}{f(x)})$ so that we get $xf(x+\tfrac{1}{x})$ constant. This is enough for surjectivity. $\blacksquare$

Pick an $a$ for $f(a)=1.$ If $a>1$ then $P(a-1,1)$ gives contradiction. If $a<1$ then take $b$ for $f(\tfrac{1}{b})=1-a.$ By $P(\tfrac{1}{b},a)$ we get contradiction. Note that $f(1)=1.$

For all $x>1$ by $P(1,x-1)$ and for all $x<1$ by $P(x,1-x)$ yields $f(x)=\tfrac{1}{x},$ as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Iora
194 posts
#8
Y by
I hope it works
Let $P(x,y)$ be the assertion of the given functional equation.

It is not so hard to prove $f$ is bijective. Without a problem, let $y \rightarrow 0$. We have:
$$f(xf(x))=1$$Obviously, $f$ is not constant. Hence we can conclude that $xf(x)$ is constant. Therefore, $f(x)=\frac{k}{x}$ for some positive real number $k$. Putting to the our equation, we get:

$$\frac{x+y}{x}= \frac{ky+x}{x}$$
Hence we conclude $k=1$ which gives $f(x)=\frac{1}{x} \  \blacksquare$

Note:Solution is wrong since continuity of the function is not proven, hence we can't take $y \rightarrow 0$
This post has been edited 1 time. Last edited by Iora, Sep 12, 2022, 12:10 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Infinityfun
100 posts
#9
Y by
Because of the original equation there exist an $x_0$ such that $f(x_0)>1$
As solutions above, we can show $f$ is injective.
$P(x_0,\frac{f(x_0)-1}{f(x_0)}) $ gives $f(x_0+ \frac{f(x_0)-1}{f(x_0)}) = 1$. So there is an $x_1$ such that $f(x_1)=1$

$P(x,x_1-x),(x<x_1)$ gives $f(x)= \frac{1}{x+1-x_1}$
Plugging infinite $x,y$ pairs such that $x+y<x_1$ and $yx_1>x$ gives $x_1 = 1$ and $f(x)=x $ for $x<1$
$P(1,y)$ gives $f(f(x))=x$ for $x>1$, but $f(\frac{1}{x})=x= f(f(x)) $ and from injectivity $f(x)=\frac{1}{x}$ for $x>1$
Hence, $f(x)= \frac{1}{x}$ for all $x>0$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ahizounemustapha
68 posts
#10
Y by
we note h(χ) the function such that if x>0 so h(x)=f(x)
and h(x)=0 if x=0
proof : h(xh(x+y))=yh(x)+1
p(0,y): h(0)=yh(0)+1
so if h(0)≠0 y=1/h(0)+1 which is a point fix a contra diction because y is free over R+
so h(0)=0
p(x,-x);remark h is defind over R
so h(0)=-xh(x)+1
then h(x)=1/x
so over R+ :f(x)=1/x
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5603 posts
#11 • 1 Y
Y by OronSH
Solved with OronSH and pi271828.

The only solution is $\boxed{f(x) = \frac{1}{x} } $. To see this works, note the left hand side becomes $\frac{x+y}{x}$ and the right hand side becomes $\frac{y}{x} + 1  = \frac{x+y}{x}$. Now we prove it's the only solution.

Claim: $f$ is injective.
Proof: Suppose $f(a) = f(b)$ for some positive reals $a,b$. Fix an $0<x < \min(a,b)$.

$P(x, a-x): f(x f(a)) = (a-x) f(x) + 1$.

$P(x,b-x): f(xf(a)) = (b-x) f(x) + 1$.

So $(a-x)f(x) + 1 = (b-x) f(x) + 1\implies a = b$. $\square$

\[P\left( x, \frac{1}{f(x)} \right) : f\left( x f\left(x + \frac{1}{ f(x)} \right)\right)  = 2\implies f\left( x + \frac{1}{f(x)} \right) = \frac{k}{x} \ \ \ \ \ \ \ \ (1) \]where $k$ is the unique positive number with $f(k) = 2$.

The RHS of $(1)$ takes all positive real numbers, so $f$ is surjective. Now plugging $x = k$ in $(1)$ gives that $f\left( k + \frac{1}{2} \right) = 1$.

For $x < k + \frac{1}{2}$, $P\left( x, y = k + \frac{1}{2} - x \right):f(x) = yf(x) + 1 $, so \[f(x) = \frac{1}{1-y} = \frac{1} {x + \frac{1}{2} - k }\]This implies that $f\left( \frac{k}{2} \right) = \frac{2}{1 - k}$.

For any $x < k$, $P(x, k - x): f(2x) = (k-x) f(x) + 1$. Setting $x = \frac{k}{2}$ gives that $2 = \frac{k}{2} f\left( \frac{k}{2} \right) + 1,$ so $f\left( \frac{k}{2} \right) = \frac{2}{k}$, which means \[ \frac{2}{k} = \frac{2}{1-k} \implies k = \frac{1}{2} \]
Then we have $f(x) = \frac{1}{x}$ for all $x<1$.

Now since $f\left( x + \frac{1}{f(x)} \right) = \frac{1/2}{x}$, if $f(x) = \frac{1}{x}$, then $f(2x) = \frac{1}{2x}$, which means if all $x\in (a,b)$ satisfy $f(x) = \frac{1}{x}$, then all $x$ in $(2a, 2b)$ satisfy $f(x)  = \frac{1}{x}$.

Since all $x\in (0,1)$ satisfy $f(x) = \frac{1}{x}$, we can induct to get that all $x\in (0, 2^n)$ for any nonnegative integer $n$ satisfy $f(x) = \frac{1}{x}$. Since $2^n$ is unbounded, all positive reals $x$ satisfy $f(x) = \frac{1}{x}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ATGY
2502 posts
#12
Y by
Nice! Let $P(x, y)$ be the given assertion. Firstly, we claim that the function is injective. Let $f(a) = f(b)$. $P(x, a - x)$, $P(x, b - x)$ gives:
$$af(x) + 1 = bf(x) + 1 \implies a = b$$After substituting $P(x, \frac{1}{f(x)})$, we see that the function is surjective. Now, let $f(\alpha) = 1$. $P(1, y)$ yields:
$$f(f(y + 1)) = yf(1) + 1$$Plugging in $P(f(y) + 1, \frac{yf(1)}{yf(1) + 1})$, we get:
$$f(f(y+1)f(f(y+1) + \frac{yf(1)}{yf(1) + 1})) = \frac{yf(1)}{yf(1) + 1)}\times f(f(y+1)) + 1 = yf(1) + 1$$By injectivity of $f(x)$, we have:
$$f(f(y+1)f(f(y+1) + \frac{yf(1)}{yf(1) + 1})) = f(f(y + 1)) \implies f(y+1)f(f(y+1) + \frac{yf(1)}{yf(1) + 1} = f(y + 1)$$$$\implies f(y + 1) + \frac{yf(1)}{yf(1) + 1} = 1$$Since $f(\alpha) = 1$, we have:
$$\alpha - \frac{yf(1)}{yf(1) + 1} = f(y + 1)    \; \; \; \;             (1)$$For sufficiently large $y$, $\frac{yf(1)}{yf(1) + 1}$ tends to $1$ (but not exactly 1), and since $f(y + 1)$ is positive we have $\alpha \geq 1$.

We now claim that $f(1) = 1$. Say, for the sake of contradiction, $\alpha > 1$. $P(\alpha - 1, 1)$ gives:
$$f(\alpha - 1) = f(\alpha - 1) + 1$$This is clearly not possible which means that $\alpha = 1$. Substituting this value in $(1)$, we have:
$$f(y + 1) = \frac{1}{y + 1}$$For $y \geq 1$, we have $f(y) = \frac{1}{y}$. We prove this for $y < 1$ as well. $P(y, 1 - y)$ gives:
$$f(y) = (1 - y)f(y) + 1 \implies yf(y) = 1 \implies f(y) = \frac{1}{y}$$Hence, $f(x) = \frac{1}{x}$
This post has been edited 2 times. Last edited by ATGY, Feb 6, 2024, 12:45 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
kimyager
8 posts
#13
Y by
ZETA_in_olympiad wrote:

Pick an $a$ for $f(a)=1.$ If $a>1$ then $P(a-1,1)$ gives contradiction. If $a<1$ then take $b$ for $f(\tfrac{1}{b})=1-a.$ By $P(\tfrac{1}{b},a)$ we get contradiction. Note that $f(1)=1.$

Can you please clarify how you get contradiction for $a<1$ ?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Marius_Avion_De_Vanatoare
55 posts
#14
Y by
As usual let $P(x;y)$ denote the given assertion.
Assume the function is not injective and let $f(a)=f(b)$ than setting $x+y_1=a$ and $x+y_2=b$ $P(x;y_1)-P(x;y_2) \Rightarrow (a-b)f(x)=0$, a contradiction.
Now $P(x;\frac{y}{f(x)}) \Rightarrow f(xf(x+\frac{y}{f(x)}))=y+1$, in particular the expression inside only depends in $y$, not in $x$, so let $xf(x+\frac{y}{f(x)})=g(y)$, and setting $x$ to be $g(y)$ we get that there is a value $\alpha$ such that $f(\alpha)=1$. Take $x+y=\alpha$ and we get that for any $x<\alpha, f(x)=\frac{1}{x+1-\alpha}$ and now we know the form of $f$ for sufficiently small inputs. Fixing $x+y<\alpha$ and taking $x$ very very small we get $\alpha=1$ and now again fixing $x+y$ but now for arbitrary values and taking $x\rightarrow 0$ we get that $f(a)=\frac{1}{a}$ for any positive real $a$ which is indeed a solution.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mcmp
53 posts
#15 • 1 Y
Y by ohiorizzler1434
Wooahhhhhh beautiful and crazy problem :D :D :D :D First analysis-style functional equation that I’ve solved myself :P yay

This is going to be a LOT different to the solutions above :whistling: I don’t know how I managed to cook this up.

So firstly we claim $f(x)=\frac{1}{x}$ is a working function, which is easy checking. Now we check that the related functions $f(x)=\frac{c}{x}$ for $c\neq1$ don’t work. Indeed:
\begin{align*}
f(xf(x+y))&=f\left(x\frac{c}{x+y}\right)\\
&=\frac{x+y}{x}\\
&=\frac{y}{x}+1\\
yf(x)+1&=\frac{cy}{x}+1
\end{align*}so we’re forced to have $c=1$. So it suffices now to show that $f(x)=\frac{c}{x}$ for some constant $c$ as per the above.

We now split the proof into 5 (!) parts, the first three of which are easy and elementary, whilst the last two really start to come scarily close to real analysis :noo:

Part 1: $f$ is injective and surjective over all real numbers $>1$
Assume $f(a)=f(b)$. Choose $c<a,b$, and $A=a-c$, $B=b-c$.
\begin{align*}
f(a)&=f(b)\\
f(c+A)&=f(c+B)\\
f(cf(c+A))&=f(cf(c+B))\\
Af(c)+1&=Bf(c)+1\\
A&=B\\
a&=b
\end{align*}Also note by varying $y>0$ that $f(xf(x+y))$ attains any positive real number $>1$.

Part 2: $af(a+yf(b))=bf(b+yf(a))$ for any two $a,b\in\mathbb{R}_{>0}$
Notice both are just equal to $f^{-1}(yf(a)f(b)+1)$ (here the inverse is well defined as clearly from the functional equation some $c\in\mathbb{R}_{>0}$ satisfies $f(c)=yf(a)f(b)+1$, and since $f$ is injective this $c$ is unique).

Part 3: $f$ strictly decreasing
Take $a<b$. Note $f(a)\neq f(b)$ so assume FTSoC $f(a)<f(b)$. Now consider a $y\in\mathbb{R}_{>0}$ such that $a+yf(b)=b+yf(a)$ (this actually can be explicitly computed! $y=\frac{b-a}{f(b)-f(a)}>0$ by assumption). Hence $af(b+yf(a))=af(a+yf(b))=bf(b+yf(a))$, so $a=b$, contradiction.

Part 4: $\lim_{x\to\infty}f(x)=0$
Notice that $f(x)$ is a strictly decreasing function. Since it is bounded below by $0$, we can safely claim that $\lim_{x\to\infty}f(x)$ is well behaved! In fact it exists! :harhar: Call it $A$. First we do some scouting. Notice that since on the RHS $y$ is free to move around we have some degree of freedom. This calls for some application of inequalities :dry: :censored:
\begin{align*}
f(xf(x+y))&=yf(x)+1\ge Ay+1\\
xf(x+y)&\ge xA>0\\
f(xf(x+y))&\le f(xA)\\
f(xA)&\ge Ay+1
\end{align*}So if we send $y\to\infty$, the fact that $A>0$ implies $Ay+1\to\infty$. This implies $f(xA)\ge f(xA)+1$ in particular, contradiction. Hence $A=0$ and $\lim_{x\to\infty}f(x)=0$.
(Only just realised this part was actually redundant oops :huuh: keeping this still because 4 is an unlucky number)

Part 5: Finishing up with chains and more inequalities :bomb:
First we pick any $a<b$ (!). In the style of APMO 2023/4 let $(y_n)_{n=-\infty}^{\infty}$ be such that $y_0=1$ and $b+f(a)y_{n-1}=a+f(b)y_n$. Let $x_n=a+f(b)y_n$. Note now $af(x_n)=bf(b+f(a)y_n)=bf(a+f(b)y_n)=bf(x_{n+1})$, so $f(x_{n-1})=\frac{b}{a}f(x_n)>f(x_n)$. Hence $x_{i}$ is strictly increasing. Notice that $f(x_{i})=\frac{b^i}{a^i}f(x_0)=\left(\frac{b}{a}\right)^if(x_0)$ so $x_{-i}\to0$ as $i\to\infty$. The reason for this is as follows: first notice that from $f$ surjective on real numbers $>1$ that $\exists c\in\mathbb{R}_{>0}$ such that $f(c)=r$ for any $r>1$. Now since $(x_{-n})_{n=0}^{\infty}$ is strictly decreasing and bounded from below by $0$, $c=\lim_{n\to\infty}x_{-n}$ exists again by the monotone convergence theorem. Hence noticing that if $x_{-i}\to c$ for some $c>0$, there are still $0<d<c$, so considering $f(d)$, $f(x_{-i})<f(d)$, hence $\left(\frac{b}{a}\right)^nf(x_0)<f(d)$ for all $n>0$, a clear contradiction since $\frac{b}{a}>1$.

Hence $\lim_{n\to\infty}x_{-n}=0$. But then this implies quite quickly that $\lim_{n\to\infty}y_{-n}=-\frac{a}{f(b)}$. However we can compute $y_{-n}$ quite explicitly. Noticing that $y_{n-1}=\frac{a-b+f(b)y_n}{f(a)}$, we can quite quickly deduce from induction that for $n\ge1$:
\begin{align*}
y_{-n}&=\frac{a-b}{f(a)}\left(\sum_{i=0}^{n-1}\left(\frac{f(b)}{f(a)}\right)^i\right)+\frac{f(b)^{n}}{f(a)^{n}}
\end{align*}However notice in the limit as $n\to\infty$, $\frac{f(b)^{n}}{f(a)^{n}}\to0$, whilst since $f(b)<f(a)$:
\begin{align*}
\frac{a-b}{f(a)}\left(\sum_{i=0}^{n-1}\left(\frac{f(b)}{f(a)}\right)^i\right)&\to\frac{a-b}{f(a)}\left(\sum_{i=0}^{\infty}\left(\frac{f(b)}{f(a)}\right)^i\right)\\
&=\frac{a-b}{f(a)}\frac{1}{1-\frac{f(b)}{f(a)}}\\
&=\frac{a-b}{f(a)-f(b)}
\end{align*}So $\lim_{n\to\infty}y_{-n}=\frac{a-b}{f(a)-f(b)}=-\frac{a}{f(b)}$. Now by a very useful result called addendo, $\frac{a-b-a}{f(a)-f(b)-(-f(b))}=-\frac{a}{f(b)}$, or $\frac{b}{f(a)}=\frac{a}{f(b)}$. Hence $af(a)=bf(b)$. We never really fixed down $a$ and $b$ though, so in fact $af(a)$ is constant which is to say $f(a)=\frac{c}{a}$ for some constant $c$ for all real numbers $a>0$, ending the proof. :P :bomb:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bin_sherlo
713 posts
#16
Y by
\[f(xf(x + y)) = yf(x) + 1\]Only function satisfying the equation is $f(x)=\frac{1}{x}$.
Claim: $f$ is injective.
Proof: Suppose that $f(a)=c=f(b)$. Pick $y=a-x$ and then $y=b-x$ (and choose $x$ sufficiently small) in order to see that $(b-x)f(x)+1=f(cx)=(a-x)f(x)+1$ which implies $a=b$ so $f$ is injective.$\square$
Claim: $f$ is surjective.
Proof: Plugging $x,y/f(x)$ gives $f$ is surjective for $>1$.
\[f(xf(x+\frac{y}{f(x)}))=y+1=f(zf(z+\frac{y}{f(z)}))\implies xf(x+\frac{y}{f(x)})=zf(z+\frac{y}{f(z)})\]$z=1$ yields $xf(x+\frac{y}{f(x)})=f(1+\frac{y}{f(1)})$. Write $xf(1+\frac{y}{f(1)})$ instead of $x$ to see that $f$ is surjective.$\square$
Claim: $f(1)=1$.
Proof: Let $f(a)=1$ and suppose that $a\neq 1$. For $x<a$, we have $f(x)=f(xf(a))=(a-x)f(x)+1$ or $f(x)=\frac{1}{x+1-a}$. Note that this requires $1\geq a$ hence $1>a$ by our assumption. Pick $x<a(1-a)<a$ and $x+y<a$ to get $f(\frac{x}{x+y+1-a})=\frac{y}{x+1-a}+1=\frac{x+y+1-a}{x+1-a}$. Since $\frac{x}{x+y+1-a}<a$ holds, we see that $\frac{1}{\frac{x}{x+y+1-a}+1-a}=\frac{x+y+1-a}{x+1-a}$ or $x+(1-a)(x+y+1-a)=x+1-a$ or $(1-a)(x+y-a)=0$ which is impossible.$\square$
Since $f(1)=1$, we have $f(x)=\frac{1}{x}$ for $x<1$. This implies $f(x)>1\iff x<1$ by bijectivity. We have $f(xf(x+y))>1$ so $xf(x+y)<1$. Thus for $x<1$,
\[\frac{1}{xf(x+y)}=\frac{y}{x}+1=\frac{x+y}{x}\implies f(x+y)=\frac{1}{x+y}\]As desired.$\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Nari_Tom
117 posts
#17
Y by
Injectivity is clear, and we can also show that function is surjective when $x>1$.

For the $x$ that $f(x)>1$, let's take $y=1-\frac{1}{f(x)}$. $\implies$ $f(x)=\frac{1}{x+1-c}$ where $c$ is the number that $f(c)=1$. Sine $f(x)>1$ $\implies$ $c>x$.

Now let's take $x$ such that $c>x$. Then we have $\frac{1}{x+1-c} > 1$, by the surjectivity there exist $a$ such that $f(a)=\frac{1}{x+1-c}$. But we proved that if $f(a)>1$ then $f(a)=\frac{1}{a+1-c}$. So $a=x$ which implies that for all $x$ less than $c$ we have $f(x)=\frac{1}{x+1-c}$. (We can say $c \le 1$ now)

Let's take $k$ such that $k> \frac{1}{c}-1$ $\implies$ $\frac{1}{k+1}>\frac{1-c}{k}$. Now let's take $x$ such that $\frac{1}{k+1}>x>\frac{1-c}{k}$, and $y=kx+c-1$. Then we have $y>0$ and $x+y<c$, which implies that $const=f(\frac{1}{k+1})=\frac{(k+1)x}{x+1-c}$, which implies if we move $x$ in the interval we will get that $c=1$.

We proved that for all $x \le 1$ we have that $f(x)=\frac{1}{x}$. Now let's take $x<1$ $\implies$ $f(xf(x+y))=\frac{x+y}{x}$, We already know that $f(\frac{x}{x+y})=\frac{x+y}{x}$ so from the injection: $f(x+y)=\frac{1}{x+y}$, by moving the $y$ we can easily deduce that $f(x)=\frac{1}{x}$ for all $x>1$, and 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.
Sedro
5845 posts
#18 • 1 Y
Y by sami1618
Very nice problem.

We claim that the only solution is $f\equiv x^{-1}$, which clearly works. We now prove that there are no other solutions. Let $P(x,y)$ denote the assertion.

Claim 1: $f$ is injective.

Proof: Suppose that $a$ and $b$ are positive reals such that $f(a)=f(b)=N$. Let $c < a,b$ be a positive real; comparing $P(c,a-c)$ and $P(c,b-c)$ gives $f(cN) = af(c)+1 = bf(c)+1$. Hence, $a=b$. $\blacksquare$

Claim 2: $(1,\infty)$ is a subset of the range of $f$.

Proof: Consider the expression $yf(x)+1$; note that it is always in the range of $f$ by $P(x,y)$. Fix $x$; as $y$ varies over the positive reals, $yf(x)+1$ takes on every positive real value greater than $1$, as desired. $\blacksquare$

Claim 3: $1$ is in the range of $f$.

Proof: Let $r>1$ be a positive real number; we know from claims 1 and 2 that there exists a unique positive real $s$ such that $f(s)=r$. Then, by $P(s, \tfrac{r-1}{r}$), we have $f(sf(s+\tfrac{r-1}{r})) = r$. Since $f(s)=r$, by the injectivity of $f$, we have $f(s+\tfrac{r-1}{r}) = 1$. $\blacksquare$

Claim 4: Let $k$ be the unique positive real number such that $f(k)=1$. Then $f(x) = (x+1-k)^{-1}$ for all $x\in (0,k)$.

Proof: By $P(x,k-x)$, we have $f(x) = (k-x)f(x) + 1$, and the desired follows. $\blacksquare$

Claim 5: $f(1)=1$.

Proof: Consider $(x_0,y_0) = (p,k-p-q)$, where $p$ and $q$ are positive reals such that $p+q< k$. We have $x_0+y_0 = k-q < k$, so from claim 4, $f(x_0+y_0) = (x_0+y_0+1-k)^{-1}$. Then, $f(x_0f(x_0+y_0)) = f(\tfrac{x_0}{x_0+y_0+1-k})$. We can choose $p$ and $q$ arbitrarily close to $0$ so that $\tfrac{x_0}{x_0+y_0+1-k} = \tfrac{p}{1-q} < k$. From claim 4, $f(\tfrac{x_0}{x_0+y_0+1-k}) = (\tfrac{x_0}{x_0+y_0+1-k} + 1-k)^{-1}$. Since $x_0 = p<k$, $y_0f(x_0)+1 = \tfrac{x_0+y_0+1-k}{x_0+1-k}$ again from claim 4. Thus, $P(x_0,y_0)$ gives us that \[ (\tfrac{x_0}{x_0+y_0+1-k} + 1-k)^{-1} = \tfrac{x_0+y_0+1-k}{x_0+1-k}.\]This equation can be re-written as \[(1-k)(x_0+y_0-k)=0.\]The value of $x_0+y_0$ is not constant over all possible $(x_0,y_0) = (p,k-p-q)$; simply take $p$ and $q$ closer to $0$, for example. Thus, $k=1$, as desired. $\blacksquare$

Claim 6: $f(x)=x^{-1}$ for all $x\in(0,1]$.

Proof: This follows directly from claims 4 and 5. $\blacksquare$

Claim 7: $f$ is an involution.

Proof: Clearly, $f$ is an involution on $(0,1]$, so it suffices to prove that $f(f(x)) = x$ when $x>1$. By $P(1,x-1)$, where $x>1$, we have $f(f(x)) = (x-1) + 1  = x$, as desired. $\blacksquare$

Claim 8: $f\equiv x^{-1}$ for all $x>1$.

Proof: We have $f(f(xf(x+y))) = xf(x+y) = f(yf(x)+1)$ for all positive reals $x$ and $y$. Let $x$ be any positive real, and let $t$ be a positive real number such that $(x+1)t < 1$; note $t<1$. Then, $P(t,tx)$ gives $f(txf(t)+1) = tf(t(x+1))$. By claim 6, this equation is equivalent to $f(x+1) = (x+1)^{-1}$, which proves the claim. $\blacksquare$

Finally, combining claims 5, 6, and 8 yields $f(x)=x^{-1}$ for all positive reals $x$, and we are done. $\blacksquare$
This post has been edited 2 times. Last edited by Sedro, Apr 16, 2025, 2:25 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jasperE3
11276 posts
#21
Y by
Lukaluce wrote:
Find all functions $f: \mathbb{R}^{+} \rightarrow \mathbb{R}^{+}$ such that
$$f(xf(x + y)) = yf(x) + 1$$holds for all $x, y \in \mathbb{R}^{+}$.

Proposed by Nikola Velov, North Macedonia

Let $P(x,y)$ be the assertion $f(xf(x+y))=yf(x)+1$.

Claim: $f$ is bijective.
Injectivity then surjectivity. Suppose $f(a)=f(b)$ for some $a,b$, then choose some $c$ with $c<a,b$, for instance $c=\frac12\min(a,b)$. We have:
$P(c,a-c)\Rightarrow f(cf(a))=(a-c)f(c)+1$
$P(c,b-c)\Rightarrow f(cf(a))=(b-c)f(c)+1$
and comparing, we get $a=b$. Using injectivity, we can de-nest the left hand side:
$P\left(x,\frac{f(y)-1}{f(x)}\right)\Rightarrow xf\left(x+\frac{f(y)-1}{f(x)}\right)=y$ if $f(y)>1$
$P\left(x,\frac{f(xy)-1}{f(x)}\right)\Rightarrow f\left(x+\frac{f(xy)-1}{f(x)}\right)=y$ if $f(xy)>1$
and applying this by setting $x$ such that $f(xy)>1$, we can do:
$P\left(f(x+y),\frac{xf(y)}{f(f(x+y)))}\right)\Rightarrow f\left(f(x+y)+\frac{xf(y)}{f(f(x+y)))}\right)=y$
which proves that $f$ is surjective.

Claim: $f(1)=1$
Let $c=f^{-1}(1)$.
$P(x,c-x)\Rightarrow f(x)=\frac1{x+1-c}$ for all $x<c$, and this implies $x+1-c>0$ for $x>0$ which means that $c\le1$.
Now if $x<y<c$ then $P(x,y-x)$ becomes $f\left(\frac x{y+1-c}\right)=\frac{y+1-c}{x+1-c}$, so for instance taking $x=\frac c3$ and $y=\frac c2$ we get:
$$f\left(\frac{2c}{6-3c}\right)=\frac{6-3c}{6-4c}.$$But since $\frac{2c}{6-3c}<c$ (rearranges to $c<\frac43$ which is true), we may plug this into $f(x)=\frac1{x+1-c}$ to get:
$$f\left(\frac{2c}{6-3c}\right)=\frac{6-3c}{6-7c+3c^2},$$and solving, we get that $c=1$.

Finish:
From the above, $f(x)=\frac1x$ for all $x\le1$. If there is some $x>1$ for which $f(x)\ge1$ then $\frac1{f(x)}\le1$ so $f\left(\frac1{f(x)}\right)=f(x)$, so by injectivity $f(x)=\frac1x<1$, contradiction. That is, the outputs of $f(x)=\frac1x$ for $x\le1$ cover $[1,\infty)$, so the outputs of $f(x)$ for $x>1$ are constrained to $(0,1)$. So if $x>1$ we must have $f(x)<1$.
$P(1,x)\Rightarrow f(f(x))=x$ for $x>1$
Since $f(x)<1$ we have $f(f(x))=\frac1{f(x)}$ for $x>1$, so we get $f(x)=\frac1x$ for $x>1$ as well. So whether $x<1$, $x=1$, or $x>1$, we must have $\boxed{f(x)=\frac1x}$ for all $x>0$, which satisfies the equation.
This post has been edited 3 times. Last edited by jasperE3, Apr 19, 2025, 5:56 PM
Z K Y
N Quick Reply
G
H
=
a