- Split input into 4 regimes
if b < -2.5377266411070587e+153
Initial program 60.7
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Taylor expanded around -inf 2.6
\[\leadsto \color{blue}{-1 \cdot \frac{b}{a}}\]
Applied simplify2.6
\[\leadsto \color{blue}{\frac{-b}{a}}\]
if -2.5377266411070587e+153 < b < 4.660353967422534e-227
Initial program 10.0
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
- Using strategy
rm Applied clear-num10.2
\[\leadsto \color{blue}{\frac{1}{\frac{2 \cdot a}{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}}}\]
Applied simplify10.2
\[\leadsto \frac{1}{\color{blue}{\frac{a \cdot 2}{\sqrt{(\left(-4\right) \cdot \left(a \cdot c\right) + \left(b \cdot b\right))_*} - b}}}\]
if 4.660353967422534e-227 < b < 5.182100731555394e+96
Initial program 34.5
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
- Using strategy
rm Applied clear-num34.5
\[\leadsto \color{blue}{\frac{1}{\frac{2 \cdot a}{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}}}\]
Applied simplify34.5
\[\leadsto \frac{1}{\color{blue}{\frac{a \cdot 2}{\sqrt{(\left(-4\right) \cdot \left(a \cdot c\right) + \left(b \cdot b\right))_*} - b}}}\]
- Using strategy
rm Applied flip--34.6
\[\leadsto \frac{1}{\frac{a \cdot 2}{\color{blue}{\frac{\sqrt{(\left(-4\right) \cdot \left(a \cdot c\right) + \left(b \cdot b\right))_*} \cdot \sqrt{(\left(-4\right) \cdot \left(a \cdot c\right) + \left(b \cdot b\right))_*} - b \cdot b}{\sqrt{(\left(-4\right) \cdot \left(a \cdot c\right) + \left(b \cdot b\right))_*} + b}}}}\]
Applied associate-/r/34.6
\[\leadsto \frac{1}{\color{blue}{\frac{a \cdot 2}{\sqrt{(\left(-4\right) \cdot \left(a \cdot c\right) + \left(b \cdot b\right))_*} \cdot \sqrt{(\left(-4\right) \cdot \left(a \cdot c\right) + \left(b \cdot b\right))_*} - b \cdot b} \cdot \left(\sqrt{(\left(-4\right) \cdot \left(a \cdot c\right) + \left(b \cdot b\right))_*} + b\right)}}\]
Applied simplify15.7
\[\leadsto \frac{1}{\color{blue}{\frac{\frac{2 \cdot a}{-4}}{c \cdot a}} \cdot \left(\sqrt{(\left(-4\right) \cdot \left(a \cdot c\right) + \left(b \cdot b\right))_*} + b\right)}\]
if 5.182100731555394e+96 < b
Initial program 58.0
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Taylor expanded around inf 41.3
\[\leadsto \frac{\left(-b\right) + \color{blue}{\left(b - 2 \cdot \frac{c \cdot a}{b}\right)}}{2 \cdot a}\]
Applied simplify3.0
\[\leadsto \color{blue}{\frac{-c}{\frac{b}{1}}}\]
- Recombined 4 regimes into one program.
Applied simplify9.0
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;b \le -2.5377266411070587 \cdot 10^{+153}:\\
\;\;\;\;-\frac{b}{a}\\
\mathbf{if}\;b \le 4.660353967422534 \cdot 10^{-227}:\\
\;\;\;\;\frac{1}{\frac{2 \cdot a}{\sqrt{(\left(-4\right) \cdot \left(a \cdot c\right) + \left(b \cdot b\right))_*} - b}}\\
\mathbf{if}\;b \le 5.182100731555394 \cdot 10^{+96}:\\
\;\;\;\;\frac{1}{\frac{\frac{2 \cdot a}{-4}}{a \cdot c} \cdot \left(\sqrt{(\left(-4\right) \cdot \left(a \cdot c\right) + \left(b \cdot b\right))_*} + b\right)}\\
\mathbf{else}:\\
\;\;\;\;-\frac{c}{b}\\
\end{array}}\]