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 Adding contests to the Contest Collections
dcouchman   1
N Apr 5, 2023 by v_Enhance
Want to help AoPS remain a valuable Olympiad resource? Help us add contests to AoPS's Contest Collections.

Find instructions and a list of contests to add here: https://artofproblemsolving.com/community/c40244h1064480_contests_to_add
1 reply
dcouchman
Sep 9, 2019
v_Enhance
Apr 5, 2023
k i Zero tolerance
ZetaX   49
N May 4, 2019 by NoDealsHere
Source: Use your common sense! (enough is enough)
Some users don't want to learn, some other simply ignore advises.
But please follow the following guideline:


To make it short: ALWAYS USE YOUR COMMON SENSE IF POSTING!
If you don't have common sense, don't post.


More specifically:

For new threads:


a) Good, meaningful title:
The title has to say what the problem is about in best way possible.
If that title occured already, it's definitely bad. And contest names aren't good either.
That's in fact a requirement for being able to search old problems.

Examples:
Bad titles:
- "Hard"/"Medium"/"Easy" (if you find it so cool how hard/easy it is, tell it in the post and use a title that tells us the problem)
- "Number Theory" (hey guy, guess why this forum's named that way¿ and is it the only such problem on earth¿)
- "Fibonacci" (there are millions of Fibonacci problems out there, all posted and named the same...)
- "Chinese TST 2003" (does this say anything about the problem¿)
Good titles:
- "On divisors of a³+2b³+4c³-6abc"
- "Number of solutions to x²+y²=6z²"
- "Fibonacci numbers are never squares"


b) Use search function:
Before posting a "new" problem spend at least two, better five, minutes to look if this problem was posted before. If it was, don't repost it. If you have anything important to say on topic, post it in one of the older threads.
If the thread is locked cause of this, use search function.

Update (by Amir Hossein). The best way to search for two keywords in AoPS is to input
[code]+"first keyword" +"second keyword"[/code]
so that any post containing both strings "first word" and "second form".


c) Good problem statement:
Some recent really bad post was:
[quote]$lim_{n\to 1}^{+\infty}\frac{1}{n}-lnn$[/quote]
It contains no question and no answer.
If you do this, too, you are on the best way to get your thread deleted. Write everything clearly, define where your variables come from (and define the "natural" numbers if used). Additionally read your post at least twice before submitting. After you sent it, read it again and use the Edit-Button if necessary to correct errors.


For answers to already existing threads:


d) Of any interest and with content:
Don't post things that are more trivial than completely obvious. For example, if the question is to solve $x^{3}+y^{3}=z^{3}$, do not answer with "$x=y=z=0$ is a solution" only. Either you post any kind of proof or at least something unexpected (like "$x=1337, y=481, z=42$ is the smallest solution). Someone that does not see that $x=y=z=0$ is a solution of the above without your post is completely wrong here, this is an IMO-level forum.
Similar, posting "I have solved this problem" but not posting anything else is not welcome; it even looks that you just want to show off what a genius you are.

e) Well written and checked answers:
Like c) for new threads, check your solutions at least twice for mistakes. And after sending, read it again and use the Edit-Button if necessary to correct errors.



To repeat it: ALWAYS USE YOUR COMMON SENSE IF POSTING!


Everything definitely out of range of common sense will be locked or deleted (exept for new users having less than about 42 posts, they are newbies and need/get some time to learn).

The above rules will be applied from next monday (5. march of 2007).
Feel free to discuss on this here.
49 replies
ZetaX
Feb 27, 2007
NoDealsHere
May 4, 2019
Another Number Theory!
matinyousefi   7
N 7 minutes ago by MR.1
Source: Iran MO 2024 second round P6
Find all natural numbers $x,y>1$and primes $p$ that satisfy $$\frac{x^2-1}{y^2-1}=(p+1)^2. $$
7 replies
matinyousefi
Apr 19, 2024
MR.1
7 minutes ago
IMO Shortlist 2014 A2
hajimbrak   40
N 38 minutes ago by ezpotd
Define the function $f:(0,1)\to (0,1)$ by \[\displaystyle f(x) = \left\{ \begin{array}{lr} x+\frac 12 & \text{if}\ \  x < \frac 12\\ x^2 & \text{if}\ \  x \ge \frac 12 \end{array} \right.\] Let $a$ and $b$ be two real numbers such that $0 < a < b < 1$. We define the sequences $a_n$ and $b_n$ by $a_0 = a, b_0 = b$, and $a_n = f( a_{n -1})$, $b_n = f (b_{n -1} )$ for $n > 0$. Show that there exists a positive integer $n$ such that \[(a_n - a_{n-1})(b_n-b_{n-1})<0.\]

Proposed by Denmark
40 replies
hajimbrak
Jul 11, 2015
ezpotd
38 minutes ago
sequence positive
malinger   38
N an hour ago by ezpotd
Source: ISL 2006, A2, VAIMO 2007, P4, Poland 2007
The sequence of real numbers $a_0,a_1,a_2,\ldots$ is defined recursively by \[a_0=-1,\qquad\sum_{k=0}^n\dfrac{a_{n-k}}{k+1}=0\quad\text{for}\quad n\geq 1.\]Show that $ a_{n} > 0$ for all $ n\geq 1$.

Proposed by Mariusz Skalba, Poland
38 replies
malinger
Apr 22, 2007
ezpotd
an hour ago
3 numbers have their fractional parts lying in the interval
orl   13
N an hour ago by ezpotd
Source: IMO Shortlist 2000, A2
Let $ a, b, c$ be positive integers satisfying the conditions $ b > 2a$ and $ c > 2b.$ Show that there exists a real number $ \lambda$ with the property that all the three numbers $ \lambda a, \lambda b, \lambda c$ have their fractional parts lying in the interval $ \left(\frac {1}{3}, \frac {2}{3} \right].$
13 replies
orl
Aug 10, 2008
ezpotd
an hour ago
"Eulerian" closed walk with of length less than v+e
Miquel-point   0
Yesterday at 4:56 PM
Source: IMAR 2019 P4
Show that a connected graph $G=(V, E)$ has a closed walk of length at most $|V|+|E|-1$ passing through each edge of $G$ at least once.

Proposed by Radu Bumbăcea
0 replies
Miquel-point
Yesterday at 4:56 PM
0 replies
Cycle in a graph with a minimal number of chords
GeorgeRP   5
N Yesterday at 3:05 AM by Photaesthesia
Source: Bulgaria IMO TST 2025 P3
In King Arthur's court every knight is friends with at least $d>2$ other knights where friendship is mutual. Prove that King Arthur can place some of his knights around a round table in such a way that every knight is friends with the $2$ people adjacent to him and between them there are at least $\frac{d^2}{10}$ friendships of knights that are not adjacent to each other.
5 replies
GeorgeRP
May 14, 2025
Photaesthesia
Yesterday at 3:05 AM
Shortest cycle if sum d^2 = n^2 - n
Miquel-point   0
May 14, 2025
Source: KoMaL B. 4218
In a graph, no vertex is connected to all of the others. For any pair of vertices not connected there is a vertex adjacent to both. The sum of the squares of the degrees of vertices is $n^2-n$ where $n$ is the number of vertices. What is the length of the shortest possible cycle in the graph?

Proposed by B. Montágh, Memphis
0 replies
Miquel-point
May 14, 2025
0 replies
Counting monochromatic squares in K_n
Miquel-point   0
May 14, 2025
Source: KoMaL B. 5035
The edges of a complete graph on $n \ge 8$ vertices are coloured in two colours. Prove that the number of cycles formed by four edges of the same colour is more than $\frac{(n-5)^4}{64}$.

Based on a problem proposed by M. Pálfy
0 replies
Miquel-point
May 14, 2025
0 replies
Graph theory
VicKmath7   5
N May 14, 2025 by CBMaster
Source: St Petersburg 2007 MO
Find the maximal number of edges a connected graph $G$ with $n$ vertices may have, so that after deleting an arbitrary cycle, $G$ is not connected anymore.
5 replies
VicKmath7
Aug 30, 2021
CBMaster
May 14, 2025
forced vertices in graphs
Davdav1232   3
N May 14, 2025 by CBMaster
Source: Israel TST 7 2025 p2
Let \( G \) be a graph colored using \( k \) colors. We say that a vertex is forced if it has neighbors in all the other \( k - 1 \) colors.

Prove that for any \( 2024 \)-regular graph \( G \) that contains no triangles or quadrilaterals, there exists a coloring using \( 2025 \) colors such that at least \( 1013 \) of the colors have a forced vertex of that color.

Note: The graph coloring must be valid, this means no \( 2 \) vertices of the same color may be adjacent.
3 replies
Davdav1232
May 8, 2025
CBMaster
May 14, 2025
Disconnected Tree Subsets
AwesomeYRY   25
N May 13, 2025 by john0512
Source: TSTST 2021/5
Let $T$ be a tree on $n$ vertices with exactly $k$ leaves. Suppose that there exists a subset of at least $\frac{n+k-1}{2}$ vertices of $T$, no two of which are adjacent. Show that the longest path in $T$ contains an even number of edges. *

Vincent Huang
25 replies
AwesomeYRY
Dec 13, 2021
john0512
May 13, 2025
Social Club with 2k+1 Members
v_Enhance   24
N May 11, 2025 by mathwiz_1207
Source: USA December TST for IMO 2013, Problem 1
A social club has $2k+1$ members, each of whom is fluent in the same $k$ languages. Any pair of members always talk to each other in only one language. Suppose that there were no three members such that they use only one language among them. Let $A$ be the number of three-member subsets such that the three distinct pairs among them use different languages. Find the maximum possible value of $A$.
24 replies
v_Enhance
Jul 30, 2013
mathwiz_1207
May 11, 2025
Short combi omg
Davdav1232   6
N May 11, 2025 by DeathIsAwe
Source: Israel TST 2025 test 4 p3
Let \( n \) be a positive integer. A graph on \( 2n - 1 \) vertices is given such that the size of the largest clique in the graph is \( n \). Prove that there exists a vertex that is present in every clique of size \( n\)
6 replies
Davdav1232
Feb 3, 2025
DeathIsAwe
May 11, 2025
Croatian mathematical olympiad, day 1, problem 2
Matematika   6
N May 9, 2025 by Cqy00000000
There were finitely many persons at a party among whom some were friends. Among any $4$ of them there were either $3$ who were all friends among each other or $3$ who weren't friend with each other. Prove that you can separate all the people at the party in two groups in such a way that in the first group everyone is friends with each other and that all the people in the second group are not friends to anyone else in second group. (Friendship is a mutual relation).
6 replies
Matematika
Apr 10, 2011
Cqy00000000
May 9, 2025
Number of Polynomial Q such that P(x) | P(Q(x))
IndoMathXdZ   16
N Apr 20, 2025 by Ilikeminecraft
Source: IZHO 2021 P6
Let $P(x)$ be a nonconstant polynomial of degree $n$ with rational coefficients which can not be presented as a product of two nonconstant polynomials with rational coefficients. Prove that the number of polynomials $Q(x)$ of degree less than $n$ with rational coefficients such that $P(x)$ divides $P(Q(x))$
a) is finite
b) does not exceed $n$.
16 replies
IndoMathXdZ
Jan 9, 2021
Ilikeminecraft
Apr 20, 2025
Number of Polynomial Q such that P(x) | P(Q(x))
G H J
G H BBookmark kLocked kLocked NReply
Source: IZHO 2021 P6
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IndoMathXdZ
694 posts
#1 • 4 Y
Y by Rounak_iitr, Mango247, Mango247, Mango247
Let $P(x)$ be a nonconstant polynomial of degree $n$ with rational coefficients which can not be presented as a product of two nonconstant polynomials with rational coefficients. Prove that the number of polynomials $Q(x)$ of degree less than $n$ with rational coefficients such that $P(x)$ divides $P(Q(x))$
a) is finite
b) does not exceed $n$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Igore
2 posts
#2 • 9 Y
Y by MazeaLarius, Mathematicsislovely, Kobayashi, mijail, Assassino9931, hakN, Rounak_iitr, bin_sherlo, farhad.fritl
$P(x)$ is irreducible so if $P(x)$ and some $R(x)$ share a root then $P(x)|R(x)$. If $x_i$, $i=1,2,3...$ are roots of $P(x)$, then $Q(x_i)=x_j$. Suppose we have $Q_1(x_1)=Q_2(x_1)$. Then $P(x)|Q_1(x)-Q_2(x)$ so $Q_1(x)=Q_2(x)$. Now $Q(x_1)$ has at most $n$ different values so there are at most $n$ polynomials $Q(x)$.

Can someone see if this is correct?
This post has been edited 1 time. Last edited by Igore, Jan 9, 2021, 1:38 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
p_square
442 posts
#3 • 4 Y
Y by MazeaLarius, Atpar, Mathematicsislovely, Assassino9931
@Above, seems correct

The following solution is identical; posting it for storage.
We prove part b) directly, implying part a)
Let $\alpha$ be a root of $P$. Observe that $Q(\alpha)$ is a root of $P$. In particular, there are $n$ choices for $Q(\alpha)$. We claim that there is at most one such polynomial $Q$ for each choice.
Assume FTSOC that $Q_1(\alpha) = Q_2(\alpha)$. Observe that $\gcd(Q_1 - Q_2, P)$ is nonconstant and has degree $< n$. This contradicts the irreducibility of $P$.
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
#4 • 2 Y
Y by mathingbingo, Rounak_iitr
My favorite problem throughout the test. :-D

Pretty much similar to above.
For $n = 1$, note that $Q(x)$ must be constant by the condition of the problem. Take $a$ to be the root of polynomial $P$, then $Q(x) = a$ is the only solution, which may or may not satisfy the condition dependant on whether $a \in \mathbb{Q}$ or not, and therefore there are at most one solution.
Now, assume $n > 1$, then $P$ has no rational roots.
WLOG $P \in \mathbb{Z}[x]$ is irreducible.
Since $P(x) \mid P(Q(x))$, if $a$ is a root of $P$ then $Q(a)$ is also a root of $P$.
Let $\{ x_1, x_2, \dots, x_n \}$ be the set of complex roots of $P$. Thus $Q(x_i) = x_j$ for all $1 \le i,j \le n$.
Now, suppose there exists two polynomials $Q_1, Q_2 \in \mathbb{Q}[x]$ such that $Q_1(x_i) = Q_2(x_i)$. Therefore, $x - x_i \mid Q_1(x) - Q_2(x) \Rightarrow P(x) \mid Q_1(x) - Q_2(x)$ as $Q_1(x) - Q_2(x) \in \mathbb{Q}[x]$. Since $P$ is irreducible, then this forces $Q_1 = Q_2$. Therefore, there are at most one polynomial for each values of $Q(x_1)$, finishing the problem.


Some failed attempts and fakesolve
This post has been edited 4 times. Last edited by IndoMathXdZ, Jan 11, 2021, 7:25 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
JapanMO2020
126 posts
#5 • 1 Y
Y by Rounak_iitr
IndoMathXdZ wrote:
Let $P(x)$ be a nonconstant polynomial of degree $n$ with rational coefficients which can not be presented as a product of two nonconstant polynomials with rational coefficients. Prove that the number of polynomials $Q(x)$ of degree less than $n$ with rational coefficients such that $P(x)$ divides $P(Q(x))$
a) is finite
b) does not exceed $n$.

My Solution.

We know that $P$ is an irreducible polynomial, so if $\mathrm{gcd}(P, R)$ is non-constant then $P \lvert R$. We see that if $\mathbb{F}$ is the set of roots of $P$, then $Q : \mathbb{F} \rightarrow \mathbb{F}$. If $\mathbb{QF}$ is the set of all such polynomials $Q$, then $Q_i, Q_j \in \mathbb{QF}$ such that $Q_i \rightarrow Q_j = \sigma (Q_i)$ has one fixed point, then $P \lvert Q_i - Q_j$ which means that $Q_i = Q_j$, so there can exist at most $n$ polynomials $Q$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
alexiaslexia
110 posts
#6 • 6 Y
Y by Math_olympics, amar_04, mijail, David-Vieta, guptaamitu1, Rounak_iitr
When P2, P3 and P5 is hard, P6 gets a smoke screen.
Let $Q_1,Q_2,\ldots,Q_{n+1}$ satisfies the equation. Factoring out $Q_i(x)-Q_j(x)$ does wonders!
$\color{green} \rule{25cm}{2pt}$
$\color{green} \textbf{1 Claim and Done.}$ If there is a $k+1-$variabled polynomial with degree $\leq n-k$ so that
\[ P \mid S_k(Q_{i_1},Q_{i_2},\ldots,Q_{i_{k+1}}) \: \forall i_a \ne i_b, 1 \leq a,b \leq k+1 \cdots (1) \]then there exists a polynomial $S_{k+1}$ with degree $\leq n-k-1$ so that the same assertion holds for $k+2$ $Q-$polynomials.
$\color{green} \textbf{Proof.}$ Substracting two equations in similar form to $(1)$,
\[ P \mid S_k(Q_c,Q_{i_2},\ldots,Q_{i_{k+1}}) - S_k(Q_d,Q_{i_2},\ldots,Q_{i_{k+1}}) \]We see this as a polynomial in one-variable (the first one); explicitly, let $S_k(x_1,\ldots,x_{k+1}) = S^{(k)}_{x_2,\ldots,x_{k+1}}(x_1)$. So, the above expression is equal to
\[ S^{(k)}_{x_2,\ldots,x_{k+1}}(Q_c) - S^{(k)}_{x_2,\ldots,x_{k+1}}(Q_d) = (Q_c-Q_d) \cdot S_{k+1}(Q_c,Q_d,\ldots,Q_{i_{k+1}}) \]for some $S_{k+1}$. As we know that $\gcd{P,Q_c-Q_d} = 1$, then we know that
\[ P \mid S_{k+1}(Q_c,Q_d,\ldots,Q_{i_{k+1}}) \]Note that this $S_{k+1}$ is equal for every $k+2-$tuple of polynomials $Q_{c},Q_d,\ldots,Q_{i_{k+1}}$, as the initial polynomial $S_k$ is equal for all initial tuples. $\blacksquare$ $\blacksquare$
$\color{red} \rule{25cm}{2pt}$
$\color{red} \textbf{1 Line Finish.}$ First, we let $S_0 = P$. Applying the Lemma $n-1$ times we will reach the polynomial $S_{n-1}$ with degree at most $n-(n-1) = 1$, so that
\[ P \mid k_1 \cdot Q_1+k_2 \cdot Q_2+\ldots+k_n \cdot Q_n+C \]However, repeating this for $(Q_{n+1},Q_2,\ldots,Q_n)$ yields
\[ P \mid k_1 \cdot Q_{n+1}+k_2 \cdot Q_2+\ldots+k_n \cdot Q_n+C \]Substracting those two equations, we get
\[ P \mid k_1 \cdot (Q_1-Q_{n+1}) \]which is impossible. $\blacksquare$ $\blacksquare$ $\blacksquare$
Short motivational remarks for Short Solution.
Attachments:
2INA11-11-13.pdf (388kb)
This post has been edited 1 time. Last edited by alexiaslexia, Jan 15, 2021, 2:26 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
math90
1477 posts
#7 • 1 Y
Y by guptaamitu1
WLOG $P\left(x\right)$ is monic of degree $n$. Assume there exist distinct polynomials $Q_1\left(x\right),\dots,Q_{n+1}\left(x\right)\in\mathbb{Q}\left[x\right]$ such that $P\left(x\right)$ divides $P\left(Q_i\left(x\right)\right)$ for each $i$.
Consider the $\left(n+1\right)\times\left(n+1\right)$ matrices
\[A=\begin{bmatrix}
1 & Q_1 & Q_1^2 & \ldots & Q_1^{n-1} & P\left(Q_1\right) \\
1 & Q_2 & Q_2^2 & \ldots & Q_2^{n-1} & P\left(Q_2\right) \\
1 & Q_3 & Q_3^2 & \ldots & Q_3^{n-1} & P\left(Q_3\right) \\
\vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\
1 & Q_{n+1} & Q_{n+1}^2 & \ldots & Q_{n+1}^{n-1} & P\left(Q_{n+1}\right) 
\end{bmatrix}\]and
\[B=\begin{bmatrix}
1 & Q_1 & Q_1^2 & \ldots & Q_1^{n-1} & Q_1^n \\
1 & Q_2 & Q_2^2 & \ldots & Q_2^{n-1} & Q_2^n \\
1 & Q_3 & Q_3^2 & \ldots & Q_3^{n-1} & Q_3^n \\
\vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\
1 & Q_{n+1} & Q_{n+1}^2 & \ldots & Q_{n+1}^{n-1} & Q_{n+1}^n
\end{bmatrix}\]Since $P\left(x\right)$ is monic we have $\det\left(A\right)=\det\left(B\right)$ by column operations. Moreover $P\left(x\right)\mid\det\left(A\right)$ by the determinant formula and since $P\left(x\right)$ divides $P\left(Q_i\left(x\right)\right)$ for each $i$. Hence by Vandermonde's identity,
\[P\left(x\right)\mid\det\left(A\right)=\det\left(B\right)=\prod_{i<j}\left(Q_j\left(x\right)-Q_i\left(x\right)\right)\]Since $P\left(x\right)$ is irreducible we must have $P\left(x\right)\mid Q_j\left(x\right)-Q_i\left(x\right)$ for some $i<j$. Since $\deg\left(Q_j-Q_i\right)<n$ we must have $Q_i=Q_j$, contradiction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Lioghte24
38 posts
#8 • 3 Y
Y by Rounak_iitr, Mango247, Mango247
So basically the same solution as above like #2, but anyway, posting it for storage... :)
First it is known that if polynomial $P$ in $\mathbb{Q}[x]$ is irreducible and other polynomial $F$ has the same root as $P$, then $P\mid F$.
Also irreducible polynomials don't have double roots which can be checked also using above lemma.
So if polynomial $P(x)\mid P(Q(x))$ then we get that $P(Q(x))=P(x)F(x)$ for some $F$ then by plugging roots $\omega_{i}$ in this equality we get that $P(Q(\omega_{i}))=0$ so $Q(\omega_{i}); 1\le i\le n$ is in set of roots of $P$. Now we prove $b)$ so also directly proving $a)$.
Suppose we have more than $n$ distinct polynomials $Q_{1},...,Q_{t}$ such that they satisfy the condition, by pigeonhole principle we must have that for some $i$ and $j$ we have $Q_{i}(\omega_1)=Q_{j}(\omega_1)$, but by making a new polynomial $Q_{i}(x)-Q_{j}(x)$ we get that it is divisible by $P$ but it's degree is smaller so impossible unless $Q_{i}(x)-Q_{j}(x)$ is zero polynomial but then they are identical, contrary to hypothesis, done!
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IAmTheHazard
5001 posts
#9
Y by
Suppose the roots of $P$ are $r_1,\ldots,r_k$ (counted without multiplicity), so $k \leq n$. Since $P$ is irreducible over $\mathbb{Q}[x]$, every $r_i$ must be an algebraic number of degree $n$.
If $P(x) \mid P(Q(x))$, then for all $1 \leq i \leq k$, there must exist some $1 \leq j \leq k$ such that $Q(r_i)=r_j$, since otherwise we would have $P(r_i)=0$ and $P(Q(r_i))\neq 0$. I claim that $Q$ is uniquely determined by $Q(r_1)$. Indeed, suppose that we had two different polynomials $Q_1,Q_2$ of degree at most $n-1$ such that $Q_1(r_1)=Q_2(r_1)$. Then $Q_1-Q_2$ also has degree at most $n-1$ and has $r_1$ as a root. But this contradicts the fact that $r_1$ is degree $n$, hence $Q$ is unique. To finish, note that there are $k$ possibilities for $Q(r_1)$, hence there are at most $n$ choices for $Q$, 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.
megarnie
5610 posts
#10
Y by
Let $P$ have distinct roots $r_1, r_2, \ldots, r_m$ for some positive integer $m\le n$. We see that there exists $j$ satisfying $Q(r_i) = r_j$ for each $1\le i\le m$.

Claim: For each value of $Q(r_1)$, there is at most one possible polynomial $Q$.
Proof: Suppose there were two distinct polynomials $p$ and $q$ of degree less than $n$ in $\mathbb{Q}[x]$, where $P(x)$ divides $P(p(x))$ and $P(q(x))$, and $p(r_1) = q(r_1)$. WLOG $p(r_1) = r_2$. Then we see that $r_2$ is a root of $p(x) - q(x)$, so $P(x)\mid p(x) - q(x)$. Since $p(x)$ and $q(x)$ have degree less than $n$, $p(x) - q(x)$ must be the zero polynomial, which is absurd because $p$ and $q$ are different. $\square$

The result follows because there are at most $m\le n$ possible values for $Q(r_1)$.
This post has been edited 1 time. Last edited by megarnie, Aug 8, 2023, 1:02 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
YaoAOPS
1541 posts
#11 • 1 Y
Y by Rounak_iitr
Chinese Antiproblems :flushed:.

Claim: If $z$ is a root of $P$, then $Q(z)$ must also be a root.
Proof. Follows as $P(Q(z)) = 0$. $\blacksquare$

Claim: There are at most $n$ possible $Q$.
Proof. FTSOC suppose that $n + 1$ such $Q$ existed. Then by pigeonhole, for a fixed root $z$ there exist polynomials $Q_1, Q_2$ such that $Q_1(z) - Q_2(z) = 0$. It then follows that $Q_1 - Q_2$ has degree less than $n$ but has $z$ as a root, contradiction since $P$ is irreducible and thus minimal. $\blacksquare$
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
#12 • 1 Y
Y by Rounak_iitr
Let $R$ be the set of roots of $P$. Then notice that the condition implies that for any $\alpha \in R$, then $Q(\alpha) \in R$ too.

Fix an $\alpha \in R$. If there are more than $n$ possible $Q$, say $Q_1, Q_2, \dots, Q_n$, then there exists $Q_1(\alpha) = Q_2(\alpha)$, hence the minimal polynomial of $\alpha$ is $\deg(Q_1-Q_2) < \deg P$, contradiction.
This post has been edited 2 times. Last edited by HamstPan38825, Oct 13, 2023, 3:20 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Rounak_iitr
456 posts
#15
Y by
Here's The official solution.
$\color{red}\textbf{Claim:-}$ It is known that an irreducible polynomial $P(x)$ of degree n with rational coeffcients has $n$
different complex roots which we denote by $\alpha_1,\alpha_2,..,\alpha_n$
$\color{blue}\textbf{Proof:-}$ $(a)$ If $P(x)$ divides $P(Q(x)),$ then $Q(\alpha k)$ is also a root of $P(x)$ for each$ k \le n$. It follows that the values of $Q(x)$ at $\alpha_1,\alpha_2,....\alpha_n$ form a sequence $\alpha_{i1},\alpha_{i2},.......,\alpha_{in}$, where all terms are roots of $P(x)$ not necessarily different. The number of such sequences is $n$ , and for each sequence there exists at most one polynomial
$Q(x)$ such that $Q(\alpha _k) = \alpha_{ik}$ (since two polynomials of degree less than $n$ with equal values at $n$ points must coincide).

$(b)$ Thus the number of possible polynomials $Q(x)$ does not exceed $n$ For each polynomial $Q(x)$ satisfying the condition, $Q(\alpha_1)$ equals one of the roots $\alpha_i$. However, there is at most one polynomial $Q(x)$ of degree less than $n$ with rational coefficients such that $Q(\alpha_1) = \alpha_i$, Indeed, if
$Q_1(\alpha_1) = Q_2(\alpha_1) = \alpha_i,$ then $\alpha_1$ is a root of the polynomial $Q_1(x)-Q_2(x)$ with rational coefficients and degree
less than $n.$ If this polynomial is not identically zero, its greatest common divisor with $P(x)$ is a nonconstant
divisor of $P(x)$ with rational coefficients and degree less than $n,$ a contradiction.
Thus the number of possible polynomials $Q(x)$ does not exceed $n.$
This post has been edited 1 time. Last edited by Rounak_iitr, Jan 15, 2024, 1:03 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Physicsknight
642 posts
#17 • 2 Y
Y by GeoKing, MS_asdfgzxcvb
Let $\alpha$ be a root of $P$ and let $K=Q(\alpha) =\frac{ Q[x]}{(P)}.$ Since $P$ is irreducible it's the minimal polynomial of $\alpha$, and thus $P$ divides a polynomial $R$ iff $R(\alpha)=0. $ It follows that $P\mid P(Q)$ iff $Q(\alpha)$ is one of the roots of $P$ in $K$.

In particular let $T\in Q(x) $ be an arbitrary polynomial and let $Q(x) = P(x)T(x)+x$. Then $P(Q(\alpha)) = P(P(\alpha)T(\alpha)+\alpha) = P(\alpha) = 0$.

More generally, let $\{ \alpha_i \}_{i=1}^k$ be the roots of $P$ in $K$ so $k\leq n$ and this is the "at most n" in the question. For each $i$ there is a unique polynomial $R_i \in Q[x]$ of degree less than $n$ so that $\alpha_i = R_i(\alpha)$ (in the example above $R(x)=x$). Then $P | P(Q)$ iff there is $i$ so that $Q(\alpha) = \alpha_i$ iff $Q(\alpha)-R_i(\alpha) = 0$ iff $P | Q-R_i$.

We conclude that $P | P(Q)$ iff there are $T\in Q[x]$ and $i$ so that $Q = PT+R_i$.

Since the degree of $R_i$ is strictly less than $n$ and the degree of $PT$ is a multiple of $n$ (the degree of $P$) we see that the degree of $Q$ can be at most $n$ only if $T=0$. Thus the only choices for $Q$ are the $R_i$ themselves, and the number of solutions is exactly the number of roots of $P$ in $K.$
$\blacksquare$

Note- Here we should prove that there are at most $n$ polynomials $Q$ with rational coefficients and degree less than $n$ so that the composition $P\circ Q$ is divisible by $P$ in the ring of polynomials with rational coefficients $.$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OronSH
1746 posts
#18 • 2 Y
Y by MS_asdfgzxcvb, megarnie
Let $r$ be a root of $P$. If $Q_1,Q_2$ are distinct and valid and satisfy $Q_1(r)=Q_2(r)$ then $Q_1-Q_2$ has root $r$ and degree $<n$, but $P$ is the minimal polynomial of $r$, impossible. Now $P(x)\mid P(Q(x))$ implies $Q(r)$ is one of $n$ roots of $P$, so at most $n$ valid $Q$ exist, one for each root.
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
#19 • 1 Y
Y by OronSH
Let $\alpha_1,\alpha_2,\dots,\alpha_n$ be the roots of $P(x)$. Then $\alpha_1$ is a root of $P(Q(x))$, so $Q(\alpha_1)=\alpha_k$ for some $k$. For each $k$, there exists at most one such polynomial (since the difference between two of them would need to be a multiple of $P$), done. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilikeminecraft
656 posts
#20
Y by
Note that we clearly require all of the roots of $P$ to be complex. Let $z_1, z_2, \dots, z_n$ be the $n$ roots. For every $i,$ we require $Q(z_i) = z_j$ for some $j.$ Now, suppose there existed more than $n - 1$ such polynomials. By PHP, there must exist $Q_1, Q_2$ that work and $Q_1(z_1) = Q_2(z_1).$ If we subtract, then $Q_1(X) - Q_2(X)$ is a rational polynomial with root $z_1.$ However, $P$ is the minimal polynomial of $z_1,$ as $P$ is irreducible. Thus, $P\mid Q_1 - Q_2,$ implying $Q_1 = Q_2$ due to degree. This finishes.
Z K Y
N Quick Reply
G
H
=
a