mit 

Man benutze die sog. „Mitternachtsformel“:

Kubische Gleichung:
Durch Substitution mit

in die Form
bringen.
Lösung
- Fall 1:

Eine reelle Lösung:
![{\displaystyle x={\sqrt[{3}]{-{\frac {q}{2}}+{\sqrt {{\frac {q^{2}}{4}}+{\frac {p^{3}}{27}}}}}}+{\sqrt[{3}]{-{\frac {q}{2}}-{\sqrt {{\frac {q^{2}}{4}}+{\frac {p^{3}}{27}}}}}}-{\frac {b}{3a}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/e8062a0bbf133e2f4a27a7fb98aa6df146ebb54d)
- Fall 2:

Zwei reelle Lösungen:
![{\displaystyle x_{1}={\sqrt[{3}]{\frac {q}{2}}}-{\frac {b}{3a}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/215a3e7ec5e47a0d28ec1949000c873651cf0706)
![{\displaystyle x_{2}=-{\sqrt[{3}]{4q}}-{\frac {b}{3a}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/82ff4a9edebf265f3a109b3f71d987b25d92fc1f)
- Fall 3:
(Casus irreducibilis)
Drei reelle Lösungen:


Substitution mit
z ist eine beliebige Lösung der Gleichung
.
Mit
ergibt sich:
- Fall 1:


- Fall 2:

