SolveCubic Command

CAS Syntax

SolveCubic( <Cubic Polynomial> )

Solves a given cubic polynomial and returns a list of all solutions.

SolveCubic(x³ - 1) yields \{ 1, \( \frac{1}\{2} (\sqrt{3} i -1) \) , \( \frac{1}\{2} (\sqrt{3} (-i) -1) \) } .

Often the answers are very cumbersome, e.g. SolveCubic(x³ + x² + x + 2) in which case Solve(x³ + x² + x + 2) or CSolve(x³ + x² + x + 2) may work better for you.