- Split input into 4 regimes
if (- b) < -2.2558475779903147e+76
Initial program 39.8
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
Taylor expanded around inf 10.0
\[\leadsto \frac{\color{blue}{2 \cdot \frac{c \cdot a}{b} - 2 \cdot b}}{2 \cdot a}\]
Applied simplify4.1
\[\leadsto \color{blue}{\frac{c}{b} \cdot 1 - \frac{b}{a}}\]
if -2.2558475779903147e+76 < (- b) < 6.07119090972316e-184
Initial program 11.3
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
- Using strategy
rm Applied clear-num11.4
\[\leadsto \color{blue}{\frac{1}{\frac{2 \cdot a}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}}\]
if 6.07119090972316e-184 < (- b) < 2.5282880615562266e+91
Initial program 36.0
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
- Using strategy
rm Applied flip--36.1
\[\leadsto \frac{\color{blue}{\frac{\left(-b\right) \cdot \left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)} \cdot \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{\left(-b\right) + \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}}{2 \cdot a}\]
Applied simplify15.7
\[\leadsto \frac{\frac{\color{blue}{\left(4 \cdot c\right) \cdot a}}{\left(-b\right) + \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}{2 \cdot a}\]
Applied simplify15.7
\[\leadsto \frac{\frac{\left(4 \cdot c\right) \cdot a}{\color{blue}{\sqrt{(\left(-4\right) \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b}}}{2 \cdot a}\]
- Using strategy
rm Applied add-cube-cbrt16.3
\[\leadsto \frac{\frac{\left(4 \cdot c\right) \cdot a}{\color{blue}{\left(\sqrt[3]{\sqrt{(\left(-4\right) \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b} \cdot \sqrt[3]{\sqrt{(\left(-4\right) \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b}\right) \cdot \sqrt[3]{\sqrt{(\left(-4\right) \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b}}}}{2 \cdot a}\]
Applied times-frac13.7
\[\leadsto \frac{\color{blue}{\frac{4 \cdot c}{\sqrt[3]{\sqrt{(\left(-4\right) \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b} \cdot \sqrt[3]{\sqrt{(\left(-4\right) \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b}} \cdot \frac{a}{\sqrt[3]{\sqrt{(\left(-4\right) \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b}}}}{2 \cdot a}\]
Applied times-frac7.4
\[\leadsto \color{blue}{\frac{\frac{4 \cdot c}{\sqrt[3]{\sqrt{(\left(-4\right) \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b} \cdot \sqrt[3]{\sqrt{(\left(-4\right) \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b}}}{2} \cdot \frac{\frac{a}{\sqrt[3]{\sqrt{(\left(-4\right) \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b}}}{a}}\]
Applied simplify7.0
\[\leadsto \frac{\frac{4 \cdot c}{\sqrt[3]{\sqrt{(\left(-4\right) \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b} \cdot \sqrt[3]{\sqrt{(\left(-4\right) \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b}}}{2} \cdot \color{blue}{\frac{1}{\sqrt[3]{\sqrt{(\left(c \cdot a\right) \cdot \left(-4\right) + \left(b \cdot b\right))_*} - b}}}\]
if 2.5282880615562266e+91 < (- b)
Initial program 58.6
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
Taylor expanded around -inf 40.6
\[\leadsto \frac{\left(-b\right) - \color{blue}{\left(2 \cdot \frac{c \cdot a}{b} - b\right)}}{2 \cdot a}\]
Applied simplify2.7
\[\leadsto \color{blue}{\frac{-c}{\frac{b}{1}}}\]
- Recombined 4 regimes into one program.
Applied simplify7.0
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;-b \le -2.2558475779903147 \cdot 10^{+76}:\\
\;\;\;\;\frac{c}{b} - \frac{b}{a}\\
\mathbf{if}\;-b \le 6.07119090972316 \cdot 10^{-184}:\\
\;\;\;\;\frac{1}{\frac{2 \cdot a}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}\\
\mathbf{if}\;-b \le 2.5282880615562266 \cdot 10^{+91}:\\
\;\;\;\;\frac{1}{\sqrt[3]{\sqrt{(\left(a \cdot c\right) \cdot \left(-4\right) + \left(b \cdot b\right))_*} - b}} \cdot \frac{\frac{4 \cdot c}{\sqrt[3]{\sqrt{(\left(-4\right) \cdot \left(a \cdot c\right) + \left(b \cdot b\right))_*} - b} \cdot \sqrt[3]{\sqrt{(\left(-4\right) \cdot \left(a \cdot c\right) + \left(b \cdot b\right))_*} - b}}}{2}\\
\mathbf{else}:\\
\;\;\;\;-\frac{c}{b}\\
\end{array}}\]