- Split input into 4 regimes
if b < -2.5377266411070587e+153
Initial program 60.7
\[\frac{\left(-b\right) + \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{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 - 4 \cdot \left(a \cdot c\right)}}{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 - 4 \cdot \left(a \cdot c\right)}}}}\]
Applied simplify10.2
\[\leadsto \frac{1}{\color{blue}{\frac{a \cdot 2}{\sqrt{b \cdot b - a \cdot \left(c \cdot 4\right)} - b}}}\]
if 4.660353967422534e-227 < b < 5.182100731555394e+96
Initial program 34.5
\[\frac{\left(-b\right) + \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{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 - 4 \cdot \left(a \cdot c\right)}}}}\]
Applied simplify34.5
\[\leadsto \frac{1}{\color{blue}{\frac{a \cdot 2}{\sqrt{b \cdot b - a \cdot \left(c \cdot 4\right)} - b}}}\]
- Using strategy
rm Applied flip--34.6
\[\leadsto \frac{1}{\frac{a \cdot 2}{\color{blue}{\frac{\sqrt{b \cdot b - a \cdot \left(c \cdot 4\right)} \cdot \sqrt{b \cdot b - a \cdot \left(c \cdot 4\right)} - b \cdot b}{\sqrt{b \cdot b - a \cdot \left(c \cdot 4\right)} + b}}}}\]
Applied associate-/r/34.7
\[\leadsto \frac{1}{\color{blue}{\frac{a \cdot 2}{\sqrt{b \cdot b - a \cdot \left(c \cdot 4\right)} \cdot \sqrt{b \cdot b - a \cdot \left(c \cdot 4\right)} - b \cdot b} \cdot \left(\sqrt{b \cdot b - a \cdot \left(c \cdot 4\right)} + b\right)}}\]
Applied simplify15.8
\[\leadsto \frac{1}{\color{blue}{\frac{2 \cdot a}{\left(-4\right) \cdot \left(c \cdot a\right)}} \cdot \left(\sqrt{b \cdot b - a \cdot \left(c \cdot 4\right)} + b\right)}\]
if 5.182100731555394e+96 < b
Initial program 58.0
\[\frac{\left(-b\right) + \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{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}{\left(-1\right) \cdot \frac{c}{b}}\]
- 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{b \cdot b - \left(4 \cdot c\right) \cdot a} - b}}\\
\mathbf{if}\;b \le 5.182100731555394 \cdot 10^{+96}:\\
\;\;\;\;\frac{1}{\left(\sqrt{b \cdot b - \left(4 \cdot c\right) \cdot a} + b\right) \cdot \frac{2 \cdot a}{\left(a \cdot c\right) \cdot \left(-4\right)}}\\
\mathbf{else}:\\
\;\;\;\;-\frac{c}{b}\\
\end{array}}\]