- Split input into 2 regimes
if b < 1.6240650833627339e-65
Initial program 21.0
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Initial simplification21.0
\[\leadsto \frac{\sqrt{(\left(a \cdot -4\right) \cdot c + \left(b \cdot b\right))_*} - b}{2 \cdot a}\]
- Using strategy
rm Applied div-sub21.0
\[\leadsto \color{blue}{\frac{\sqrt{(\left(a \cdot -4\right) \cdot c + \left(b \cdot b\right))_*}}{2 \cdot a} - \frac{b}{2 \cdot a}}\]
if 1.6240650833627339e-65 < b
Initial program 52.6
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Initial simplification52.6
\[\leadsto \frac{\sqrt{(\left(a \cdot -4\right) \cdot c + \left(b \cdot b\right))_*} - b}{2 \cdot a}\]
- Using strategy
rm Applied *-un-lft-identity52.6
\[\leadsto \frac{\color{blue}{1 \cdot \left(\sqrt{(\left(a \cdot -4\right) \cdot c + \left(b \cdot b\right))_*} - b\right)}}{2 \cdot a}\]
Applied associate-/l*52.6
\[\leadsto \color{blue}{\frac{1}{\frac{2 \cdot a}{\sqrt{(\left(a \cdot -4\right) \cdot c + \left(b \cdot b\right))_*} - b}}}\]
Taylor expanded around 0 9.1
\[\leadsto \frac{1}{\color{blue}{-1 \cdot \frac{b}{c}}}\]
Simplified9.1
\[\leadsto \frac{1}{\color{blue}{\frac{-b}{c}}}\]
- Recombined 2 regimes into one program.
Final simplification16.3
\[\leadsto \begin{array}{l}
\mathbf{if}\;b \le 1.6240650833627339 \cdot 10^{-65}:\\
\;\;\;\;\frac{\sqrt{(\left(a \cdot -4\right) \cdot c + \left(b \cdot b\right))_*}}{2 \cdot a} - \frac{b}{2 \cdot a}\\
\mathbf{else}:\\
\;\;\;\;\frac{1}{-\frac{b}{c}}\\
\end{array}\]