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
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
Range of ab + bc + ca
bamboozled   1
N 3 minutes ago by sqing
Let $(a^2+1)(b^2+1)(c^2+1) = 9$, where $a, b, c \in R$, then the number of integers in the range of $ab + bc + ca$ is __
1 reply
1 viewing
bamboozled
18 minutes ago
sqing
3 minutes ago
Functional Equation
AnhQuang_67   4
N 4 minutes ago by AnhQuang_67
Find all functions $f: \mathbb{R} \to \mathbb{R}$ satisfying $$2\cdot f\Big(\dfrac{-xy}{2}+f(x+y)\Big)=xf(y)+yf(x), \forall x, y \in \mathbb{R} $$
4 replies
AnhQuang_67
Yesterday at 4:50 PM
AnhQuang_67
4 minutes ago
Inradius and ex-radii
bamboozled   0
12 minutes ago
Let $ABC$ be a triangle and $r, r_1, r_2, r_3$ denote its inradius and ex-radii opposite to the vertices $A, B, C$ respectively. If $a> r_1, b > r_2$ and $c > r_3$, then which of the following is/are true?
(A) $\angle{B}$ is obtuse
(B) $\angle{A}$ is acute
(C) $3r > s$, where $s$ is semi perimeter
(D) $3r < s$, where $s$ is semi perimeter
0 replies
bamboozled
12 minutes ago
0 replies
Inspired by giangtruong13
sqing   1
N 15 minutes ago by sqing
Source: Own
Let $ a,b\in[\frac{1}{2},1] $. Prove that$$ 64\leq (a+b^2+\frac{4}{a^2}+\frac{2}{b})(b+a^2+\frac{4}{b^2}+\frac{2}{a})\leq\frac{6889}{16} $$Let $ a,b\in[\frac{1}{2},2] $. Prove that$$ 8(3+2\sqrt 2)\leq (a+b^2+\frac{4}{a^2}+\frac{2}{b})(b+a^2+\frac{4}{b^2}+\frac{2}{a})\leq\frac{6889}{16} $$
1 reply
1 viewing
sqing
22 minutes ago
sqing
15 minutes ago
Angles, similar triangles, geometry problem
smalkaram_3549   0
28 minutes ago
Completely stuck on this problem.
0 replies
smalkaram_3549
28 minutes ago
0 replies
Conditional maximum
giangtruong13   2
N 31 minutes ago by sqing
Source: Specialized Math
Let $a,b$ satisfy that: $1 \leq a \leq2$ and $1 \leq b \leq 2$. Find the maximum: $$A=(a+b^2+\frac{4}{a^2}+\frac{2}{b})(b+a^2+\frac{4}{b^2}+\frac{2}{a})$$
2 replies
+1 w
giangtruong13
Mar 22, 2025
sqing
31 minutes ago
inequality ( 4 var
SunnyEvan   3
N 43 minutes ago by SunnyEvan
Let $ a,b,c,d \in R $ , such that $ a+b+c+d=4 . $ Prove that :
$$ a^4+b^4+c^4+d^4+3 \geq \frac{7}{4}(a^3+b^3+c^3+d^3) $$$$ a^4+b^4+c^4+d^4+ \frac{252}{25} \geq \frac{88}{25}(a^3+b^3+c^3+d^3) $$equality cases : ?
3 replies
SunnyEvan
Yesterday at 5:19 AM
SunnyEvan
43 minutes ago
Inspired by JK1603JK
sqing   16
N an hour ago by sqing
Source: Own
Let $ a,b,c\geq 0 $ and $ab+bc+ca=1.$ Prove that$$\frac{abc-2}{abc-1}\ge \frac{4(a^2b+b^2c+c^2a)}{a^3b+b^3c+c^3a+1} $$
16 replies
sqing
Yesterday at 3:31 AM
sqing
an hour ago
Addition on the IMO
naman12   138
N an hour ago by NicoN9
Source: IMO 2020 Problem 1
Consider the convex quadrilateral $ABCD$. The point $P$ is in the interior of $ABCD$. The following ratio equalities hold:
\[\angle PAD:\angle PBA:\angle DPA=1:2:3=\angle CBP:\angle BAP:\angle BPC\]Prove that the following three lines meet in a point: the internal bisectors of angles $\angle ADP$ and $\angle PCB$ and the perpendicular bisector of segment $AB$.

Proposed by Dominik Burek, Poland
138 replies
naman12
Sep 22, 2020
NicoN9
an hour ago
Problem 1
blug   5
N an hour ago by rchokler
Source: Polish Math Olympiad 2025 Finals P1
Find all $(a, b, c, d)\in \mathbb{R}$ satisfying
\[\begin{aligned}
\begin{cases}
    a+b+c+d=0,\\
    a^2+b^2+c^2+d^2=12,\\
    abcd=-3.\\
\end{cases}
\end{aligned}\]
5 replies
blug
Yesterday at 11:46 AM
rchokler
an hour ago
Hard functional equation
Hopeooooo   33
N 3 hours ago by jasperE3
Source: IMO shortlist A8 2020
Let $R^+$ be the set of positive real numbers. Determine all functions $f:R^+$ $\rightarrow$ $R^+$ such that for all positive real numbers $x$ and $y:$
\[f(x+f(xy))+y=f(x)f(y)+1\]
Ukraine
33 replies
Hopeooooo
Jul 20, 2021
jasperE3
3 hours ago
series and factorials?
jenishmalla   9
N 3 hours ago by mpcnotnpc
Source: 2025 Nepal ptst p4 of 4
Find all pairs of positive integers \( n \) and \( x \) such that
\[
1^n + 2^n + 3^n + \cdots + n^n = x!
\]
(Petko Lazarov, Bulgaria)
9 replies
jenishmalla
Mar 15, 2025
mpcnotnpc
3 hours ago
Geo with unnecessary condition
egxa   8
N 4 hours ago by ErTeeEs06
Source: Turkey Olympic Revenge 2024 P4
Let the circumcircle of a triangle $ABC$ be $\Gamma$. The tangents to $\Gamma$ at $B,C$ meet at point $E$. For a point $F$ on line $BC$ which is not on the segment $BC$, let the midpoint of $EF$ be $G$. Lines $GB,GC$ meet $\Gamma$ again at points $I,H$ respectively. Let $M$ be the midpoint of $BC$. Prove that the points $F,I,H,M$ lie on a circle.

Proposed by Mehmet Can Baştemir
8 replies
egxa
Aug 6, 2024
ErTeeEs06
4 hours ago
USAMO 2000 Problem 3
MithsApprentice   9
N 5 hours ago by Anto0110
A game of solitaire is played with $R$ red cards, $W$ white cards, and $B$ blue cards. A player plays all the cards one at a time. With each play he accumulates a penalty. If he plays a blue card, then he is charged a penalty which is the number of white cards still in his hand. If he plays a white card, then he is charged a penalty which is twice the number of red cards still in his hand. If he plays a red card, then he is charged a penalty which is three times the number of blue cards still in his hand. Find, as a function of $R, W,$ and $B,$ the minimal total penalty a player can amass and all the ways in which this minimum can be achieved.
9 replies
MithsApprentice
Oct 1, 2005
Anto0110
5 hours ago
Rotating segment by 45 degrees and interchanging endpoints.
Goutham   9
N Mar 6, 2025 by Mathandski
A needle (a segment) lies on a plane. One can rotate it $45^{\circ}$ round any of its endpoints. Is it possible that after several rotations the needle returns to initial position with the endpoints interchanged?
9 replies
Goutham
Feb 9, 2011
Mathandski
Mar 6, 2025
Rotating segment by 45 degrees and interchanging endpoints.
G H J
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Goutham
3130 posts
#1 • 2 Y
Y by Adventure10, Mango247
A needle (a segment) lies on a plane. One can rotate it $45^{\circ}$ round any of its endpoints. Is it possible that after several rotations the needle returns to initial position with the endpoints interchanged?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Akashnil
736 posts
#2 • 7 Y
Y by Aryan-23, Adventure10, Mango247, ohiorizzler1434, and 3 other users
Let the needle's endpoints initially lie at two adjacent lattice points in the cartesian coordinate plane.
It is clear that after some rotations, an endpoint's coordinates will be of the form:
$(a+b\cdot 2^{-\frac{1}{2}}, c+d\cdot 2^{-\frac{1}{2}})$, where $a,b,c,d\in \mathbb Z$
Since, $1, 2^{-\frac{1}{2}}$ are linearly independent over $\mathbb Z$, this is a unique representation.
the parity of $a+b$ is invariant for both endpoints. They start at different parity. So they can't interchange positions.
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 • 5 Y
Y by HamstPan38825, Aryan-23, JAnatolGT_00, khina, john0512
Solution from Twitch Solves ISL: The answer is no.

Work in ${\mathbb Z}[\omega]$ where $\omega = \cos(45^{\circ})+i\sin(45^{\circ})$. Draw the needle as a directed segment from $0$ to $1$ in the plane.
We will only keep track of the left end point: if the endpoint is located at $z$. Rotations around the other endpoint correspond to \[ z \mapsto z + \omega^k - \omega^{k-1} \]for some choice of $\omega$.
The claim is that we never can reach $1$. To prove this we only need show the following claim, which proves the relevant invariant.

Claim: $0 \not\equiv 1 \pmod{\omega-1}$ in ${\mathbb Z}[\omega]$.
Proof. It suffices to show ${\mathbb Z}[\omega]/(\omega-1)$ is not trivial. Write ${\mathbb Z}[\omega] = {\mathbb Z}[T] / (T^4+1)$, then \[ {\mathbb Z}[\omega]/(\omega-1) 		\cong {\mathbb Z}[T] / \left( T^4+1, T-1 \right) 		\cong {\mathbb Z} / 2 = {\mathbb F}_2 \]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.
IAmTheHazard
5001 posts
#5
Y by
Essentially the same as #2, but this is how I thought about it

Position the needle such that one endpoint is at $(0,0)$ and the other is at $(1,0)$, and WLOG rotate about the left endpoint first. Suppose a sequence of rotations works. Right before we switch endpoints to rotate around, draw the needle's current position on the plane. Also draw the line joining $(0,0)$ and $(1,0)$. Then the drawn segments clearly form a cycle/polygon. Furthermore, because the endpoints must be interchanged, there must be an odd number of vertices on this graph. On the other hand, every drawn segment has length $1$ and is either horizontal, vertical or has slope $\pm 1$. Because $1$ and $\sqrt{2}$ are linearly independent over $\mathbb{Z}$, it then follows that to end at the same position we started, we need an even number of horizontal and an even number of vertical edges. By rotating the argument $45^\circ$ the same is true for edges with slope $1$ and edges with slope $-1$, so there are an even number of edges and thus vertices: contradiction. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
popop614
270 posts
#6
Y by
The answer should be no. Let $\omega = e^{\frac{\pi i}{4}}$.

We start at $0$. A move consists of taking a complex number $z$ and adding $\omega^k$ where $k$ is some integer from $0$ to $7$. (Effectively what this does is that we rotate the needle by some amount, and then jump to the other endpoint.) We now show that the number of moves must be even, if we return to $0$. More formally, if

\[ \sum_{k = 0}^{7} a_k\omega^k = 0 \]for some integers $a_0$ through $a_7$, we must have that
\[ \sum_{k = 0}^{7} a_k \equiv 0 \pmod{2}.\]
In fact we can assume that $a_4$ through $a_7$ are zero, by subtracting pairs of $0 = \omega^k + \omega^{k + 4}$ while preserving the parity.

Now consider the real part of this thing. We have $a_0 + \frac{\sqrt{2}}{2}a_1 - \frac{\sqrt{2}}{2}a_3 = 0$. As such $a_0 = 0$. Likewise, $a_2 = 0$. This then forces $a_1 = a_3 = 0$, so the statement is true.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HamstPan38825
8857 posts
#7
Y by
Does this work?

The answer is no. Let $\omega$ be a primitive eighth root of unity. Suppose otherwise, and consider the locus of all positions of the segment. Modulo the first and last positions, all such segments $\ell$ form an equilateral polygon with an odd number of sides.

As a result, there must exist some odd number of $\omega^k$'s that sum to $0$; equivalently, there exists a polynomial $f \in \mathbb Z[X]$ such that $f(1)$ is odd and $f(\omega) = 0$.

But then $X^4+1 \mid f$, and hence $2 \mid f(1)$, contradiction!
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
blackbluecar
302 posts
#8
Y by
I have a very silly solution, which by the looks of things looks kinda different from the other solutions.

We place the needle on the complex plane with one end at $0$ and the other at $1$. We will let $z_0=0$ and $z_1=1$ and after $n$ moves, we let $z_n$ denote the new endpoint of the needle after a move. Note that if $\omega = e^{\frac{\pi i}{4}}$ then we can set up the following recurrence relation for $z_1,z_2, \ldots$ \[ z_{n} = \omega^{e_{n}}(z_{n-2}-z_{n-1})-z_{n-2} = (1- \omega^{e_{n}})z_{n-1}+\omega^{e_{n}}z_{n-2}\]for an arbitrary sequence of integers $e_1,e_2, \ldots$. This recurrence works because we translate $z_n$ to a new point $w$ on the unit circle, rotate it by $e_{n} \cdot \frac{\pi}{4}$ and undo the translation, which is exactly the operation we desire.

Claim: If $k$ is odd and $a_1,a_2, \ldots, a_k$ are integers, then \[ \omega^{a_1}+\omega^{a_2}+ \cdots + \omega^{a_k} \not = 0 \]
This is equivalent to showing that if $t_1\omega^1+t_2\omega^2+ \cdots +t_8\omega^8 = 0$ then $t_1+t_2+ \cdots +t_8$ is even. Indeed, note that \[ \Re(t_1\omega^1+t_2\omega^2 \cdots +t_8\omega^8) = t_1\cdot \Re(\omega^1)+t_2 \cdot \Re(\omega^2) \cdots +t_8 \cdot \Re(\omega^8)=0 \]\[ \implies (t_1+t_3-t_5-t_7) \frac{\sqrt{2}}{2} + t_2+t_4 = 0 \implies t_1+t_3-t_5-t_7=0 \]So, $t_1+t_3+t_5+t_7$ is even. We also note that \[\omega \cdot (t_1\omega^1+t_2\omega^2 \cdots +t_8\omega^8) = 0 \implies t_8\omega^1+t_1\omega^2 \cdots +t_7\omega^8\]So, $t_2+t_4+t_6+t_8$ is even by the same logic. Thus, $t_1+t_3+ \cdots +t_8$ is even as desired. $\square$

Thus, if we let $A_n$ denote the number of terms in the expansion of $z_n$, we can set up the following recursion \[ z_{n} = (1- \omega^{e_{n}})z_{n-1}+\omega^{e_{n}}z_{n-2} = z_{n-1} + \omega^{e_n+4} \cdot z_{n-1} + \omega^{e_n}z_{n-2}\]\[ \implies A_n = 2A_{n-1} + A_{n-2} \]Where $A_0=0$ and $A_1=1$. Note that this recursion implies that for all odd $k$, we have $A_k \equiv A_{k-2} \equiv \cdots \equiv A_1 \equiv 1 \pmod{2}$. Thus, $z_k$ has an odd number of terms in it's $\omega$ expansion. Thus, $z_k \not = 0 = z_0$ for all odd $k$. So, the two ends of the needle cannot swap.
This post has been edited 1 time. Last edited by blackbluecar, Dec 29, 2023, 6:14 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
dolphinday
1318 posts
#10
Y by
Work in $\mathbb{Z}\left[\frac{\sqrt{2}}{2}\right]^2$. WLOG the needle has length $1$. We will only focus on one endpoint, and prove that it cannot lie on the starting point of the other endpoint.
Then note that rotating point $\left(a_1 + b_1\frac{\sqrt{2}}{2}, a_2 + b_2\frac{\sqrt{2}}{2}\right)$ around another results in both $a_1 + b_1$ and $a_2 + b_2$ being invariant modulo $2$. However, since the two endpoints of the needle have distance $1$, the two endpoints have different parities, so they cannot swap.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
john0512
4176 posts
#11
Y by
The answer is no.

Main Claim: If $v_1,v_2,\dots v_n$ are vectors with the same magnitude that sum to $0$ and the argument of each vector is a multiple of $45$ degrees, then $n$ is even.

Suppose the magnitude is $2$. The idea here is that since $\sqrt{2}$ is irrational, both the integer and $\sqrt{2}$ parts of both $x$ and $y$ coordinates must be zero. Thus $(2,0)$ appears the same number of times as $(-2,0)$, and $(0,2)$ appears the same number of times as $(0,-2)$. Furthermore, $(\sqrt{2},\sqrt{2}),(\sqrt{2},-\sqrt{2})$ in total occur the same number of times as $(-\sqrt{2},\sqrt{2}),(-\sqrt{2},-\sqrt{2})$ in total due to the $x$ coordinate. Thus, the total number of vectors is even.

Contract any series of pivots around the same endpoint into a single rotation. Thus, what happens is that the needle repeatedly pivots some multiple of 45 degrees around one endpoint, and then switches the pivot to the other endpoint. The difference between consecutive endpoints is always the same magnitude and has an argument a multiple of $45$ degrees. However, in order for it to get back to its original position with the orientation swapped, the number of such vectors must be odd, contradiction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mathandski
737 posts
#12
Y by
Assign each endpoint $\left(a+b \frac{\sqrt{2}}{2}, c+d \frac{\sqrt{2}}{2} \right)$. Induct gives $a+c+d$ parity unchanged.
This post has been edited 5 times. Last edited by Mathandski, Mar 6, 2025, 6:23 PM
Z K Y
N Quick Reply
G
H
=
a