Ramanujan's Nested Cube:
If $\alpha,\beta$ and $\gamma$ are the roots of the cubic equation$$x^3-ax^2+bx-1=0\tag{1}$$then, they satisfy$$\alpha^{1/3}+\beta^{1/3}+\gamma^{1/3}=(a+6+3t)^{1/3}\tag{2.1}$$ $$(\alpha\beta)^{1/3}+(\beta\gamma)^{1/3}+(\gamma\alpha)^{1/3}=(b+6+3t)^{1/3}\tag{2.2}$$where$$t^3-3(a+b+3)t-(ab+6(a+b)+9)=0\tag3$$
The formula (2.1) is what Ramanujan used to get $$\sqrt[3]{\cos\tfrac {2\pi}7}+\sqrt[3]{\cos\tfrac {4\pi}7}+\sqrt[3]{\cos\tfrac {8\pi}7}=\sqrt[3]{\tfrac 12\left(5-3\sqrt[3]7\right)}$$ by starting with $x^3+x^2-2x-1=0$ along with its trigonometric roots $\cos\frac {2\pi}7,\>\cos\frac {4\pi}7, \>\cos\frac {8\pi}7$ on LHS, and then getting RHS with $a=-1,b=-2$.
Question:
- How to prove the formulas (2.1) and (2.2)?
- Is there a standard procedure to find trigonometric roots of a polynomial?
I first started off with a function $x^3-px^2+qx-1=0$ and assumed that the roots were $\alpha^{1/3},\beta^{1/3},\gamma^{1/3}$. That way, by Vieta's formula, we have$$\alpha^{1/3}+\beta^{1/3}+\gamma^{1/3}=p$$$$(\alpha\beta)^{1/3}+(\beta\gamma)^{1/3}+(\gamma\alpha)^{1/3}=-q$$However, I'm not sure how to represent the RHS in $(2.1)$ or $(2.2)$
EDIT: I found a proof, but something doesn't match up. I have posted another question here
Let $$\sqrt[3]{\cos\tfrac {2\pi}7}+\sqrt[3]{\cos\tfrac {4\pi}7}+\sqrt[3]{\cos\tfrac {8\pi}7}=x$$ and $$\sqrt[3]{\cos\tfrac {2\pi}7\cos\tfrac {4\pi}7}+\sqrt[3]{\cos\tfrac {2\pi}7\cos\tfrac {8\pi}7}+\sqrt[3]{\cos\tfrac {4\pi}7\cos\tfrac {8\pi}7}=y.$$ Hence, since $$\cos\tfrac {2\pi}7+\cos\tfrac {4\pi}7+\cos\tfrac {8\pi}7=-\frac{1}{2},$$ $$\cos\tfrac {2\pi}7\cos\tfrac {4\pi}7+\cos\tfrac {2\pi}7\cos\tfrac {8\pi}7+\cos\tfrac {4\pi}7\cos\tfrac {8\pi}7=-\frac{1}{2}$$ and $$\cos\tfrac {2\pi}7\cos\tfrac {4\pi}7\cos\tfrac {8\pi}7=\frac{1}{8},$$ we obtain: $$x^3=\cos\tfrac {2\pi}7+\cos\tfrac {4\pi}7+\cos\tfrac {8\pi}7+3xy-3\sqrt[3]{\cos\tfrac {2\pi}7\cos\tfrac {4\pi}7\cos\tfrac {8\pi}7}=-\frac{1}{2}+3xy-\frac{3}{2}=3xy-2$$ and $$y^3=\cos\tfrac {2\pi}7\cos\tfrac {4\pi}7+\cos\tfrac {2\pi}7\cos\tfrac {8\pi}7+\cos\tfrac {4\pi}7\cos\tfrac {8\pi}7+$$ $$+3xy\sqrt[3]{\cos\tfrac {2\pi}7\cos\tfrac {4\pi}7\cos\tfrac {8\pi}7}-3\sqrt[3]{\cos^2\tfrac {2\pi}7\cos^2\tfrac {4\pi}7\cos^2\tfrac {8\pi}7}=$$ $$=-\frac{1}{2}+\frac{3}{2}xy-\frac{3}{4}=\frac{3}{2}xy-\frac{5}{4}.$$ Thus, $$x^3y^3=(3xy-2)\left(\frac{3}{2}xy-\frac{5}{4}\right)$$ or $$4x^3y^3=18x^2y^2-27xy+10$$ or $$8x^3y^3-36x^2y^2+54xy-20=0$$ or $$(2xy-3)^3+7=0$$ or $$xy=\frac{1}{2}\left(3-\sqrt[3]7\right),$$ which gives $$x^3=\frac{3}{2}\left(3-\sqrt[3]7\right)-2$$ or $$x=\sqrt[3]{\frac{1}{2}\left(5-3\sqrt[3]7\right)}$$ and we are done!
In the general we just need to solve a cubic equation of $xy$.