- Split input into 4 regimes
if b < -7.493884136190196e+87
Initial program 57.9
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
- Using strategy
rm Applied flip--57.9
\[\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 simplify30.5
\[\leadsto \frac{\frac{\color{blue}{\left(c \cdot a\right) \cdot 4}}{\left(-b\right) + \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}{2 \cdot a}\]
Applied simplify30.5
\[\leadsto \frac{\frac{\left(c \cdot a\right) \cdot 4}{\color{blue}{\sqrt{b \cdot b - \left(4 \cdot c\right) \cdot a} - b}}}{2 \cdot a}\]
- Using strategy
rm Applied clear-num30.6
\[\leadsto \color{blue}{\frac{1}{\frac{2 \cdot a}{\frac{\left(c \cdot a\right) \cdot 4}{\sqrt{b \cdot b - \left(4 \cdot c\right) \cdot a} - b}}}}\]
Applied simplify28.4
\[\leadsto \frac{1}{\color{blue}{\frac{2 \cdot 1}{c \cdot 4} \cdot \left(\sqrt{b \cdot b - c \cdot \left(4 \cdot a\right)} - b\right)}}\]
Taylor expanded around -inf 7.0
\[\leadsto \frac{1}{\frac{2 \cdot 1}{c \cdot 4} \cdot \color{blue}{\left(2 \cdot \frac{c \cdot a}{b} - 2 \cdot b\right)}}\]
Applied simplify2.5
\[\leadsto \color{blue}{\frac{\frac{\frac{4}{2}}{\frac{2}{c}}}{\frac{a}{b} \cdot c - b}}\]
if -7.493884136190196e+87 < b < -6.958911733493205e-282
Initial program 32.9
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
- Using strategy
rm Applied flip--33.0
\[\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 simplify16.6
\[\leadsto \frac{\frac{\color{blue}{\left(c \cdot a\right) \cdot 4}}{\left(-b\right) + \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}{2 \cdot a}\]
Applied simplify16.6
\[\leadsto \frac{\frac{\left(c \cdot a\right) \cdot 4}{\color{blue}{\sqrt{b \cdot b - \left(4 \cdot c\right) \cdot a} - b}}}{2 \cdot a}\]
- Using strategy
rm Applied clear-num16.8
\[\leadsto \color{blue}{\frac{1}{\frac{2 \cdot a}{\frac{\left(c \cdot a\right) \cdot 4}{\sqrt{b \cdot b - \left(4 \cdot c\right) \cdot a} - b}}}}\]
Applied simplify8.9
\[\leadsto \frac{1}{\color{blue}{\frac{2 \cdot 1}{c \cdot 4} \cdot \left(\sqrt{b \cdot b - c \cdot \left(4 \cdot a\right)} - b\right)}}\]
if -6.958911733493205e-282 < b < 2.6873717073918e+112
Initial program 9.1
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
if 2.6873717073918e+112 < b
Initial program 48.0
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
Taylor expanded around inf 3.7
\[\leadsto \color{blue}{-1 \cdot \frac{b}{a}}\]
Applied simplify3.7
\[\leadsto \color{blue}{\frac{-b}{a}}\]
- Recombined 4 regimes into one program.
Applied simplify6.6
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;b \le -7.493884136190196 \cdot 10^{+87}:\\
\;\;\;\;\frac{\frac{\frac{4}{2}}{\frac{2}{c}}}{\frac{a}{b} \cdot c - b}\\
\mathbf{if}\;b \le -6.958911733493205 \cdot 10^{-282}:\\
\;\;\;\;\frac{1}{\left(\sqrt{b \cdot b - c \cdot \left(a \cdot 4\right)} - b\right) \cdot \frac{2}{4 \cdot c}}\\
\mathbf{if}\;b \le 2.6873717073918 \cdot 10^{+112}:\\
\;\;\;\;\frac{\left(-b\right) - \sqrt{b \cdot b - \left(c \cdot a\right) \cdot 4}}{a \cdot 2}\\
\mathbf{else}:\\
\;\;\;\;\frac{-b}{a}\\
\end{array}}\]