- Split input into 4 regimes
if b < -2.0467442862822415e+134
Initial program 54.4
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Taylor expanded around -inf 3.6
\[\leadsto \color{blue}{\frac{-2}{3} \cdot \frac{b}{a}}\]
if -2.0467442862822415e+134 < b < 5.013514672133209e-240
Initial program 10.1
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
- Using strategy
rm Applied associate-/r*10.1
\[\leadsto \color{blue}{\frac{\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3}}{a}}\]
Applied simplify10.1
\[\leadsto \frac{\color{blue}{\frac{\sqrt{(\left(-c\right) \cdot \left(3 \cdot a\right) + \left(b \cdot b\right))_*} - b}{3}}}{a}\]
if 5.013514672133209e-240 < b < 1.3753572696482233e+124
Initial program 35.1
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
- Using strategy
rm Applied flip-+35.2
\[\leadsto \frac{\color{blue}{\frac{\left(-b\right) \cdot \left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c} \cdot \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{\left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}}{3 \cdot a}\]
Applied simplify16.1
\[\leadsto \frac{\frac{\color{blue}{c \cdot \left(a \cdot 3\right)}}{\left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}{3 \cdot a}\]
- Using strategy
rm Applied add-cube-cbrt16.8
\[\leadsto \color{blue}{\left(\sqrt[3]{\frac{\frac{c \cdot \left(a \cdot 3\right)}{\left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}{3 \cdot a}} \cdot \sqrt[3]{\frac{\frac{c \cdot \left(a \cdot 3\right)}{\left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}{3 \cdot a}}\right) \cdot \sqrt[3]{\frac{\frac{c \cdot \left(a \cdot 3\right)}{\left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}{3 \cdot a}}}\]
Applied simplify16.8
\[\leadsto \color{blue}{\left(\sqrt[3]{\frac{c}{\left(-b\right) - \sqrt{(\left(a \cdot c\right) \cdot \left(-3\right) + \left(b \cdot b\right))_*}}} \cdot \sqrt[3]{\frac{c}{\left(-b\right) - \sqrt{(\left(a \cdot c\right) \cdot \left(-3\right) + \left(b \cdot b\right))_*}}}\right)} \cdot \sqrt[3]{\frac{\frac{c \cdot \left(a \cdot 3\right)}{\left(-b\right) - \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}{3 \cdot a}}\]
Applied simplify8.3
\[\leadsto \left(\sqrt[3]{\frac{c}{\left(-b\right) - \sqrt{(\left(a \cdot c\right) \cdot \left(-3\right) + \left(b \cdot b\right))_*}}} \cdot \sqrt[3]{\frac{c}{\left(-b\right) - \sqrt{(\left(a \cdot c\right) \cdot \left(-3\right) + \left(b \cdot b\right))_*}}}\right) \cdot \color{blue}{\sqrt[3]{\frac{c}{\left(-b\right) - \sqrt{(\left(c \cdot a\right) \cdot \left(-3\right) + \left(b \cdot b\right))_*}}}}\]
if 1.3753572696482233e+124 < b
Initial program 60.2
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Taylor expanded around inf 14.7
\[\leadsto \frac{\color{blue}{\frac{-3}{2} \cdot \frac{c \cdot a}{b}}}{3 \cdot a}\]
Applied simplify1.8
\[\leadsto \color{blue}{1 \cdot \left(\frac{c}{b} \cdot \frac{\frac{-3}{2}}{3}\right)}\]
- Recombined 4 regimes into one program.
Applied simplify7.0
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;b \le -2.0467442862822415 \cdot 10^{+134}:\\
\;\;\;\;\frac{-2}{3} \cdot \frac{b}{a}\\
\mathbf{if}\;b \le 5.013514672133209 \cdot 10^{-240}:\\
\;\;\;\;\frac{\frac{\sqrt{(\left(-c\right) \cdot \left(3 \cdot a\right) + \left(b \cdot b\right))_*} - b}{3}}{a}\\
\mathbf{if}\;b \le 1.3753572696482233 \cdot 10^{+124}:\\
\;\;\;\;\sqrt[3]{\frac{c}{\left(-b\right) - \sqrt{(\left(c \cdot a\right) \cdot \left(-3\right) + \left(b \cdot b\right))_*}}} \cdot \left(\sqrt[3]{\frac{c}{\left(-b\right) - \sqrt{(\left(c \cdot a\right) \cdot \left(-3\right) + \left(b \cdot b\right))_*}}} \cdot \sqrt[3]{\frac{c}{\left(-b\right) - \sqrt{(\left(c \cdot a\right) \cdot \left(-3\right) + \left(b \cdot b\right))_*}}}\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{c}{b} \cdot \frac{\frac{-3}{2}}{3}\\
\end{array}}\]