Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

SageMath chooses complex cube roots by default, which explains this behavior.

There's not much you can do about this default. But you can do this:

plot(sgn(x)*abs(x)^(1/3),(x,-13,13))

cube root graph

click to hide/show revision 2
No.2 Revision

SageMath sometimes chooses complex cube roots by default, roots, which explains this behavior.

There's not much you can do about this default. internal choice. But you can do this:

plot(sgn(x)*abs(x)^(1/3),(x,-13,13))

cube root graph