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
Good Permutations in Modulo n
swynca   7
N 6 minutes ago by MathLuis
Source: BMO 2025 P1
An integer $n > 1$ is called $\emph{good}$ if there exists a permutation $a_1, a_2, a_3, \dots, a_n$ of the numbers $1, 2, 3, \dots, n$, such that:
$(i)$ $a_i$ and $a_{i+1}$ have different parities for every $1 \leq i \leq n-1$;
$(ii)$ the sum $a_1 + a_2 + \cdots + a_k$ is a quadratic residue modulo $n$ for every $1 \leq k \leq n$.
Prove that there exist infinitely many good numbers, as well as infinitely many positive integers which are not good.
7 replies
swynca
Yesterday at 2:03 PM
MathLuis
6 minutes ago
Involved conditional geo
Assassino9931   2
N 20 minutes ago by Scilyse
Source: Balkan MO 2024 Shortlist G4
Let $ABC$ be an acute-angled triangle with $AB < AC$, orthocenter $H$, circumcircle $\Gamma$ and circumcentre $O$. Let $M$ be the midpoint of $BC$ and let $D$ be a point such that $ADOH$ is a parallellogram. Suppose that there exists a point $X$ on $\Gamma$ and on the opposite side of $DH$ to $A$ such that $\angle DXH + \angle DHA = 90^{\circ}$. Let $Y$ be the midpoint of $OX$. Prove that if $MY = OA$, then $OA = 2OH$.
2 replies
Assassino9931
3 hours ago
Scilyse
20 minutes ago
Arbitrary point on BC and its relation with orthocenter
falantrng   16
N an hour ago by MathLuis
Source: Balkan MO 2025 P2
In an acute-angled triangle \(ABC\), \(H\) be the orthocenter of it and \(D\) be any point on the side \(BC\). The points \(E, F\) are on the segments \(AB, AC\), respectively, such that the points \(A, B, D, F\) and \(A, C, D, E\) are cyclic. The segments \(BF\) and \(CE\) intersect at \(P.\) \(L\) is a point on \(HA\) such that \(LC\) is tangent to the circumcircle of triangle \(PBC\) at \(C.\) \(BH\) and \(CP\) intersect at \(X\). Prove that the points \(D, X, \) and \(L\) lie on the same line.

Proposed by Theoklitos Parayiou, Cyprus
16 replies
falantrng
Yesterday at 11:47 AM
MathLuis
an hour ago
all functions satisfying f(x+yf(x))+y = xy + f(x+y)
falantrng   27
N an hour ago by MathLuis
Source: Balkan MO 2025 P3
Find all functions $f\colon \mathbb{R} \rightarrow \mathbb{R}$ such that for all $x,y \in \mathbb{R}$,
\[f(x+yf(x))+y = xy + f(x+y).\]
Proposed by Giannis Galamatis, Greece
27 replies
falantrng
Yesterday at 11:52 AM
MathLuis
an hour ago
No more topics!
Orthocenter and Incenter
Mladenov   7
N Aug 20, 2021 by rafaello
Source: Bulgarian IMO TST 2005, Day 2, Problem 2
Let $ABC$, $AC \not= BC$, be an acute triangle with orthocenter $H$ and incenter $I$. The lines $CH$ and $CI$ meet the circumcircle of $\bigtriangleup ABC$ at points $D$ and $L$, respectively. Prove that $\angle CIH = 90^{\circ}$ if and only if $\angle IDL = 90^{\circ}$
7 replies
Mladenov
Jul 7, 2013
rafaello
Aug 20, 2021
Orthocenter and Incenter
G H J
Source: Bulgarian IMO TST 2005, Day 2, Problem 2
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mladenov
58 posts
#1 • 2 Y
Y by Adventure10, Mango247
Let $ABC$, $AC \not= BC$, be an acute triangle with orthocenter $H$ and incenter $I$. The lines $CH$ and $CI$ meet the circumcircle of $\bigtriangleup ABC$ at points $D$ and $L$, respectively. Prove that $\angle CIH = 90^{\circ}$ if and only if $\angle IDL = 90^{\circ}$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
leminscate
109 posts
#2 • 2 Y
Y by Adventure10, Mango247
Easy with trigonometry. Let $R=\frac{1}{2}, \angle BAC=2\alpha, \angle ABC=2\beta, \angle BCA=2\gamma$.
Wlog $\alpha \geq \beta$. Use angle chasing to get $\angle HCI=\alpha - \beta$ and $\angle AIC= \beta + 90^\circ$. We have the equalities $CI= 2\sin\alpha\sin\beta$ and $CH=\cos 2\gamma$.
$\angle CIH=90^\circ$ iff $CI=CH\cos\angle HCI$ iff $2\sin\alpha\sin\beta = (-2\cos (\alpha+\beta) ^2 +1)\cos (\alpha-\beta)$ iff $2\cos (\alpha+\beta) ^2 \cos (\alpha-\beta)=\cos (\alpha-\beta)-2\sin\alpha\sin\beta = \cos (\alpha+\beta)$ iff $2 \cos (\alpha+\beta) \cos (\alpha-\beta)=1$.

$\angle IDL=90^\circ$ iff $LD=LI\cos\angle DLC$ iff $\sin (\alpha-\beta) = AL\cos (2\beta + 90^\circ - 2\alpha)$ iff $\sin (\alpha-\beta) = \cos (\alpha+\beta) \sin (2\alpha-2\beta)$ iff $2 \cos (\alpha+\beta) \cos (\alpha-\beta)=1$.

Both statements are equivalent to the same statement, done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Virgil Nicula
7054 posts
#3 • 1 Y
Y by Adventure10
PP. Let acute $\triangle ABC$ with circumcircle $w=C(O,R)$ , incenter $I$ , orthocenter $H$ and $c<b$ . The lines $AH$ and $AI$ meet
again $w$ at $D$ and $L$ respectively. Prove that $IH\perp IA\iff \cos B+\cos C=1\iff$ $r=R\cos A\iff$ $DI\perp DL$ .


Proof. Denote $\{L,N\}=LO\cap w$ , $P\in AD\cap BC$ and $S\in AI\cap BC$ . Therefore:

$\blacktriangleright\ DI\perp DL\iff$ $m\left(\widehat{DIL}\right)=B-C\iff$ $m\left(\widehat{ADI}\right)=\frac {B-C}{2}\iff$ $N\in DI\iff$ $ADLN$ is an isosceles trapezoid $\iff$ $IO\parallel BC\iff$ $\boxed{r=R\cos A}$ .

$\blacktriangleright\ IH\perp IA\iff$ $HPSI$ is cyclically $\iff AI\cdot AS=AH\cdot AP\iff$ $\frac {b+c}{2s}\cdot\frac {4bcs(s-a)}{(b+c)^2}=2Rh_a\cos A\iff$ $\frac {bc(b+c-a)}{b+c}=bc\cos A\iff$ $b+c-a=(b+c)\cos A\iff$ $(b+c)(1-\cos A)=a\iff$ $2\sin^2\frac A2(\sin B+\sin C)=\sin A\iff$ $\boxed{\cos B+\cos C=1}$ .

Remark. The relation $\cos A+\cos B+\cos C=1+\frac rR$ is well-known. Thus, $\boxed{\cos B+\cos C=1\iff r=R\cos A}$ .
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IDMasterz
1412 posts
#4 • 2 Y
Y by Adventure10, Mango247
Note that $D$ is the reflection of $H$ in $AB$. Let the circle $\Gamma$ through $IDH$ intersect $DL$ at $I'$ and $IL$ at $E$. If $\angle CIH = 90$, then by a bit of an angle chase we get that $I'$ is in fact the reflection of $I$ over $AB$. Let $X$ be the point where the incircle touches $AB$. Then $X$ is the circumcentre of $\Gamma$. For this part, I unfortunately did it with trig (short just show $I$ is the midpoint of $CE$) so I hope to find it soon. Hence, $I'I$ bisects $\angle EID$ and so $\angle LDI = 90$ since $\angle LDE = \angle IDH$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
JackXD
151 posts
#5 • 2 Y
Y by Adventure10, Mango247
$\angle{IDL}=90^{\circ} \Leftrightarrow \angle{DIL}=A-B$ and \angle{DCI}=\frac{A-B}{2} \Leftrightarrow CI=ID.Thus $I$ lies on the perpendicular bisector of $CD$,so $OI \perp CD \Leftrightarrow r=RcosC$

$\angle{CIH}=90^{\circ}$. Let $X$ and $Y$ be the feet of altitudes from $B$ and $A$ respectively.Then $CXHIY$ is cyclic with diameter $CH \Leftrightarrow XI=IY$.Let $E$ and $F$ be the touchpoints of the incircle with $BC$ and $AC$ respectively.Then $ \triangle{IYE} \cong \triangle{IXF} \Leftrightarrow EY=XF \Leftrightarrow ccosA-(s-a)=(s-b)-ccosB \Leftrightarrow cosA+cosB=1 \Lefrightarrow r=RcosC$.

Thus $\angle{IDL}=90^{\circ} \Leftrightarrow \angle{CIH}=90^{\circ} \Leftrightarrow r=RcosC$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
buzzychaoz
178 posts
#6 • 1 Y
Y by Adventure10
Please check if this solution is correct as I am not too sure

Let $CE$ be altitude, $CF$ be internal angle bisector, $M$ midpoint of $AB$, $N$ the midpoint of arc $\overarc{ACB}$, $IH\cap AB\equiv P$.
First assume $\angle CIH=90^{\circ}$, then $C,I,E,P$ are cyclic. Then $\angle FCE=\angle FPI=\angle FPD\implies F,C,P,D$ cyclic. Note $C,F,M,N$ cyclic so $\angle CDP=\angle CFP=\angle LNC=180^{\circ}-\angle CDL\implies L,D,P$ are collinear. Thus from here $D$ is the touchpoint of the $C-$ mixtillinear circle with $(ABC)$, hence well-known that $N,I,D$ are collinear and $\angle IDL=90^{\circ}$.

If $\angle IDL=90^{\circ}$,now define $P\equiv DL\cap AB$, then $D,P,N,M$ cyclic. Then $\angle DPM=\angle DNM=\angle DCL\implies D,P,C,F$ cyclic. Using the same link as above $\angle CIP=90^{\circ}\implies C,I,E,P$ cyclic, then $\angle HPB=\angle DPB=\angle DCF=\angle IPB\implies \angle CIH=90^{\circ}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
hydo2332
435 posts
#7
Y by
Virgil Nicula wrote:
PP. Let acute $\triangle ABC$ with circumcircle $w=C(O,R)$ , incenter $I$ , orthocenter $H$ and $c<b$ . The lines $AH$ and $AI$ meet
again $w$ at $D$ and $L$ respectively. Prove that $IH\perp IA\iff \cos B+\cos C=1\iff$ $r=R\cos A\iff$ $DI\perp DL$ .


Proof. Denote $\{L,N\}=LO\cap w$ , $P\in AD\cap BC$ and $S\in AI\cap BC$ . Therefore:

$\blacktriangleright\ DI\perp DL\iff$ $m\left(\widehat{DIL}\right)=B-C\iff$ $m\left(\widehat{ADI}\right)=\frac {B-C}{2}\iff$ $N\in DI\iff$ $ADLN$ is an isosceles trapezoid $\iff$ $IO\parallel BC\iff$ $\boxed{r=R\cos A}$ .

$\blacktriangleright\ IH\perp IA\iff$ $HPSI$ is cyclically $\iff AI\cdot AS=AH\cdot AP\iff$ $\frac {b+c}{2s}\cdot\frac {4bcs(s-a)}{(b+c)^2}=2Rh_a\cos A\iff$ $\frac {bc(b+c-a)}{b+c}=bc\cos A\iff$ $b+c-a=(b+c)\cos A\iff$ $(b+c)(1-\cos A)=a\iff$ $2\sin^2\frac A2(\sin B+\sin C)=\sin A\iff$ $\boxed{\cos B+\cos C=1}$ .

Remark. The relation $\cos A+\cos B+\cos C=1+\frac rR$ is well-known. Thus, $\boxed{\cos B+\cos C=1\iff r=R\cos A}$ .

why is $AI = \frac {b+c}{2s}$ and $AS = \frac {4bcs(s-a)}{(b+c)^2}$????
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rafaello
1079 posts
#8
Y by
Assume $\angle IDL=90^\circ$. We claim that $I$ lies on the circle with diameter $CH$.

Note that $\angle IDL=90^\circ$ implies by $\sqrt{bc}$ invert that circumcenter of $ABC$ lies on $AG$, where $G$ is the $C$-excircle touchpoint with $AB$. It is well-known that $M$, the midpoint of $AB$, is the midpoint of $EG$ also, where $E$ is the incircle touchpoint with $AB$.

Let $E'$ be the antipode of $E$ wrt $(I)$, note that $E'$ lies on $CG$, thus $IM\parallel CG\equiv CO$. Also, $OM\parallel CH$, thus if $K=IM\cap CH$, then $\frac{1}{2}CH=OM=CK\implies K$ is the midpoint of $CH$. Also as $CO,CH$ are isogonal wrt $\angle ACB$, we get that $\angle HKI=\angle HCO=2\angle HCI\implies CK=CI$. We conclude that $I$ lies on the circle with diameter $CH$.

The other direction is exactly the same but in reverse.

[asy]
size(12cm); defaultpen(fontsize(10pt));pen med=mediummagenta;pen light=pink;pen deep=deepmagenta;pen org=magenta;
pen heavy=heavymagenta;

pair O,C,A,B,H,I,D,L,K,M,E,G,e; 
O=(0,0);C=dir(129.9);A=dir(205.6);B=dir(334.4);path w=circumcircle(A,B,C);
H=orthocenter(A,B,C);I=incenter(A,B,C);D=2foot(C,A,B)-H;L=intersectionpoints(w,C--100I-99C)[1];M=midpoint(A--B);K=midpoint(C--H);
E=foot(I,A,B);G=extension(C,O,A,B);e=2I-E;

draw(w,heavyblue);draw(A--B--C--cycle,heavymagenta);
draw(C--D,heavymagenta);draw(C--G,heavymagenta);draw(circumcircle(C,I,H),heavyblue+dashed);draw(K--M,heavymagenta);draw(C--L,heavymagenta);draw(E--e,heavymagenta);

dot("$A$",A,dir(A)); 
dot("$B$",B,dir(B)); 
dot("$C$",C,dir(C));
dot("$H$",H,dir(H));
dot("$I$",I,dir(I));
dot("$D$",D,dir(D));
dot("$L$",L,dir(L));
dot("$M$",M,dir(M));
dot("$K$",K,dir(K));
dot("$E$",E,dir(E));
dot("$G$",G,dir(G));
dot("$E'$",e,dir(e));
dot("$O$",O,dir(90));
[/asy]
Z K Y
N Quick Reply
G
H
=
a