The two expression are not equal. For example, let p = 1 and q = 0 then the
first is 1 and the second is (-1)^(1/3) which Maple considers as
(1+sqrt(3)*I)/2. If you used surd(-1,3) instead of (-1)^(1/3) you get -1
which is still different from 1.
Or, did you know that and just want to make the transformation anyhow? In
that case the only thing I can think of now is:
> A:=-p/(-q+(q^2+p^3)^(1/2))^(1/3):
> denom(A):
> op([1,1],%)-op([1,2],%):
> %^(1/3);
2 3 1/2 (1/3)
(-q - (q + p ) )
--Edwin Clark
(And Happy New Year!)
> Or, did you know that and just want to make the transformation anyhow? In
> that case the only thing I can think of now is:
>
> > A:=-p/(-q+(q^2+p^3)^(1/2))^(1/3):
> > denom(A):
> > op([1,1],%)-op([1,2],%):
> > %^(1/3);
>
> 2 3 1/2 (1/3)
> (-q - (q + p ) )
Great! Thank you very much and Happy New Year!
Shaul