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
Cheesy's math casino and probability
pithon_with_an_i   0
12 minutes ago
Source: Revenge JOM 2025 Problem 4, Revenge JOMSL 2025 C3
There are $p$ people are playing a game at Cheesy's math casino, where $p$ is a prime number. Let $n$ be a positive integer. A subset of length $s$ from the set of integers from $1$ to $n$ inclusive is randomly chosen, with an equal probability ($s \leq  n$ and is fixed). The winner of Cheesy's game is person $i$, if the sum of the chosen numbers are congruent to $i \pmod p$ for $0 \leq i \leq p-1$.
For each $n$, find all values of $s$ such that no person will sue Cheesy for creating unfair games (i.e. all the winning outcomes are equally likely).

(Proposed by Jaydon Chieng, Yeoh Teck En)

Remark
0 replies
pithon_with_an_i
12 minutes ago
0 replies
Partitioning coprime integers to arithmetic sequences
sevket12   4
N 13 minutes ago by bochidd
Source: 2025 Turkey EGMO TST P3
For a positive integer $n$, let $S_n$ be the set of positive integers that do not exceed $n$ and are coprime to $n$. Define $f(n)$ as the smallest positive integer that allows $S_n$ to be partitioned into $f(n)$ disjoint subsets, each forming an arithmetic progression.

Prove that there exist infinitely many pairs $(a, b)$ satisfying $a, b > 2025$, $a \mid b$, and $f(a) \nmid f(b)$.
4 replies
sevket12
Feb 8, 2025
bochidd
13 minutes ago
Coaxal Circles
fattypiggy123   30
N 15 minutes ago by Ilikeminecraft
Source: China TSTST Test 2 Day 1 Q3
Let $ABCD$ be a quadrilateral and let $l$ be a line. Let $l$ intersect the lines $AB,CD,BC,DA,AC,BD$ at points $X,X',Y,Y',Z,Z'$ respectively. Given that these six points on $l$ are in the order $X,Y,Z,X',Y',Z'$, show that the circles with diameter $XX',YY',ZZ'$ are coaxal.
30 replies
fattypiggy123
Mar 13, 2017
Ilikeminecraft
15 minutes ago
Weird n-variable extremum problem
pithon_with_an_i   0
20 minutes ago
Source: Revenge JOM 2025 Problem 3, Revenge JOMSL 2025 A4
Let $n$ be a positive integer greater or equal to $2$ and let $a_1$, $a_2$, ..., $a_n$ be a sequence of non-negative real numbers. Find the maximum value of $3(a_1  + a_2 + \cdots + a_n) - (a_1^2 + a_2^2 + \cdots + a_n^2) - a_1a_2  \cdots a_n$ in terms of $n$.

(Proposed by Cheng You Seng)
0 replies
pithon_with_an_i
20 minutes ago
0 replies
Inequalities
sqing   3
N 5 hours ago by sqing
Let $a,b,c >2 $ and $ ab+bc+ca \leq 75.$ Show that
$$\frac{1}{a-2}+\frac{1}{b-2}+\frac{1}{c-2}\geq 1$$Let $a,b,c >2 $ and $ \frac{1}{a}+\frac{1}{b}+\frac{1}{c}\geq \frac{6}{7}.$ Show that
$$\frac{1}{a-2}+\frac{1}{b-2}+\frac{1}{c-2}\geq 2$$
3 replies
sqing
Yesterday at 11:31 AM
sqing
5 hours ago
Assam Mathematics Olympiad 2022 Category III Q18
SomeonecoolLovesMaths   2
N 6 hours ago by nyacide
Let $f : \mathbb{N} \longrightarrow \mathbb{N}$ be a function such that
(a) $ f(m) < f(n)$ whenever $m < n$.
(b) $f(2n) = f(n) + n$ for all $n \in \mathbb{N}$.
(c) $n$ is prime whenever $f(n)$ is prime.
Find $$\sum_{n=1}^{2022} f(n).$$
2 replies
SomeonecoolLovesMaths
Sep 12, 2024
nyacide
6 hours ago
Assam Mathematics Olympiad 2022 Category III Q17
SomeonecoolLovesMaths   1
N Today at 7:24 AM by nyacide
Consider a rectangular grid of points consisting of $4$ rows and $84$ columns. Each point is coloured with one of the colours red, blue or green. Show that no matter whatever way the colouring is done, there always exist four points
of the same colour that form the vertices of a rectangle. An illustration is shown in the figure below.
1 reply
SomeonecoolLovesMaths
Sep 12, 2024
nyacide
Today at 7:24 AM
Assam Mathematics Olympiad 2022 Category III Q14
SomeonecoolLovesMaths   1
N Today at 6:54 AM by nyacide
The following sum of three four digits numbers is divisible by $75$, $7a71 + 73b7 + c232$, where $a, b, c$ are decimal digits. Find the necessary conditions in $a, b, c$.
1 reply
SomeonecoolLovesMaths
Sep 12, 2024
nyacide
Today at 6:54 AM
Assam Mathematics Olympiad 2022 Category III Q12
SomeonecoolLovesMaths   2
N Today at 6:20 AM by nyacide
A particle is in the origin of the Cartesian plane. In each step the particle can go $1$ unit in any of the directions, left, right, up or down. Find the number of ways to go from $(0, 0)$ to $(0, 2)$ in $6$ steps. (Note: Two paths where identical set of points is traversed are considered different if the order of traversal of each point is different in both paths.)
2 replies
SomeonecoolLovesMaths
Sep 12, 2024
nyacide
Today at 6:20 AM
Assam Mathematics Olympiad 2022 Category III Q10
SomeonecoolLovesMaths   1
N Today at 5:53 AM by nyacide
Let the vertices of the square $ABCD$ are on a circle of radius $r$ and with center $O$. Let $P, Q, R$ and $S$ are the mid points of $AB, BC, CD$ and $DA$ respectively. Then;
(a) Show that the quadrilateral $P QRS$ is a square.
(b) Find the distance from the mid point of $P Q$ to $O$.
1 reply
SomeonecoolLovesMaths
Sep 12, 2024
nyacide
Today at 5:53 AM
A problem of collinearity.
Raul_S_Baz   2
N Today at 4:11 AM by Raul_S_Baz
Î am the author.
IMAGE
P.S: How can I verify that it is an original problem? Thanks!
2 replies
Raul_S_Baz
Yesterday at 4:19 PM
Raul_S_Baz
Today at 4:11 AM
Inequalities
sqing   0
Today at 3:46 AM
Let $ a,b,c>0 $ . Prove that
$$\frac{a+5b}{b+c}+\frac{b+5c}{c+a}+\frac{c+5a}{a+b}\geq 9$$$$ \frac{2a+11b}{b+c}+\frac{2b+11c}{c+a}+\frac{2c+11a}{a+b}\geq \frac{39}{2}$$$$ \frac{25a+147b}{b+c}+\frac{25b+147c}{c+a}+\frac{25c+147a}{a+b} \geq258$$
0 replies
sqing
Today at 3:46 AM
0 replies
Plz help
Bet667   3
N Yesterday at 6:50 PM by K1mchi_
f:R-->R for any integer x,y
f(yf(x)+f(xy))=(x+f(x))f(y)
find all function f
(im not good at english)
3 replies
Bet667
Jan 28, 2024
K1mchi_
Yesterday at 6:50 PM
2019 SMT Team Round - Stanford Math Tournament
parmenides51   17
N Yesterday at 6:40 PM by Rombo
p1. Given $x + y = 7$, find the value of x that minimizes $4x^2 + 12xy + 9y^2$.


p2. There are real numbers $b$ and $c$ such that the only $x$-intercept of $8y = x^2 + bx + c$ equals its $y$-intercept. Compute $b + c$.



p3. Consider the set of $5$ digit numbers $ABCDE$ (with $A \ne 0$) such that $A+B = C$, $B+C = D$, and $C + D = E$. What’s the size of this set?


p4. Let $D$ be the midpoint of $BC$ in $\vartriangle ABC$. A line perpendicular to D intersects $AB$ at $E$. If the area of $\vartriangle ABC$ is four times that of the area of $\vartriangle BDE$, what is $\angle ACB$ in degrees?


p5. Define the sequence $c_0, c_1, ...$ with $c_0 = 2$ and $c_k = 8c_{k-1} + 5$ for $k > 0$. Find $\lim_{k \to \infty} \frac{c_k}{8^k}$.


p6. Find the maximum possible value of $|\sqrt{n^2 + 4n + 5} - \sqrt{n^2 + 2n + 5}|$.


p7. Let $f(x) = \sin^8 (x) + \cos^8(x) + \frac38 \sin^4 (2x)$. Let $f^{(n)}$ (x) be the $n$th derivative of $f$. What is the largest integer $a$ such that $2^a$ divides $f^{(2020)}(15^o)$?


p8. Let $R^n$ be the set of vectors $(x_1, x_2, ..., x_n)$ where $x_1, x_2,..., x_n$ are all real numbers. Let $||(x_1, . . . , x_n)||$ denote $\sqrt{x^2_1 +... + x^2_n}$. Let $S$ be the set in $R^9$ given by $$S = \{(x, y, z) : x, y, z \in R^3 , 1 = ||x|| = ||y - x|| = ||z -y||\}.$$If a point $(x, y, z)$ is uniformly at random from $S$, what is $E[||z||^2]$?


p9. Let $f(x)$ be the unique integer between $0$ and $x - 1$, inclusive, that is equivalent modulo $x$ to $\left( \sum^2_{i=0} {{x-1} \choose i} ((x - 1 - i)! + i!) \right)$. Let $S$ be the set of primes between $3$ and $30$, inclusive. Find $\sum_{x\in S}^{f(x)}$.


p10. In the Cartesian plane, consider a box with vertices $(0, 0)$,$\left( \frac{22}{7}, 0\right)$,$(0, 24)$,$\left( \frac{22}{7}, 4\right)$. We pick an integer $a$ between $1$ and $24$, inclusive, uniformly at random. We shoot a puck from $(0, 0)$ in the direction of $\left( \frac{22}{7}, a\right)$ and the puck bounces perfectly around the box (angle in equals angle out, no friction) until it hits one of the four vertices of the box. What is the expected number of times it will hit an edge or vertex of the box, including both when it starts at $(0, 0)$ and when it ends at some vertex of the box?


p11. Sarah is buying school supplies and she has $\$2019$. She can only buy full packs of each of the following items. A pack of pens is $\$4$, a pack of pencils is $\$3$, and any type of notebook or stapler is $\$1$. Sarah buys at least $1$ pack of pencils. She will either buy $1$ stapler or no stapler. She will buy at most $3$ college-ruled notebooks and at most $2$ graph paper notebooks. How many ways can she buy school supplies?


p12. Let $O$ be the center of the circumcircle of right triangle $ABC$ with $\angle ACB = 90^o$. Let $M$ be the midpoint of minor arc $AC$ and let $N$ be a point on line $BC$ such that $MN \perp BC$. Let $P$ be the intersection of line $AN$ and the Circle $O$ and let $Q$ be the intersection of line $BP$ and $MN$. If $QN = 2$ and $BN = 8$, compute the radius of the Circle $O$.


p13. Reduce the following expression to a simplified rational $$\frac{1}{1 - \cos \frac{\pi}{9}}+\frac{1}{1 - \cos \frac{5 \pi}{9}}+\frac{1}{1 - \cos \frac{7 \pi}{9}}$$

p14. Compute the following integral $\int_0^{\infty} \log (1 + e^{-t})dt$.


p15. Define $f(n)$ to be the maximum possible least-common-multiple of any sequence of positive integers which sum to $n$. Find the sum of all possible odd $f(n)$


PS. You should use hide for answers. Collected here.
17 replies
parmenides51
Feb 6, 2022
Rombo
Yesterday at 6:40 PM
Not hard but rather tedious
Valiowk   15
N Apr 19, 2025 by john0512
Source: Singapore TST 2004
Find all functions $ f: \mathbb{R} \to \mathbb{R}$ satisfying
\[ f\left(\frac {x + y}{x - y}\right) = \frac {f\left(x\right) + f\left(y\right)}{f\left(x\right) - f\left(y\right)}
\]
for all $ x \neq y$.
15 replies
Valiowk
May 10, 2004
john0512
Apr 19, 2025
Not hard but rather tedious
G H J
Source: Singapore TST 2004
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Valiowk
374 posts
#1 • 4 Y
Y by Adventure10, Adventure10, son7, Mango247
Find all functions $ f: \mathbb{R} \to \mathbb{R}$ satisfying
\[ f\left(\frac {x + y}{x - y}\right) = \frac {f\left(x\right) + f\left(y\right)}{f\left(x\right) - f\left(y\right)}
\]
for all $ x \neq y$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
harazi
5526 posts
#2 • 5 Y
Y by reveryu, Adventure10, Adventure10, son7, Mango247
I don't know why you say this problem is not hard, but everybody has its own opinion. So, let's give a monstruous solution:
First, it is trivial to prove that f(0)=0, f(1)=1. Suppose e managed to show that f(2)=2. Put y=2 and you wil find that $ f(x - 1) = \frac {f(x) + f(x - 2)}{f(x) - f(x - 2)}$ and an easy induction shows that f(n)=n for any natural n. Now we use the fact that
$ \frac {f(x) + f(y)}{f(x) - f(y)} = f(\frac {x + y}{x - y}) = f(\frac {1 + \frac {y}{x}}{1 - \frac {y}{x}}) = \frac {1 + f(\frac {y}{x})}{1 - f(\frac {y}{x})}$. Then, it's immediately to show that $ f(x) = x$ for any rational x and that $ f(x)\geq 0$ for any nonnegative x. So, for any $ x\geq y\geq 0$ we have $ f(x) - f(y)\geq 0$ since this one has the same sign as $ f(\frac {x + y}{x - y})$. Thus, f is increasing on the positive and also multiplicative. It follows that f(x)=x for any positive x. It is also trivial to show that f is odd, so f(x)=x for any x.
Now, the main thing: proving that f(2)=2. Put $ f(2) = a$. Then $ f(4) = a^2$ and also $ f(3) = f(\frac {4 + 2}{4 - 2}) = \frac {a + 1}{a - 1}$. Using that $ f(x + 1) = \frac {f(x) + f(x + 2}{f(x + 2) - f(x)}$ we find that $ f(5) = \frac {a^2 + 1}{(a - 1)^2}$. But $ f(5) = f(\frac {3 + 2}{3 - 2}) = ... = \frac {a^2 + 1}{2a + 1 - a^2}$. Thus, $ (a - 1)^2 = 2a + 1 - a^2$ from where a=0 or a=2. If a=0, then f(3)=-1 so $ f^2(\sqrt(3)) = - 1$ false.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Valiowk
374 posts
#3 • 4 Y
Y by Adventure10, Adventure10, son7, Mango247
I didn't mean that the problem was easy, I just meant that it wasn't hard to the extent that any of those parts is not obtainable.

The (union of) the Singapore team got almost every part except showing that the function was increasing on positive (which, as we found out, is not difficult, it's just that we don't have enough experience with it).

Whatever the case is there are quite a number of things to be shown. The official solution I have with all the details is 2 full pages long.

Small note regarding the ending: It's easy to observe that the function is injective (if f(x) = f(y) but x <> y, then the LHS is defined but the RHS is undefined). Then since we have shown that f(0) = 0, a <> 0.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
darij grinberg
6555 posts
#4 • 2 Y
Y by Adventure10, Mango247
Valiowk wrote:
Find all functions $ f: \mathbb{R} \to \mathbb{R}$ satisfying
\[ f\left(\frac {x + y}{x - y}\right) = \frac {f\left(x\right) + f\left(y\right)}{f\left(x\right) - f\left(y\right)}
\]
for all $ x \neq y$.

Harazi, how do you show that f(x) >= 0 for x >= 0 ??

Here is all I have (not a complete solution, just some ideas which could be of use for finding a simpler solution):

We have given the equation

$ \text{\textbf{(1)\ \ \ \ \ \ \ \ \ \ }}f\left( \frac{x+y}{x-y}\right) =\frac{f\left( x\right) +f\left( y\right) }{f\left( x\right) -f\left( y\right) }$.

At first, our function f(x) must be injective; else, we would have x and y with f(x) = f(y) while $ x\neq y$, so that the right member of (1) would get undefined while the left member wouldn't.

Putting y = 0 in (1), we get

$ f\left( 1\right) =\frac{f\left( x\right) +f\left( 0\right) }{f\left(
x\right) -f\left( 0\right) }$,

what becomes (1 - f(1))f(x) = -f(0)(1 + f(1)). Now, if f(1) were not 1, we could divide by 1 - f(1), and f(x) would be a constant. This is not possible since f(x) is injective; hence, f(1) = 1. Therefore, -f(0)(1 + f(1)) = (1 - f(1))f(x) = 0. But since $ 1 + f\left( 1\right) = 2\neq 0$, we must have f(0) = 0. As a consequence, $ f\left( x\right) \neq 0$ for every $ x\neq 0$ (since f(x) is injective).

Putting y = -x in (1), we get

$ f\left( 0\right) =\frac{f\left( x\right) +f\left( -x\right) }{f\left(
x\right) -f\left( -x\right) }$.

Using f(0) = 0, this immediately becomes f(-x) = -f(x). Consequently, f(-1) = -f(1) = -1.

Now let $ a\neq 0$ be a real number; then,

$ \frac{f\left( x\right) +f\left( y\right) }{f\left( x\right) -f\left(
y\right) }=f\left( \frac{x+y}{x-y}\right) =f\left( \frac{ax+ay}{ax-ay} \right) =\frac{f\left( ax\right) +f\left( ay\right) }{f\left( ax\right)
-f\left( ay\right) }$,

what simplifies to f(x)f(ay) = f(y)f(ax). With y = 1, this becomes f(x)f(a) = f(1)f(ax) = f(ax). (This trivially holds for x = 1 and for a = 0, even if these cases were not allowed in the proof.) Hence, we have f(x)f(a) = f(ax). In other words, our function f(x) is multiplicative.

As a consequence,

$ f\left( x\right) f\left( \frac{1}{x}\right)  =f\left( 1\right) =1$

and

$ \text{\textbf{(2)\ \ \ \ \ \ \ \ \ \ }}f\left( \frac{1}{x}\right)  =\frac{1}{f\left( x\right) }$.

Now, substitute y = 1 in (1). Then, with f(1) = 1 we obtain

$ \text{\textbf{(3)}\ \ \ \ \ \ \ \ \ \ }f\left( \frac{x+1}{x-1}\right) =\frac{ f\left( x\right) +1}{f\left( x\right) -1}$.

The quadratic equation

$ \text{\textbf{(4)\ \ \ \ \ \ \ \ \ \ }}\frac{x+1}{x-1}=x$

has two real solutions: $ x = 1 + \sqrt {2}$ and $ x = 1 - \sqrt {2}$. But (3) shows that if x is a solution of the quadratic equation (4), then f(x) must be a solution of (4), too. Hence, we have 4 possible cases:

Case 1. $ f\left( 1 + \sqrt {2}\right) = 1 + \sqrt {2}$ and $ f\left( 1 - \sqrt {2}\right) = 1 - \sqrt {2}$.

Case 2. $ f\left( 1 + \sqrt {2}\right) = 1 - \sqrt {2}$ and $ f\left( 1 - \sqrt {2}\right) = 1 + \sqrt {2}$.

Case 3. $ f\left( 1 + \sqrt {2}\right) = 1 + \sqrt {2}$ and $ f\left( 1 - \sqrt {2}\right) = 1 + \sqrt {2}$.

Case 4. $ f\left( 1 + \sqrt {2}\right) = 1 - \sqrt {2}$ and $ f\left( 1 - \sqrt {2}\right) = 1 - \sqrt {2}$.

The latter two cases are impossible because of the injectivity; hence, one of the Cases 1 and 2 holds. Wherever Case 1 holds or Case 2 is unimportant; in any case, we have

$ f\left( 1 + \sqrt {2}\right) + f\left( 1 - \sqrt {2}\right) = 2$

and

$ \left| f\left( 1 + \sqrt {2}\right) - f\left( 1 - \sqrt {2}\right) \right| = 2\sqrt {2}$.

Hence, applying (1) to $ x = 1 + \sqrt {2}$ and $ y = 1 - \sqrt {2}$, we find

$ \left| f\left( \frac{2}{2\sqrt{2}}\right) \right| =\frac{2}{2\sqrt{2}}$,

i. e.

$ \left| f\left( \frac{1}{\sqrt{2}}\right) \right| =\frac{1}{\sqrt{2}}$,

so that, using (2), we have

$ \left| f\left( \sqrt {2}\right) \right| = \sqrt {2}$.

Therefore, by the multiplicativity,

$ f\left( 2\right) =f\left( \sqrt{2}\right) \cdot f\left( \sqrt{2}\right)
=\left( f\left( \sqrt{2}\right) \right) ^{2}=\left| f\left( \sqrt{2}\right)
\right| ^{2}=2$.

Then, we may proceed as you did and show that f(x) = x for any rational x. But how do you get the positivity?

Darij
This post has been edited 2 times. Last edited by darij grinberg, Mar 7, 2008, 6:38 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
harazi
5526 posts
#5 • 2 Y
Y by Adventure10, Mango247
Well, I think that we can derive that from the fact that $ f(xy)=f(x)f(y) $ for any x and y. Just put x=y.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
darij grinberg
6555 posts
#6 • 2 Y
Y by Adventure10, Mango247
harazi wrote:
Well, I think that we can derive that from the fact that $ f(xy) = f(x)f(y)$ for any x and y. Just put x=y.

LOL... I must have been really blind not to find this myself!

Darij
This post has been edited 1 time. Last edited by darij grinberg, Mar 7, 2008, 6:40 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
raf
13 posts
#7 • 3 Y
Y by Adventure10, Adventure10, Mango247
It's a problem of the france correspondance 2002-2003 :lol:

See: http://www.animath.fr/tutorat/dossier_02036.html
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rama1728
800 posts
#8 • 1 Y
Y by hakN
Valiowk wrote:
Find all functions $ f: \mathbb{R} \to \mathbb{R}$ satisfying
\[ f\left(\frac {x + y}{x - y}\right) = \frac {f\left(x\right) + f\left(y\right)}{f\left(x\right) - f\left(y\right)}
\]for all $ x \neq y$.

Pretty neat.

Solution. As usual, let \(P(x,y)\) assert the above equation. Then, we prove some claims.

Claim 1. \(f\) is injective.
Proof. This holds because if \(f(x)=f(y)\) and \(x\neq y\), then the left hand side is defined while the right hand side is not, a contradiction.

Claim 2. \(f\) is an odd function.
Proof. \(P(x,-x)\) gives us that \[f(0)=\frac{f(x)+f(-x)}{f(x)-f(-x)}\]so \[(f(x)+f(-x))(f(y)-f(-y))=(f(x)-f(-x))(f(y)+f(-y))\]or \[f(x)f(y)-f(x)f(-y)+f(-x)f(y)-f(-x)f(-y)=f(x)f(y)+f(x)f(-y)-f(-x)f(y)-f(-x)f(-y)\]for all \(x,y\) implying that \(\frac{f(x)}{f(-x)}\) is constant, say \(c\). Plugging this back into \(P(x,-y)\) gives us that \(c=-1\) and we are done.

Claim 3. \(f\) is multiplicative.
Proof. Firstly, \(P(x,0)\) yields that \(f(1)=1\). Next, \(P\left(\frac{x+y}{x-y},1\right)\) gives us that \[f\left(\frac{\frac{x+y}{x-y}+1}{\frac{x+y}{x-y}-1}\right)=\frac{f\left(\frac{x+y}{x-y}\right)+1}{f\left(\frac{x+y}{x-y}\right)-1}\]implying that \(f\left(\frac{x}{y}\right)=\frac{f(x)}{f(y)}\) and so we are done.

Claim 4. \(f\) is strictly increasing over \(\mathbb{R}^+\).
Proof. We need to show that \(a<b\) implies \(f(a)<f(b)\) for all \(x,y\in\mathbb{R}^+\). \(P(a,-b)\) with \(a<b\) and \(a,b>0\) yields that \[0>f\left(\frac{a-b}{a+b}\right)=\frac{f(a)-f(b)}{f(a)+f(b)}\]and since \(f\) is multiplicative, \(x\geq0\) implies \(f(x)\geq0\) for all positive reals \(x\)(since \(f(x^2)=f(x)^2\)), we see that \(f(a)<f(b)\) and this completes the proof of this claim.

Coming back to our problem, since \(f\) is multiplicative, let \(f(x)=g(\ln x)\). Then, since \(x\) is a positive real, \(g(x+y)=g(x)g(y)\) for all \(x,y\in\mathbb{R}^+\). Let \(h(x)=\ln g(x)\). Then, we see that \(h\) is an additive function. Also, since \(f\) is strictly increasing over the positive reals, so is \(g\) and so is \(h\). Therefore, \(h\) is monotone and additive, implying that \(h(x)=kx\) where c is a constant. This means that \(g(x)=e^{kx}\) and so \(f(x)=e^{k\ln x}\) implying that \(f(x)=x^k\) for all \(x\). Plugging in the original equation yields that \(k=1\) or, \(f(x)=x\) for all \(x\in\mathbb{R}^+\). Since \(f\) is odd, we can conclude that \(f(x)=x\) for all \(x\in\mathbb{R}\) which indeed fits.

Remark
This post has been edited 2 times. Last edited by rama1728, Oct 3, 2021, 12:39 PM
Reason: .
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Nuterrow
254 posts
#9 • 1 Y
Y by PRMOisTheHardestExam
We claim that the only such function is $f \equiv x$, plugging it in functional equation, we can see that it works. The second condition of our problem says that $f$ is injective. Let $P(x, y)$ be the assertion, we now proceed with a bunch of claims.
Claim: $f(0)=0.$
Proof: First of all notice that constant functions don't satisfy our functional equation. Now, $$P(x, 0) \rightarrow f(1) = \frac{f(x)+f(0)}{f(x)-f(0)}$$$$\iff f(x)=f(0)\frac{f(1)+1}{f(1)-1}$$so $f(0)$ must be zero since otherwise the function would be constant. $\blacksquare$

Claim: $f(1)=1.$
Proof: $P(x, 0) \rightarrow f(1)=\frac{f(x)+f(0)}{f(x)-f(0)}=1$ $\blacksquare$

Claim: $f(x)+f(-x)=0$ i.e. $f$ is odd.
Proof: $P(x, -x) \rightarrow f(x)+f(-x)=0.$ $\blacksquare$

Claim: For any $x \in \mathbb{R}-\{0\}$, $f(x)f(\frac{1}{x})=1$.
Proof: $$P(x, -y) \rightarrow f\left(\frac{x-y}{x+y}\right)=\frac{f(x)+f(-y)}{f(x)-f(-y)}=\frac{f(x)-f(y)}{f(x)+f(y)}$$Combining this with $P(x, y)$, we get our desired result. $\blacksquare$

Claim: $f(xy)=f(x)f(y)$ i.e. $f$ is multiplicative.
Proof: $$P(xy, 1) \rightarrow f\left(\frac{xy+1}{xy-1}\right) = \frac{f(x)+f(y)}{f(x)-f(y)}$$$$\iff f(xy)=\frac{f\left(\frac{xy+1}{xy-1}\right)+1}{f\left(\frac{xy+1}{xy-1}\right)-1}$$$$P(x, \frac{1}{y}) \rightarrow \frac{f\left(\frac{xy+1}{xy-1}\right)+1}{f\left(\frac{xy+1}{xy-1}\right)-1}=f(x)f(\frac{1}{y})=f(x)f(y)$$So indeed we have $f(xy)=f(x)f(y)$. $\blacksquare$

Claim: $f$ is strictly increasing over $\mathbb{R}^{+}$
Proof: First of all, notice that $f(x^2)=f(x)^2 \geq 0 \forall x \in \mathbb{R}$ which means $f >0 \forall x \in \mathbb{R}^{+}$. Now suppose we have $a$ and $b$ such that $a>b>0$, $$f\left(\frac{x+y}{x-y}\right)=\frac{f(x)+f(y)}{f(x)-f(y)} >0$$which means $f(x)>f(y)$. $\blacksquare$

Now let $g(x)=\ln(f(a^x))$, notice that $g(x+y)=g(x)+g(y)$. With all the conditions we have, $g(x)=cx$ and this means $f(x)=x^c$ and plugging it in our original equation, we get $c=1$ and $f \equiv x$. $\blacksquare$
This post has been edited 1 time. Last edited by Nuterrow, Apr 7, 2022, 7:22 PM
Reason: a small detail
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Silent_equationlover648
3 posts
#10
Y by
Valiowk wrote:
Find all functions $ f: \mathbb{R} \to \mathbb{R}$ satisfying
\[ f\left(\frac {x + y}{x - y}\right) = \frac {f\left(x\right) + f\left(y\right)}{f\left(x\right) - f\left(y\right)}
\]for all $ x \neq y$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
EthanWYX2009
867 posts
#11
Y by
https://artofproblemsolving.com/community/c6h3020980p27158341
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
joshualiu315
2534 posts
#12
Y by
The answer is $f(x) = \boxed{x}$, which works. Moreover, denote the given assertion as $P(x,y)$. We will solve this problem through a series of claims:


Claim 1: $f(0)=0$ and $f(1)=1$

Proof: Suppose that $f(1) \neq 1$. Notice that $P(x,0)$ yields

\[f(x) = \frac{f(0)f(1)+f(0)}{f(1)-1},\]
which means $f$ is constant, a contradiction. Hence, $f(1)=1$ and therefore, $f(0)=0.$ $\square$


Claim 2: $f$ is odd

Proof: Plug in $P(x,-x)$ to get

\[0 = f(0) = \frac{f(x)+f(-x)}{f(x)-f(-x)},\]
which simplifies to $f(x) = -f(-x)$, as desired. $\square$


Claim 3: $f$ is multiplicative

Proof: Notice that

\[\frac{f(x)+f(y)}{f(x)-f(y)} = f \left(\frac{x+y}{x-y} \right) = f \left(\frac{x/y+1}{x/y-1} \right) = \frac{f(x/y)+1}{f(x/y)-1}. \]
Clearing denominators and simplifying, we get

\[f\left(\frac{x}{y} \right) f(y) = f(x). \ \square\]

Claim 4: $f$ is strictly increasing

Proof: Since $f$ is odd, we can WLOG only consider when $x \in \mathbb{R}^+$. Then, note that

\[f(x) = f(t^2) = f(t)^2 >0,\]
for some $t \in \mathbb{R}^+$; this means $f$ is positive over the given domain.

If $x>y>0$, then

\[\frac{f(x)+f(y)}{f(x)-f(y)} = f\left(\frac{x+y}{x-y}\right) > 0,\]
implying that $f(x)>f(y)$. $\square$


Claim 5: $f(x) = x$ for all $x \in \mathbb{Z}$.

Proof: We will prove this using induction on $x>0$. For the first base case, observe that $f(1)=1$. As for the other case, suppose that $f(2) = a$.

Consequently,

\begin{align*}
f(3) &= f\left(\frac{2+1}{2-1}\right) = \frac{a+1}{a-1} \\
f(4) &= f(2)^2 = a^2 \\
f\left(\frac{5}{3} \right) &= f\left(\frac{4+1}{4-1}\right)= \frac{a^2+1}{a^2-1} \\
f(5) &= f\left(\frac{3+2}{3-2}\right) = \frac{a^2+1}{-a^2+2a+1}.
\end{align*}
Then,

\[\frac{a+1}{a-1} \cdot \frac{a^2+1}{a^2-1} = f(3) f\left(\frac{5}{3} \right) = f(5) = \frac{a^2+1}{-a^2+2a+1}.\]
Solving this yields $a=0$ or $a=2$, but the former is impossible due to $f$ being increasing. Hence, $f(2)=2$, completing the base case. For the inductive step, consider $P(x,1)$:

\[f\left(\frac{x+1}{x-1}\right) = \frac{f(x+1)}{f(x-1)} = \frac{f(x)+1}{f(x)-1}.\]
It is easy to see that if $f(k-1) =k-1$ and $f(k)=k$ by the inductive hypothesis, then $f(k+1)=k+1$, finishing the induction. $\square$


Because $f$ is multiplicative, $f$ is also equivalent to the identity function over rationals as well; furthermore, $f$ is strictly increasing, which expands the identity function to all real numbers.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pie854
243 posts
#13
Y by
Note that $$f(1)=\frac{f(x)+f(0)}{f(x)-f(0)}\Rightarrow f(x)(1-f(1))=f(0)(1+f(1)) \qquad (1)$$since it is clear that $f$ can't be constant, it follows from $(1)$ that $f(1)=1$. We also get $f(0)=0$ from $(1)$. Now putting $y=-x$ in the main equation, we find $$\frac{f(x)+f(-x)}{f(x)-f(-x)}=f(0)=0 \Rightarrow f(-x)=-f(x).$$So $f$ is an odd function. Now, notice that $$\frac{f(x)+1}{f(x)-1}=f\left(\frac{x+1}{x-1}\right)=f\left(\frac{xy+y}{xy-y}\right)=\frac{f(xy)+f(y)}{f(xy)-f(y)} \Rightarrow f(xy)=f(x)f(y).$$So $f$ is multiplicative. Next, we square things using the multiplicativity: $$f\left(\frac{x+y}{x-y}\right)^2=\left(\frac{f(x)+f(y)}{f(x)-f(y)}\right)^2=\frac{f(x)^2+2f(x)f(y)+f(y)^2}{f(x)^2-2f(x)f(y)+f(y^2)}=\frac{f(x^2)+f(y^2)+f(2xy)}{f(x^2)+f(y^2)-f(2xy)} \qquad (2)$$and $$f\left(\left(\frac{x+y}{x-y}\right)^2\right)=\frac{f\left((x+y)^2\right)}{f\left((x-y)^2\right)}=\frac{f(x^2+y^2+2xy)}{f(x^2+y^2-2xy)}=\frac{f(x^2+y^2)+f(2xy)}{f(x^2+y^2)-f(2xy)}\qquad (3)$$Comparing $(2)$ and $(3)$, we see that $f(x^2+y^2)=f(x^2)+f(y^2)$ for all $x\neq y$. But this holds for $x=y$ too for if we put $y=-x$ in $(2)$ then we get $f(2x^2)=2f(x^2)$. So $f$ is additive over $\mathbb R_{>0}$, but since $f$ is odd, it must be additive over $\mathbb R$. Since $f$ is additive, multiplicative and non constant, $f$ must be the identity function.

Clearly, $f(x)=x$ for all $x$ satisfies our equation. So this is the only solution.
This post has been edited 1 time. Last edited by pie854, Sep 9, 2024, 8:23 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OronSH
1745 posts
#14 • 1 Y
Y by soryn
We claim $f(x)=x$ is the only solution, which clearly works.

First $P(x,0)$ implies $f(1)=1$ and $f(0)=0$ or $\frac{f(x)}{f(0)}=\frac{f(1)+1}{f(1)-1}$ contradicting injectivity.

Now $P(x,-x)$ implies $f$ is odd.

Taking $P(x,kx)$ implies $\frac{f(kx)}{f(x)}=\frac{f\left(\frac{1+k}{1-k}\right)-1}{f\left(\frac{1+k}{1-k}\right)+1}$ for all $x\ne 0$. In particular $f(k^2)=\frac{f(k^2)}{f(k)}\cdot\frac{f(k)}{f(1)}=\left(\frac{f\left(\frac{1+k}{1-k}\right)-1}{f\left(\frac{1+k}{1-k}\right)+1}\right)^2\ge 0$, so $x>0$ implies $f(x)>0$.

Next, $P(1\pm\sqrt2,1)$ gives $f(1\pm\sqrt2)=1\pm\sqrt2$. Then $P(\sqrt2+1,\sqrt2-1)$ gives $f(\sqrt2)=\pm\sqrt2$, so $f(2)=2$.

We now show by strong induction that $f(n)=n$ for positive integers $n$, and thus by oddness all integers. It is true for $n=1,2$. If it is true up to $n-1$ then if $n$ is even write $f(n)=\frac{f(n)}{f\left(\frac n2\right)}\cdot\frac{f\left(\frac n2\right)}{f(1)}=2\cdot\frac n2=n$. If $n$ is odd then $P\left(\frac{n+1}2,\frac{n-1}2\right)$ gives $f(n)=n$.

Next if $r=\frac ab$ is rational for integers $a,b$ then $P(a+b,a-b)$ gives $f(r)=r$.

Finally, if $x>y\ge 0$ then $P(x,y)$ implies $f(x)>f(y)$. By oddness, $f$ is increasing. Since it is the identity on rationals, it is the identity on reals.
This post has been edited 1 time. Last edited by OronSH, Nov 27, 2024, 6:03 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilikeminecraft
644 posts
#15 • 1 Y
Y by soryn
hard :(

Take $y = 0.$ We get $f(1) = \frac{f(x) + f(0)}{f(x) - f(0)} \implies f(x)(f(1) - 1) = f(0)(f(1) + 1).$ If the expression isn't $0,$ then $f$ is constant, so $f(1) = 1 \implies f(0) = 0.$ From $(x, -x),$ we have $f(x) = -f(-x).$

Take $y = 1$ to get $\frac{f(x) + 1}{f(x) - 1} = f\left(\frac{x + 1}{x - 1}\right) = f\left(\frac{xy + y}{xy - y}\right) = \frac{f(xy) + f(y)}{f(xy) - f(y)}.$ Thus, $f(xy) = f(x)f(y).$

Now, note that $f\geq 0$ on $\mathbb R^+$ since $f(x^2) = f(x)^2.$

Take $y = -1.$ We get $f\left(\frac{x - 1}{x + 1}\right) = \frac{f(x) - 1}{f(x) + 1}.$ Thus, we can conclude that $f < 1$ for $x < 1,$ as we can achieve all values of $0 < \frac{x - 1}{x + 1} < 1$ for positive $x$ values, and $\frac{f(x) - 1}{f(x) + 1} < 1$ for all $f \geq -1.$ Thus, we conclude that $f$ is decreasing(by combining the fact that $x < 1 \implies f < 1$ and $f$ is multiplicative).

Now, let $g(x) = \ln(f(\alpha^x)).$ Thus, $g(x + y) = g(x) + g(y).$ However, $g$ is also increasing on $\mathbb R^+.$ Thus, we can conclude that $g = cx$, and thus, $f = cx$. Plugging this in, we get $\boxed{f \equiv x.}$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
john0512
4188 posts
#16
Y by
The answer is $f(x)=x$. Plug in $y=0$ so that
$$f(1)=\frac{f(x)+f(0)}{f(x)-f(0)}.$$Since $f(x)$ is nonconstant, this means that $f(0)=0$ and $f(1)=1$.

The RHS is determined by the value of $r=\frac{f(x)}{f(y)}$ since it is $\frac{r+1}{r-1}$, and the LHS is invariant under multiplying both $x$ and $y$ by a constant, so multiplying the input by $a$ must always multiply the output by the same amount regardless of the original input. However, since $f(1)=1$, this multiplier must be $f(a)$. Thus, $f(ax)=f(x)f(a)$ so $f$ is multiplicative.

Note that this implies $f(x)>0$ for $x>0$ since $f(x)=f(\sqrt{x})^2$. Furthermore, if $x>y>0$, then $f(\frac{x+y}{x-y})$ and $f(x)+f(y)$ are both positive, so $f(x)>f(y)$ as well. However, because $f$ is multiplicative, $\ln f(e^x)$ is additive on $x>0$, and moreover increasing. Thus it is linear so $f(x)=x^k$. However, clearly only $k=1$ works since $3^k=\frac{2^k+1}{2^k-1}$, so we are done.
Z K Y
N Quick Reply
G
H
=
a