We have your learning goals covered with Spring and Summer courses available. Enroll today!

G
Topic
First Poster
Last Poster
k a March Highlights and 2025 AoPS Online Class Information
jlacosta   0
Mar 2, 2025
March is the month for State MATHCOUNTS competitions! Kudos to everyone who participated in their local chapter competitions and best of luck to all going to State! Join us on March 11th for a Math Jam devoted to our favorite Chapter competition problems! Are you interested in training for MATHCOUNTS? Be sure to check out our AMC 8/MATHCOUNTS Basics and Advanced courses.

Are you ready to level up with Olympiad training? Registration is open with early bird pricing available for our WOOT programs: MathWOOT (Levels 1 and 2), CodeWOOT, PhysicsWOOT, and ChemWOOT. What is WOOT? WOOT stands for Worldwide Online Olympiad Training and is a 7-month high school math Olympiad preparation and testing program that brings together many of the best students from around the world to learn Olympiad problem solving skills. Classes begin in September!

Do you have plans this summer? There are so many options to fit your schedule and goals whether attending a summer camp or taking online classes, it can be a great break from the routine of the school year. Check out our summer courses at AoPS Online, or if you want a math or language arts class that doesn’t have homework, but is an enriching summer experience, our AoPS Virtual Campus summer camps may be just the ticket! We are expanding our locations for our AoPS Academies across the country with 15 locations so far and new campuses opening in Saratoga CA, Johns Creek GA, and the Upper West Side NY. Check out this page for summer camp information.

Be sure to mark your calendars for the following events:
[list][*]March 5th (Wednesday), 4:30pm PT/7:30pm ET, HCSSiM Math Jam 2025. Amber Verser, Assistant Director of the Hampshire College Summer Studies in Mathematics, will host an information session about HCSSiM, a summer program for high school students.
[*]March 6th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar on Math Competitions from elementary through high school. Join us for an enlightening session that demystifies the world of math competitions and helps you make informed decisions about your contest journey.
[*]March 11th (Tuesday), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS Chapter Discussion MATH JAM. AoPS instructors will discuss some of their favorite problems from the MATHCOUNTS Chapter Competition. All are welcome!
[*]March 13th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar about Summer Camps at the Virtual Campus. Transform your summer into an unforgettable learning adventure! From elementary through high school, we offer dynamic summer camps featuring topics in mathematics, language arts, and competition preparation - all designed to fit your schedule and ignite your passion for learning.[/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, Mar 2 - Jun 22
Friday, Mar 28 - Jul 18
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
Tuesday, Mar 25 - Jul 8
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
Sunday, Mar 23 - Jul 20
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
Sunday, Mar 16 - Jun 8
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
Monday, Mar 17 - Jun 9
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
Sunday, Mar 2 - Jun 22
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
Tuesday, Mar 4 - Aug 12
Sunday, Mar 23 - Sep 21
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
Sunday, Mar 16 - Sep 14
Tuesday, Mar 25 - Sep 2
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
Sunday, Mar 23 - Aug 3
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
Sunday, Mar 16 - Aug 24
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
Wednesday, Mar 5 - May 21
Tuesday, Jun 10 - Aug 26

Calculus
Sunday, Mar 30 - Oct 5
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
Sunday, Mar 23 - Jun 15
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
Tuesday, Mar 4 - May 20
Monday, Mar 31 - Jun 23
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
Monday, Mar 24 - Jun 16
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
Sunday, Mar 30 - Jun 22
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Tuesday, Mar 25 - Sep 2
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
Mar 2, 2025
0 replies
n Tans
MithsApprentice   17
N 2 minutes ago by AshAuktober
Source: USAMO 1998
Let $a_0,a_1,\cdots ,a_n$ be numbers from the interval $(0,\pi/2)$ such that \[ \tan (a_0-\frac{\pi}{4})+ \tan (a_1-\frac{\pi}{4})+\cdots +\tan (a_n-\frac{\pi}{4})\geq n-1.  \] Prove that \[ \tan a_0\tan a_1 \cdots \tan a_n\geq n^{n+1}.  \]
17 replies
+1 w
MithsApprentice
Oct 9, 2005
AshAuktober
2 minutes ago
Roots of unity problem
Ferid.---.   10
N 12 minutes ago by Avron
Source: Polish MO 2019 P4
Let $n,k,l$ be positive integers.Define injective function $f$ from $\{1,2,\dots,n\}$ to itself such that $f(i)-i\in \{k,-l\}$.Prove that $k+l$ divides $n$.
10 replies
Ferid.---.
May 19, 2019
Avron
12 minutes ago
Coloring
demmy   6
N 23 minutes ago by Kaimiaku
Source: Thailand TST 2015
What is the maximum number of squares in an $8 \times 8$ board that can be colored so that for each square in the board, at most one square adjacent to it is colored.
6 replies
demmy
Dec 2, 2023
Kaimiaku
23 minutes ago
Nice and easy FE on R+
sttsmet   21
N 28 minutes ago by bo18
Source: EMC 2024 Problem 4, Seniors
Find all functions $ f: \mathbb{R}^{+} \to \mathbb{R}^{+}$ such that $f(x+yf(x)) = xf(1+y)$
for all x, y positive reals.
21 replies
sttsmet
Dec 23, 2024
bo18
28 minutes ago
Differentiation Marathon!
LawofCosine   181
N Today at 12:24 AM by Levieee
Hello, everybody!

This is a differentiation marathon. It is just like an ordinary marathon, where you can post problems and provide solutions to the problem posted by the previous user. You can only post differentiation problems (not including integration and differential equations) and please don't make it too hard!

Have fun!

(Sorry about the bad english)
181 replies
LawofCosine
Feb 1, 2025
Levieee
Today at 12:24 AM
Integrals problems and inequality
tkd23112006   2
N Yesterday at 6:02 PM by PolyaPal
Let f be a continuous function on [0,1] such that f(x) ≥ 0 for all x ∈[0,1] and
$\int_x^1 f(t) dt \geq \frac{1-x^2}{2}$ , ∀x∈[0,1].
Prove that:
$\int_0^1 (f(x))^{2021} dx \geq \int_0^1 x^{2020} f(x) dx$
2 replies
tkd23112006
Feb 16, 2025
PolyaPal
Yesterday at 6:02 PM
real analysis
ay19bme   1
N Yesterday at 5:30 PM by alexheinis
.........
1 reply
ay19bme
Yesterday at 3:05 PM
alexheinis
Yesterday at 5:30 PM
Proving an inequality involving cosine functions
pii-oner   3
N Yesterday at 3:33 PM by pii-oner
Hello AoPS Community,

I am curious about how to demonstrate the following inequality:

[code] \sqrt{1 - |\cos(x \pm y)|^a} \leq \sqrt{1 - |\cos(x)|^a} + \sqrt{1 - |\cos(y)|^a}, \quad \text{for } a \geq 1. [/code]

I’ve plotted the functions, and the inequality seems to hold. However, I am looking for a rigorous way to prove it.

I’d greatly appreciate insights into how to break this down analytically and references to similar problems or techniques that might be helpful.

Thank you so much for your guidance and support!
3 replies
pii-oner
Jan 22, 2025
pii-oner
Yesterday at 3:33 PM
Linear algebra
Dynic   2
N Yesterday at 3:32 PM by loup blanc
Let A and B be two square matrices with the same size. Prove that if AB is an invertible matrix, then A and B are also invertible matrices
2 replies
Dynic
Yesterday at 2:48 PM
loup blanc
Yesterday at 3:32 PM
Very hard group theory problem
mathscrazy   3
N Yesterday at 9:50 AM by quasar_lord
Source: STEMS 2025 Category C6
Let $G$ be a finite abelian group. There is a magic box $T$. At any point, an element of $G$ may be added to the box and all elements belonging to the subgroup (of $G$) generated by the elements currently inside $T$ are moved from outside $T$ to inside (unless they are already inside). Initially $
T$ contains only the group identity, $1_G$. Alice and Bob take turns moving an element from outside $T$ to inside it. Alice moves first. Whoever cannot make a move loses. Find all $G$ for which Bob has a winning strategy.
3 replies
mathscrazy
Dec 29, 2024
quasar_lord
Yesterday at 9:50 AM
limit of u(pi/45)
EthanWYX2009   0
Yesterday at 7:08 AM
Source: 2025 Pi Day Challenge T5
Let \(\omega\) be a positive real number. Divide the positive real axis into intervals \([0, \omega)\), \([\omega, 2\omega)\), \([2\omega, 3\omega)\), \([3\omega, 4\omega)\), \(\ldots\), and color them alternately black and white. Consider the function \(u(x)\) satisfying the following differential equations:
\[
u''(x) + 9^2u(x) = 0, \quad \text{for } x \text{ in black intervals},
\]\[
u''(x) + 63^2u(x) = 0, \quad \text{for } x \text{ in white intervals},
\]with the initial conditions:
\[
u(0) = 1, \quad u'(0) = 1,
\]and the continuity conditions:
\[
u(x) \text{ and } u'(x) \text{ are continuous functions}.
\]Show that
\[
\lim_{\omega \to 0} u\left(\frac{\pi}{45}\right) = 0.
\]
0 replies
EthanWYX2009
Yesterday at 7:08 AM
0 replies
Integration Bee Kaizo
Calcul8er   42
N Yesterday at 12:57 AM by awzhang10
Hey integration fans. I decided to collate some of my favourite and most evil integrals I've written into one big integration bee problem set. I've been entering integration bees since 2017 and I've been really getting hands on with the writing side of things over the last couple of years. I hope you'll enjoy!
42 replies
Calcul8er
Mar 2, 2025
awzhang10
Yesterday at 12:57 AM
maximum value
Tip_pay   3
N Friday at 9:37 PM by alexheinis
Find the value $x\in [0,4]$ at which the function $f(x)=\int_{0}^{\sqrt{x}}\ln \frac{e}{1+t^2}dt$ takes its maximum value
3 replies
Tip_pay
Friday at 8:48 PM
alexheinis
Friday at 9:37 PM
Spheres and a point source of light
mofidy   3
N Friday at 9:22 PM by kiyoras_2001
How many spheres are needed to shield a point source of light?
Unfortunately, I didn't find a suitable solution for it on the page below:
https://artofproblemsolving.com/community/c4h1469498p8521602
Here too, two different solutions are given:
https://math.stackexchange.com/questions/2791186
3 replies
mofidy
Mar 11, 2025
kiyoras_2001
Friday at 9:22 PM
IMO Problem 2
iandrei   47
N Yesterday at 9:34 PM by asdf334
Source: IMO ShortList 2003, number theory problem 3
Determine all pairs of positive integers $(a,b)$ such that \[ \dfrac{a^2}{2ab^2-b^3+1}  \] is a positive integer.
47 replies
iandrei
Jul 14, 2003
asdf334
Yesterday at 9:34 PM
IMO Problem 2
G H J
G H BBookmark kLocked kLocked NReply
Source: IMO ShortList 2003, number theory problem 3
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mst.4921
6 posts
#35
Y by
jgnr wrote:
Click to reveal hidden text

that's wonderful
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jeteagle
480 posts
#36
Y by
The solutions are $(x, 2x), (8x^4 -x, 2x), (2x, 1)$ for all positive integers $x$, which can be easily verified to work.

Let $a^2 = k(2ab^2-b^3+1)$ for some positive integer $k$. We can solve to get: $$a^2 = k(2ab^2-b^3+1) \implies a^2-a(2kb^2)+k(b^3-1) = 0 \implies a = \frac{2kb^2\pm\sqrt{(2kb^2)^2-4k(b^3-1)}}{2},$$so the discriminant is $4k^2b^4-4kb^3+4k.$ For $a$ to be an integer this must be a square, so set this equal to $n^2$ for some positive integer $n$. We have that $$4k^2b^4-4kb^3+4k = (2kb^2-b)^2-(b^2-4k) = n^2.$$We have three cases: $b^2-4k > 0$, $b^2-4k < 0$, or $b^2-4k = 0$.

Case 1: $b^2-4k > 0.$

We have $$b^2-4k = (2kb^2-b)^2-n^2 \ge (2kb^2-b)^2-(2kb^2-b-1)^2 = 4kb^2-2b-1 > b^2-4k,$$a contradiction.

Case 2: $b^2-4k < 0$.

We have $$4k-b^2 = n^2-(2kb^2-b)^2 \ge (2kb^2-b+1)^2-(2kb^2-b)^2 = 4kb^2-2b+1.$$Notice that if $b \ge 2$, then $4kb^2-2b+1 > 4k-b^2$, a contradiction. Only if $b = 1$, then $4kb^2-2b+1 \le 4k-b^2$, and we actually achieve equality when $n = 2kb^2-b+1$. Plugging in $b = 1$ gives $a = 2x$ for all positive integers $x$, and we have our first set of solutions: $(2x, 1)$.

Case 3: $b^2-4k = 0$.

This means $n = 2kb^2-b$ and $4k = b^2$, so solving for $a$, we get $$a = \frac{2kb^2 \pm (2kb^2-b)}{2},$$so $a = \frac{b}{2}$, so we get our second set of solutions $(x, 2x)$, or $a = \frac{4kb^2-b}{2} = \frac{b^4-b}{2}$ for even $b$. Substituting $b = 2c$ gives $a = 8c^4-c$ for all positive integers $c$, which gives our final set of solutions $(8x^4-x, 2x)$. $\blacksquare$

Remarks: Nice discriminant bounding problem. This problem was quite straight forward and wasn't as contrived as I thought it would be.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
awesomeming327.
1664 posts
#37
Y by
When in doubt, do some bounds.

Let $a^2=k(2ab^2)-b^3k+k$ then $a^2-(2b^2k)a+b^3k-k,$ so by the quadratic formula $a=b^2k\pm \sqrt{b^4k^2-b^3k+k}$

For $a$ to be an integer, $b^4k^2-b^3k+k$ must be a perfect square. If $b=1$ then clearly all even $a$ work, so let $b>1.$

Let $r=b^2k-\frac{b}{2}+c$ then $r^2=b^4k^2-b^3k+\frac{b^2}{4}+2b^2kc-bc+c^2.$ If $b^4k^2-b^3k+k=r^2$ then $\frac{b^2}{4}+2b^2kc+c^2=bc+k.$

If $c$ is positive, then $b^2kc\ge bc$ and $b^2kc\ge k$ so $\frac{b^2}{k}+c^2\le 0$ implying $c=0$ a contradiction.

If $c$ is negative, then let $c=-c_0$ note that $\frac{b^2}{4}-bc+c^2=k(1-2b^2c)$ so $1+2b^2c_0\le \frac{b^2}{4}+bc_0+c_0^2.$ Note that for $c_0\ge 1$ we have $2c_0< \frac{1}{4}$ while $1\le bc_0+c_0^2$ so we have another contradiction. Thus, $c=0.$ This implies that $k=\frac{b^2}{4}.$

We can plug in for $a.$ Thus, we have the following solutions:

$(2k,1),(k,2k),(8k^4-k,2k)$ for positive integer $k$ which all work.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ZETA_in_olympiad
2211 posts
#38
Y by
#2 in $\LaTeX$.


First note that we must have $$1\leq 2ab^2-b^3+1=b^2(2a-b)+1$$And so, $$1\leq b \leq 2a.$$Now, we'll prove that the pairs that solve this problem are $$(a,b)=(n,1),(n,2n),(8n^4-n,2n),$$where $n$ is positive.

Indeed, if $b=1,$ we get the first pair, while if $b=2a$ we get the second
pair.

Now assume that $1<b<2a$ and set $r=\frac{a^2}{ 2ab^2-b^3+1}.$
Then the quadratic equation

$$x^2-2xrb^2+r(b^3-1)=0$$
has two solution that are positive integers, since one of them is $a$ and their product is $r(b^3-1)>0.$ Evaluating the discriminant $D$ we have
$D=4(r^2b^4-rb^3+r).$ Thus $r^2b^4-rb^3+r=m^2$ for some natural
number and the above equation has solution $rb^2+m$ and $rb^2-m.$ Now note that

$$m^2 = r^2b^4-rb^3+r > r^2b^4-2rb^3+b^2=(rb^2-b)^2,$$
with $rb^2-b>0.$ Hence, $b>rb^2-m.$
However, since $a^2> b^2(2a-b) \geq b^2$, we have $a>b.$ Therefore,
$a=rb^2+m > b$ and the other (also positive) root, say $c,$ is $c=rb^2-m < b.$
Furthermore, if $2c>b$, then we have

$$r=c^2/(b^2(2c-b)+1 \leq c^2/b^2 <1,$$
a contradiction. Thus $b=2c$ and $r=c^2$. Since $ac=r(b^3-1)$, we get
$a=c(b^3-1)=8c^4-c$. It is easy to verify that if $c\geq 1$, then the integers
$b=2c$ and $a=c(b^3-1)$ solve the problem, since

$$\frac{a^2}{2ab^2-b^3+1}= \frac{c^2(b^3-1)^2}{(b^3-1)(2cb^2-1)}=c^2.$$
The proof is complete.
This post has been edited 2 times. Last edited by ZETA_in_olympiad, Apr 13, 2022, 9:02 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ZETA_in_olympiad
2211 posts
#45
Y by
Let $(a,b)$ satisfy $$\frac{a^2}{2ab^2-b^3+1}=m, ~~~ m\in \mathbb{N}.$$It can be simplified to $$(2(a-b^2m))^2=(2b^2m-b)^2+4m-b^2. ~~~~~(1)$$

Case 1: $4m-b^2>0.$


By (1) we have \begin{align*}4m-b^2=(2(a-b^2m))^2-(2b^2m-b)^2 \\ \geq (2b^2m-b+1)^2-(2b^2m-b)^2=2(2b^2m-b)+1 \end{align*}
This is true because we can set $$M=2(a-b^2m), N=2b^2m-b, ~~~ M,N \in \mathbb{N}.$$Due to $M^2-N^2>0$ and $N>0,$ \begin{align*} |M| \geq N+1 \\ \implies M^2-N^2 \geq (N+1)^2 -N^2=2N+1 \\ \implies 2(2b^2m-b)+1+b^2-4m \leq 0 \\ \implies 4m(b^2-1)+(b-1)^2 \leq 0. \end{align*}So it must be that $b=1,$ giving $\boxed{(a,b)=(2m,1)}$ as a satisfying pair.


Case 2: $4m-b^2<0.$


By (1) we have, \begin{align*} 4m-b^2&= (2(a-b^2m))^2-(2b^2m-b)^2 \\ \leq (2b^2m-b-1)^2 -(2b^2m-b)^2=-2(2b^2m-b)+1 \\ \implies (4m-1)b^2-2b+(4m-1)\leq 0~~~~~ (2) \\ \implies D=4(1-(4m-1)^2)< 0, \end{align*}where $D$ is the discriminant of the quadratic polynomial of $b$.

Therefore because $4m-1>0,$ (2) is not true. And thus there is no pair $(a,b)$ satisfying the property in this case.

Case 3: $4m-b^2=0.$


So, $$(2(a-b^2m))^2=(2b^2m-b)^2 \implies 2a-2b^2m=\pm (2b^2k-b).$$
Subcase 1:

$2a-2b^2m=-2b^2m+b$ implies that $b=2a.$ So we get the pair $\boxed{(a,b)=(k,2k)}$ where $k$ is any natural number, as a satisfying pair.

Subcase 2:

$$2a-2b^2m=2b^2m-b \implies 4b^2m-b=2a.~~~~~(3)$$However $4m-b^2=0$ implies $b$ is even. So there exists a $c$ such that $b=2c$ and $m=c^2.$ By (3) we get $a=8c^4-c.$

So another pair is $\boxed{(a,b)=(8c^4-c, 2c)}$ and we are done satisfying all cases.
This post has been edited 2 times. Last edited by ZETA_in_olympiad, Apr 14, 2022, 7:00 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5531 posts
#46
Y by
Solved with pi271828 a while back.

The answer is $\boxed{(2n,1), (n,2n), (8n^4-n,2n)}$ for any positive integer $n$. These work. We now prove they are the only solution.

Let $\frac{a^2}{2ab^2-b^3+1}=k$.

Clearly if $b=1$, then $k=\frac{a}{2}$, so $a$ must be even. This falls in the solution set ($(2n,1)$).

Then we have \[a^2=2ab^2k - kb^3 + k = a^2 - 2kb^2 \cdot a + (kb^3 - k) = 0\]
Claim: Either $b=2a$ or $a>b$.
Proof: Suppose $a\le b$.

Note that $a^2\ge 2ab^2 - b^3 + 1 > 0$.

So $a^2 > b^2 (2a-b)>-1$.

This implies $2a-b\ge 0$.

If $2a-b>0$, then we must have $a^2>b^2$, contradiction. So $b=2a$. $\square$

Now, consider the quadratic \[X^2-2kb^2 X + (kb^3 - k) = 0\]
Let the two roots of this equation be $a_0$ and $a_1$, with $a_0\ge a_1$.
We have \begin{align*}
a_0+a_1 = 2kb^2 \\
a_0\cdot a_1 = kb^3 - k = k(b^3-1) \\
\end{align*}
If $a_0= a_1$, then $a_0=a_1=kb^2$, so \[(kb^2)^2 = k(b^3-1)\implies kb^4 = b^3 - 1,\]not true.

So we have $a_0>a_1$.

This implies $a_0>kb^2$.

If $b=2a_0$, then $b\ne 2a_1$, which implies $a_1>b$, however $b=2a_0>2a_1$. So $b\ne 2a_0$.

Case 1: $b=2a_1$.
Then we have $a_0 = 2kb^2 - \frac{b}{2}$, so $\left(2kb^2 - \frac{b}{2}\right)\cdot \frac{b}{2} = kb^3 - k$, which implies $kb^3 - \frac{b^2}{4} = kb^3 - k$., so $k=\frac{b^2}{4}$.

So $a_0 = \frac{b^4-b}{2}$.

Setting $b=2a_1$ gives the solutions $(a_0, b) = (8a_1^4 - a_1, 2a_1)$ and $(a_1,b) = (a_1, 2a_1)$, both of which fall into the solution set described above ($(8n^4-n,2n)$ and $(n,2n)$).

Case 2: $b\ne 2a_1$.
In this case, $a_0>a_1>b$.

Since $a_0>kb^2$, we have $a_0\cdot a_1 > kb^2 \cdot b = kb^3$, which implies $a_0\cdot a_1\ne k(b^3-1)$, contradiction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HamstPan38825
8844 posts
#47
Y by
This is a pretty nice Vieta jumping problem.

The answers are $(2n, 1), (n, 2n), (8n^2-4, 2n)$ for all positive integers $k$. They obviously work. Assume $b>1$ in what follows.

Fix $k$ to be the value of the expression, and assume it is an integer. Then, the condition is equivalent to $$a^2-2ab^2k+b^3k - k = 0.$$In other words, if $(a, b)$ is a solution, then so is $\left(\frac{b^3k-k}a, b\right).$

Claim. We will have $b^3k-k < a^2$ unless $2a=b$ or $a \leq b$.

Proof. Note that $b^3k-k < b^3k <\frac{a^2b}{2a-b}$, so the condition simplifies to $a > b$. $\blacksquare$

On the other hand, if $a\leq b$ in the original equation, then we have $a^2 > b^2(2a-b) > -1$, which implies that $b=2a$ as otherwise $a^2>b^2$. As a result, this means that the minimal solution $(a_0, b_0)$ to this equation for fixed $k$ takes the form $(n, 2n)$ for some positive integer $n$.

Plugging back into the recursive sequence of solutions, we notice that the solutions alternate between $(n, 2n)$ and $(n, 8n^4-n)$. Thus, these yield the entire curve of solutions.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
signifance
140 posts
#48
Y by
Nothing new of a concept here; imo these problems should be less frequent because they're similar to a computational problem where you literally know the approach, you just need to follow through, whereas in problems like sequences or a combo game you need to be creative.

Note that $b=2a$ works, and $(a,b)=(2m,1)$ both work. We claim that the only other solution is $(a,b)=(8m^2-4,2m)$; henceforth assume the first two are not true. Then $$\frac{a^2}{(2a-b)b^2+1}:=k,b^3k-k < b^3k <\frac{a^2b}{2a-b}<a^2\iff a>b;a^2-2ab^2k+b^3k-k=0\implies(a,b)\Leftrightarrow\left(\frac{b^3k-k}a,b\right)$$yields a smaller solution as long as $a>b$. If $$a\le b,b\ne 2a,a^2\ge2ab^2-b^3=1>0,\text{ then }a^2>b^2(2a-b)\ge0\stackrel{\implies2a-b\ge0}{a\not>b\implies}2a-b=0,$$which we've already accounted for. Plugging back in, we find that the solution set alternates between $(m,2m)\leftrightarrow(m,8m^4-m)$, which is all the solutions by our Vieta jumping, as desired.
This post has been edited 1 time. Last edited by signifance, Nov 13, 2023, 4:41 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IAmTheHazard
4999 posts
#49
Y by
What is a quadratic


The answer is $(n,2n)$, $(8n^4-n,2n)$, $(2n,1)$ only for any $n \in \mathbb{Z}^+$, which clearly work. Obviously if $b=1$ then $a$ must be even, so suppose $b>1$.

Rewrite the denominator as $b^2(2a-b)+1$. For the quantity to be positive, we need $2a-b \geq 0$. If $2a=b$ then we get the first curve of solutions. Otherwise, I claim that $a>b^2$. Indeed, if $b \geq a$ then the denominator is at least $b^2+1$ which is too big, and if $\sqrt{a} \leq b \leq a$ then the denominator is at least $(\sqrt{a})^2a+1$ which is also too big.

Now, if $2ab^2-b^3+1 \mid a^2$ then $2ab^2-b^3+1 \mid a^2(2b^2)^2$, and by the Euclidean algorithm it follows that $2ab^2-b^3+1 \mid (b^3-1)^2$. Obviously, $2ab^2-b^3+1$ is $1 \pmod{b^2}$, and since $(b^3-1)^2 \equiv 1 \pmod{b^2}$ as well it follows that $\tfrac{(b^3-1)^2}{2ab^2-b^3+1}$ is a $1 \pmod{b^2}$ positive integer as well. On the other hand, since $a>b^2$ we have
$$\frac{(b^3-1)^2}{2ab^2-b^3+1}<\frac{(b^3-1)^2}{2b^4-b^3+1}\leq b^2 \impliedby b^6-2b^3+1\leq 2b^6-b^5+b^2 \iff b^6+2b^3+b^2 \geq b^5+1,$$which is obvious since $b$ is positive integer. Hence we need
$$\tfrac{(b^3-1)^2}{2ab^2-b^3+1}=1 \implies b^3(b^3-1)=2ab^2 \implies a=\frac{1}{2}b(b^3-1).$$Plugging this back into the original, for this curve of solutions we would need
$$\frac{\frac{1}{4}b^2(b^3-1)^2}{b^3(b^3-1)-b^3+1}=\frac{b^2(b^3-1)^2}{4(b^3-1)^2}=\frac{b^2}{4} \in \mathbb{Z},$$which clearly implies $b=2n$ for some $n \in \mathbb{Z}$ and $a=8n^4-n$. $\blacksquare$
This post has been edited 1 time. Last edited by IAmTheHazard, Dec 22, 2023, 2:01 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shendrew7
787 posts
#50
Y by
Set the expression equal to $k$. Our equation can be rewritten as
\[a^2-(2b^2k)a+(b^3-1)k=0.\]
The discriminant of this quadratic is
\[\ell^2 := 4b^4k^2-4b^3k+4k = (2b^2k-b)^2 - (b^2-4k).\]
This value is at almost always strictly between $(2b^k-b-1)^2$ and $(2b^k-b+1)^2$, and would produce no solutions unless:
  • $b=1$: Substituting into the original expression, we have the solution $\boxed{(2c,1)}$.
  • $\ell=\tfrac{b^2}{4}$: Then $n = \pm (2b^2k-b) = \pm \left(\tfrac{b^4}{4} - \tfrac b2\right)$, so quadratic formula gives the solutions $\boxed{(c,2c), (8c^2-1,2c)}$. $\blacksquare$
This post has been edited 1 time. Last edited by shendrew7, Apr 28, 2024, 3:36 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mr.Sharkman
486 posts
#51
Y by
The solutions are $(a, b) = (k, 2k), (k, 1), (8k^{4}-k, 2k)$ for positive integers $k.$ Obviously these work. We will show that these are all of the solutions. Take a pair $(a, b)$ which is not of one of the first two forms.

Claim: Such pairs must satisfy $a > b^{2}.$

Assume for the sake of contradiction that $a \le b^{2}.$ We have that
$$\frac{a^{2}}{2ab^{2}-b^{3}+1} < \frac{1}{b^{2}} \left(\frac{a^{2}}{2a-b} \right) = \frac{1}{b^{2}} \left(\frac{a}{2}+\frac{b}{4}+\frac{b^{2}}{4(2a-b)} \right). $$Since $2a-b \neq 0,$ we have that
$$\frac{b^{2}}{4(2a-b)} \le \frac{b^{2}}{4}, $$and $b < b^{2},$ since $b > 1.$ So, we have
$$\frac{1}{b^{2}} \left(\frac{a}{2}+\frac{b}{4}+\frac{b^{2}}{4(2a-b)} \right) < \frac{1}{b^{2}} \left( \frac{b^{2}}{2}+\frac{b^{2}}{4}+\frac{b^{2}}{4} \right) = 1,$$so this number cannot be a positive integer, as it is smaller than $1.$

Notice that if
$$\frac{a^{2}}{2ab^{2}-b^{3}+1} = k, $$then
$$a^{2}-2akb^{2}+(b^{3}-1)k = 0.$$So, now, if $a'$ is the other solution to this equation, $a'$ is an integer (since $a+a^{\prime} = 2kb^{2} $ by Vieta's), and is positive, since $aa^{\prime} = (b^{3}-1)k ,$ again by Vieta's.

Claim: $2a' = b.$

Assume for the sake of contradiction that this is not true, i.e. $(a^{\prime}, b) $ is not of one of the first two forms. (Notice that $b \neq 1,$ so it cannot be the second form.) We get
$$a^{\prime} =  \frac{(b^{3}-1)k}{a} < \frac{b^{3}k}{a} = \frac{b^{3}a}{2ab^{2}-b^{3}+1} < \frac{ab}{2a-b} < \frac{b}{2} + \frac{\frac{b^{2}}{2}}{2b^{2}-b} \le \frac{b}{2} + \frac{1}{3} < b. $$But, $(a^{\prime}, b)$ is a valid solution set, so $b^{2} < a^{\prime}, $ a contradiction.

Now, if we take $b = 2 a^{\prime}$ and $$a = \frac{(b^{3}-1)k}{a^{\prime}} = \frac{(8(a^{\prime})^{3}-1)k}{a^{\prime}},$$and replace $\ell = a^{\prime},  $ we get that
$$a = \frac{(8\ell^{3}-1) \ell^{2}}{\ell} = 8\ell^{4}-\ell,$$giving us our third solution.
This post has been edited 1 time. Last edited by Mr.Sharkman, May 14, 2024, 8:32 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Markas
105 posts
#52
Y by
Let $\frac{a^2}{2ab^2 - b^3 + 1} = k$, where k is an integer. We get the quadratic $a^2 - (2b^2k)a + b^3k - k = 0$. We have that $D = 4b^4k^2 + 4(k - b^3k) = (2b^2k - b)^2 - b^2 + 4k$. We want a and b to be integers $\Rightarrow$ $D = n^2 = (2b^2k - b)^2 - b^2 + 4k$.

Case 1: $b^2 - 4k = 0$

From the quadratic $a_1 = \frac{2b^2k + (2b^2k - b)}{2}$ and $a_2 = \frac{2b^2k - (2b^2k - b)}{2}$ $\Rightarrow$ $a_1 = \frac{4b^2k - b}{2} = \frac{b^4 - b}{2}$ for even b. Let b = 2c and from that we get the solutions $(a,b) = (8x^4-x,2x)$. Also $a_2 = \frac{b}{2}$ and from that we get the solutions $(a,b) = (x,2x)$.

Case 2: $b^2 - 4k > 0$

We have that $b^2-4k = (2kb^2-b)^2-n^2 \ge (2kb^2-b)^2-(2kb^2-b-1)^2 = 4kb^2-2b-1 > b^2-4k$, which obviously is a contradiction $\Rightarrow$ we get no solutions from this case.

Case 3: $b^2 - 4k < 0$

We have $4k-b^2 = n^2-(2kb^2-b)^2 \ge (2kb^2-b+1)^2-(2kb^2-b)^2 = 4kb^2-2b+1$. If $b \ge 2$, then $4kb^2-2b+1 > 4k-b^2$, which leads to contradiction. If b = 1, then $4kb^2-2b+1 \le 4k-b^2$, and we get $n = 2kb^2-b+1$. Plugging in $b = 1$ gives $a = 2x$, from which we get the solutions (a,b) = (2x,1) $\Rightarrow$ all solutions we get are: $(a,b) = (8x^4-x,2x); (x,2x); (2x,1)$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OronSH
1718 posts
#53 • 1 Y
Y by megarnie
We claim solutions are $(2n,1),(n,2n),(8n^4-n,2n).$

First note $2ab^2-b^3+1\mid a^2\implies 2ab^2-b^3+1\mid a(b^3-1),$ and letting $k(2ab^2-b^3+1)=a(b^3-1)$ rearranges to $2akb^2=(a+k)(b^3-1).$ If $b=1$ we get the first solution set $(2n,1)$ so assume $b>1.$ Then $b^2\mid a+k.$ Now we can rearrange our equation to \[\frac1a+\frac1k=\frac{2b^2}{b^3-1}.\]Since this is symmetric in $a,k$ we WLOG $a\le k.$ Then $\frac2a\ge\frac{2b^2}{b^3-1}$ so $a\le\frac{b^3-1}{b^2}\implies a\le b-1.$ In particular $a<\frac{b^2}{b+1},$ which rearranges to $b^2-a>ab.$ We also have $k\ge b^2-a,$ so $k>ab.$

This gives us the following estimates: \[\frac1a\left(1+\frac1b\right)>\frac1a+\frac1k=\frac{2b^2}{b^3-1}>\frac1a.\]The lower bound rearranges to $a>\frac{b^3-1}{2b^2}>\frac{b-1}2$ and the upper bound becomes $a<\frac{(b^3-1)(b+1)}{2b^3}<\frac{b+1}2.$

Thus $a=\frac b2$ which gives $k=\frac{b^4-b}2.$ Since we assumed $a\le k$ it follows that $a$ can take both of these, and setting $b=2n$ gives our other solution sets $(n,2n),(8n^4-n,2n).$ Checking, these work so we are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Marcos_Vinicius
41 posts
#54
Y by
Let $\frac{a^2}{2ab^2 - b^3 + 1} = k \implies$ $a^2 - 2ab^2k + b^3k - k = 0$ Obvious $a \neq b$, so take $a_1$ the other root and $\begin{cases} a + a_1 = 2b^2k \\ a \cdot a_1 = b^3k - k \end{cases}$
If $a_1 = 0 \implies b = 1$ (cause $k \neq 0$) $\implies a = 2k \implies$ $(a, b) = (2k, 1)$
If $a_1 > 0$, let $(a, b)$ the pair with the smallest sum, so $a_1 \geq a \implies a_1 \geq b^2k$ $\implies (b^3 - 1)k \geq b^2ka \implies$ $b > a$ and $k > 0 \implies$ $2ab^2 - b^3 = (2a - b)b^2 \geq 0$ $\implies 2a \geq b$. Supose $2a > b \implies \frac{a^2}{2ab^2 - b^3 + 1} \leq$ $\frac{a^2}{b^2 + 1} <$ $\frac{a^2}{a^2 + 1} < 1$ $\implies k < 1$ ABS! Then $2a = b \implies k = a^2$ $\implies (a, b) = (a, 2a) \to (8a^4 - a, 2a)$ (by vieta)
$\boxed{\therefore (a, b) = (2t, 1), (t, 2t), (8t^4 - t, 2t)}$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
asdf334
7577 posts
#55 • 1 Y
Y by OronSH
okay vieta jumping
Write $k=\frac{a^2}{2ab^2-b^3+1}$, which is a positive integer. We can rearrange into
\[a^2-(2b^2k)a+k(b^3-1)=0\]and now if $(a,b)$ is a solution to the original problem then so is $\left(\frac{k(b^3-1)}{a},b\right)$.
At this point let's handle the case where $b=1$, so we can assume that $\frac{k(b^3-1)}{a}$ is an integer in the future. When $b=1$, we find $k=\frac{a}{2}$, so any pair $\boxed{(2n,1)}$ is valid.

Now suppose that we have such a pair of solutions $(a_1,b)$ and $(a_2,b)$ where $a_1$ and $a_2$ are positive. Furthermore, assume that $a_1,a_2\ge b$. Then we actually find
\[a_1^2=k(2a_1b^2-b^3+1)\ge k(b^3+1)\]and likewise for $a_2^2$. Hence $a_1a_2\ge k(b^3+1)$, but we also know that $a_1a_2=k(b^3-1)$. That is a contradiction.
That contradiction came from assuming that $a_1,a_2\ge b$. Hence we can assume WLOG that $a_1<b$. Just to keep things simple, let's return back to the problem's original notation, assuming that $a<b$.

Notice $2ab^2-b^3+1=b^2(2a-b)+1$. If $2a-b\ne 0$, then this quantity has magnitude at least $b^2-1$. Since it cannot be $b^2$, as then it would not be a factor of $a^2$, it must then be equal to $b^2-1$. In that case we still require $\frac{a^2}{b^2-1}=1$, which is not possible.

Hence $2a=b$, and one can check that $\boxed{(n,2n)}$ is a solution. Finally, this solution pair corresponds to another pair, which was mentioned earlier as a result of Vieta Jumping. Both solutions have $k=n^2$, and the other solution pair is
\[\left(\frac{k(b^3-1)}{a},b\right)=\boxed{(n(8n^3-1),2n)}\]and that concludes the problem. Nice !! slow progress bit by bit. hope i don't fail usamo i guess guh idk $\blacksquare$
Z K Y
N Quick Reply
G
H
=
a