- Split input into 3 regimes
if b < -1.2004129928316368e+154
Initial program 60.9
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
- Using strategy
rm Applied div-inv60.9
\[\leadsto \color{blue}{\left(\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}\right) \cdot \frac{1}{2 \cdot a}}\]
Taylor expanded around -inf 11.1
\[\leadsto \left(\left(-b\right) + \color{blue}{\left(2 \cdot \frac{c \cdot a}{b} - b\right)}\right) \cdot \frac{1}{2 \cdot a}\]
Applied simplify2.2
\[\leadsto \color{blue}{\frac{\frac{2 \cdot a}{\frac{b}{c}} - \left(b + b\right)}{2 \cdot a}}\]
if -1.2004129928316368e+154 < b < 756484004754347.6
Initial program 15.5
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
if 756484004754347.6 < b
Initial program 55.5
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Taylor expanded around inf 43.8
\[\leadsto \frac{\left(-b\right) + \color{blue}{\left(b - 2 \cdot \frac{c \cdot a}{b}\right)}}{2 \cdot a}\]
Applied simplify5.3
\[\leadsto \color{blue}{\left(-1\right) \cdot \frac{c}{b}}\]
- Recombined 3 regimes into one program.
Applied simplify10.8
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;b \le -1.2004129928316368 \cdot 10^{+154}:\\
\;\;\;\;\frac{\frac{2 \cdot a}{\frac{b}{c}} - \left(b + b\right)}{2 \cdot a}\\
\mathbf{if}\;b \le 756484004754347.6:\\
\;\;\;\;\frac{\sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c} + \left(-b\right)}{2 \cdot a}\\
\mathbf{else}:\\
\;\;\;\;-\frac{c}{b}\\
\end{array}}\]