- Split input into 2 regimes
if x < -0.0019955033651246914
Initial program 0.0
\[\frac{e^{x}}{e^{x} - 1}\]
Initial simplification0.0
\[\leadsto \frac{e^{x}}{e^{x} - 1}\]
- Using strategy
rm Applied add-cube-cbrt0.0
\[\leadsto \color{blue}{\left(\sqrt[3]{\frac{e^{x}}{e^{x} - 1}} \cdot \sqrt[3]{\frac{e^{x}}{e^{x} - 1}}\right) \cdot \sqrt[3]{\frac{e^{x}}{e^{x} - 1}}}\]
- Using strategy
rm Applied *-un-lft-identity0.0
\[\leadsto \left(\sqrt[3]{\frac{e^{x}}{\color{blue}{1 \cdot \left(e^{x} - 1\right)}}} \cdot \sqrt[3]{\frac{e^{x}}{e^{x} - 1}}\right) \cdot \sqrt[3]{\frac{e^{x}}{e^{x} - 1}}\]
Applied add-sqr-sqrt0.0
\[\leadsto \left(\sqrt[3]{\frac{\color{blue}{\sqrt{e^{x}} \cdot \sqrt{e^{x}}}}{1 \cdot \left(e^{x} - 1\right)}} \cdot \sqrt[3]{\frac{e^{x}}{e^{x} - 1}}\right) \cdot \sqrt[3]{\frac{e^{x}}{e^{x} - 1}}\]
Applied times-frac0.0
\[\leadsto \left(\sqrt[3]{\color{blue}{\frac{\sqrt{e^{x}}}{1} \cdot \frac{\sqrt{e^{x}}}{e^{x} - 1}}} \cdot \sqrt[3]{\frac{e^{x}}{e^{x} - 1}}\right) \cdot \sqrt[3]{\frac{e^{x}}{e^{x} - 1}}\]
Applied cbrt-prod0.0
\[\leadsto \left(\color{blue}{\left(\sqrt[3]{\frac{\sqrt{e^{x}}}{1}} \cdot \sqrt[3]{\frac{\sqrt{e^{x}}}{e^{x} - 1}}\right)} \cdot \sqrt[3]{\frac{e^{x}}{e^{x} - 1}}\right) \cdot \sqrt[3]{\frac{e^{x}}{e^{x} - 1}}\]
Applied associate-*l*0.0
\[\leadsto \color{blue}{\left(\sqrt[3]{\frac{\sqrt{e^{x}}}{1}} \cdot \left(\sqrt[3]{\frac{\sqrt{e^{x}}}{e^{x} - 1}} \cdot \sqrt[3]{\frac{e^{x}}{e^{x} - 1}}\right)\right)} \cdot \sqrt[3]{\frac{e^{x}}{e^{x} - 1}}\]
Simplified0.0
\[\leadsto \left(\color{blue}{\sqrt[3]{\sqrt{e^{x}}}} \cdot \left(\sqrt[3]{\frac{\sqrt{e^{x}}}{e^{x} - 1}} \cdot \sqrt[3]{\frac{e^{x}}{e^{x} - 1}}\right)\right) \cdot \sqrt[3]{\frac{e^{x}}{e^{x} - 1}}\]
if -0.0019955033651246914 < x
Initial program 60.2
\[\frac{e^{x}}{e^{x} - 1}\]
Initial simplification60.2
\[\leadsto \frac{e^{x}}{e^{x} - 1}\]
Taylor expanded around 0 1.0
\[\leadsto \color{blue}{\frac{1}{12} \cdot x + \left(\frac{1}{x} + \frac{1}{2}\right)}\]
- Recombined 2 regimes into one program.
Final simplification0.7
\[\leadsto \begin{array}{l}
\mathbf{if}\;x \le -0.0019955033651246914:\\
\;\;\;\;\sqrt[3]{\frac{e^{x}}{e^{x} - 1}} \cdot \left(\left(\sqrt[3]{\frac{e^{x}}{e^{x} - 1}} \cdot \sqrt[3]{\frac{\sqrt{e^{x}}}{e^{x} - 1}}\right) \cdot \sqrt[3]{\sqrt{e^{x}}}\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{1}{12} \cdot x + \left(\frac{1}{x} + \frac{1}{2}\right)\\
\end{array}\]