TITLE: Substitutions that transform Fermat Equations to Elliptic Curves
QUESTION [6 upvotes]: I was reading Chapter 1 of Elliptic Curves - Number Theory and Cryptography by Lawrence C Washington. He was considering Fermat equations $$a^4+b^4=c^4\text{ and }a^3+b^3=c^3.$$ For the 1st equation, let $$x = 2\frac{b^2+c^2}{a^2},\quad y=\frac{4b(b^2+c^2)}{a^3};$$ and for the 2nd equation, let $$x=\frac{12c}{a+b},\quad y=\frac{36(a-b)}{a+b}.$$ Straightforward calculation shows that under these substitutions we transform Fermat equations to elliptic curves: $$y^2=x^3-4x\text{ and }y^2=x^3-432.$$ Before I looked at the substitutions, I tried and failed to find the solutions myself. I am wondering if there is a natural way to deduce those substitutions and the motivation behind.

REPLY [2 votes]: After reading the following chapters of the book, here are some explanations that can help clarify why one can always transform those two Fermat equations to elliptic curves. Indeed, one can always transform

a cubic equation in $P_K^2$ (2 dimensional projective space over $K$, $\operatorname{char}K \neq 2,3$) or
a quartic equation of the form $v^2 = au^4+bu^3+cu^2+du+e$ ($\operatorname{char}K\neq 2$)

into an elliptic curve (in Weierstrass form $y^2=x^3+Ax+B$) provided a point satisfying the equation.
For the first case, one can refer to Elliptic curve handbook by I. Connell. Here I present another way to deduce the elliptic curve related to the Fermat equation $x^3+y^3+z^3=0$.
Set $x/z = u+v$, $y/z=u-v$. We have $(u+v)^3+(u-v)^3+1=0$, and so $2u^3+6uv^2+1=0$, hence $6(v/u)^2 = (-1/u)^3-2$. Let $x_1 = -6/u$, $y_1 = 36v/u$. We get $y_1^2 = x_1^3 - 432$.
For the second case, suppose $(p,q)$ satisfies $v^2=au^4+bu^3+cu^2+du+e$. By translation $u\mapsto u+p$, we may assume $p=0$. We have two cases:

if $q=0$, then $e=0$ and so $(v/u^2)^2 = d(1/u)^3+c(1/u)^2+b(1/u)+a$.
if $q\neq 0$, set $$x = \frac{2q(v+q)+du}{u^2},\quad y=\frac{4q^2(v+q)+2q(du+cu^2)-(d^2u^2/2q)}{u^3},$$
$$a_1 = d/q, a_2 = c-(d^2/4q^2), a_3 = 2qb, a_4 = -4q^2a, a_6 = a_2a_4.$$
By straightforward calculation, $$y^2 + a_1xy + a_3y = x^3 + a_2x^2 + a_4x + a_6.$$
One can deduce Weierstrass form by completing squares for $y$ and translating $x$.

Although I still have no idea how one would stumble upon the substitution above.