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
IMO ShortList 2001, number theory problem 6
orl   15
N 11 minutes ago by hcdgj
Source: IMO ShortList 2001, number theory problem 6
Is it possible to find $100$ positive integers not exceeding $25,000$, such that all pairwise sums of them are different?
15 replies
orl
Sep 30, 2004
hcdgj
11 minutes ago
Number Theory Chain!
JetFire008   25
N 27 minutes ago by Double07
I will post a question and someone has to answer it. Then they have to post a question and someone else will answer it and so on. We can only post questions related to Number Theory and each problem should be more difficult than the previous. Let's start!

Question 1
25 replies
JetFire008
Apr 7, 2025
Double07
27 minutes ago
cells in 2025x2025 table
QueenArwen   1
N 40 minutes ago by mikestro
Source: 46th International Tournament of Towns, Junior A-Level P2, Spring 2025
In a $2025 \times 2025$ table, several cells are marked. At each move, Cyril can get to know the number of marked cells in any checkered square inside the initial table, with side less than $2025$. What is the minimal number of moves, which allows to determine the total number of marked cells for sure? (5 marks)
1 reply
QueenArwen
Mar 24, 2025
mikestro
40 minutes ago
4 lines concurrent
Zavyk09   4
N 43 minutes ago by pingupignu
Source: Homework
Let $ABC$ be triangle with circumcenter $(O)$ and orthocenter $H$. $BH, CH$ intersect $(O)$ again at $K, L$ respectively. Lines through $H$ parallel to $AB, AC$ intersects $AC, AB$ at $E, F$ respectively. Point $D$ such that $HKDL$ is a parallelogram. Prove that lines $KE, LF$ and $AD$ are concurrent at a point on $OH$.
4 replies
Zavyk09
Yesterday at 11:51 AM
pingupignu
43 minutes ago
Problem 5
SlovEcience   1
N an hour ago by Safal
Let \( n > 3 \) be an odd integer. Prove that there exists a prime number \( p \) such that
\[
p \mid 2^{\varphi(n)} - 1 \quad \text{but} \quad p \nmid n.
\]
1 reply
SlovEcience
3 hours ago
Safal
an hour ago
Two circles and Three line concurrency
mofidy   0
an hour ago
Two circles $W_1$ and $W_2$ with equal radii intersect at P and Q. Points B and C are located on the circles$W_1$ and $W_2$ so that they are inside the circles $W_2$ and $W_1$, respectively. Also, points X and Y distinct from P are located on $W_1$ and $W_2$, respectively, so that:
$$\angle{CPQ} = \angle{CXQ}  \text{ and } \angle{BPQ} = \angle{BYQ}.$$The intersection point of the circumcircles of triangles XPC and YPB is called S. Prove that BC, XY and QS are concurrent.
Thanks.
0 replies
mofidy
an hour ago
0 replies
Tilted Students Thoroughly Splash Tiger part 2
DottedCaculator   17
N an hour ago by HoRI_DA_GRe8
Source: ELMO 2024/5
In triangle $ABC$ with $AB<AC$ and $AB+AC=2BC$, let $M$ be the midpoint of $\overline{BC}$. Choose point $P$ on the extension of $\overline{BA}$ past $A$ and point $Q$ on segment $\overline{AC}$ such that $M$ lies on $\overline{PQ}$. Let $X$ be on the opposite side of $\overline{AB}$ from $C$ such that $\overline{AX} \parallel \overline{BC}$ and $AX=AP=AQ$. Let $\overline{BX}$ intersect the circumcircle of $BMQ$ again at $Y \neq B$, and let $\overline{CX}$ intersect the circumcircle of $CMP$ again at $Z \neq C$. Prove that $A$, $Y$, and $Z$ are collinear.

Tiger Zhang
17 replies
DottedCaculator
Jun 21, 2024
HoRI_DA_GRe8
an hour ago
radii relationship
steveshaff   0
an hour ago
Two externally tangent circles with radii a and b are each internally tangent to a semicircle and its diameter. The two points of tangency on the semicircle and the two points of tangency on its diameter lie on a circle of radius r. Prove that r^2 = 3ab.
0 replies
steveshaff
an hour ago
0 replies
NT Function with divisibility
oVlad   3
N an hour ago by sangsidhya
Source: Romanian District Olympiad 2023 9.4
Determine all strictly increasing functions $f:\mathbb{N}_0\to\mathbb{N}_0$ which satisfy \[f(x)\cdot f(y)\mid (1+2x)\cdot f(y)+(1+2y)\cdot f(x)\]for all non-negative integers $x{}$ and $y{}$.
3 replies
oVlad
Mar 11, 2023
sangsidhya
an hour ago
Minimum with natural numbers
giangtruong13   1
N 2 hours ago by Ianis
Let $x,y,z,t$ be natural numbers such that: $x^2-y^2+t^2=21$ and $x^2+3y^2+4z^2=101$. Find the min: $$M=x^2+y^2+2z^2+t^2$$
1 reply
giangtruong13
2 hours ago
Ianis
2 hours ago
angle wanted, right ABC, AM=CB , CN=MB
parmenides51   3
N 2 hours ago by Mathzeus1024
Source: 2022 European Math Tournament - Senior First + Grand League - Math Battle 1.3
In a right-angled triangle $ABC$, points $M$ and $N$ are taken on the legs $AB$ and $BC$, respectively, so that $AM=CB$ and $CN=MB$. Find the acute angle between line segments $AN$ and $CM$.
3 replies
parmenides51
Dec 19, 2022
Mathzeus1024
2 hours ago
polonomials
Ducksohappi   0
2 hours ago
Let $P(x)$ be the real polonomial such that all roots are real and distinct. Prove that there is a rational number $r\ne 0 $ that all roots of $Q(x)=$ $P(x+r)-P(x)$ are real numbers
0 replies
Ducksohappi
2 hours ago
0 replies
IMO ShortList 2002, algebra problem 4
orl   62
N 2 hours ago by Ihatecombin
Source: IMO ShortList 2002, algebra problem 4
Find all functions $f$ from the reals to the reals such that \[ \left(f(x)+f(z)\right)\left(f(y)+f(t)\right)=f(xy-zt)+f(xt+yz)  \] for all real $x,y,z,t$.
62 replies
orl
Sep 28, 2004
Ihatecombin
2 hours ago
inequality ( 4 var
SunnyEvan   11
N 2 hours 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{76}{25} \geq \frac{44}{25}(a^3+b^3+c^3+d^3) $$
11 replies
SunnyEvan
Apr 4, 2025
SunnyEvan
2 hours ago
Constant = m_1+m_2
shobber   5
N Jul 11, 2023 by john0512
Source: APMO 2003
Suppose $ABCD$ is a square piece of cardboard with side length $a$. On a plane are two parallel lines $\ell_1$ and $\ell_2$, which are also $a$ units apart. The square $ABCD$ is placed on the plane so that sides $AB$ and $AD$ intersect $\ell_1$ at $E$ and $F$ respectively. Also, sides $CB$ and $CD$ intersect $\ell_2$ at $G$ and $H$ respectively. Let the perimeters of $\triangle AEF$ and $\triangle CGH$ be $m_1$ and $m_2$ respectively.

Prove that no matter how the square was placed, $m_1+m_2$ remains constant.
5 replies
shobber
Mar 5, 2006
john0512
Jul 11, 2023
Source: APMO 2003
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shobber
3498 posts
#1 • 2 Y
Y by Adventure10, Mango247
Suppose $ABCD$ is a square piece of cardboard with side length $a$. On a plane are two parallel lines $\ell_1$ and $\ell_2$, which are also $a$ units apart. The square $ABCD$ is placed on the plane so that sides $AB$ and $AD$ intersect $\ell_1$ at $E$ and $F$ respectively. Also, sides $CB$ and $CD$ intersect $\ell_2$ at $G$ and $H$ respectively. Let the perimeters of $\triangle AEF$ and $\triangle CGH$ be $m_1$ and $m_2$ respectively.

Prove that no matter how the square was placed, $m_1+m_2$ remains constant.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
yetti
2643 posts
#2 • 3 Y
Y by Adventure10, Mango247, and 1 other user
Let p be a line perpendicular to the lines $l_1 \parallel l_2$ intersecting these 2 parallel lines at $P_1, P_2$, so that their distance is $d = P_1P_2$. Let (O) be a circle with sufficiently large radius $r$ centered at an arbitrary point O on the segment $P_1P_2$. Let ABCD be a square with the side $a = r \sqrt 2$ inscribed in this circle intersecting both the lines $l_1, l_2$ in the way described in the problem. Let the angle $\phi = \angle P_1OA$ be fixed and let the square circumcenter O move on the perpendicular p. The triangles $\triangle AEF \sim \triangle CHG$ remain similar for all positions of the circumcenter O and the sum of their A- and C-altitudes is constant, $h_a + h_c = 2r \cos \phi - d$, and the sum $m_1 + m_2$ of their perimeters (proportional to their altitudes) is then also constant. Consequently, we only have to consider the square circumcenter O being the midpoint of the segment $P_1P_2$, when the triangles $\triangle AEF \cong \triangle CHG$ are congruent, i.e., their perimeters $m_1 = m_2$ are equal, and we have to show that the perimeter $m_1$ of the triangle $\triangle AEF$ is constant for any rotation angle $\phi = \angle P_1OA$ iff a = d.

Denote e = AF, f = AE, h = EF the sides of the right triangle $\triangle AEF$. Let $A' \in EF$ be the foot of the bisector AO of the right angle $\angle FAE$. Using $h^2 = e^2 + f^2$, the angle bisector length b = AA' is

$b = \sqrt{ef\left(1 - \frac{h^2}{(e + f)^2}\right)} = \frac{ef \sqrt 2}{e + f}$

WLOG, assume $\angle AEF < \angle AFE$. Then $\angle EFA = \phi + 45^\circ$ and

$\frac f e = \tan \angle EFA = \frac{1 + \tan \phi}{1 - \tan \phi}$

Solving for e, f, h

$e = \frac{b \sqrt 2}{1 + \tan \phi},\ \ f = \frac{b \sqrt 2}{1 - \tan \phi}$

$h = \sqrt{e^2 + f^2} = \frac{2b \sqrt{1 + \tan^2 \phi}}{1 - \tan^2 \phi} = \frac{2b \cos \phi}{\cos^2 \phi - \sin^2 \phi}$

The perimeter $m_1$ of the triangle $\triangle AEF$ is then

$m_1 = e + f + h = \frac{2b \sqrt 2}{1 - \tan^2 \phi} + \frac{2b \cos \phi}{\cos^2 \phi - \sin^2 \phi} =$

$= \frac{2b \sqrt 2 \cos^2 \phi + 2b \cos \phi}{\cos^2 \phi - \sin^2 \phi} = \frac{2b \cos \phi (\sqrt 2 \cos \phi + 1)}{2 \cos^2 \phi - 1} =$

$= \frac{2b \cos \phi}{\sqrt 2 \cos \phi - 1}$

On the other hand, we have

$b = AA' = OA - OA' = r - \frac{d}{2 \cos \phi} = d\ \frac{\frac{2r}{d} \cos \phi - 1}{2 \cos \phi}$

$m_1 = d\ \frac{\frac{2r}{d} \cos \phi - 1}{\sqrt 2 \cos \phi - 1}$

It is clear that the perimeter $m_1 = d$ is constant, iff $\frac{2r}{d} = \sqrt 2$ or using $a = r \sqrt 2$, iff $a = d$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
armpist
527 posts
#3 • 3 Y
Y by Adventure10, Mango247, and 1 other user
Just a little bit of thinking before replying will, no doubt, produce in an olympiad

caliber person the following observation:

the ex-circles opposite the right angles of the triangles in question, having

perimeters of m1 and m2, have centers located in the same point on the

diagonal of the square connecting these right angles.

From this point the problem is just a pis cake.




T.Y.

M.T.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Vo Duc Dien
341 posts
#4 • 2 Y
Y by Adventure10, Mango247
http://www.cut-the-knot.org/wiki-math/index.php?n=MathematicalOlympiads.APMO2003Problem2

by Vo Duc Dien
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Vo Duc Dien
341 posts
#5 • 2 Y
Y by Adventure10, Mango247
http://www.cut-the-knot.org/wiki-math/index.php?n=MathematicalOlympiads.APMO2003Problem2

Vo Duc Dien
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
john0512
4178 posts
#6
Y by
WLOG the square is a unit square. Employ Cartesian coordinates. Let $A=(0,0),B=(0,1),C=(1,1),D=(1,0).$ Then, suppose that $E=(0,b)$ and $F=(a,0)$ (sorry for using the variable $a$ again, it just means an arbitrary real between 0 and 1 now). Then, let line $\ell_2$ intersect line $AB$ again at $P$. We then have $$P=(0,b+\frac{\sqrt{a^2+b^2}}{a})$$by e.g. dropping a perpendicular from $E$ to $\ell_2$ and using similar triangles. Thus, the equation of line $\ell_2$ is $$y=-\frac{b}{a}x+b+\frac{\sqrt{a^2+b^2}}{a}.$$Thus, intersecting this with line $y=1$, we have $$G=(\frac{ab-a+\sqrt{a^2+b^2}}{b},1).$$This means that $$GC=1-\frac{ab-a+\sqrt{a^2+b^2}}{b}=\frac{a+b-ab-\sqrt{a^2+b^2}}{b}.$$Furthermore, note that $\triangle CGH\sim \triangle AFE$ due to the parallel lines, so the perimeter of $\triangle CGH$ is also equal to $$CG(\frac{a+b+\sqrt{a^2+b^2}}{a})$$$$=(\frac{a+b-ab-\sqrt{a^2+b^2}}{b})(\frac{a+b+\sqrt{a^2+b^2}}{a})$$$$=\frac{ab+b^2+b\sqrt{a^2+b^2}-a^2b-ab^2-ab\sqrt{a^2+b^2}+a^2+ab+a\sqrt{a^2+b^2}-a\sqrt{a^2+b^2}-b\sqrt{a^2+b^2}-a^2-b^2}{ab}$$$$=\frac{ab-a^2b-ab^2-ab\sqrt{a^2+b^2}+ab}{ab}$$$$=2-a-b-\sqrt{a^2+b^2}.$$Since the perimeter of $\triangle AFE$ is $a+b+\sqrt{a^2+b^2}$, the sum of the two perimeters is just 2, so we are done.
Z K Y
N Quick Reply
G
H
=
a