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

G
Topic
First Poster
Last Poster
k a May Highlights and 2025 AoPS Online Class Information
jlacosta   0
May 1, 2025
May is an exciting month! National MATHCOUNTS is the second week of May in Washington D.C. and our Founder, Richard Rusczyk will be presenting a seminar, Preparing Strong Math Students for College and Careers, on May 11th.

Are you interested in working towards MATHCOUNTS and don’t know where to start? We have you covered! If you have taken Prealgebra, then you are ready for MATHCOUNTS/AMC 8 Basics. Already aiming for State or National MATHCOUNTS and harder AMC 8 problems? Then our MATHCOUNTS/AMC 8 Advanced course is for you.

Summer camps are starting next month at the Virtual Campus in math and language arts that are 2 - to 4 - weeks in duration. Spaces are still available - don’t miss your chance to have an enriching summer experience. There are middle and high school competition math camps as well as Math Beasts camps that review key topics coupled with fun explorations covering areas such as graph theory (Math Beasts Camp 6), cryptography (Math Beasts Camp 7-8), and topology (Math Beasts Camp 8-9)!

Be sure to mark your calendars for the following upcoming events:
[list][*]May 9th, 4:30pm PT/7:30pm ET, Casework 2: Overwhelming Evidence — A Text Adventure, a game where participants will work together to navigate the map, solve puzzles, and win! All are welcome.
[*]May 19th, 4:30pm PT/7:30pm ET, What's Next After Beast Academy?, designed for students finishing Beast Academy and ready for Prealgebra 1.
[*]May 20th, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 1 Math Jam, Problems 1 to 4, join the Canada/USA Mathcamp staff for this exciting Math Jam, where they discuss solutions to Problems 1 to 4 of the 2025 Mathcamp Qualifying Quiz!
[*]May 21st, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 2 Math Jam, Problems 5 and 6, Canada/USA Mathcamp staff will discuss solutions to Problems 5 and 6 of the 2025 Mathcamp Qualifying Quiz![/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

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

Prealgebra 2 Self-Paced

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

Introduction to Algebra A Self-Paced

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

Introduction to Counting & Probability Self-Paced

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

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

Introduction to Algebra B Self-Paced

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

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

Paradoxes and Infinity
Mon, Tue, Wed, & Thurs, Jul 14 - Jul 16 (meets every day of the week!)

Intermediate: Grades 8-12

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

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

Intermediate Number Theory
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

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

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

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

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

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

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

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

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

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

AMC 12 Final Fives
Sunday, May 18 - Jun 15

AIME Problem Series A
Thursday, May 22 - Jul 31

AIME Problem Series B
Sunday, Jun 22 - Sep 21

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

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


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

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

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

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

Physics

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

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

Relativity
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
May 1, 2025
0 replies
k i Peer-to-Peer Programs Forum
jwelsh   157
N Dec 11, 2023 by cw357
Many of our AoPS Community members share their knowledge with their peers in a variety of ways, ranging from creating mock contests to creating real contests to writing handouts to hosting sessions as part of our partnership with schoolhouse.world.

To facilitate students in these efforts, we have created a new Peer-to-Peer Programs forum. With the creation of this forum, we are starting a new process for those of you who want to advertise your efforts. These advertisements and ensuing discussions have been cluttering up some of the forums that were meant for other purposes, so we’re gathering these topics in one place. This also allows students to find new peer-to-peer learning opportunities without having to poke around all the other forums.

To announce your program, or to invite others to work with you on it, here’s what to do:

1) Post a new topic in the Peer-to-Peer Programs forum. This will be the discussion thread for your program.

2) Post a single brief post in this thread that links the discussion thread of your program in the Peer-to-Peer Programs forum.

Please note that we’ll move or delete any future advertisement posts that are outside the Peer-to-Peer Programs forum, as well as any posts in this topic that are not brief announcements of new opportunities. In particular, this topic should not be used to discuss specific programs; those discussions should occur in topics in the Peer-to-Peer Programs forum.

Your post in this thread should have what you're sharing (class, session, tutoring, handout, math or coding game/other program) and a link to the thread in the Peer-to-Peer Programs forum, which should have more information (like where to find what you're sharing).
157 replies
jwelsh
Mar 15, 2021
cw357
Dec 11, 2023
k i C&P posting recs by mods
v_Enhance   0
Jun 12, 2020
The purpose of this post is to lay out a few suggestions about what kind of posts work well for the C&P forum. Except in a few cases these are mostly meant to be "suggestions based on historical trends" rather than firm hard rules; we may eventually replace this with an actual list of firm rules but that requires admin approval :) That said, if you post something in the "discouraged" category, you should not be totally surprised if it gets locked; they are discouraged exactly because past experience shows they tend to go badly.
-----------------------------
1. Program discussion: Allowed
If you have questions about specific camps or programs (e.g. which classes are good at X camp?), these questions fit well here. Many camps/programs have specific sub-forums too but we understand a lot of them are not active.
-----------------------------
2. Results discussion: Allowed
You can make threads about e.g. how you did on contests (including AMC), though on AMC day when there is a lot of discussion. Moderators and administrators may do a lot of thread-merging / forum-wrangling to keep things in one place.
-----------------------------
3. Reposting solutions or questions to past AMC/AIME/USAMO problems: Allowed
This forum contains a post for nearly every problem from AMC8, AMC10, AMC12, AIME, USAJMO, USAMO (and these links give you an index of all these posts). It is always permitted to post a full solution to any problem in its own thread (linked above), regardless of how old the problem is, and even if this solution is similar to one that has already been posted. We encourage this type of posting because it is helpful for the user to explain their solution in full to an audience, and for future users who want to see multiple approaches to a problem or even just the frequency distribution of common approaches. We do ask for some explanation; if you just post "the answer is (B); ez" then you are not adding anything useful.

You are also encouraged to post questions about a specific problem in the specific thread for that problem, or about previous user's solutions. It's almost always better to use the existing thread than to start a new one, to keep all the discussion in one place easily searchable for future visitors.
-----------------------------
4. Advice posts: Allowed, but read below first
You can use this forum to ask for advice about how to prepare for math competitions in general. But you should be aware that this question has been asked many many times. Before making a post, you are encouraged to look at the following:
[list]
[*] Stop looking for the right training: A generic post about advice that keeps getting stickied :)
[*] There is an enormous list of links on the Wiki of books / problems / etc for all levels.
[/list]
When you do post, we really encourage you to be as specific as possible in your question. Tell us about your background, what you've tried already, etc.

Actually, the absolute best way to get a helpful response is to take a few examples of problems that you tried to solve but couldn't, and explain what you tried on them / why you couldn't solve them. Here is a great example of a specific question.
-----------------------------
5. Publicity: use P2P forum instead
See https://artofproblemsolving.com/community/c5h2489297_peertopeer_programs_forum.
Some exceptions have been allowed in the past, but these require approval from administrators. (I am not totally sure what the criteria is. I am not an administrator.)
-----------------------------
6. Mock contests: use Mock Contests forum instead
Mock contests should be posted in the dedicated forum instead:
https://artofproblemsolving.com/community/c594864_aops_mock_contests
-----------------------------
7. AMC procedural questions: suggest to contact the AMC HQ instead
If you have a question like "how do I submit a change of venue form for the AIME" or "why is my name not on the qualifiers list even though I have a 300 index", you would be better off calling or emailing the AMC program to ask, they are the ones who can help you :)
-----------------------------
8. Discussion of random math problems: suggest to use MSM/HSM/HSO instead
If you are discussing a specific math problem that isn't from the AMC/AIME/USAMO, it's better to post these in Middle School Math, High School Math, High School Olympiads instead.
-----------------------------
9. Politics: suggest to use Round Table instead
There are important conversations to be had about things like gender diversity in math contests, etc., for sure. However, from experience we think that C&P is historically not a good place to have these conversations, as they go off the rails very quickly. We encourage you to use the Round Table instead, where it is much more clear that all posts need to be serious.
-----------------------------
10. MAA complaints: discouraged
We don't want to pretend that the MAA is perfect or that we agree with everything they do. However, we chose to discourage this sort of behavior because in practice most of the comments we see are not useful and some are frankly offensive.
[list] [*] If you just want to blow off steam, do it on your blog instead.
[*] When you have criticism, it should be reasoned, well-thought and constructive. What we mean by this is, for example, when the AOIME was announced, there was great outrage about potential cheating. Well, do you really think that this is something the organizers didn't think about too? Simply posting that "people will cheat and steal my USAMOO qualification, the MAA are idiots!" is not helpful as it is not bringing any new information to the table.
[*] Even if you do have reasoned, well-thought, constructive criticism, we think it is actually better to email it the MAA instead, rather than post it here. Experience shows that even polite, well-meaning suggestions posted in C&P are often derailed by less mature users who insist on complaining about everything.
[/list]
-----------------------------
11. Memes and joke posts: discouraged
It's fine to make jokes or lighthearted posts every so often. But it should be done with discretion. Ideally, jokes should be done within a longer post that has other content. For example, in my response to one user's question about olympiad combinatorics, I used a silly picture of Sogiita Gunha, but it was done within a context of a much longer post where it was meant to actually make a point.

On the other hand, there are many threads which consist largely of posts whose only content is an attached meme with the word "MAA" in it. When done in excess like this, the jokes reflect poorly on the community, so we explicitly discourage them.
-----------------------------
12. Questions that no one can answer: discouraged
Examples of this: "will MIT ask for AOIME scores?", "what will the AIME 2021 cutoffs be (asked in 2020)", etc. Basically, if you ask a question on this forum, it's better if the question is something that a user can plausibly answer :)
-----------------------------
13. Blind speculation: discouraged
Along these lines, if you do see a question that you don't have an answer to, we discourage "blindly guessing" as it leads to spreading of baseless rumors. For example, if you see some user posting "why are there fewer qualifiers than usual this year?", you should not reply "the MAA must have been worried about online cheating so they took fewer people!!". Was sich überhaupt sagen lässt, lässt sich klar sagen; und wovon man nicht reden kann, darüber muss man schweigen.
-----------------------------
14. Discussion of cheating: strongly discouraged
If you have evidence or reasonable suspicion of cheating, please report this to your Competition Manager or to the AMC HQ; these forums cannot help you.
Otherwise, please avoid public discussion of cheating. That is: no discussion of methods of cheating, no speculation about how cheating affects cutoffs, and so on --- it is not helpful to anyone, and it creates a sour atmosphere. A longer explanation is given in Seriously, please stop discussing how to cheat.
-----------------------------
15. Cutoff jokes: never allowed
Whenever the cutoffs for any major contest are released, it is very obvious when they are official. In the past, this has been achieved by the numbers being posted on the official AMC website (here) or through a post from the AMCDirector account.

You must never post fake cutoffs, even as a joke. You should also refrain from posting cutoffs that you've heard of via email, etc., because it is better to wait for the obvious official announcement. A longer explanation is given in A Treatise on Cutoff Trolling.
-----------------------------
16. Meanness: never allowed
Being mean is worse than being immature and unproductive. If another user does something which you think is inappropriate, use the Report button to bring the post to moderator attention, or if you really must reply, do so in a way that is tactful and constructive rather than inflammatory.
-----------------------------

Finally, we remind you all to sit back and enjoy the problems. :D

-----------------------------
(EDIT 2024-09-13: AoPS has asked to me to add the following item.)

Advertising paid program or service: never allowed

Per the AoPS Terms of Service (rule 5h), general advertisements are not allowed.

While we do allow advertisements of official contests (at the MAA and MATHCOUNTS level) and those run by college students with at least one successful year, any and all advertisements of a paid service or program is not allowed and will be deleted.
0 replies
v_Enhance
Jun 12, 2020
0 replies
k i Stop looking for the "right" training
v_Enhance   50
N Oct 16, 2017 by blawho12
Source: Contest advice
EDIT 2019-02-01: https://blog.evanchen.cc/2019/01/31/math-contest-platitudes-v3/ is the updated version of this.

EDIT 2021-06-09: see also https://web.evanchen.cc/faq-contest.html.

Original 2013 post
50 replies
v_Enhance
Feb 15, 2013
blawho12
Oct 16, 2017
All the numbers to be zero after finitely many operations
orl   9
N 32 minutes ago by User210790
Source: IMO Shortlist 1989, Problem 19, ILL 64
A natural number is written in each square of an $ m \times n$ chess board. The allowed move is to add an integer $ k$ to each of two adjacent numbers in such a way that non-negative numbers are obtained. (Two squares are adjacent if they have a common side.) Find a necessary and sufficient condition for it to be possible for all the numbers to be zero after finitely many operations.
9 replies
orl
Sep 18, 2008
User210790
32 minutes ago
A number theory problem
super1978   2
N an hour ago by Tintarn
Source: Somewhere
Let $a,b,n$ be positive integers such that $\sqrt[n]{a}+\sqrt[n]{b}$ is an integer. Prove that $a,b$ are both the $n$th power of $2$ positive integers.
2 replies
super1978
May 11, 2025
Tintarn
an hour ago
Mega angle chase
kjhgyuio   2
N an hour ago by Jupiterballs
Source: https://mrdrapermaths.wordpress.com/2021/01/30/filtering-with-basic-angle-facts/
........
2 replies
kjhgyuio
3 hours ago
Jupiterballs
an hour ago
power of a point
BekzodMarupov   0
an hour ago
Source: lemmas in olympiad geometry
Epsilon 1.3. Let ABC be a triangle and let D, E, F be the feet of the altitudes, with D on BC, E on CA, and F on AB. Let the parallel through D to EF meet AB at X and AC at Y. Let T be the intersection of EF with BC and let M be the midpoint of side BC. Prove that the points T, M, X, Y are concyclic.
0 replies
BekzodMarupov
an hour ago
0 replies
Graph Theory?!?!??!?2.?!!>2r
pog   11
N Today at 12:06 AM by tliang2000
Source: 2024 AMC 8 #14
The one-way routes connecting towns $A$, $M$, $C$, $X$, $Y$, and $Z$ are shown in the figure below (not drawn to scale).The distances in kilometers along each route are marked. Traveling along these routes, what is the shortest distance from A to Z in kilometers?

IMAGE

$\textbf{(A)}\ 28 \qquad \textbf{(B)}\ 29 \qquad \textbf{(C)}\ 30 \qquad \textbf{(D)}\ 31 \qquad \textbf{(E)}\ 32$
11 replies
pog
Oct 11, 2024
tliang2000
Today at 12:06 AM
A box contains 5 chips numbered 1, 2, 3, 4, 5
CobbleHead   24
N Yesterday at 11:45 PM by lightsbug
Source: 2018 AMC 10B #6
A box contains $5$ chips, numbered $1$, $2$, $3$, $4$, and $5$. Chips are drawn randomly one at a time without replacement until the sum of the values drawn exceeds $4$. What is the probability that $3$ draws are required?

$\textbf{(A)} \frac{1}{15} \qquad \textbf{(B)} \frac{1}{10} \qquad \textbf{(C)} \frac{1}{6} \qquad \textbf{(D)} \frac{1}{5} \qquad \textbf{(E)} \frac{1}{4}$
24 replies
CobbleHead
Feb 16, 2018
lightsbug
Yesterday at 11:45 PM
Lots of Cyclic Quads
Vfire   105
N Yesterday at 11:23 PM by Ilikeminecraft
Source: 2018 USAMO #5
In convex cyclic quadrilateral $ABCD$, we know that lines $AC$ and $BD$ intersect at $E$, lines $AB$ and $CD$ intersect at $F$, and lines $BC$ and $DA$ intersect at $G$. Suppose that the circumcircle of $\triangle ABE$ intersects line $CB$ at $B$ and $P$, and the circumcircle of $\triangle ADE$ intersects line $CD$ at $D$ and $Q$, where $C,B,P,G$ and $C,Q,D,F$ are collinear in that order. Prove that if lines $FP$ and $GQ$ intersect at $M$, then $\angle MAC = 90^\circ$.

Proposed by Kada Williams
105 replies
Vfire
Apr 19, 2018
Ilikeminecraft
Yesterday at 11:23 PM
Goals for 2025-2026
Airbus320-214   140
N Yesterday at 6:13 PM by Schintalpati
Please write down your goal/goals for competitions here for 2025-2026.
140 replies
Airbus320-214
May 11, 2025
Schintalpati
Yesterday at 6:13 PM
Camp Conway/Camp Sierpinski Acceptance
fossasor   8
N Yesterday at 6:03 PM by Ruegerbyrd
(trying this again in a different thread now that it's later)

I've been accepted into Camp Conway, which is a part of National Math Camps, a organization of Math Camps that currently includes two: Camp Conway and Camp Sierpinski. Camp Conway is located at Harvey Mudd in California and happens during the first half of summer, while Camp Sierpinski is in North Carolina's research triangle and happens during the second half. Each of them has two two-week long sessions that accept 30 people (it's very focused on social connection), which means 120 people will be accepted to the program in total.

Given how much of the math community is on aops, I think there's a decent chance one of the 120 people might see this thread. So - has anyone here been accepted into Camp Conway or Camp Sierpinski? If so, which session are you going during, and what are you looking forward to?

I'll be attending during the second session of Conway in the first few weeks of July - I'm looking forward to the Topics Classes as a lot of them sound pretty fun.
8 replies
fossasor
Apr 19, 2025
Ruegerbyrd
Yesterday at 6:03 PM
HCSSiM results
SurvivingInEnglish   74
N Yesterday at 1:20 PM by smiley
Anyone already got results for HCSSiM? Are there any point in sending additional work if I applied on March 19?
74 replies
SurvivingInEnglish
Apr 5, 2024
smiley
Yesterday at 1:20 PM
Stanford Math Tournament (SMT) 2025
stanford-math-tournament   4
N Yesterday at 5:37 AM by techb
[center] :trampoline: :first: Stanford Math Tournament :first: :trampoline: [/center]

----------------------------------------------------------

[center]IMAGE[/center]

We are excited to announce that registration is now open for Stanford Math Tournament (SMT) 2025!

This year, we will welcome 800 competitors from across the nation to participate in person on Stanford’s campus. The tournament will be held April 11-12, 2025, and registration is open to all high-school students from the United States. This year, we are extending registration to high school teams (strongly preferred), established local mathematical organizations, and individuals; please refer to our website for specific policies. Whether you’re an experienced math wizard, a puzzle hunt enthusiast, or someone looking to meet new friends, SMT has something to offer everyone!

Register here today! We’ll be accepting applications until March 2, 2025.

For those unable to travel, in middle school, or not from the United States, we encourage you to instead register for SMT 2025 Online, which will be held on April 13, 2025. Registration for SMT 2025 Online will open mid-February.

For more information visit our website! Please email us at stanford.math.tournament@gmail.com with any questions or reply to this thread below. We can’t wait to meet you all in April!

4 replies
stanford-math-tournament
Feb 1, 2025
techb
Yesterday at 5:37 AM
Alcumus vs books
UnbeatableJJ   5
N Yesterday at 2:41 AM by Andyluo
If I am aiming for AIME, then JMO afterwards, is Alcumus adequate, or I still need to do the problems on AoPS books?

I got AMC 23 this year, and never took amc 10 before. If I master the alcumus of intermediate algebra (making all of the bars blue). How likely I can qualify for AIME 2026?
5 replies
UnbeatableJJ
Apr 23, 2025
Andyluo
Yesterday at 2:41 AM
9 JMO<200?
DreamineYT   6
N Wednesday at 5:29 PM by lovematch13
Just wanted to ask
6 replies
DreamineYT
May 10, 2025
lovematch13
Wednesday at 5:29 PM
camp/class recommendations for incoming freshman
walterboro   8
N May 13, 2025 by lu1376091
hi guys, i'm about to be an incoming freshman, does anyone have recommendations for classes to take next year and camps this summer? i am sure that i can aime qual but not jmo qual yet. ty
8 replies
walterboro
May 10, 2025
lu1376091
May 13, 2025
Bijection on the set of integers
talkon   19
N Apr 18, 2025 by AN1729
Source: InfinityDots MO 2 Problem 2
Determine all bijections $f:\mathbb Z\to\mathbb Z$ satisfying
$$f^{f(m+n)}(mn) = f(m)f(n)$$for all integers $m,n$.

Note: $f^0(n)=n$, and for any positive integer $k$, $f^k(n)$ means $f$ applied $k$ times to $n$, and $f^{-k}(n)$ means $f^{-1}$ applied $k$ times to $n$.

Proposed by talkon
19 replies
talkon
Apr 9, 2018
AN1729
Apr 18, 2025
Bijection on the set of integers
G H J
G H BBookmark kLocked kLocked NReply
Source: InfinityDots MO 2 Problem 2
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
talkon
276 posts
#1 • 10 Y
Y by SAUDITYA, ThE-dArK-lOrD, SHREYAS333, anantmudgal09, Smita, Ankoganit, Mathuzb, Omeredip, GeoMetrix, Adventure10
Determine all bijections $f:\mathbb Z\to\mathbb Z$ satisfying
$$f^{f(m+n)}(mn) = f(m)f(n)$$for all integers $m,n$.

Note: $f^0(n)=n$, and for any positive integer $k$, $f^k(n)$ means $f$ applied $k$ times to $n$, and $f^{-k}(n)$ means $f^{-1}$ applied $k$ times to $n$.

Proposed by talkon
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SAUDITYA
250 posts
#2 • 3 Y
Y by zephyr7723, Adventure10, Mango247
Click to reveal hidden text
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rmtf1111
698 posts
#4 • 2 Y
Y by Adventure10, Mango247
Let $f^{-1}=g$. Let $c=f(0)$. Suppose that $c\neq 0$. Let $P(m,n)$ be the assertion $f^{f(m+n)}(mn) = f(m)f(n)$.
$$P(0,g(n))\implies f^n(0)=nf(0)=cn \implies c(n+1)=f^{n+1}(0)=f(cn)\implies f^k(nc)=f^{n+k}(0)=c(n+k)$$$$P(m+c,-c)\implies f^{f(m)}(-c(m+c))=0\implies c(f(m)-m-c)=0 \implies f(m)=m+c$$Let $c=0$. Letting $n=-m$ we have that $f(m)f(-m)=-m^2 \implies f(1)f(-1)=-1$. Suppose that $f(1)=1$. Let $p$ be a prime.
$$P(p,-p) \implies f(p)f(-p)=-p^2 \stackrel{\text{injectivity}}{\implies} f(-p)=-f(p)$$$$f(-m)=-f(m) \stackrel{\text{P(m,-1)}}{\Longleftrightarrow} f^{f(m-1)-1}(-m)=-m \Longleftrightarrow f^{f(-m-1)-1}(m)=m \stackrel{\text{P(m,1)}}{\Longleftarrow} f(-m-1)=-m-1$$Now apply Cauchy induction with base cases large primes, thus we have that $f(n)=-f(-n)\implies f(n)=\pm n$. If there exists $u\in \mathbb{Z}/\{0\}$ such that $f(u)=-u$, then by letting $m=u$ and $n\equiv_2 u$ we see that $f(n)=-n$, and now by looking at $P(2k+1-u,u)$ we see that $u$ must be even and we have the solution $f(m)=(-1)^{m+1}m$. If there doesn't exist such $u$, then $f(m)=m$. The case $f(1)=-1$ can be treated in the same way, but using simple induction instead of Cauchy, the latter case producing any solutions.
To sum up: the solutions are $f(m)=m+c$ , $f(m)=(-1)^{m+1}m$ , where $c\in \mathbb{Z}$ is a constant.
This post has been edited 1 time. Last edited by rmtf1111, Apr 9, 2018, 6:20 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
anantmudgal09
1980 posts
#5 • 1 Y
Y by Adventure10
I wonder what was the proposer's motivation :)
#2 wrote:
Determine all bijections $f:\mathbb Z\to\mathbb Z$ satisfying
$$f^{f(m+n)}(mn) = f(m)f(n)$$for all integers $m,n$.

Note: $f^0(n)=n$, and for any positive integer $k$, $f^k(n)$ means $f$ applied $k$ times to $n$, and $f^{-k}(n)$ means $f^{-1}$ applied $k$ times to $n$.

#2
This post has been edited 2 times. Last edited by anantmudgal09, Apr 9, 2018, 9:20 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
talkon
276 posts
#6 • 2 Y
Y by anantmudgal09, Adventure10
Answer: the infinite family of functions $n\mapsto n+c$ for any integer $c$, and the function $n\mapsto (-1)^{n+1}n$.

Official Solution. We consider two cases, depending on the value of $f(0)$.

Case 1: $f(0)=0$.

By plugging in $(m,n)=(k,-k)$, we have $-k^2 = f(k)f(-k)$
for all integers $k$. Since $f$ is bijective, by induction on $k$, $\{f(k),f(-k)\} = \{k,-k\}$
for all positive integers $k$. Hence $f(f(n))=n$ for all integers $n$.

Now suppose that $m,n$ are integers with the same parity, so $f(m+n)$ is even. Hence,
$$mn=f^{f(m+n)}(mn) = f(m)f(n),$$so either both $f(m)=m$ and $f(n)=n$ or $f(m)=-m$ and $f(n)=-n$. Therefore there are four solutions left to check: $n\mapsto n, n\mapsto -n, n\mapsto (-1)^nn$, and $n\mapsto (-1)^{n+1}n$, and by considering $m$ even and $n$ odd, we can see that only two work: $n\mapsto n$ and $n\mapsto (-1)^{n+1}n$.

Case 2: $f(0)\neq 0$.

Plug in $(m,n)=(f^{-1}(k),0)$ to get $f^k(0)=kf(0)$ for all integers $k$. In particular, when $k=-1$ we have $f^{-1}(0) = -f(0)$. Now substitute in $(m,n)=(m,-f(0))$ to get, for all integers $m$,
$$f^{f(m-f(0))}(-mf(0)) = 0. \qquad \text{\_\_\_ (1)}$$
Now note that the orbit $\ldots\to f^{-2}(0)\to f^{-1}(0)\to 0\to f(0)\to f(f(0))\to\ldots $ contains all multiples of $f(0)$, so it is unbounded and not periodic. Hence from

$$f^{f(n)-n-f(0)}(0) = f^{f(n)}\big(f^{-n-f(0)}(0)\big)= f^{f((n+f(0))-f(0))}\big((-n-f(0))\cdot f(0)\big) = 0 $$where the second equation follows from $f^k(0)=kf(0)$ and the third equation follows from (1), we have $f(n)-n-f(0)=0$ for all integers $n$. Hence the function $f$ must be of the form $n\mapsto n+c$ for some constant $c$, and it's easy to see that all such functions work. $\blacksquare$

Comments. There are several possible ways to proceed in Case 2. For example, another way is to plug in $m=0, f(0)$ and $2f(0)$.

anantmudgal09 wrote:
I wonder what was the proposer's motivation :)

Let's say I've always liked FEs with expressions like $f^{f(x)}$, so from the equation
$$mn + k(m+n+k) = (m+k)(n+k)$$there is the natural equation
$$f^{f(m+n)}(mn) = f(m)f(n).$$As for the bijection condition, first I actually thought about the above equation in $\mathbb Z^+$ without getting anything, and when I revisited it later I just somehow thought that making it a bijection will allow changing the equation to $\mathbb Z$ and that worked out perfectly. The solution $n\mapsto (-1)^{n+1}n$ wasn't planned but it just popped out, which in my opinion makes it even nicer.
This post has been edited 1 time. Last edited by talkon, Apr 12, 2018, 7:42 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
yayups
1614 posts
#7 • 2 Y
Y by Adventure10, Mango247
We claim the solutions are $f(x)=x+c$ and $f(x)=(-1)^{x+1}x$, both of which can easily be checked to work.

Now suppose that $f$ is some solution to the FE $P(m,n)$. Let's start by solving the problem assuming $f(0)\ne 0$. Note that
\[P(m,0)\implies f^{f(m)}(0)=f(m)f(0)\implies \boxed{f^x(0)=xf(0)}\]for all $x$, since $f$ is bijective so $f(m)$ is any integer $x$.

Let $a=f^{-1}(0)=-f(0)$. Then, we have
\[f^{f(m+a)}(ma)=0\implies ma=f^{-f(m+a)}(0)\implies -mf(0)=-f(0)f(m+a),\]so $f(m+a)=m$, or $f(m)=m-a=m+f(0)$, so $f(x)=x+c$ for some $c\ne 0$.

We will now assume that $f(0)=0$. We have that
\[P(n,-n)\implies f^0(-n^2)=f(n)f(-n)\implies\boxed{f(n)f(-n)=-n^2}.\]In particular, $f(1)f(-1)=-1$, so $\{f(1),f(-1)\}=\{1,-1\}$.

We claim that $\{f(n),f(-n)\}=\{n,-n\}$, where we prove this by induction. The base case of $n=1$ is clear. Now suppose $\{f(m),f(-m)\}=\{m,-m\}$ for all $m<n$. Then, if $f(n)\ne\pm n$, we must have one of $f(n)$ or $f(-n)$ have absolute value $0<m<n$. But if $f(\pm n)=\pm m$, then $\pm n=\pm m$ for some choice of signs since $\pm m=f(\pm m)$, which is a contradiction. Thus, $\{f(n),f(-n)\}=\{n,-n\}$. This also implies that $f^2(x)=x$.

Thus, if $m$ and $n$ are of the same parity, then $P(m,n)$ implies $mn=f(m)f(n)$, so $f(m)/m$ and $f(n)/n$ are the same. Therefore, by fixing the values of $f(1)$ and $f(2)$, we uniquely determine $f$. The four choices give us
\[f(x)\equiv x,-x,(-1)^xx,(-1)^{x+1}(x).\]One can check that only the first and the last work, which 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.
william122
1576 posts
#8 • 2 Y
Y by Adventure10, Mango247
Denote the assertion as $P(m,n)$. Suppose that $f(0)=0$. Then, $P(m,-m)$ yields $-m^2=f(m)f(-m)$. Plugging in $m=1$, we get $f(1)f(-1)=-1$, so $\{f(1),f(-1)\}=\{-1,1\}$. Similarly, $f(2)f(-2)=-4$. However, since neither can have magnitude $1$, due to injectivity, we must have $\{f(2),f(-2)\}=\{2,-2\}$. We can induct upwards to get $f(x)=\pm x\forall x$, and $f(f(x))=x$. Now, if we consider $P(m,n)$ for $2|m+n$, note that LHS is just $mn$, so $f(m),f(n)$ must be $m,n$ or $-m,-n$, implying that we take the same sign for all numbers of the same sign. Checking the 4 cases yields the solutions $f(x)=x$ and $f(x)=\begin{cases}x\text{ if }x\equiv 1\pmod 2\\ -x\text{ otherwise}\end{cases}$.

If $f(a)=0$ for $a\neq 0$, consider $P(a,n)$. We have $f^{f(a+n)}(an)=0$. Thus, there exists some $k$ for all multiples of $a$, $an$, such that $f^k(an)=0$. Furthermore, since $f$ is a bijection, $f(a+n)$ cycles through all the integers, implying that $f^k(0)$ for any $k$ is always a multiple of $a$. Now, consider $P(am,a(1-m))$. Similar to before, we get the relation $a^2m(1-m)=f(am)f(a(1-m))$, and using the fact that $a|f(am),f(a(1-m))$, we get a similar induction as before, yielding $f(ax)=-ax$ or $(a-1)x$. Now, if we take $2|x+y$, and consider $P(ax,ay)$, we get $a^2xy=f(ax)f(ay)$. Checking all 4 cases (i.e. $f(ax)=-ax,(a-1)x$, $f(ay)=-ay,(a-1)y$), we find that the only solution is if $f(ax)=(a-1)x$, $f(ay)=(a-1)y$. So, we get that $f(ax)=(a-1)x\forall x$. Finally, note that we had $f^{f(a+n)}(an)=0$. The previous statement tells us, however, that $f^n(an)=0$. As $0$ does not occur in a cycle (i.e. there does not exist $k$ such that $f^k(0)=0$), we must have that $n=f(a+n)$, or $f(x)=x-a$. All $a$ produce valid solutions.

Thus, our solution set is $f(x)=x+c$ for $c\in\mathbb{Z}$, and $f(x)=\begin{cases}x\text{ if }x\equiv 1\pmod 2\\ -x\text{ otherwise}\end{cases}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Idio-logy
206 posts
#9 • 1 Y
Y by Adventure10
We divide into two cases: $f(0)=k\neq 0$ or $f(0)=0$.

If $f(0)=k\neq 0$, plug in $m=0 \Longrightarrow f^n(0)=kn$ $\forall n\in\mathbb{Z}$, which implies $f(nk)=(n+1)k$. Specially, $f(-k)=0$. Plug in $n=-k$, then we have $f^{f(m-k)}(-mk)=0$, and since $f$ is bijective we have $f(m-k)=m$. This gives us one solution: $f(m)=m+k$ for all $m$.

If $f(0)=0$, then plug in $n=-m$ we get $f(m)f(-m)=-m^2$. By induction we see that $|f(m)|=m$ and $f(m)=-f(-m)$. If $m+n$ is even, then by the original equation $mn=f(m)f(n)$, meaning that if $m\equiv n\mod 2$, then $f(m)$ and $f(n)$ have the same signs. If $m+n$ is odd (let's say $m$ is even and $n$ is odd), then $f(mn)=f(m)f(n)$. This gives us two solutions $f(x)=x$ and $f(x)=(-1)^{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.
IndoMathXdZ
694 posts
#10 • 1 Y
Y by Adventure10
The solutions are $f(n) = n + c$ and $f(n) = (-1)^{n + 1} \cdot n$. It is easy to check that both of them satisfy. Now we'll prove that those are the only ones.
Let $P(m,n)$ denote the assertion of $m$ and $n$ to the given functional equation.
\[ P(m,n) : f^{f(m+n)} (mn) = f(m) f(n) \]We'll consider two cases:
$\textbf{Case 01.}$ When $f(0) = 0$.
\[ P(m,-m) : -m^2 = f^{f(0)}(-m^2) = f(m)f(-m) \]Simple induction gives us $\{ f(m),  f(-m) \} = \{ -m, m \}$ for all $m \in \mathbb{N}$. In both case, we get $f(f(m)) = m$.

Take $m,n$ such that $m+n$ even, then
\[ mn = f^{f(m+n)} (mn) = f(m) f(n) \]
Suppose that $f(1) = 1$, then we have
\[ f^{f(m+1) - 1} (m) = m \]If $m$ is odd, then $f(m+1) - 1$ is odd, this gives us $f(m) = m$.
Hence, if $f(2) = 2$, then $f(n) = n$ for all even $n$. This gives us the solution $\boxed{f(x) = x}$ which is indeed true.

If $f(2) = -2$, then $f(n) = -n$ for all even $n$. This gives us the solution $\boxed{f(x) = (-1)^{x+1} \cdot x}$ which is indeed true.
Suppose that $f(1) = -1$, then $f(x) = -x$ for all odd $x$. Similar reasoning as before, we gain two possible functions: $f(x) = -x$ or $f(x) = (-1)^x \cdot x$.
Take $m$ and $n$ having different parity, this gives us
\[ mn = f^{f(m+n)} (mn) = f(m) f(n) = -mn \]for the latter case and
\[ -mn = f^{f(m+n)}(mn) = f(m) f(n) = mn \]for the former case.
$\textbf{Case 02.}$ When $f(0) \not= 0$, then suppose that $f(c) = 0$ for $c \not= 0$.
$P(k,0)$ gives us
\[ f^{f(k)}(0) = f(k)f(0) \]By surjectivity, we have $f^m (0) = mf(0)$ for all $m \in \mathbb{Z}$.
\[ f^{f(m+n)}(mn) = f(m)f(n) \]$P(m, -f(0))$ gives us
\[ f^{f(m - f(0))} (-mf(0)) = f(m) f(-f(0)) = f(m)f(f^{-1} (0)) = 0 \]We then have
\[ f^{f(m - f(0))} ( f^{-m} (0) ) = 0 \]Hence, $0 = f^{f(m - f(0)) - m} (0) = ( f(m - f(0)) - m)f(0) $, which gives us $f(m - f(0)) = m$ for all $m \in \mathbb{Z}$. This gives the solution $\boxed{ f(n) = n + c}$, which satisfies the original equation.
This post has been edited 1 time. Last edited by IndoMathXdZ, Jan 24, 2020, 8:44 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jj_ca888
2726 posts
#11 • 2 Y
Y by cosmicgenius, Mango247
Solution w/ cosmicgenius


Let $P(n, m)$ be the assertion. We repeatedly take advantage of the fact that $f$ is bijective. $P(f^{-1} (a), 0)$ gives $f^a (0) = af(0)$ for all integers $a$. Thus $f^{-1} (0) = -f(0)$ and $f(-f(0))= 0$. Furthermore, $P(-f(0), x)$ gives
\[ f^{f(-f(0)+x)} (-f(0)x) = 0.\]But the LHS can be simplified as follows:\begin{align*}
f^{f(-f(0)+x)} (-f(0)x) &= f^{f(-f(0)+x)} (-xf(0))\\&= f^{f(-f(0)+x)} (f^{-x} (0))\\&= f^{-x + f(-f(0)+x)} (0)\\&= f(0) (-x + f(-f(0)+x)) = 0\end{align*}where we repeatedly took advantage of $P(f^{-1}(a), 0)$. Hence, for each individual $x$, we must have $f(x - f(0)) = x$ or $f(0)=0$. If $f(0) \neq 0$, then we must have $f(x - f(0)) = x$ for all $x \in \mathbb{Z}$, which yields the solutions$$f(x) = x + c, c \in \{\mathbb{Z}^+, \mathbb{Z}^-\}$$for nonzero integers $c$.

If $f(0) = 0$, then $P(x, -x)$ gives $-x^2 = f(x)f(-x)$. From $x = 1$, note that $f(1)f(-1) = -1$, hence $f(-1), f(1) \in \{-1, 1\}$ since $f$ brings integers to integers. In fact, we can show that, for all integers $n$, $f(-n), f(n) \in \{-n, n\}$. We only have to consider positive $n$, since then negative $n$ must follow by symmetry and $f(0) = 0$ is already assumed.

We will use strong induction. Our base cases of $n = 1, 2$ are obvious. For the inductive step, assume that for all positive integers $n < k$, $f(-n), f(n) \in \{-n, n\}$. $P(k, -k)$ yields $-k^2 = f(k)f(-k)$. If $|f(k)| > k$, then $|f(-k)| < k$, a contradiction since all integers in the range $(-k, k)$ are already attained by $f$ at some value $v \in (-k, k)$. For the same reason, $|f(k)| < k$ cannot hold. Hence, we must have $|f(k)| = |f(-k)| = k$ as desired. $\square$

Thus, for all $n \in \mathbb{Z}$, $f(n) = -n$ or $n$, so $f(f(n)) = f^2(n) = n$. Now, back to the original assertion $P$, consider all pairs $(m, n)$ with same parity $\implies m+n$ even. $f^{f(m+n)}(mn) = mn = f(m)f(n)$. Either $f(m) = m$ and $f(n) = n$, or $f(m) = -m$ and $f(n) = -n$. Now, we just have to consider all four possibilities regarding $f(1) \in \{-1, 1\}$ and $f(2) \in \{-2, 2\}$. Checking all such possibilities, we see that it is only possible for $f(1) = 1$ and $f(2) = 2$, or $f(1) = 1$ and $f(2) = -2$, hence the solutions $f(x) = x$ and $f(x) = x$ when $x$ odd and $f(x) = -x$ when $x$ even.

in summary, our solutions are $\boxed{f(x) = x + c, c \in \mathbb{Z}}$, and $$\boxed{f(x)=\begin{cases} x &\text{ if } x \text{ is odd} \\ -x &\text{ if } x \text{ is even} \end{cases}}$$, as desired. $\blacksquare$
This post has been edited 3 times. Last edited by jj_ca888, Mar 19, 2020, 7:56 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pad
1671 posts
#13
Y by
Let $P(m,n)$ denote the FE. Note $P(m,0)$ gives $f^{f(m)}(0)=f(m)f(0)$, and since $f$ is surjective, $f^x(0)=xf(0)$ for any $x$. In particular,
  • $f^{-1}(0)=-f(0)$, i.e. $f(-f(0))=0$, and
  • $0=f^{-x}(xf(0))$, so $f^y(-yf(0))=0$ for any $y$.
Now, $P(m+f(0),-f(0))$ gives \[ f^{f(m)}\big( -f(0)(m+f(0)) \big) =0. \]But $f^{f(m)}(-f(m)f(0))=0$ by using the second bullet above. Since $f$ is bijective, this implies $-f(m)f(0)=-f(0)[m+f(0)]$. If $f(0)\not = 0$, then $f(m)=m+f(0)$, i.e. $f(m)=m+c$ for some constant $c$. It is easy to check that this works in general.
Now assume $f(0)=0$. $P(n,-n)$ gives \[ -n^2=f(n)f(-n).\]Let $g(n)=|f(n)|$. Then $g(n)\ge 0$ and $n^2=g(n)g(-n)$ for all $n$. We claim $g(n)=|n|$ for each $n$. Induct on $|n|$. For $n=1$, $1=g(1)g(-1)$, so $g(1)=g(-1)=1$. WLOG $n$ is positive. We have $g(n)=k$ and $g(-n)=n^2/k$ for some positive $k\mid n^2$. If $k\not = n$, then WLOG $k<n$. But $g(k)=|k|=k$, contradicting injectivity. Hence $g(n)=|n|$, i.e. $f(n)=\pm n$ for each $n$.
  • So $\{f(n),f(-n)\}=\{n,-n\}$, which implies $f(-n)=-f(n)$.
  • If $f(n)=n$, then $f(f(n))=f(n)=n$, and if $f(n)=-n$, then $f(f(n))=f(-n)=-f(n)=n$. In all cases, $f(f(n))=n$.
  • Now, if $m+n$ even, then $mn=f(m)f(n)$.
So if $s(n)=f(n)/n$, then $s(m)=s(n)$ for $m\equiv n \pmod2$. If $s(1)=1$ and $s(2)=1$, then $f(n)=n$. If $s(1)=1$ and $s(2)=-1$, then $s(n)=(-1)^{n+1}$, i.e. $f(n)=(-1)^{n+1}n$. The other two cases are symmetric.
In conclusion, the solutions are \[ f(n)=n+c, \qquad f(n)=(-1)^{n+1}n,\]for any $c$, both of which work.

Remarks
This post has been edited 3 times. Last edited by pad, Sep 2, 2020, 9:14 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Eyed
1065 posts
#14 • 2 Y
Y by kevinmathz, RedFlame2112
The two solutions are $f(x) = x + c$, or $f(x) = x$ for odd $x$ and $f(x) = -x$ for even $x$. It's not hard to see that these both work.

If $f(x) = 1, f(y) = 0$, we have $f(m(x-m)) = f(m)f(x-m)$, $m(y-m) = f(m)f(y-m)$
$f(y(x-y)) = 0$, so by bijectivity, $y(x-y) = y$. Either $y = 0, x = y+1$.

If $y = 0$, we have $-m^{2} = f(m)f(-m)$, so $f(1) = \pm1$ and $x = \pm1$. If $x = -1$, then $f(m(-1-m)) = f(m)f(-1-m)$, plug in $m = 1$ for contradict.
Thus, $y = 0, x = 1$, $f(0) = 0, f(1) = 1, f(-1) = -1$. inducktively, prove that $f(x) = \pm x$ (true through bijectivity), (induckt on $x$). Repeat proof that if $x$ odd, then $f(x) = x$, otherwise $f(x)$ can be either $x$ or $-x$.

If $x = y+1$, we have $x(y-x) = f(x)f(y-x)$ implies $f(-1) = -x$, also $1(y-1) = f(1)f(y-1)$ so $x | y-1, y+1 | y-1$. Take some $n$ such that $f(n) = -1$, then $f^{-1}(0) = f(0)(-1) \Rightarrow f(0) = -y$. Observe that
\[f^{f(n)}(0) = f(n)f(0) = f(n)\cdot -y, f^{c}(0) = c\cdot -y\]We can prove $f(ky) = (k-1)y$ for integer $k$, by inducktion. Our base case is $k = 1$, which is true since $f(y) = 0$. Now, assume it's true for $k$, we will prove that it is true for $k + 1$. Using the observation, since $f^{-k}(0) = ky$, this means
\[f^{-1}(f^{-k}(0)) = f^{-1}(ky) = f^{-k-1}(0) = (k+1)y\]This implies $f((k+1)y) = ky$.

Now we can prove $f(ky + 1) = (k-1)y + 1$. This is because, consider $m = y+1, n = (k-1)y$. Now,
\[f^{f(ky + 1)}(y(k-1)(y+1)) = y((k-1)(y+1) - f(ky+1))\]\[= f(y(k-1))f(y+1) = y(k-2)\]This means $ky - y + k - 1 - (k-2) = f(ky+1) = (k-1)y + 1$. A useful corollary is $f^{r}(ky + 1) = (k-r)y + 1$.

Now, we will use inducktion on $r$. to show that $f(ky + r) = y(k-1) + r$. Our base case is already proven, for $r = 0, 1$. Assume that it is true for all $i < r$, such that $f^{c}(ky + i) = (k-c)y + i$. We prove the same for $r$. We have:
\[f^{f(ky + r)}(((k-1)y + (r-1))(y + 1)) = f((k-1)y+(r-1))f(y+1)\]\[= f((k-1)y+(r-1)) = (k-2)y + r-1\]\[ = f^{f(ky + r)}(y((k-1)y + (r-1) +(k-1)) + (r-1)) \]\[= y((k-1)y + (r-1) + (k-1) - f(ky + r)) + r-1\]\[\Longrightarrow f(ky + r) = (k-1)y + (r-1) + (k-1) - (k-2) = (k-1)y + r\]Thus, our inducktive step is proven.

We conclude that $f(x) = x - y$. Thus, our only two solutions are the ones listed here.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
DottedCaculator
7355 posts
#15 • 2 Y
Y by centslordm, RedFlame2112
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
VicKmath7
1390 posts
#16
Y by
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
CircleInvert
654 posts
#17
Y by
Observe that $f(x)=x+k$ works. Furthermore, if $f(0)=k\ne 0$, then we get $f^{f(m)}(0)=kf(m)$. Now, as $f$ is a bijection, we can replace $f(m)$ with $m$, and we get $f^{m}(0)=km$. Then $f(x)=x+k$ holds for $x=km$. Then plugging in $n=-k$, we get $f^{f(m-k)}(-km)=0=f^{m}(-km)$. so $f(m-k)=m$ for all $m$, thus implying that we have $f(x)=x+k$. Hence this is the only solution unless $f(0)=0$.

We now take the $f(0)=0$ case: then $m=-n$ gives $-m^2=f(m)f(-m)$. Now, we claim that we have $|f(\pm k)|=k$ where $k\ge 0$. Suppose not. First observe that for $k=0$ this holds and for $k=1$ this must also hold from $m=1$ implying $-1=f(m)f(-m)$ and $1$ and $-1$ are the only divisors of $-1$. Thus, taking the smallest counterexample for $k$, we have $k\ge 2$. Then $f(k)f(-k)=-k^2$. Now, as $k$ is the smallest counterexample, we know that $|f(k)|\ge k$ as all values with lower absolute value are mapped to values with those absolute values and are thus in orbits with values of lower absolute value. Similarly, $|f(-k)|\ge k$. Now, at least one of these inequalities must be strict in order for $k$ to be a counterexample, but this contradicts $f(k)f(-k)=-k^2$. Thus, we have $|f(\pm k)|=k$. Now, we just need to determine when $f(x)=x$ and when $f(x)=-x$. Observe that if $m$ and $n$ have the same parity, the original FE just says that $mn=f(m)f(n)$ indicating that either there is a sign change for both $m$ and $n$ or for neither. Thus, sign change or not is dependent only on the parity of the input. For $m+n$ odd, the original FE just says $f(mn)=f(m)f(n)$. Now say $m$ is the even one and $n$ is the odd one; then $f(mn)$ and $f(m)$ are either both sign changed or both left alone so $f(n)=n$ (assuming we choose $m$ to be not $0$ which we may do). Thus, $f$ of any odd number is equal to that number and then we can either have the same be true for evens or we can have it such that $f$ of any even is negative that even. This is two possible solutions for $f$; we see that both work.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cj13609517288
1922 posts
#18
Y by
The answer is $\boxed{f(x)=x+c}$ for all integers $c$, along with
\[\boxed{f(x)=\begin{cases}x&x\text{ is odd}\\-x&x\text{ is even}\end{cases}}\,.\]These "clearly" work(the last function is easier to check after the reductions in case 2). For the proof, we split into cases.

Case 1. $f(0)\ne 0$. Let $f(0)=c$. Then $P(m,0)$ gives
\[f^{f(m)}(0)=cf(m)\Longrightarrow f^m (0)=cm.\]Thus the chain through $0$ goes $\cdots\rightarrow -2c\rightarrow -c\rightarrow 0\rightarrow c\rightarrow 2c\rightarrow\cdots$.

Now $P(m,c)$ gives
\[f^{f(m+c)}(mc)=f(m)f(c)\Longrightarrow mc+cf(m+c)=2cf(m)\Longrightarrow m+f(m+c)=2f(m).\]Let $g(x):=f(x)-x-c$. Then
\[m+g(m+c)+m+2c=2g(m)+2m+2c\Longrightarrow g(m+c)=2g(m).\]Thus by $\nu_2$ we have $g\equiv 0$, so $f(x)=x+c$ for all $x$, which works.

Case 2. $f(0)=0$. Then $P(m,-m)$ gives $-m^2=f(m)f(-m)$. Therefore, $\{f(1),f(-1)\}=\{1,-1\}$, so $\{f(2),f(-2)\}=\{2,-2\}$, so $\{f(3),f(-3)\}=\{3,-3\}$, etc, so $f(m)=\pm m$ for all $m$. Therefore, $f^2(m)=m$ for all $m$, so the two possible values of $f(m+n)$ do the same thing. Therefore,
\[f^{m+n}(mn)=f(m)f(n).\]Let $g(n):=\frac{f(n)}{n}$ be defined for all nonzero integers. Then
\[g(mn)^{m+n}=g(m)g(n).\]If $m$ and $n$ have the same parity, then $g(m)g(n)=1$. Therefore, $g$ is identical for each individual parity. Now let $m=1$ and $n=2$, then
\[g(2)=g(1)g(2)\Longrightarrow g(1)=1,\]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.
Ilikeminecraft
653 posts
#19
Y by
We do casework on if $f(0) = 0$ or not.

If $f(0) = 0,$ take $m = 1, n = -1$ to get $(f(1), f(-1)) = (1, -1), (-1, 1).$ Take $(m, n) = (2, - 1)$ to get $f(-2) = f(2)f(-1).$ By induction, we can force $f(k)\in\{k, -k\}$ and $f$ is an involution. We do casework on $f(1), f(2)$:

If $f(1) = 1, f(2) = 2:$ take $(2, 2^{k})$ to get that $2^{k + 1} = f(2)f(2^k),$ and so $f(2^k) = 2^k.$ take $(1, 2\ell - 1)$ to get $f(2\ell - 1) = 2\ell - 1.$ Then, take $(2^k, 2\ell - 1)$ to get $f\equiv x$
If $f(1) = -1, f(2) = 2:$ take $(2, 4)$ to get that $f(4) = 4$. take $(4, 1)$ to get $f(4) = f(4)f(1),$ contradiction.
if $f(1) = 1, f(2) = -2:$ take $(2, 2^k)$ to get $2^{k + 1} = f(2)f(2^k),$ so $f(2^k) = -2^k.$ $(1, 2\ell - 1)$ to get $f(2\ell - 1) = 2\ell - 1.$ take $(2^k, 2\ell - 1), f(2^k(2\ell - 1)) = -2^k(2\ell - 1).$ thus, $f\equiv (-1)^xx$.
if $f(1) = -1, f(2) = -2:$ do a ``merging'' of case 1 and case 3 to get $f\equiv -x.$

Now, assume $f(0) = k \neq 0.$ Take $m = 0$ and we get $f^{f(n)}(0) = kf(n),$ or $f^n(0) = nk.$ Furthermore, $f(-k) = 0$(from $n = -1$). Take:
\begin{align*}
    f^{f(n) - n - k}(0) & = f^{f(n)}(f^{-n-k}(0)) \\
    & = f^{f((n + k) - k)}(-(n + k)k) \\
    & = 0
\end{align*}so $f(n) = n + k.$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathLuis
1535 posts
#20
Y by
Denote $P(m,n)$ to be the assertion of the given F.E.
From $P(0,n)$ and bijectivity we get $f^t(0)=f(0) \cdot t$ for all $t \in \mathbb Z$ and from here we can get that $f(t \cdot f(0))=(t+1)f(0)$ but also that $f^{u}(t \cdot f(0))=(t+u)f(0)$ for all $t,u, \in \mathbb Z$. Setting $u=1, t=-1$ gives $f(-f(0))=0$.
Now from $P(m+f(0), -f(0))$ we get that $f^{f(m)}(-(m+f(0))f(0))=f(m+f(0))f(-f(0))=0$ and thus $(f(m)-m-f(0))f(0)=0$, now if $f(0) \ne 0$ then trivially we have $f(x)=x+c$ for all $x \in \mathbb Z$ and some integer $c \ne 0$ which works.
Now if $f(0)=0$ were to hold then $P(m,-m)$ gives $f(m)f(-m)=-m^2$, now let $m=p$ for $p$ being a prime number then this means for all primes except on the case of whether $f(-p)=1$ or $f(p)=1$ for exctly one prime $p$, it holds that $\{ f(p), f(-p) \}= \{ p, -p \}$.
This should hold for all primes $p$ because $P(1,-1)$ gives $f(1)f(-1)=-1$ and therefore one of these has to be $1$ and in either case they are not a prime number, now notice that from induction and these finding we can now easly conclude that $\{f(n), f(-n) \}= \{ n, -n \}$ for all $n \in \mathbb Z$, and thus this means $f(f(x))=x$ for all integers $x$ and now from $P(m,n)$ for $m \equiv n \pmod 2$ gives that $f(n)f(m)=mn$ and this can only mean either $f(m)=m, f(n)=n$ or $f(m)=-m, f(n)=-n$ and for $m-n$ odd we have that $f(n)f(m)=f(mn)$ so setting $m$ to be a non-zero even number and $n=1$ gives that $f(1)=1$ and therefore we either have $f(x)=x$ for all $x \in \mathbb Z$ or $f(x)=(-1)^{x+1} x$ for all $x \in \mathbb Z$ which can be seen to work as well, thus we are done :cool:.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HamstPan38825
8866 posts
#21
Y by
The answers are $f(n) = n + c$ for integers $c$ and the intriguing $f(n) = (-1)^{n+1}n$.

Based on the solution set, we will split into cases based on whether $f(0) = 0$.

First Case: Suppose that $f(0) = 0$. Then setting $m=-n$ yields $f(n) f(-n) = -n^2$. Because $f$ is bijective, it is easy to see that $\{f(1), f(-1)\} = \{-1, 1\}$ and inductively $\{f(n), f(-n)\} = \{n, -n\}$ for all positive integers $n$, otherwise the smaller of the two yields a contradiction by injectivity.

In particular, $f(f(n)) = n$ for all positive integers $n$, so if $m + n$ is even, it follows that $f(m)f(n) = mn$. It follows that $\tfrac{f(n)}n$ is constant for $n$ of the same parity, and it is not hard to show by setting $m+n$ odd that either $f(n) = n$ for all $n$ or $f(n) = -n$ only when $n$ is even.

Second Case: Suppose now that $f(0) = c \neq 0$. By setting $m = 0$, we get $f^{f(n)}(0) = cf(n)$, implying that $f^n(0) = cn$ for all integers $n$ as $f$ is bijective. In particular, $f(kc) = (k+1)c$ for all integers $k$, and thus $f(-c) = 0$.

Now, for an integer $a$, letting $(m, n) = (-c, a)$ now yields \[0 = f^{f(a-c)}(-ac) = -ac + f(a-c)c\]which implies $f(a-c) = a$, as needed.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AN1729
17 posts
#22
Y by
Solved with rjp08

The solutions are $f(x)=x+a$ and $f(x)=(-1)^{x-1}x$

Denote the problem condition as $P(m,n)$

Case 1: $f(0)=a\neq 0$
$P(0,f^{-1}(n)) \implies f^n(0) = nf(0)$
Thus we get the chain $\dots \rightarrow -2a \rightarrow -a \rightarrow 0 \rightarrow a \rightarrow 2a \rightarrow \dots$
Now, $P(-a,n) \implies f^{f(n-a)}(-an) = 0 \implies -an + af(n-a)=0$
But $a \neq 0 \implies f(n-a)=n    \forall n \in \mathbb{Z}$

Case 2: $f(0)=0$
$P(m,-m) \implies -m^2 = f(m)f(-m)$
By induction on $|{m}|$, we get that $\forall m$ we have $\{f(m),f(-m)\} = \{m,-m\}$
Define $g : \mathbb{Z} \rightarrow \{-1,1\} $such that $f(n)=ng(n)$
Thus, we have that $f(f(x))=x$
Now, if $m \equiv n \pmod {2}$, $m+n$ and hence $f(m+n)$ is even. $\implies mn= f(m)f(n) \implies g(m)=g(n)$
Verifying cases for $g(1)= \pm 1$ and $g(2) = \pm 1$, we get the only valid solutions as $f(x) = x$ and $f(x) = (-1)^{x-1}x$
Z K Y
N Quick Reply
G
H
=
a