Summer is a great time to explore cool problems to keep your skills sharp!  Schedule a class today!

G
Topic
First Poster
Last Poster
k a June Highlights and 2025 AoPS Online Class Information
jlacosta   0
Jun 2, 2025
Congratulations to all the mathletes who competed at National MATHCOUNTS! If you missed the exciting Countdown Round, you can watch the video at this link. Are you interested in training for MATHCOUNTS or AMC 10 contests? How would you like to train for these math competitions in half the time? We have accelerated sections which meet twice per week instead of once starting on July 8th (7:30pm ET). These sections fill quickly so enroll today!

[list][*]MATHCOUNTS/AMC 8 Basics
[*]MATHCOUNTS/AMC 8 Advanced
[*]AMC 10 Problem Series[/list]
For those interested in Olympiad level training in math, computer science, physics, and chemistry, be sure to enroll in our WOOT courses before August 19th to take advantage of early bird pricing!

Summer camps are starting this 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 a transformative 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][*]June 5th, Thursday, 7:30pm ET: Open Discussion with Ben Kornell and Andrew Sutherland, Art of Problem Solving's incoming CEO Ben Kornell and CPO Andrew Sutherland host an Ask Me Anything-style chat. Come ask your questions and get to know our incoming CEO & CPO!
[*]June 9th, Monday, 7:30pm ET, Game Jam: Operation Shuffle!, Come join us to play our second round of Operation Shuffle! If you enjoy number sense, logic, and a healthy dose of luck, this is the game for you. No specific math background is required; all are welcome.[/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, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
Wednesday, Jul 16 - Oct 29
Sunday, Aug 17 - Dec 14
Tuesday, Aug 26 - Dec 16
Friday, Sep 5 - Jan 16
Monday, Sep 8 - Jan 12
Tuesday, Sep 16 - Jan 20 (4:30 - 5:45 pm ET/1:30 - 2:45 pm PT)
Sunday, Sep 21 - Jan 25
Thursday, Sep 25 - Jan 29
Wednesday, Oct 22 - Feb 25
Tuesday, Nov 4 - Mar 10
Friday, Dec 12 - Apr 10

Prealgebra 2 Self-Paced

Prealgebra 2
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
Friday, Jul 25 - Nov 21
Sunday, Aug 17 - Dec 14
Tuesday, Sep 9 - Jan 13
Thursday, Sep 25 - Jan 29
Sunday, Oct 19 - Feb 22
Monday, Oct 27 - Mar 2
Wednesday, Nov 12 - Mar 18

Introduction to Algebra A Self-Paced

Introduction to Algebra A
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
Tuesday, Jul 15 - Oct 28
Sunday, Aug 17 - Dec 14
Wednesday, Aug 27 - Dec 17
Friday, Sep 5 - Jan 16
Thursday, Sep 11 - Jan 15
Sunday, Sep 28 - Feb 1
Monday, Oct 6 - Feb 9
Tuesday, Oct 21 - Feb 24
Sunday, Nov 9 - Mar 15
Friday, Dec 5 - Apr 3

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Wednesday, Jul 2 - Sep 17
Sunday, Jul 27 - Oct 19
Monday, Aug 11 - Nov 3
Wednesday, Sep 3 - Nov 19
Sunday, Sep 21 - Dec 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Friday, Oct 3 - Jan 16
Tuesday, Nov 4 - Feb 10
Sunday, Dec 7 - Mar 8

Introduction to Number Theory
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
Tuesday, Jul 15 - Sep 30
Wednesday, Aug 13 - Oct 29
Friday, Sep 12 - Dec 12
Sunday, Oct 26 - Feb 1
Monday, Dec 1 - Mar 2

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14
Thursday, Aug 7 - Nov 20
Monday, Aug 18 - Dec 15
Sunday, Sep 7 - Jan 11
Thursday, Sep 11 - Jan 15
Wednesday, Sep 24 - Jan 28
Sunday, Oct 26 - Mar 1
Tuesday, Nov 4 - Mar 10
Monday, Dec 1 - Mar 30

Introduction to Geometry
Monday, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
Monday, Jul 14 - Jan 19
Wednesday, Aug 13 - Feb 11
Tuesday, Aug 26 - Feb 24
Sunday, Sep 7 - Mar 8
Thursday, Sep 11 - Mar 12
Wednesday, Sep 24 - Mar 25
Sunday, Oct 26 - Apr 26
Monday, Nov 3 - May 4
Friday, Dec 5 - May 29

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
Friday, Aug 8 - Feb 20
Tuesday, Aug 26 - Feb 24
Sunday, Sep 28 - Mar 29
Wednesday, Oct 8 - Mar 8
Sunday, Nov 16 - May 17
Thursday, Dec 11 - Jun 4

Intermediate Counting & Probability
Sunday, Jun 22 - Nov 2
Sunday, Sep 28 - Feb 15
Tuesday, Nov 4 - Mar 24

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

Precalculus
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8
Wednesday, Aug 6 - Jan 21
Tuesday, Sep 9 - Feb 24
Sunday, Sep 21 - Mar 8
Monday, Oct 20 - Apr 6
Sunday, Dec 14 - May 31

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

Calculus
Wednesday, Jun 25 - Dec 17
Sunday, Sep 7 - Mar 15
Wednesday, Sep 24 - Apr 1
Friday, Nov 14 - May 22

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
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!)
Sunday, Aug 17 - Nov 9
Wednesday, Sep 3 - Nov 19
Tuesday, Sep 16 - Dec 9
Sunday, Sep 21 - Dec 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Oct 6 - Jan 12
Thursday, Oct 16 - Jan 22
Tues, Thurs & Sun, Dec 9 - Jan 18 (meets three times a week!)

MATHCOUNTS/AMC 8 Advanced
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
Sunday, Aug 17 - Nov 9
Tuesday, Aug 26 - Nov 11
Thursday, Sep 4 - Nov 20
Friday, Sep 12 - Dec 12
Monday, Sep 15 - Dec 8
Sunday, Oct 5 - Jan 11
Tues, Thurs & Sun, Dec 2 - Jan 11 (meets three times a week!)
Mon, Wed & Fri, Dec 8 - Jan 16 (meets three times a week!)

AMC 10 Problem Series
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!)
Sunday, Aug 10 - Nov 2
Thursday, Aug 14 - Oct 30
Tuesday, Aug 19 - Nov 4
Mon & Wed, Sep 15 - Oct 22 (meets twice a week!)
Mon, Wed & Fri, Oct 6 - Nov 3 (meets three times a week!)
Tue, Thurs & Sun, Oct 7 - Nov 2 (meets three times a week!)

AMC 10 Final Fives
Monday, Jun 30 - Jul 21
Friday, Aug 15 - Sep 12
Sunday, Sep 7 - Sep 28
Tuesday, Sep 9 - Sep 30
Monday, Sep 22 - Oct 13
Sunday, Sep 28 - Oct 19 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, Oct 8 - Oct 29
Thursday, Oct 9 - Oct 30

AMC 12 Problem Series
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Wednesday, Aug 6 - Oct 22
Sunday, Aug 10 - Nov 2
Monday, Aug 18 - Nov 10
Mon & Wed, Sep 15 - Oct 22 (meets twice a week!)
Tues, Thurs & Sun, Oct 7 - Nov 2 (meets three times a week!)

AMC 12 Final Fives
Thursday, Sep 4 - Sep 25
Sunday, Sep 28 - Oct 19
Tuesday, Oct 7 - Oct 28

AIME Problem Series A
Thursday, Oct 23 - Jan 29

AIME Problem Series B
Sunday, Jun 22 - Sep 21
Tuesday, Sep 2 - Nov 18

F=ma Problem Series
Wednesday, Jun 11 - Aug 27
Tuesday, Sep 16 - Dec 9
Friday, Oct 17 - Jan 30

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
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
Thursday, Aug 14 - Oct 30
Sunday, Sep 7 - Nov 23
Tuesday, Dec 2 - Mar 3

Intermediate Programming with Python
Sunday, Jun 1 - Aug 24
Monday, Jun 30 - Sep 22
Friday, Oct 3 - Jan 16

USACO Bronze Problem Series
Sunday, Jun 22 - Sep 1
Wednesday, Sep 3 - Dec 3
Thursday, Oct 30 - Feb 5
Tuesday, Dec 2 - Mar 3

Physics

Introduction to Physics
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15
Tuesday, Sep 2 - Nov 18
Sunday, Oct 5 - Jan 11
Wednesday, Dec 10 - Mar 11

Physics 1: Mechanics
Monday, Jun 23 - Dec 15
Sunday, Sep 21 - Mar 22
Sunday, Oct 26 - Apr 26

Relativity
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Jun 2, 2025
0 replies
Geometry
Arytva   2
N 2 minutes ago by MathsII-enjoy
Source: Source?
Let two circles \(\omega_1\) and \(\omega_2\) meet at two distinct points \(X\) and \(Y\). Choose any line \(\ell\) through \(X\), and let \(\ell\) meet \(\omega_1\) again at \(A\) (other than \(X\)) and meet \(\omega_2\) again at \(B\). On \(\omega_1\), let \(M\) be the midpoint of the minor arc \(AY\) (i.e., the point on \(\omega_1\) such that \(\angle AMY\) subtends the arc \(AY\)), and on \(\omega_2\) let \(N\) be the midpoint of the minor arc \(BY\). Prove that
\[
MN \parallel \text{(radical axis of } \omega_1, \omega_2).
\]
2 replies
Arytva
Today at 9:30 AM
MathsII-enjoy
2 minutes ago
Geo problem
lgx57   1
N 11 minutes ago by MathsII-enjoy
Source: an exercise
Let $M$ is on $AB$ and $N$ is on $AC$.$BM=NC$.
$O_1$ is the circumcenter of $\displaystyle\triangle ABN$, and $O_2$ is the circumcenter of $\triangle AMC$
Line $O_1O_2$ intersects with $AB,AC$ at $P,Q$
Prove that :$AP=AQ$
Graph:https://www.geogebra.org/m/bncrj5mm
1 reply
lgx57
Today at 8:50 AM
MathsII-enjoy
11 minutes ago
Reflection of (BHC) in AH
guptaamitu1   2
N 21 minutes ago by aaravdodhia
Source: LMAO revenge 2025 P4
Let $ABC$ be a triangle with orthocentre $H$. Let $D,E,F$ be the foot of altitudes of $A,B,C$ onto the opposite sides, respectively. Consider $\omega$, the reflection of $\odot(BHC)$ about line $AH$. Let line $EF$ cut $\omega$ at distinct points $X,Y$, and let $H'$ be the orthocenter of $\triangle AYD$. Prove that points $A,H',X,D$ are concyclic.

Proposed by Mandar Kasulkar
2 replies
1 viewing
guptaamitu1
Today at 10:18 AM
aaravdodhia
21 minutes ago
continuous function
lolm2k   17
N 25 minutes ago by hung9A
Let $f: \mathbb R \rightarrow \mathbb R$ be a continuous function such that $f(f(f(x))) = x^2+1, \forall x \in \mathbb R$ show that $f$ is even.
17 replies
lolm2k
Mar 24, 2018
hung9A
25 minutes ago
No more topics!
Integer-Valued FE comes again
lminsl   208
N May 24, 2025 by megahertz13
Source: IMO 2019 Problem 1
Let $\mathbb{Z}$ be the set of integers. Determine all functions $f: \mathbb{Z} \rightarrow \mathbb{Z}$ such that, for all integers $a$ and $b$, $$f(2a)+2f(b)=f(f(a+b)).$$Proposed by Liam Baker, South Africa
208 replies
lminsl
Jul 16, 2019
megahertz13
May 24, 2025
Integer-Valued FE comes again
G H J
Source: IMO 2019 Problem 1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ezpotd
1328 posts
#233
Y by
I claim the only solutions are $f(x) = 2x + c$ for all positive integers $c$. It is trivial to verify these all work.

Let $P(a,b)$ be the assertion, then we take $P(a,b), P(b,a)$ and subtract to get $f(2a) - f(2b) = 2f(a) - 2f(b) $, setting $b = 0$ gives $f(2a) = 2f(a) - f(0)$. We can then write $2f(a) + 2f(b) = f(f(a + b)) + f(0)$. So we have $f(a)  + f(b) = f(a + 1) + f(b -1)$ for $a + b =a  + 1 + b - 1$, so we can write $f(a + 1) - f(a ) = f(b) - f(b - 1)$ . Thus $f$ is linear, since all consecutive differences are equal. Plugging in $f(x) = kx + c$ gives $2k(a + b) + 3c = k^2(a + b) + kc + c$, forcing $k = 2$, so we are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Siddharthmaybe
122 posts
#234
Y by
lminsl wrote:
The answer is $f \equiv 0$ or $f(x)=2x+c$ for some constant $c$.
Since these are the only linear solutions, proving that $f$ is linear kills the problem.

Putting $a=0$ gives $$f(f(b))=2f(b)+f(0)$$, or for every $y$ in the image of $f$, $f(y)=2y+f(0)$.
Hence, $$2f(a+b)+f(0)=f(f(a+b))=f(2a)+2f(b).$$A simple variable-switching and some translation gives the well-known Cauchy equation. Hence $f$ is linear.

Hmm same solution , I messed up the translation part oof :(.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cubres
123 posts
#235
Y by
Storage - grinding IMO problems
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
smileapple
1010 posts
#236
Y by
Let $P(a,b)$ be the given relation. Comparing $P(n,n+m)$ and $P(m,2n)$, we obtain $2f(m+n)=f(2m)+f(2n)$ for all $m,n\in\mathbb{Z}$. Call this relation $Q(m,n)$.

Plugging in $Q(k-1,k+1)$ yields $f(2k+2)=2f(2k)-f(2k-2)$, so $f$ is linear over the even integers. Plugging in $Q(k,0)$ yields $2f(k)=f(2k)+f(0)$, so $f$ is linear over $\mathbb{Z}$. By inspection it follows that $f$ is either the zero function or $f=2x+c$ for all $x$, where $c$ is a fixed constant independent of $x$. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
eg4334
639 posts
#237
Y by
Let $P(a, b)$ be the assertion. Obviously $f(x) \equiv \boxed{0, 2x+c}$ are the only linear solutions. Compare $P(a, b)$ and $P(b, a)$ to get that $f(2x)-2f(x)$ is constant and obviosly $-f(0)$. Now compare $P(0, a+b)$ and $P(a, b)$ to get $f(2a)+2f(b)=f(0)+2f(a+b)$. Use $f(2x)=2f(x)-f(0)$ to get $2f(a)-f(0)+2f(b)=f(0)+2f(a+b) \implies f(a)+f(b)=f(0)+f(a+b)$. Let $b=1$ to show that it is indeed linear which finishes.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Maximilian113
577 posts
#238
Y by
Let $P(a, b)$ denote the assertion. $P(0, a) \implies f(f(a)) = 2f(a)+f(0),$ while $P(a, 0) \implies f(2a)+2f(0)=f(f(a)) = 2f(a)+f(0) \implies f(2a)=2f(a)-f(0).$ Therefore the assertion becomes $$f(a)+f(b)=f(0)+f(a+b),$$so the function $g(x)=f(x)-f(0)$ is additive and by Cauchy's Functional Equation we have $g(x)=px,$ thus $f(x)=px+q$ for integer constants $p, q.$ Plugging this back into the assertion yields either $f(x)=0$ or $f(x)=2x+k$ for some constant $k \in \mathbb Z.$ These are the only solutions, and it is not hard to see that these work.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
blueprimes
363 posts
#239
Y by
We claim the answer is $f(x) \equiv 0$ or $f(x) \equiv 2x + c$ for any constant $c$. Clearly they work, now we show they are the only ones. Consider assertions $(a, b) = (x, 0), (0, x)$, we have $f(2x)  = 2 f(x) - f(0)$, so we can simplify the relation to
\[2 f(a) + 2 f(b) = f(f(a + b)) + f(0). \]Now asserting $(a, b) = (x, -x)$ gives us $2f(-x) = -2f(x) + f(f(0)) + f(0)$, and $(a, b) = (x + 1, -x)$ yields
\[ 2 f(x + 1) + 2f(-x) = 2 f(x + 1) - 2 f(x) + f(f(0)) + f(0) = f(f(1)) + f(0) \]\[\implies f(x + 1) - f(x) = \dfrac{f(f(1)) - f(f(0))}{2}. \]Since the RHS is constant, $f$ is linear. Plugging back into the equation it is easy to extract $f(x) \equiv 0, 2x + c$ as our claimed solution set. We are done.
This post has been edited 2 times. Last edited by blueprimes, Feb 25, 2025, 10:42 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Marcus_Zhang
980 posts
#240
Y by
Easy for an IMO, IMO
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Nari_Tom
117 posts
#241
Y by
I need write down my solution for some reason.
By symmetry we have $2f(a)-f(2a)=const=f(0)$.
So we have: $2f(a)+2f(b)=f(f(a+b))+f(0)$,
if we take $b=0$ here we will get that $f(f(a))=2f(a)+f(0)$.
Combining last two gives: $f(a)+f(b)=f(a+b)+f(0)$.
Let's define $g(x)=f(x)-f(0)$, then our equation is equivalent to $g(a)+g(b)=g(a+b)$ whose solution is only $g(a)=ag(1)$.
We can find solutions by substituting in the original equation. By the way solutions are only: $f(a)=2a+n$, where $n$ is constant or $f(a)=0$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ehuseyinyigit
840 posts
#242
Y by
$P(1,0)$ and $P(0,1)$ gives $f(2)+f(0)=2f(1) \quad (*)$.
$P(1,x)$ gives $f(f(x+1))=f(2)+2f(x)$
$P(0,x+1)$ gives $f(f(x+1))=f(0)+2f(x+1)$
Combining these implies
$$f(2)+2f(x)=f(0)+2f(x+1)$$$$2(f(x+1)-f(x))=f(2)-f(0)\overbrace{=}^{*}2(f(1)-f(0))$$Thus, $f$ is linear. Using linearity and $P(0,0)$ implies the only solutions are $f(a)=0$ or $f(a)=2a+c$ where $c$ is a constant.
This post has been edited 2 times. Last edited by ehuseyinyigit, Mar 26, 2025, 7:38 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Sedro
5858 posts
#243
Y by
The solutions are $f\equiv 0$ and $f\equiv 2x+\ell$, where $\ell$ is any integer. It is straightforward to check that these functions are indeed solutions, so now we prove that they are the only ones. Let $P(a,b)$ denote the assertion.

By $P(0,x)$, we have $f(f(x)) = 2f(x)+f(0)$, so $P(a,b)$ can be rewritten as $f(2a)+2f(b) = 2f(a+b)+f(0)$. Let $Q(a,b)$ denote this assertion. By $Q(x,0)$, we have $f(2x) = 2f(x) - f(0)$, so $Q(a,b)$ can be rewritten as $2f(a)+2f(b) = 2f(a+b)+2f(0)$. Thus, $f(x)-f(0)$ is Cauchy; hence $f$ is linear.

Letting $f(x) = kx+\ell$, by $P(a,b)$, we must have \[2k(a+b)+3\ell = k^2(a+b) + \ell(k+1).\]This implies $2k=k^2$ and $3\ell = \ell(k+1)$, or $(k,\ell) = (0,0), (2,\ell)$, 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
685 posts
#244
Y by
I claim that $f(x) = 0$ or $f(x) = 2x + c$ for some constant $c \in \mathbb Z.$

First, we have that $f(2a) + 2f(b) = f(f(a + b)) = f(f(b - a + 2a)) = f(2(b - a)) + 2f(2a),$ and thus we have that $f(2x) + f(2y) = 2f(x + y).$ Plugging in $x = 0,$ we see that $f(2y) = 2f(y),$ and thus our equation simplifies to $f(x) + f(y) = f(x + y).$ The solution to this is all linear equations, $f(x) = nx + m$. However, by plugging it into our original equation, we see that only our claimed solutions are valid.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
anudeep
202 posts
#245
Y by
We claim that either $f\equiv 0$ or is of the form $f(x)=2x+c$ for some fixed integer $c$.
Replacing $a$ with $0$ and $b$ with $a+b$ in the given equation we obtain the following,
$$f(2a)+2f(b) =f\circ f(a+b)=f(0)+2f(a+b).$$Let us shift things to the origin by defining a new function $g(x)=f(x)-f(0)$ for all integers $x$ just to keep things cleaner. So we may rewrite the above equation in terms of $g$ as,
$$g(2a)+2g(b)=2g(a+b).$$This equation is quite easy to deal with and I can think of two ideas one could use
  • Cauchy's Functional Equation.
  • Finite Differences or Telescoping idea.
As the former idea has already been mentioned a lot of times in this thread, I shall stick to the latter one. Replacing $a$ with $1$ and $b$ with $n$ we get,
\begin{align*}
g(2)&=2\sum_{k:2\to n}\Delta g(k)\\
&=\cfrac{2(g(n+1)-g(2))}{n-2}.
\end{align*}Notice the above holds for positive integers but one can deal with negative integers in a similar manner. So clearly $g$ is linear and so is $f$ and one can easily check why $f$ has to of the form we had initially claimed and we are done. $\square$
This post has been edited 2 times. Last edited by anudeep, Apr 29, 2025, 3:42 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
NerdyNashville
18 posts
#246
Y by
Answer
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megahertz13
3195 posts
#247
Y by
The answer is $0$ or $2x+c$ for any constant $c$. Clearly these work. Plug in $a=0$ to obtain \[f(0)+2f(b)=f(f(b)).\]Thus, \[f(f(a+b))=f(0)+2f(a+b)=f(2a)+2f(b).\]Therefore, \[f(2a)-f(0)=2f(a+b)-2f(b).\]Fix $a=1$ to obtain that $f(b+1)-f(b)$ is constant, so the function is linear or constant by induction (since the function is over integers). Plug these back into the original equation to obtain the solutions described above.
Z K Y
N Quick Reply
G
H
=
a