- Split input into 4 regimes
if b_2 < -1.463485767056463e+98
Initial program 44.9
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification44.9
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
- Using strategy
rm Applied div-inv45.0
\[\leadsto \color{blue}{\left(\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2\right) \cdot \frac{1}{a}}\]
Taylor expanded around inf 45.0
\[\leadsto \left(\sqrt{\color{blue}{{b_2}^{2} - a \cdot c}} - b_2\right) \cdot \frac{1}{a}\]
Taylor expanded around -inf 4.4
\[\leadsto \color{blue}{\frac{1}{2} \cdot \frac{c}{b_2} - 2 \cdot \frac{b_2}{a}}\]
Simplified4.4
\[\leadsto \color{blue}{(-2 \cdot \left(\frac{b_2}{a}\right) + \left(\frac{c}{\frac{b_2}{\frac{1}{2}}}\right))_*}\]
if -1.463485767056463e+98 < b_2 < 5.571024132141775e-260
Initial program 8.9
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification8.9
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
- Using strategy
rm Applied div-inv9.1
\[\leadsto \color{blue}{\left(\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2\right) \cdot \frac{1}{a}}\]
Taylor expanded around inf 9.1
\[\leadsto \left(\sqrt{\color{blue}{{b_2}^{2} - a \cdot c}} - b_2\right) \cdot \frac{1}{a}\]
- Using strategy
rm Applied un-div-inv8.9
\[\leadsto \color{blue}{\frac{\sqrt{{b_2}^{2} - a \cdot c} - b_2}{a}}\]
if 5.571024132141775e-260 < b_2 < 1.6382797079886894e+28
Initial program 30.0
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification30.0
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
- Using strategy
rm Applied div-inv30.0
\[\leadsto \color{blue}{\left(\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2\right) \cdot \frac{1}{a}}\]
- Using strategy
rm Applied flip--30.1
\[\leadsto \color{blue}{\frac{\sqrt{b_2 \cdot b_2 - a \cdot c} \cdot \sqrt{b_2 \cdot b_2 - a \cdot c} - b_2 \cdot b_2}{\sqrt{b_2 \cdot b_2 - a \cdot c} + b_2}} \cdot \frac{1}{a}\]
Applied associate-*l/30.2
\[\leadsto \color{blue}{\frac{\left(\sqrt{b_2 \cdot b_2 - a \cdot c} \cdot \sqrt{b_2 \cdot b_2 - a \cdot c} - b_2 \cdot b_2\right) \cdot \frac{1}{a}}{\sqrt{b_2 \cdot b_2 - a \cdot c} + b_2}}\]
Simplified17.5
\[\leadsto \frac{\color{blue}{\frac{(a \cdot \left(-c\right) + 0)_*}{a}}}{\sqrt{b_2 \cdot b_2 - a \cdot c} + b_2}\]
if 1.6382797079886894e+28 < b_2
Initial program 56.2
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification56.2
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
- Using strategy
rm Applied div-inv56.2
\[\leadsto \color{blue}{\left(\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2\right) \cdot \frac{1}{a}}\]
Taylor expanded around inf 4.2
\[\leadsto \color{blue}{\frac{-1}{2} \cdot \frac{c}{b_2}}\]
- Recombined 4 regimes into one program.
Final simplification8.6
\[\leadsto \begin{array}{l}
\mathbf{if}\;b_2 \le -1.463485767056463 \cdot 10^{+98}:\\
\;\;\;\;(-2 \cdot \left(\frac{b_2}{a}\right) + \left(\frac{c}{\frac{b_2}{\frac{1}{2}}}\right))_*\\
\mathbf{elif}\;b_2 \le 5.571024132141775 \cdot 10^{-260}:\\
\;\;\;\;\frac{\sqrt{{b_2}^{2} - c \cdot a} - b_2}{a}\\
\mathbf{elif}\;b_2 \le 1.6382797079886894 \cdot 10^{+28}:\\
\;\;\;\;\frac{\frac{(a \cdot \left(-c\right) + 0)_*}{a}}{b_2 + \sqrt{b_2 \cdot b_2 - c \cdot a}}\\
\mathbf{else}:\\
\;\;\;\;\frac{-1}{2} \cdot \frac{c}{b_2}\\
\end{array}\]