The solution of the cubic equation can be found by reducing the equation as follows:

0= ax3+ bx2+ cx+d = ay3+ (c- b23a )y+ (d+ 2b327a2 -bc3a) = a(y3+ (ca- b23a2 )y+ (da+ 2b327a3 -bc3a2)) = a(y3+ (3st )y+ (s3-t3))

where

x= y-b3a 3st= ca- b23a2 s3-t3= da+ 2b327a3 -bc3a2

and y=t-s will give us a solution to the equation. We can take the third equation and solve for t, to get

t=13s(ca- b23a2)

Cubing both sides of the equation, we get

t3=1s3 (c3a- b29a2)3

We can substitute this into the fourth equation and multiple by s3 to get a quadratic in s3

(s3)2- (da+ 2b327a3 -bc3a2)s3- (c3a- b29a2)3 =0

Multiplying by (3a)6, we get a quadratic in (3as)3

((3as)3)2- (36a5d+ 33a32b3- 35a4bc) (3as)3- (3ac-b2)3 =0

This can be solved with the quadratic formula to get

(3as)3 = (36a5d+ 33a32b3- 35a4bc) ± (36a5d+ 33a32b3- 35a4bc)2 +4(3ac-b2)3 2

This we can easily solve for s by taking a cubed root and dividing by 3a

s=13a (36a5d+ 33a32b3- 35a4bc) ± (36a5d+ 33a32b3- 35a4bc)2 +4(3ac-b2)3 2 3

From the value of s, we can get the value of t. We make the observation that since y=t-s is a root of our equation above, we can factor as follows

y3+ (3st)y+ (s3-t3) = (y+s-t) (y2+(t-s)y+ s2+st+t2)

Now, the second quadratic can be factored via the quadratic formula to get

y=s-t± -3(s+t)22= s-t±i3(s+t)2