Join our free webinar April 22 to learn about competitive programming!

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
My hardest algebra ever created (only one solve in the contest)
mshtand1   6
N 7 minutes ago by mshtand1
Source: Ukraine IMO TST P9
Find all functions \( f: (0, +\infty) \to (0, +\infty) \) for which, for all \( x, y > 0 \), the following identity holds:
\[
f(x) f(yf(x)) + y f(xy) = \frac{f\left(\frac{x}{y}\right)}{y} + \frac{f\left(\frac{y}{x}\right)}{x}
\]
Proposed by Mykhailo Shtandenko
6 replies
+1 w
mshtand1
Saturday at 9:37 PM
mshtand1
7 minutes ago
Killer NT that nobody solved (also my hardest NT ever created)
mshtand1   4
N 15 minutes ago by mshtand1
Source: Ukraine IMO 2025 TST P8
A positive integer number \( a \) is chosen. Prove that there exists a prime number that divides infinitely many terms of the sequence \( \{b_k\}_{k=1}^{\infty} \), where
\[
b_k = a^{k^k} \cdot 2^{2^k - k} + 1.
\]
Proposed by Arsenii Nikolaev and Mykhailo Shtandenko
4 replies
mshtand1
Saturday at 9:31 PM
mshtand1
15 minutes ago
Advanced topics in Inequalities
va2010   22
N 33 minutes ago by Primeniyazidayi
So a while ago, I compiled some tricks on inequalities. You are welcome to post solutions below!
22 replies
va2010
Mar 7, 2015
Primeniyazidayi
33 minutes ago
<AEC+<BKD=90^o, <ACE=<BCF, <CDF=<BDK 2016 Armenia NMO 8.2
parmenides51   1
N an hour ago by vanstraelen
Points $E, F, K$ are taken on the semicircle with diameter $AB$ (points $A, E, F, K, B$ are in the specified order), and points $C,  D$ on the diameter $AB$ ($C$ is on the segment $AD$) such that $\angle ACE = \angle  BCF$ and $\angle 
 CDF = \angle  BDK$. Prove that $\angle AEC + \angle BKD = 90^o$.
1 reply
parmenides51
Aug 18, 2021
vanstraelen
an hour ago
Funny easy transcendental geo
qwerty123456asdfgzxcvb   0
2 hours ago
Let $\mathcal{S}$ be a logarithmic spiral centered at the origin (ie curve satisfying for any point $X$ on it, line $OX$ makes a fixed angle with the tangent to $\mathcal{S}$ at $X$). Let $\mathcal{H}$ be a rectangular hyperbola centered at the origin, scaled such that it is tangent to the logarithmic spiral at some point.

Prove that for a point $P$ on the spiral, the polar of $P$ wrt. $\mathcal{H}$ is tangent to the spiral.
0 replies
1 viewing
qwerty123456asdfgzxcvb
2 hours ago
0 replies
Tetrahedrons and spheres
ReticulatedPython   1
N 2 hours ago by jb2015007
Let $OABC$ be a non-degenerate tetrahedron with $A=(a,0,0)$, $B=(0,b,0)$, $C=(0,0,c)$, and $O=(0,0,0).$ Let a sphere of radius $r$ be circumscribed about this tetrahedron. Prove that $$r^2+\frac{1}{a}+\frac{1}{b}+\frac{1}{c} \ge 9\sqrt[3]{16}.$$
1 reply
ReticulatedPython
2 hours ago
jb2015007
2 hours ago
weird permutation problem
Sedro   3
N 4 hours ago by Sedro
Let $\sigma$ be a permutation of $1,2,3,4,5,6,7$ such that there are exactly $7$ ordered pairs of integers $(a,b)$ satisfying $1\le a < b \le 7$ and $\sigma(a) < \sigma(b)$. How many possible $\sigma$ exist?
3 replies
Sedro
Yesterday at 2:09 AM
Sedro
4 hours ago
A problem involving modulus from JEE coaching
AshAuktober   6
N 5 hours ago by no_room_for_error
Solve over $\mathbb{R}$:
$$|x-1|+|x+2| = 3x.$$
(There are two ways to do this, one being bashing out cases. Try to find the other.)
6 replies
AshAuktober
Today at 8:44 AM
no_room_for_error
5 hours ago
Combinatorial proof
MathBot101101   9
N 5 hours ago by MathBot101101
Is there a way to prove
\frac{1}{(1+1)!}+\frac{2}{(2+1)!}+...+\frac{n}{(n+1)!}=1-\frac{1}{{n+1)!}
without induction and using only combinatorial arguments?

Induction proof wasn't quite as pleasing for me.
9 replies
MathBot101101
Yesterday at 7:37 AM
MathBot101101
5 hours ago
geometry problem
kjhgyuio   1
N Today at 2:10 PM by vanstraelen
.........
1 reply
kjhgyuio
Today at 8:27 AM
vanstraelen
Today at 2:10 PM
Inequalities
sqing   4
N Today at 1:16 PM by sqing
Let $x,y\ge 0$ such that $ 13(x^3+y^3) \leq 125(1+xy)$. Prove that
$$  k(x+y)-xy\leq  5(2k-5)$$Where $k\geq 5.6797. $
$$  6(x+y)-xy\leq 35$$
4 replies
sqing
Yesterday at 1:04 PM
sqing
Today at 1:16 PM
Inscribed Semi-Circle!!!
ehz2701   2
N Today at 10:53 AM by mathafou
A right triangle $ABC$ with legs $AB = a$ and $BC = b$ is drawn with a semicircle inscribed into the triangle. What is the smallest possible radius of the semi-circle and the largest possible radius?

2 replies
ehz2701
Sep 11, 2022
mathafou
Today at 10:53 AM
geometry
carvaan   1
N Today at 10:52 AM by vanstraelen
OABC is a trapezium with OC // AB and ∠AOB = 37°. Furthermore, A, B, C all lie on the circumference of a circle centred at O. The perpendicular bisector of OC meets AC at D. If ∠ABD = x°, find last 2 digit of 100x.
1 reply
carvaan
Yesterday at 5:48 PM
vanstraelen
Today at 10:52 AM
Inequalities
nhathhuyyp5c   1
N Today at 9:09 AM by Mathzeus1024
Let $a, b, c$ be non-negative real numbers such that $a^2 + b^2 + c^2 = 3$. Find the maximum and minimum values of the expression
\[
P = \frac{a}{a^2 + 2} + \frac{b}{b^2 + 2} + \frac{c}{c^2 + 2}.
\]
1 reply
nhathhuyyp5c
Yesterday at 6:35 AM
Mathzeus1024
Today at 9:09 AM
Simple FE on National Contest
somebodyyouusedtoknow   7
N Apr 15, 2025 by jasperE3
Source: INAMO 2023 P2 (OSN 2023)
Determine all functions $f : \mathbb{R} \to \mathbb{R}$ such that the following equation holds for every real $x,y$:
\[ f(f(x) + y) = \lfloor x + f(f(y)) \rfloor. \]Note: $\lfloor x \rfloor$ denotes the greatest integer not greater than $x$.
7 replies
somebodyyouusedtoknow
Aug 29, 2023
jasperE3
Apr 15, 2025
Simple FE on National Contest
G H J
Source: INAMO 2023 P2 (OSN 2023)
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
somebodyyouusedtoknow
255 posts
#1 • 2 Y
Y by Amir Hossein, AlexCenteno2007
Determine all functions $f : \mathbb{R} \to \mathbb{R}$ such that the following equation holds for every real $x,y$:
\[ f(f(x) + y) = \lfloor x + f(f(y)) \rfloor. \]Note: $\lfloor x \rfloor$ denotes the greatest integer not greater than $x$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IndoMathXdZ
691 posts
#2 • 4 Y
Y by somebodyyouusedtoknow, Furra, Amir Hossein, britishprobe17
INAMO 2023/2 wrote:
Determine all functions $f: \mathbb{R} \to \mathbb{R}$ such that
\[ f(f(x) + y) = \lfloor x + f(f(y)) \rfloor \]for any $x,y \in \mathbb{R}$.
Mine! Thought about this problem when I was thinking back about ISL 2022 A6 and proposed this as a cute trivial problem, but somehow got into the contest :play_ball:
Here's the official solution that I submitted.
We claim that all such solutions for the above functional equation are of the form $\boxed{f(x) = \lfloor x \rfloor + k}$ for all $x$, for some fixed $k \in \mathbb{Z}$. To see this, we see that for all $x,y \in \mathbb{R}$,
\[ f(f(x) + y) = \lfloor \lfloor x \rfloor + y \rfloor + 2k = \lfloor x \rfloor + \lfloor y \rfloor + 2k = \lfloor x + \lfloor y \rfloor + 2k \rfloor = \lfloor x + f(f(y)) \rfloor \]We'll now prove that there are no other solutions. Let $P(x,y)$ be the assertion of $x$ and $y$ to the given functional equation.

Claim 01. $\text{Im}(f) \subseteq \mathbb{Z}$.
Proof. Fix $\alpha \in \mathbb{R}$. $P(0,\alpha - f(0))$ gives us
\[ f(\alpha) = f(f(0) + \alpha - f(0)) = \lfloor f(f(\alpha - f(0))) \rfloor \in \mathbb{Z} \]
Claim 02. $f(a) = f(b) \implies \lfloor a \rfloor = \lfloor b  \rfloor$.
Proof. As $f(f(0)) \in \mathbb{Z}$ from the first claim, $P(a,0)$ and $P(b,0)$ gives us
\[ \lfloor a \rfloor + f(f(0)) = f(f(a)) = f(f(b)) = \lfloor b \rfloor + f(f(0)) \implies \lfloor a \rfloor = \lfloor b \rfloor \]
To finish this problem, just note that
\[ f(f(0) + x) \stackrel{P(0,x)}{=} \lfloor f(f(x)) \rfloor \stackrel{\text{Claim 01}}{=} f(f(x)) \stackrel{\text{Claim 02}}{\implies}  f(x) \stackrel{\text{Claim 01}}{=} \lfloor f(x) \rfloor = \lfloor x + f(0) \rfloor \stackrel{\text{Claim 01}}{=} \lfloor x \rfloor + f(0) \]as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Furra
10 posts
#4
Y by
A bit more convoluted...

Click to reveal hidden text
This post has been edited 2 times. Last edited by Furra, Aug 29, 2023, 7:20 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
amogususususus
369 posts
#5 • 2 Y
Y by Wildabandon, somebodyyouusedtoknow
I think everybody I know solved this problem, but anyway here is a short solution.
Let $P(x,y)$ be the assertion, clearly $P(x,x-f(x))$ gives us $f(x) \in \mathbb{Z} \quad \forall x \in \mathbb{R}$.
$P(x-f(x),0)$ gives us
$$f(x-f(x))=\lfloor x \rfloor-f(x)+f(f(0))$$By substituting it to $P(x,x-f(x))$, we will get
$$f(x)=2\lfloor x\rfloor -f(x)+f(f(0))$$From here, it's already clear what the answer is.
This post has been edited 1 time. Last edited by amogususususus, Aug 29, 2023, 7:39 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Wildabandon
507 posts
#6
Y by
I was pretty surprised that the FE question reappeared this year, coupled with a bit of seasoning of the floor function, lol.
Let $P(x,y)$ be the assertation of
\[ f(f(x) + y) = \lfloor x + f(f(y)) \rfloor. \]From $P(x,0)$, we have $f(f(x)) = \lfloor x +c\rfloor$ where $c=f(f(0))$ i.e.
\[f(f(x)+y) = \lfloor x + f(f(y))\rfloor = \lfloor x +\lfloor y+c\rfloor \rfloor = \lfloor x \rfloor + \lfloor y+c\rfloor.\]From $P(x,0)$ we must have $\lfloor x+c\rfloor = \lfloor x\rfloor +\lfloor c\rfloor\implies \lfloor \{x\}+\{c\}\rfloor =0$ for all $x\in \mathbb{R}$. If $c\not\in \mathbb{Z}$, take $x=1-\{c\}$ and we have contradiction. Because $c\in \mathbb{Z}$, we have $f(f(x)+y) = \lfloor x \rfloor + \lfloor y\rfloor +c$. From $P(0,-f(0))$ we have $f(0) = \lfloor -f(0)\rfloor + c\implies f(0)\in \mathbb{Z}\implies f(0)=\frac{c}{2}=k\in \mathbb{Z}$. From $P(0,x-f(0))$ we have
\[f(x) = \lfloor x-f(0)+c\rfloor = \lfloor x-k+2k\rfloor = \lfloor x \rfloor +k,\;k\in \mathbb{Z}\]and we can check if this solution to the equation.
This post has been edited 3 times. Last edited by Wildabandon, Aug 29, 2023, 8:13 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Seicchi28
252 posts
#7 • 1 Y
Y by AlexCenteno2007
Another one...
Denote $P(x,y)$ as the assertion of $x$ and $y$ to the given functional equation on the problem. From $P(x, x - f(x))$, we obtain $f(x) = \lfloor \text{something} \rfloor$, so $\text{Im}(f) \subseteq \mathbb{Z}$.

From $P(f(x), 0)$ we obtain
\[ f(f(f(x))) = \lfloor f(x) + f(f(0)) \rfloor = f(x) + f(f(0)) \text{      }(\star) \]And therefore, from comparing $P(x, f(y))$ and $P(y, f(x))$ we obtain:
\begin{align*}
\lfloor x + f(f(f(y))) \rfloor = f(f(x) + f(y)) = \lfloor y + f(f(f(x))) \rfloor &\stackrel{\text{Im}(f) \subseteq \mathbb{Z}}{\implies} \lfloor x \rfloor + f(f(f(y))) = \lfloor y \rfloor + f(f(f(x))) \\
&\stackrel{(\star)}{\implies} \lfloor x \rfloor + f(y) + f(f(0)) = \lfloor y \rfloor + f(x) + f(f(0)) \\
&\implies f(x) - \lfloor x \rfloor = K,
\end{align*}for some constant $K$. Since $f(x)$ and $\lfloor x \rfloor$ are both integers, then $K$ must be an integer as well, so the solutions are of the form $\boxed{f(x)=\lfloor x \rfloor + K}$, where $K \in \mathbb{Z}$. It should be easy to check this into the original equation.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
StarLex1
816 posts
#8
Y by
Let $P(x,y)$ be the assertion

$P(x,y-f(x)) = f(y) = \lfloor{x+f(f(y-f(x))}\rfloor$ for each real y the function is integer

$P(x-f(f(y)),y) = f(f(x-f(f(y)))+y) = \lfloor{x}\rfloor$ this implies f surjective over integer

so we can pick u integer so that $f(u) = 0$ proof

le $x = 0$ and $y \in \mathbb{Z}$ then we are done

$P(x,u) = f(f(x)+u) = u+f(0)$
$P(u,u) = 0 = u+f(0)$
$u = -f(0)$

$P(u,y) = f(y) = u+f(f(y))$
$P(-f(0),y) = f(y)+f(0) = +f(f(y))$ (1)

Rewrite the main equation

$P(x,y) = f(f(x)+y) = \lfloor{x}\rfloor+f(y)+f(0)$
$P(x,0) = f(f(x)) = \lfloor{x}\rfloor+2f(0) = f(x)+f(0)$ (From equation (one) we get )

$f(x) = \lfloor{x}\rfloor +f(0)$
This post has been edited 1 time. Last edited by StarLex1, Sep 1, 2023, 3:29 PM
Reason: edit
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jasperE3
11229 posts
#10
Y by
somebodyyouusedtoknow wrote:
Determine all functions $f : \mathbb{R} \to \mathbb{R}$ such that the following equation holds for every real $x,y$:
\[ f(f(x) + y) = \lfloor x + f(f(y)) \rfloor. \]Note: $\lfloor x \rfloor$ denotes the greatest integer not greater than $x$.

Let $c=f(f(0))$, and $P(x,y)$ the assertion $f(f(x)+y)=\lfloor x+f(f(y))\rfloor$.
$P(y,x-f(y))\Rightarrow f(x)=\lfloor y+f(f(x-f(y)))\rfloor\Rightarrow f(x)\in\mathbb Z$ for all $x\in\mathbb R$
$P(x,0)\Rightarrow f(f(x))=\lfloor x\rfloor+c$ (since $c\in\mathbb Z$)
Then:
$$f(\lfloor x\rfloor+f(f(0)))=f(f(f(x)))=\lfloor f(x)\rfloor+c=f(x)+c,$$so if $g:\mathbb Z\to\mathbb Z$ is defined by $g(n)=f(n+c)-c$ for all $n\in\mathbb Z$ we have $f(x)=g(\lfloor x\rfloor)$ for all $x\in\mathbb R$. Then $P(x,y)$ rewrites as (using $f(f(x))=\lfloor x\rfloor+c$ as well):
$$g(g(n)+m)=n+m+c$$for all $n,m\in\mathbb Z$. Now $g$ is injective, and swapping $n,m$ we get $g(n)+m=g(m)+n$, so $g(n)=n+g(0)$. Then we can write $\boxed{f(x)=\lfloor x\rfloor+a}$ for some constant $a\in\mathbb Z$ (where $a=g(0)$) and all $x\in\mathbb R$, all such functions work.
This post has been edited 1 time. Last edited by jasperE3, Apr 15, 2025, 2:28 AM
Z K Y
N Quick Reply
G
H
=
a