I was reading a lovely paper about Cardano’s formula for solving cubic equations (Hewitt, P, 2009, Cardano’s Formulas or A Pivotal Moment in the History of Algebra). For a general cubic

the solutions are given by Cardano’s nested surd formula as

It is well known (and not really surprising, looking at the formula) that this produces cumbersome and impractical-looking solutions even for simple cubic equations, so it is regarded as being largely of historical interest rather than being useful in practice. For example, page 4 of Hewitt’s paper considers the simple cubic equation

which can be factorised to read and therefore has the single solution (the quadratic component does not have any real roots). If we were to apply Cardano’s formula to this simple equation, we would get the horrible-looking answer

which actually equals 2, as the paper shows on page 6 by using a Pell’s equation approach.

After reading Hewitt’s paper I was idly playing with Cardano’s formula during a train journey, applying it to simple cubic equations to produce horrible-looking solutions like the one above, and the following question occurred to me: *Suppose you did not know anything about Cardano’s formula, and you were faced with one of these horrible-looking nested surd expressions for the first time. Would it be possible to work backwards and deduce its value by manipulating it algebraically to obtain the (hopefully simple) cubic equation from which it came?* I found a way of doing this during my train journey and want to record it here as another possible method of deducing the values of complicated-looking nested surds. (The great Indian mathematician Ramanujan was fond of nested surd formulas as can be seen in this page from his notebooks:

I have used them myself in maths lessons to enthuse students, most of whom find them fascinating. For example, consider the following infinitely nested surds:

Can you deduce their values by manipulating them algebraically?)

To illustrate the approach I was playing with during my train journey, suppose you don’t know anything about Cardano’s formula and you are simply presented with the nested surd formula

Can you find the value of this horrible-looking expression by manipulating it algebraically, without referring in any way to Cardano’s formula? (Have a go before reading on).

I found that one can find its value using some algebra as follows. Let

Then

and after a bit more manipulation this reduces to

But this is just

so we end up with the cubic equation

which factorises as

and therefore has the single solution (the quadratic component does not have any real solutions). Without referring to Cardano’s formula in any way we have therefore deduced that