Calculate a Cubic Equation
Calculator for cubic equations. The three results of the equation ax³+bx²+cx+d=0 will be calculated. Such a third-degree equation always has at least one real solution, but the other two solutions can also be complex numbers. Please enter a value for each coefficient a, b c and d. If this is omitted, then a is set to 1, the others to 0. The formula is converted to normal form so that the parameter a of x³ equals 1. This normal form is a different function than the one given, but has the same zeros.
Not for every equation a solution is found!
The solution formulas for cubic equations of the form
a=12a1³-3a1²a2²-54a1a2a0+81a0²+12a0a2³
b=³√36a1a2-108a0-8a2³+12√a
x1=(b²-12a1+4a2²-2a2b)/(6b)
p=(-b²+12a1-4a2²-4a2b)/(-6b)
q=(a1a2b-9ba0+b√a+b²a1-2a1a2²-18a2a0+2a2√a+12a1²)/(3b²)
x2=-p/2+i√-(p/2)²+q
x3=-p/2-i√-(p/2)²+q
The graph of a cube function is continuous, always comes from the direction of minus or plus infinity and goes in the opposite direction. If a is positive, then it goes from minus to plus infinity, otherwise the other way. Therefore, the graph must intersect the x-axis and therefore has at least one real zero. This applies to all odd-numbered polynomials. Even-numbered polynomials, on the other hand, can have real zeros, but they don't have to, since they go either from infinity to infinity or from negative infinity to negative infinity and therefore don't have to intersect the x-axis.
The ancient Babylonians discovered how to solve quadratic equations over 4,000 years ago. However, this was not known for cubic equations for a long time. It wasn't until 1545 that the Italian mathematician Gerolamo Cardano published his solution formula for reduced cubic equations of the form x³+px+q=0, i.e., without x². The above solution formulas can be derived from Cardano's formulas.