# SolveCubic Command

Jump to: navigation, search
##### SolveCubic

This article is about GeoGebra command.

## CAS Syntax

SolveCubic( <Cubic Polynomial> )
Solves a given cubic polynomial and returns a list of all solutions.
Example:
SolveCubic(x³ - 1) yields { 1, \mathrm{\mathsf{ \frac{1}{2} (\sqrt{3} i -1) }} , \mathrm{\mathsf{ \frac{1}{2} (\sqrt{3} (-i) -1) }} } .
Note:
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.
• GeoGebra
• Help
• Partners
• Contact us
• Feedback & Questions
• This email address is being protected from spambots. You need JavaScript enabled to view it.
• +43 677 6137 2693
© 2018 International GeoGebra Institute