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

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
Functional Equation
AnhQuang_67   2
N 5 minutes ago by jasperE3
Find all functions $f: \mathbb{R} \to \mathbb{R}$ satisfying $$2\cdot f\Big(\dfrac{-xy}{2}+f(x+y)\Big)=xf(y)+y(x), \forall x, y \in \mathbb{R} $$











2 replies
AnhQuang_67
an hour ago
jasperE3
5 minutes ago
Assisted perpendicular chasing
sarjinius   4
N 9 minutes ago by X.Allaberdiyev
Source: Philippine Mathematical Olympiad 2025 P7
In acute triangle $ABC$ with circumcenter $O$ and orthocenter $H$, let $D$ be an arbitrary point on the circumcircle of triangle $ABC$ such that $D$ does not lie on line $OB$ and that line $OD$ is not parallel to line $BC$. Let $E$ be the point on the circumcircle of triangle $ABC$ such that $DE$ is perpendicular to $BC$, and let $F$ be the point on line $AC$ such that $FA = FE$. Let $P$ and $R$ be the points on the circumcircle of triangle $ABC$ such that $PE$ is a diameter, and $BH$ and $DR$ are parallel. Let $M$ be the midpoint of $DH$.
(a) Show that $AP$ and $BR$ are perpendicular.
(b) Show that $FM$ and $BM$ are perpendicular.
4 replies
sarjinius
Mar 9, 2025
X.Allaberdiyev
9 minutes ago
Problem 2
SlovEcience   1
N 28 minutes ago by Primeniyazidayi
Let \( a, n \) be positive integers and \( p \) be an odd prime such that:
\[
a^p \equiv 1 \pmod{p^n}.
\]Prove that:
\[
a \equiv 1 \pmod{p^{n-1}}.
\]
1 reply
SlovEcience
2 hours ago
Primeniyazidayi
28 minutes ago
H not needed
dchenmathcounts   45
N an hour ago by EpicBird08
Source: USEMO 2019/1
Let $ABCD$ be a cyclic quadrilateral. A circle centered at $O$ passes through $B$ and $D$ and meets lines $BA$ and $BC$ again at points $E$ and $F$ (distinct from $A,B,C$). Let $H$ denote the orthocenter of triangle $DEF.$ Prove that if lines $AC,$ $DO,$ $EF$ are concurrent, then triangle $ABC$ and $EHF$ are similar.

Robin Son
45 replies
dchenmathcounts
May 23, 2020
EpicBird08
an hour ago
No more topics!
Rational FEs
Functional   109
N Mar 29, 2025 by jl_
Source: IMO Shortlist 2018 A1
Let $\mathbb{Q}_{>0}$ denote the set of all positive rational numbers. Determine all functions $f:\mathbb{Q}_{>0}\to \mathbb{Q}_{>0}$ satisfying $$f(x^2f(y)^2)=f(x)^2f(y)$$for all $x,y\in\mathbb{Q}_{>0}$
109 replies
Functional
Jul 17, 2019
jl_
Mar 29, 2025
Rational FEs
G H J
G H BBookmark kLocked kLocked NReply
Source: IMO Shortlist 2018 A1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Functional
18 posts
#1 • 17 Y
Y by MarkBcc168, jisunxingfu, A-Thought-Of-God, centslordm, megarnie, jhu08, HWenslawski, ImSh95, Adventure10, Mango247, Spiritpalm, deplasmanyollari, Akacool, Sedro, Korean_fish_Kaohsiung, Funcshun840, ItsBesi
Let $\mathbb{Q}_{>0}$ denote the set of all positive rational numbers. Determine all functions $f:\mathbb{Q}_{>0}\to \mathbb{Q}_{>0}$ satisfying $$f(x^2f(y)^2)=f(x)^2f(y)$$for all $x,y\in\mathbb{Q}_{>0}$
This post has been edited 1 time. Last edited by Functional, Jul 17, 2019, 12:12 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Kayak
1298 posts
#2 • 6 Y
Y by centslordm, jhu08, megarnie, HWenslawski, ImSh95, Adventure10
Also Indian TST D2 P1
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
v_Enhance
6870 posts
#3 • 26 Y
Y by omerediprs, bubu_2001, Nathanisme, v4913, son7, Siddharth03, mijail, centslordm, math31415926535, megarnie, jhu08, HamstPan38825, myh2910, ImSh95, sail0r, fastandfuriuos, michaelwenquan, two_steps, Adventure10, sabkx, D_S, Sedro, Funcshun840, NicoN9, MS_asdfgzxcvb, NonoPL
The only answer is $f \equiv 1$.

Claim: We have $f(x^2) = f(x)^2$ for all $x \in {\mathbb Q}_{>0}$.

Proof. Letting $P(x,y)$ denote the given statement, plug in $P(f(1)^{-1}, 1)$ to deduce $f(f(1)^{-1}) = 1$. Then $P(x, f(1)^{-1})$ finishes. $\blacksquare$

Now, write the given as \[ f(y) = \left[ \frac{f(xf(y))}{f(x)} \right]^2. \]We prove by induction on $n \ge 0$ than all elements of $\operatorname{Img} f$ are $2^n$'th powers for each $n$. The base case $n = 0$ is vacuous, and the inductive step follows by above identity. It follows we must have $f$ equal to $1$ always. Okay, the end.

Remark: Note that $x \mapsto \sqrt x$ works if ${\mathbb Q}_{>0}$ is replaced by ${\mathbb R}_{>0}$. So the codomain actually matters here.
This post has been edited 1 time. Last edited by v_Enhance, Apr 30, 2020, 12:28 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
TheDarkPrince
3042 posts
#4 • 18 Y
Y by Pluto1708, Arhaan, ayan_mathematics_king, ftheftics, Math-wiz, DeZade2002, bubu_2001, hsiangshen, microsoft_office_word, Pluto04, A-Thought-Of-God, centslordm, jhu08, HoRI_DA_GRe8, ImSh95, rayfish, Adventure10, NonoPL
Functional wrote:
Let $\mathbb{Q}_{>0}$ denote the set of all positive rational numbers. Determine all functions $f:\mathbb{Q}_{>0}\to \mathbb{Q}_{>0}$ satisfying $$f(x^2f(y)^2)=f(x)^2f(y)$$for all $x,y\in\mathbb{Q}_{>0}$

Solution Plugging $x = \frac{1}{f(1)}, y = 1$ gives us $f\left(\frac{1}{f(1)}\right) = 1$. Plugging $x, \frac{1}{f(1)}$ gives us $f(x^2) = f(x)^2$. This gives us $f(xf(y))^2 = f(x)^2f(y)$ or $f(y)$ is a square of a rational for all positive rationals $q$. Now plug $f_1(x) = \sqrt{f(x)}$ to get $f_1(xf_1(y)^2)^4 = f_1(x)^4f_1(y)^2$ which again gives $f_1(y)$ is a square of a rational for all positive rationals $q$. This eventually gives us that $f(x)^{\frac{1}{2^n}}$ is a rational which is false for large $n$, therefore $f(x) = 1$ is the only solution which works. $~\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
BlazingMuddy
281 posts
#5 • 13 Y
Y by Dividend, pavel kozlov, Nathanisme, Pluto04, Siddharth03, centslordm, jhu08, megarnie, HoRI_DA_GRe8, ImSh95, chystudent1-_-, Adventure10, ihatemath123
As said above, the only answer is $f\equiv 1$.

By the original equality, for all $x, y\in \mathbb{Q}_{> 0}$,

$$f(f(x))^2 f(y) = f(f(x)^2 f(y)^2) = f(f(y))^2 f(x)$$
i.e. $\frac{f(x)}{f(y)} = \left(\frac{f(f(x))}{f(f(y))}\right)^2$ for all positive rational numbers $x$ and $y$. Continuing by induction,

$$ \frac{f(x)}{f(y)} = \left(\frac{f^k(x)}{f^k(y)}\right)^{2^{k-1}} $$
for all $k\geq 1$, where $f^k$ here means $k$-fold application of $f$. This implies that $2^{k-1}|v_p\left(\frac{f(x)}{f(y)}\right)$ for every positive integer $k$ and prime numbers $p$, so $f$ must be constant, and thus $f\equiv 1$, as desired.
This post has been edited 2 times. Last edited by BlazingMuddy, Jul 17, 2019, 1:08 PM
Reason: more edits :(
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Leartia
93 posts
#6 • 4 Y
Y by centslordm, HoRI_DA_GRe8, ImSh95, Adventure10
$f(x)=1,  \forall x\in \mathbb{Q^+}$

$P(x,y) \rightarrow f(x^{2}f(y)^2)=f(x)^{2}f(y) $

$P(1,x) \rightarrow f(f(x)^2)=f(1)^{2}f(x)...(A)$

$P(\displaystyle \frac{x}{f(x^2)},x^2) \rightarrow f(x^2)=f(\frac{x}{f(x^2)})^{2}f(x^2)$ $\Rightarrow  f(\displaystyle \frac{x}{f(x^2)})=1$

$\exists c\in \mathbb{Q^+}$ such that $f(c)=1$

$P(x,c) \rightarrow f(x^2)=f(x)^2$

$P(x,y^2) \rightarrow f(xf(y)^2)^2=f(x)^{2}f(y)^{2}$ $\Rightarrow f(xf(y)^2)=f(x)f(y) ... (1)$

In (1) let $x=1$ and we obtain $f(f(y)^2)=f(1)f(y)...(B)$

Combining (A) and (B) yields $f(1)=1$

So $f(f(x)^2)= f(f(x))^2= f(x)$ $\Rightarrow f^k(x)=\sqrt[k]{f(x)}$ where $k$ is a power of $2$.

Suppose that for some $a\in \mathbb{Q^+}$ such that $f(a)\neq 1$ let $f(a)=\displaystyle \frac{m}{n}$ such that $\gcd(m,n)=1$

Let $k$ be a power of $2$ with $V_{p}(m)<k \wedge V_{p}(n)<k$ for all primes $p$.

$f^k(a)=\sqrt[k]{f(a)}$ so $\sqrt[k]{f(a)} \in \mathbb{Q^+}$

Let $\sqrt[k]{\displaystyle\frac{m}{n}}=\displaystyle\frac{x}{y}$ for some $x,y \in \mathbb{N}$ with $\gcd(x,y)=1$

$my^k=nx^k$ if $p \mid m \Rightarrow p \mid x$

$V_{p}(my^k)=V_{p}(nx^k)$ Since $\gcd(x,y)=1$ $V_{p}(y)=0$

$V_{p}(my^k)=V_{p}(m)=V_{p}(x^k)=k \cdot V_{p}(x) \geq k$ this is clearly a contradiction and thus there doesn't exist any positive rational number $a$ with $f(a)\neq 1$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MarkBcc168
1594 posts
#7 • 7 Y
Y by Aryan-23, Pluto1708, centslordm, ImSh95, GeoMetrix, Adventure10, Mango247
Only constant function $x\to 1$ works. It clearly does. As usual, let $P(x,y)$ denote the assertion $f(x^2f(y)^2) = f(x)^2f(y)$.
$$P\left(\frac{1}{f(1)},1\right)\implies f(\text{something})=1.$$If $f(a)=1$, then $P(x,a)\implies f(x^2)=f(x)^2$. Thus
$$P(1,x)\implies f(x) = \left(\frac{f(f(x))}{f(1)}\right)^2\qquad (*).$$If we denote $\mathbb{Q}^n$ by $\{q^n : q\in\mathbb{Q}\}$ then (*) implies $\mathrm{Im}(f) \subseteq \mathbb{Q}^2$. Using (*) repeatedly gives $\mathrm{Im}(f) \subseteq \mathbb{Q}^4$, $\mathrm{Im}(f) \subseteq \mathbb{Q}^8$, $\mathrm{Im}(f) \subseteq \mathbb{Q}^{16}$,...
As $\bigcap\limits_{n=1}^\infty \mathbb{Q}^{2^n} = \{1\}$, this forces $f(x)=1$ for all $x$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sbealing
307 posts
#8 • 4 Y
Y by centslordm, ImSh95, Adventure10, Mango247
$$P \left(f(x),y \right) \Rightarrow f \left(f(x)^2 f(y)^2 \right)=f(f(x))^2 f(y)$$Swapping $x,y$ and equating gives:
$$f(f(x))^2 f(y)=f(f(y))^2 f(x) \Rightarrow \frac{f(f(x))^2}{f(x)}=\frac{f(f(y))^2}{f(y)}=c$$for some constant $c \in \mathbb{Q}_{>0}$ (as this holds $\forall x,y$). We now claim:
$$\underbrace{f \circ \cdots \circ f}_{\text{n times}}(x)=f^n(x)=c \cdot \left(\frac{f(x)}{c} \right)^{1/2^{n-1}}$$for all $n \geq 1$. This clearly holds for $n=1$. We go by induction. For $n \geq 2$:
$$f^{n}(x)=f(f(f^{n-2}(x)))=\left(c f(f^{n-2}(x)) \right)^{1/2}=\left(c f^{n-1}(x) \right)^{1/2}=\left(c^2 \left(\frac{f(x)}{c} \right)^{1/2^{n-2}} \right)^{1/2}$$and expanding out shows the result is true by induction.

But then we have:
$$\left(\frac{f(x)}{c} \right)^{1/2^{n-1}}=\frac{f^{n}(x)}{c} \in \mathbb{Q}_{>0}$$for all $n$. But if $p$ is prime this means for all $n$:
$$2^{n-1} \vert v_p \left(\frac{f(x)}{c} \right) \Rightarrow v_p \left(\frac{f(x)}{c} \right)=0 \Rightarrow \frac{f(x)}{c}=1$$Hence $f$ is constant and $c$ satisfies $c=c^3$ so we must have $c=1$ hence:
$$\boxed{f(x) \equiv 1}$$which indeed works
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
#9 • 4 Y
Y by Pluto04, centslordm, ImSh95, Adventure10
ISL 2018 A1 wrote:
Let $\mathbb{Q}_{>0}$ denote the set of all positive rational numbers. Determine all functions $f:\mathbb{Q}_{>0}\to \mathbb{Q}_{>0}$ satisfying $$f(x^2f(y)^2)=f(x)^2f(y)$$for all $x,y\in\mathbb{Q}_{>0}$

Let $P(x,y)$ denote the given FE. Let $k=f(1)\in\mathbb{Q}_{>0}$. Now,
\[P(x,1)\implies f((xk)^2)=f(x)^2k.\]Plugging in $x=1/k$ into this, we get that $k=f(1/k)^2k$, so $f(1/k)=1$. Now,
\[P(x,1/k)\implies f(x^2)=f(x)^2.\]Thus, the FE implies
\[f(y)=\left(\frac{f(xf(y))}{f(x)}\right)^2.\]
Claim: $f(y)$ is always a perfect $2^k$th power.

Proof of Claim: We proceed by induction on $k$. The case $k=0$ is trivial. Now, the equation we derived above shows that
\[f(y)=a^{2^{k+1}}\]for some rational $a$, which completes the induction. $\blacksquare$

This lemma then trivially implies that $f(x)=1$ for all $x$, which can easily be checked to be a solution.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
lminsl
544 posts
#10 • 6 Y
Y by kjy1102, Pluto04, centslordm, ImSh95, Adventure10, Mango247
Note that the only element $q\in \mathbb{Q}_{>0}$ which is a rational number when taken $\frac{1}{2^k}$-th power is $1$.
Let $x=f(z)$ at the given assertion, then $f(f(z)^2f(y)^2)=f(f(z))^2f(y)=f(f(y)^2)f(z)$. Hence there exists some $c \in \mathbb{Q}_{>0}$ such that $\frac{f(f(x))^2}{f(x)}=c$ for any $x$. Now consider $g(x)=\frac{f(x)}{c}$, then $g(f(x))^2=g(x)$ for any $x$. This means that $g(x), \sqrt{g(x)}, \cdots, \sqrt[2^k]{g(x)}, \cdots$ are all rationals, giving that $g$ is constantly $1$. Hence $f$ is constant, so $f \equiv 1$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ubermensch
820 posts
#11 • 5 Y
Y by centslordm, ImSh95, Adventure10, Mango247, ATGY
$P(\frac{1}{f(y)},y): f(1)=f(\frac{1}{f(y)})^2f(y)$ and $P(\frac{1}{f(y)^2},y): 1=f(\frac{1}{f(y)^2})f(y)$.
Put $y=1$ to get $f(1)=f(\frac{1}{f(1)})^2f(1)=> f(\frac{1}{f(1)})=1$. Now $P(x,\frac{1}{f(1)}): f(x^2)=f(x)^2$.
$P(1,y): f(f(y)^2)=f(y)=>f(f(y))=\sqrt{f(y)}$
Now, $P(\frac{1}{f(y)},f(y)): f(\frac{1}{f(y)^2} \cdot f(y))=f(\frac{1}{f(y)})^2 \cdot \sqrt{f(y)} => f(\frac{1}{f(y)}) \cdot \sqrt{f(y)} =1=>$$f(\frac{1}{f(y)})=\frac{1}{\sqrt{f(y)})}$.

Let's take $k=f(y)$, where $k$ is any value which $f(y)$ can take.
We know $f(kx)=\sqrt{k} f(x)$. Putting $x=\frac{1}{\sqrt{k}}$, we get $f(\sqrt{k})=\sqrt{k} \cdot f(\frac{1}{f(k)})$(as $f(k)=\sqrt{k}$)$=>f(k^{\frac12})=k^\frac14$(thus $k^{\frac14}$ is rational). Now repeat the drill to get $k^{\frac{1}{2^n}}$ is rational $=> k=1$.
$=>$ Only solution is $f \equiv 1$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
niyu
830 posts
#12 • 3 Y
Y by centslordm, ImSh95, Adventure10
We claim the answer is $\boxed{f \equiv 1}$, which obviously works.

Let $c = f\left(1\right)$, and let $P\left(x, y\right)$ denote the initial assertion. From $P\left(1, 1\right)$, we have
\begin{align*}
		f\left(c^2\right) &= c^3.
	\end{align*}Now, from $P\left(c^2, 1\right)$, we have
\begin{align*}
		f\left(c^6\right) &= c^7,
	\end{align*}while from $P\left(1, c^2\right)$, we have
\begin{align*}
		f\left(c^6\right) &= c^5.
	\end{align*}Hence, $c^5 = c^7$, and since $c \in \mathbb{Q}_{> 0}$, $c = 1$. Therefore, $f\left(1\right) = 1$. Now, $P\left(x, 1\right)$ implies
\begin{align*}
		f\left(x^2\right) &= f\left(x\right)^2.
	\end{align*}From $P\left(1, x\right)$, we have
\begin{align*}
		f\left(f\left(x\right)^2\right) &= f\left(x\right) \\
		f\left(f\left(x\right)\right)^2 &= f\left(x\right).
	\end{align*}Therefore, if $k$ is in the image of $f$, so is $k^{\frac{1}{2}}$. Iterating, we find that in fact $k^{\frac{1}{2^\ell}}$ is in the image of $f$ for all positive integers $\ell$. Now, suppose $k \neq 1$. Then, for $\ell$ large enough, $k^{\frac{1}{2^\ell}}$ will not be rational, contradiction. Hence, we must have $k = 1$. This immediately implies that $f \equiv 1$ identically, concluding the proof. $\Box$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mastermind.hk16
143 posts
#13 • 3 Y
Y by centslordm, ImSh95, Adventure10
The answer is $f(x) =1 \ \ \forall x \in \mathbb{Q^+}$.
Plug $x=\frac{1}{f(1)^2}\overset{def}{=} t, y=1 \longrightarrow f(1)=f(t)^2 f(1) \longrightarrow f(t)=1$.
Then $y=t \longrightarrow f(x^2) = f^2(x)  \ \ \forall x$. From here, $f(1)= f^2(1) \longrightarrow f(1)=1$.
Plug $x=1 \longrightarrow f^2(f(y))=f(f^2(y))=f(y) \longrightarrow f(f(y)) = \sqrt{f(y)} \dots (1)$. Fix a rational number $l$.

Claim: $f(l)$ is a $2^{n}$ power of a rational for all $n \in \mathbb{N}$.
Let $f^{[n]}(x) = \underbrace{f(f(\dots f(x))\dots )}_{n \ times}$
Then iterating $(1)$ we see that $$f^{[n+1]}(l) = f^{[n]}(f(l))= (f(f(l))^{\frac{1}{2^{n-1}}}=(f(l))^{\frac{1}{2^n}}$$And so our claim is proved.

Now, suppose $f(l) \neq 1$. Then by our claim, at some point $f(l)$ is irrational. Contradiction. So we are done.
This post has been edited 7 times. Last edited by mastermind.hk16, Aug 15, 2019, 3:11 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rocketscience
466 posts
#14 • 4 Y
Y by Imayormaynotknowcalculus, centslordm, ImSh95, Adventure10
As usual, let $P(x, y)$ denote the assertion and let $R$ denote the range of $f$. Observe that $P(1/f(1), 1)$ gives $1 \in R$. Then taking $P(x, c)$ where $f(c) = 1$ gives $f(x^2) = f(x)^2$. As a corollary, $f(1)=1$.

Now $P(x, y)$ rewrites as
\[f(xf(y)) = f(x) \sqrt{f(y)},\]and letting $x=1$ gives $f(f(y)) = \sqrt{f(y)}$. Equivalently, $c \in R$ implies $\sqrt{c} \in R$. It follows that $R = \{1\}$, so the constant function is our only solution.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
franchester
1487 posts
#15 • 3 Y
Y by centslordm, ImSh95, Adventure10
Let $P(x,y)$ denote the given assertion. I claim that $f(x)=1$ is the only solution, which is easily verifiable, and I will do this by showing that $f(x)$ is a perfect $2^n$th power of a rational for all $x\in \mathbb{Q}_{>0}$. We proceed with induction on $n$. The base case is easy: taking $P(1,x)$ gives $$f(f(x))^2=f(1)^2f(x)\implies f(x)=\left(\frac{f(f(x))}{f(1)}\right)^2$$Since $f$ maps $\mathbb{Q}_{>0}$ to $\mathbb{Q}_{>0}$, we must have $f(x)$ is a perfect square of a rational number for all $x\in \mathbb{Q}_{>0}$. Now assume the claim is true for some $n=k\geq 1$. Because of the assumption, we can set a function $g(x)$ such that $g(x)^{2^k}=f(x)$ over the same domain and range. We have $$g^{2^k}(x)=\left(\frac{g^{2^k}(f(x))}{g^{2^k}(1)}\right)^2=\left(\frac{g(f(x))}{g(1)}\right)^{2^{k+1}}$$Taking the $2^k$th root gives $$g(x)=\left(\frac{g(f(x))}{g(1)}\right)^2$$Since $g(x)$ is over $\mathbb{Q}_{>0}$, the LHS must be a perfect square of a rational for all $x$. Due to the definition of $g$ this means that $f(x)$ is a perfect $2^{k+1}$th power of some function over the positive rationals as well, completing the induction. Since $f(x)$ is a perfect $2^n$th power for any positive integer $n$, we must have that $f(x)=1$.
Z K Y
G
H
=
a