Bossy Lobster

A blog by Danny Hermes; musing on tech, mathematics, etc.

Edit on GitHub

When Elementary Becomes Elliptic

I enjoy watching math videos targeted at advanced high school or undergraduate students — even if the topics are far away from research level mathematics. I was recently watching a "quick and easy challenge in algebra" video from SyberMath1 that used a neat trick to solve the problem. As the video title hints, this could've been a homework problem for advanced high schoolers. In the video, SyberMath makes an offhand comment:

Notice that the original expression is equal to one and obviously you can find some numbers that satisfy this, right?

The ensuing proof in the video shows that an identity holds for all values, so the task of "find some numbers" never actually happens. However, this comment stuck with me and I tried to find the "simplest" numbers that would make that expression equal one. Going down this path I accidentally waded2 into deep waters with advanced number theory concepts.

Contents

Original Problem

The original problem statement3 is as follows. Given

ab+c+bc+a+ca+b=1\frac{a}{b + c} + \frac{b}{c + a} + \frac{c}{a + b} = 1

show:

a2b+c+b2c+a+c2a+b=0\frac{a^2}{b + c} + \frac{b^2}{c + a} + \frac{c^2}{a + b} = 0

This blog post will focus on finding triples a,b,ca, b, c that satisfy the first equation. I was hoping I could find a solution in Q3\mathbf{Q}^3 but as we'll see below this is impossible!

Reduction

TL;DR we reduce to two degrees of freedom via

s=a+b+c,p=as,q=bs11p+11q+1p+q=4\begin{gather*}s = a + b + c, p = \frac{a}{s}, q = \frac{b}{s} \\ \frac{1}{1 - p} + \frac{1}{1 - q} + \frac{1}{p + q} = 4\end{gather*}

Plot p-q

Feel free to skip to the next section if you don't care how or why we can make this reduction.

Since the equation has three unknowns and one constraint, we expect the solution to be a family with two degrees of freedom, so we want to first reduce it. Note that this equation is homogeneous; scaling a,b,ca, b, c to λa,λb,λc\lambda a, \lambda b, \lambda c for any λ0\lambda \neq 0 will preserve the relationship.

For the expression to be well-defined we must have a+b0a + b \neq 0 (and similar for the other permuted denominators). With this out of the way we'll incorporate s=a+b+cs = a + b + c into the original equation in a fashion similar to the trick in the video:

s(1sa+1sb+1a+b)=ab+c+b+cb+c+=ab+c+bc+a+ca+b+3=4.\begin{aligned} s\left(\frac{1}{s - a} + \frac{1}{s - b} + \frac{1}{a + b}\right) &= \frac{a}{b + c} + \frac{b + c}{b + c} + \cdots \\ &= \frac{a}{b + c} + \frac{b}{c + a} + \frac{c}{a + b} + 3 \\ &= 4.\end{aligned}

We must have a0a \neq 0 and by symmetry b0b \neq 0 and c0c \neq 0. By way of contradiction, if a=0a = 0:

bc+cb=1    bc=1±i32\frac{b}{c} + \frac{c}{b} = 1 \implies \frac{b}{c} = \frac{1 \pm i \sqrt{3}}{2}

which can't happen since b,cRb, c \in \mathbf{R}. Using this, we can finally show s0s \neq 0; again by way of contradiction, if s=0s = 0:

asa+=aa+bb+cc=31.\frac{a}{s - a} + \cdots = \frac{a}{-a} + \frac{b}{-b} + \frac{c}{-c} = -3 \neq 1.

Now we can safely divide by ss to make an equation with our two free parameters:

4=ssa+ssb+sa+b=11a/s+11b/s+1a/s+b/s.\begin{aligned} 4 &= \frac{s}{s - a} + \frac{s}{s - b} + \frac{s}{a + b} \\ &= \frac{1}{1 - a/s} + \frac{1}{1 - b/s} + \frac{1}{a/s + b/s}.\end{aligned}

A Wild Elliptic Curve Appears

Clearing denominators in our equation we can form a quadratic in qq:

(34p)q2(1p)(34p)q+(3p23p+1)=0(3 - 4p) q^2 - (1 - p)(3 - 4p) q + \left(3 p^2 - 3p + 1\right) = 0

which has solutions:

q=(1p)(34p)±Δ2(34p).q = \frac{(1 - p)(3 - 4p) \pm \sqrt{\Delta}}{2(3 - 4p)}.

Given a rational pp we only have rational qq if the discriminant is the square of a rational:

d2=Δ=(p+1)(4p3)(4p23p+1).d^2 = \Delta = \left(p + 1\right) \left(4p - 3\right) \left(4 p^2 - 3p + 1\right).

Thanks to a helpful tip to use a Möbius transformation, we can transform via

d=63y(3x25)2,p=9(x+1)4(3x25)d = \frac{63y}{(3x - 25)^2}, p = \frac{9(x + 1)}{4(3x - 25)}

which produces an elliptic curve in Weierstrass form:

y2=x3+2153x1058227.y^2 = x^3 + \frac{215}{3} x - \frac{10582}{27}.

In other words, rational solutions (a,b,c)Q3\left(a, b, c\right) \in \mathbf{Q}^3 correspond to rational solutions (p,q)Q2\left(p, q\right) \in \mathbf{Q}^2 which in turn correspond to rational points (x,y)\left(x, y\right) on this elliptic curve.

Bad News

Plot x-y

In general, finding rational points on an elliptic curve (and proving you have found them all) is a challenge. Luckily MAGMA exists and the helpful mathematicians on the internet want you to know. Plugging in our curve

E:=EllipticCurve([215 / 3, - 10582 / 27]);
MordellWeilGroup(E);
RationalPoints(E : Bound:=1000);

we find that there are only six rational points on the curve (including the point at infinity, which requires looking for points in projective space). These points are isomorphic to Z/6Z\mathbf{Z}/6\mathbf{Z} under addition on the curve, so a single generator is enough to describe the points. Using projective coordinates x=X/Z,y=Y/Zx = X/Z, y = Y/Z we can start with one of the two generators:

P1=[109:672:3]2P1=[25:84:3]3P1=[13:0:3]4P1=[25:84:3]5P1=[109:672:3]6P1=[0:1:0].\begin{aligned}P_1 &= \left[ 109 : 672 : 3 \right] \\ 2P_1 &= \left[ 25 : 84 : 3 \right] \\ 3P_1 &= \left[ 13 : 0 : 3 \right] \\ 4P_1 &= \left[ 25 : -84 : 3 \right] \\ 5P_1 &= \left[ 109 : -672 : 3 \right] \\ 6P_1 &= \left[ 0 : 1 : 0 \right].\end{aligned}

Since we'd like to convert these back to solutions p,qp, q we want to represent these points in terms of [X:Y:Z]\left[ X : Y : Z \right]. Plugging in our transformations for pp and dd we have

p=9(x+1)4(3x25)=18(X+Z)8(3X25Z)q=3x109±3y8(3x25)=3X109Z±3Y8(3X25Z).\begin{aligned}p &= \frac{9(x + 1)}{4(3x - 25)} = \frac{18(X + Z)}{8(3X - 25Z)} \\ q &= \frac{3x - 109 \pm 3y}{8(3x - 25)} = \frac{3X - 109Z \pm 3Y}{8(3X - 25Z)}.\end{aligned}

These are relevant because we can convert to points in projective space p=P/R,q=Q/Rp = P/R, q = Q/R using R=8(3X25Z)R = 8(3X - 25Z):

[X:Y:Z]    [P:Q:R]6P1    [0:1:0]2P1 or 4P1    [1:0:0]2P1 or 4P1    [1:1:0]P1 or 5P1    [1:1:1]P1 or 5P1    [1:1:1]3P1    [1:1:1].\begin{aligned}\left[ X : Y : Z \right] &\iff \left[ P : Q : R \right] \\ 6P_1 &\iff \left[ 0 : 1 : 0 \right] \\ 2P_1 \text{ or } 4P_1 &\iff \left[ 1 : 0 : 0 \right] \\ 2P_1 \text{ or } 4P_1 &\iff \left[ 1 : -1 : 0 \right] \\ P_1 \text{ or } 5P_1 &\iff \left[ 1 : 1 : 1 \right] \\ P_1 \text{ or } 5P_1 &\iff \left[ 1 : -1 : 1 \right] \\ 3P_1 &\iff \left[ -1 : 1 : 1 \right].\end{aligned}

So unfortunately, half of the six rational points on the elliptic curve correspond to points [P:Q:R]\left[ P : Q : R \right] at infinity and the other half are invalid because p=1p = 1 or q=1q = 1.

The Next Best Thing

So we can't find solutions over Q\mathbf{Q} and it's pretty obvious that we can find solutions over R\mathbf{R} but is there anything simpler? What about over Q[n]\mathbf{Q}\left[\sqrt{n}\right] for a sufficiently small value of nn? Luckily, we can search for solutions in these rings by slightly modifying our previous procedure to find rational solutions to

nd2=Δn d^2 = \Delta

and can use a family of Möbius transformations to transform to Weierstrass form:

d=63ny(3nx25)2,p=9(nx+1)4(3nx25)y2=x3+2153n2x1058227n3.\begin{gather*}d = \frac{63ny}{(3nx - 25)^2}, p = \frac{9(nx + 1)}{4(3nx - 25)} \\ y^2 = x^3 + \frac{215}{3 n^2} x - \frac{10582}{27 n^3}.\end{gather*}

For all choices of nn there is a rational point [X:Y:Z]=[13:0:3n]\left[ X : Y : Z \right] = \left[ 13 : 0 : 3n \right] that will always have order two and will always correspond to the invalid p=1,q=1p = -1, q = 1.

To find some solution over Q[n]\mathbf{Q}\left[\sqrt{n}\right] the "simplest" choice would be n=2n = 2 but it turns out the elliptic curve produced has even fewer rational points than the n=1n = 1 case! The rational points are isomorphic to Z/2Z\mathbf{Z}/2\mathbf{Z} and they correspond to a point at infinity and the point p=1,q=1p = -1, q = 1 common to all values of nn.

The next choice up — n=3n = 3 — luckily yields an infinite family of rational points! The group has the same generator with finite order mentioned above and a second generator with infinite order [X:Y:Z]=[31:66:9]\left[ X : Y : Z \right] = \left[ 31 : 66 : 9 \right]. Following our transformation backwards from this point we get

p=174,q=13±1138.p = \frac{17}{4}, q = \frac{-13 \pm 11 \sqrt{3}}{8}.

To clear denominators we can arbitrarily choose s=8s = 8 and find a solution to the original equation:

a=34,b=13+113,c=13113.a = 34, b = -13 + 11 \sqrt{3}, c = -13 - 11 \sqrt{3}.

It should come as no surprise that bb and cc are conjugates in Q[3]\mathbf{Q}\left[\sqrt{3}\right].

The End

Even simple questions have deeper questions just one or two hops away! The offhand comment by SyberMath spawned an exploration that led to much deeper mathematics. In fact, the questions don't stop here. Clearly the differences between Q[2]\mathbf{Q}\left[\sqrt{2}\right] and Q[3]\mathbf{Q}\left[\sqrt{3}\right] above is part of a larger pattern and investigating that pattern more could lead to even more deep mathematics.

Given how simple the original homogeneous equation is, I was floored that there are zero rational solutions. But I was also ecstatic that the tools exist to conclusively confirm the absence of rational solutions. If you've made it this far, thanks for following along!


  1. I also really enjoy Michael Penn videos.
  2. I actually consulted my great friend Wade when wading into these deep waters.
  3. I have swapped out the variable names used in the video since I'll be introducing many more variables in this post.

Comments