Average Error: 30.0 → 0.6
Time: 11.1s
Precision: 64
Internal Precision: 1344
\[\sqrt[3]{x + 1} - \sqrt[3]{x}\]
\[\begin{array}{l} \mathbf{if}\;x \le -2360.231929694609 \lor \neg \left(x \le 2427.845749220025\right):\\ \;\;\;\;\frac{\sqrt[3]{\frac{1}{{x}^{4}}} \cdot \frac{-1}{9} + \left(\sqrt[3]{\frac{1}{x}} \cdot \frac{2}{3} - \frac{-4}{81} \cdot \sqrt[3]{\frac{1}{{x}^{7}}}\right)}{\sqrt[3]{x} + \sqrt[3]{x + 1}}\\ \mathbf{else}:\\ \;\;\;\;\sqrt[3]{x + 1} - \left(\sqrt[3]{\sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \sqrt[3]{\sqrt[3]{x}}\\ \end{array}\]

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Split input into 2 regimes
  2. if x < -2360.231929694609 or 2427.845749220025 < x

    1. Initial program 60.0

      \[\sqrt[3]{x + 1} - \sqrt[3]{x}\]
    2. Initial simplification60.0

      \[\leadsto \sqrt[3]{1 + x} - \sqrt[3]{x}\]
    3. Using strategy rm
    4. Applied flip--60.0

      \[\leadsto \color{blue}{\frac{\sqrt[3]{1 + x} \cdot \sqrt[3]{1 + x} - \sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{1 + x} + \sqrt[3]{x}}}\]
    5. Taylor expanded around 0 60.8

      \[\leadsto \frac{\sqrt[3]{1 + x} \cdot \sqrt[3]{1 + x} - \color{blue}{{x}^{\frac{1}{3}}} \cdot \sqrt[3]{x}}{\sqrt[3]{1 + x} + \sqrt[3]{x}}\]
    6. Simplified60.0

      \[\leadsto \frac{\sqrt[3]{1 + x} \cdot \sqrt[3]{1 + x} - \color{blue}{\sqrt[3]{x}} \cdot \sqrt[3]{x}}{\sqrt[3]{1 + x} + \sqrt[3]{x}}\]
    7. Taylor expanded around inf 33.7

      \[\leadsto \frac{\color{blue}{\left(\frac{4}{81} \cdot {\left(\frac{1}{{x}^{7}}\right)}^{\frac{1}{3}} + \frac{2}{3} \cdot {\left(\frac{1}{x}\right)}^{\frac{1}{3}}\right) - \frac{1}{9} \cdot {\left(\frac{1}{{x}^{4}}\right)}^{\frac{1}{3}}}}{\sqrt[3]{1 + x} + \sqrt[3]{x}}\]
    8. Simplified1.1

      \[\leadsto \frac{\color{blue}{\frac{-1}{9} \cdot \sqrt[3]{\frac{1}{{x}^{4}}} + \left(\sqrt[3]{\frac{1}{x}} \cdot \frac{2}{3} - \sqrt[3]{\frac{1}{{x}^{7}}} \cdot \frac{-4}{81}\right)}}{\sqrt[3]{1 + x} + \sqrt[3]{x}}\]

    if -2360.231929694609 < x < 2427.845749220025

    1. Initial program 0.1

      \[\sqrt[3]{x + 1} - \sqrt[3]{x}\]
    2. Initial simplification0.1

      \[\leadsto \sqrt[3]{1 + x} - \sqrt[3]{x}\]
    3. Using strategy rm
    4. Applied add-cube-cbrt0.1

      \[\leadsto \sqrt[3]{1 + x} - \color{blue}{\left(\sqrt[3]{\sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \sqrt[3]{\sqrt[3]{x}}}\]
  3. Recombined 2 regimes into one program.
  4. Final simplification0.6

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \le -2360.231929694609 \lor \neg \left(x \le 2427.845749220025\right):\\ \;\;\;\;\frac{\sqrt[3]{\frac{1}{{x}^{4}}} \cdot \frac{-1}{9} + \left(\sqrt[3]{\frac{1}{x}} \cdot \frac{2}{3} - \frac{-4}{81} \cdot \sqrt[3]{\frac{1}{{x}^{7}}}\right)}{\sqrt[3]{x} + \sqrt[3]{x + 1}}\\ \mathbf{else}:\\ \;\;\;\;\sqrt[3]{x + 1} - \left(\sqrt[3]{\sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \sqrt[3]{\sqrt[3]{x}}\\ \end{array}\]

Runtime

Time bar (total: 11.1s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes30.00.60.529.599.6%
herbie shell --seed 2018285 
(FPCore (x)
  :name "2cbrt (problem 3.3.4)"
  (- (cbrt (+ x 1)) (cbrt x)))