Average Error: 29.7 → 0.7
Time: 37.4s
Precision: 64
Internal Precision: 128
\[\sqrt[3]{x + 1} - \sqrt[3]{x}\]
\[\begin{array}{l} \mathbf{if}\;x \le 2924.6811356537764:\\ \;\;\;\;\frac{\log \left(e^{\left(\sqrt[3]{\sqrt[3]{1 + x} \cdot \sqrt[3]{1 + x}} \cdot \sqrt[3]{\sqrt[3]{1 + x}}\right) \cdot \left(\sqrt[3]{\sqrt[3]{1 + x} \cdot \sqrt[3]{1 + x}} \cdot \sqrt[3]{\sqrt[3]{1 + x}}\right) - \sqrt[3]{x} \cdot \sqrt[3]{x}}\right)}{\sqrt[3]{x} + \sqrt[3]{\sqrt[3]{1 + x} \cdot \sqrt[3]{1 + x}} \cdot \sqrt[3]{\sqrt[3]{1 + x}}}\\ \mathbf{else}:\\ \;\;\;\;\frac{\left(\sqrt[3]{\frac{1}{x}} \cdot \frac{2}{3} - \sqrt[3]{\frac{1}{{x}^{7}}} \cdot \frac{-4}{81}\right) + \sqrt[3]{\frac{1}{{x}^{4}}} \cdot \frac{-1}{9}}{\sqrt[3]{x} + \sqrt[3]{\sqrt[3]{1 + x} \cdot \sqrt[3]{1 + x}} \cdot \sqrt[3]{\sqrt[3]{1 + 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 < 2924.6811356537764

    1. Initial program 0.1

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

      \[\leadsto \sqrt[3]{\color{blue}{\left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right) \cdot \sqrt[3]{x + 1}}} - \sqrt[3]{x}\]
    4. Applied cbrt-prod0.2

      \[\leadsto \color{blue}{\sqrt[3]{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}} \cdot \sqrt[3]{\sqrt[3]{x + 1}}} - \sqrt[3]{x}\]
    5. Using strategy rm
    6. Applied flip--0.2

      \[\leadsto \color{blue}{\frac{\left(\sqrt[3]{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}} \cdot \sqrt[3]{\sqrt[3]{x + 1}}\right) \cdot \left(\sqrt[3]{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}} \cdot \sqrt[3]{\sqrt[3]{x + 1}}\right) - \sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}} \cdot \sqrt[3]{\sqrt[3]{x + 1}} + \sqrt[3]{x}}}\]
    7. Using strategy rm
    8. Applied add-log-exp0.2

      \[\leadsto \frac{\color{blue}{\log \left(e^{\left(\sqrt[3]{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}} \cdot \sqrt[3]{\sqrt[3]{x + 1}}\right) \cdot \left(\sqrt[3]{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}} \cdot \sqrt[3]{\sqrt[3]{x + 1}}\right) - \sqrt[3]{x} \cdot \sqrt[3]{x}}\right)}}{\sqrt[3]{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}} \cdot \sqrt[3]{\sqrt[3]{x + 1}} + \sqrt[3]{x}}\]

    if 2924.6811356537764 < x

    1. Initial program 60.2

      \[\sqrt[3]{x + 1} - \sqrt[3]{x}\]
    2. Using strategy rm
    3. Applied add-cube-cbrt60.1

      \[\leadsto \sqrt[3]{\color{blue}{\left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right) \cdot \sqrt[3]{x + 1}}} - \sqrt[3]{x}\]
    4. Applied cbrt-prod60.1

      \[\leadsto \color{blue}{\sqrt[3]{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}} \cdot \sqrt[3]{\sqrt[3]{x + 1}}} - \sqrt[3]{x}\]
    5. Using strategy rm
    6. Applied flip--60.1

      \[\leadsto \color{blue}{\frac{\left(\sqrt[3]{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}} \cdot \sqrt[3]{\sqrt[3]{x + 1}}\right) \cdot \left(\sqrt[3]{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}} \cdot \sqrt[3]{\sqrt[3]{x + 1}}\right) - \sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}} \cdot \sqrt[3]{\sqrt[3]{x + 1}} + \sqrt[3]{x}}}\]
    7. Taylor expanded around inf 5.0

      \[\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]{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}} \cdot \sqrt[3]{\sqrt[3]{x + 1}} + \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]{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}} \cdot \sqrt[3]{\sqrt[3]{x + 1}} + \sqrt[3]{x}}\]
  3. Recombined 2 regimes into one program.
  4. Final simplification0.7

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

Runtime

Time bar (total: 37.4s)Debug logProfile

herbie shell --seed 2018336 
(FPCore (x)
  :name "2cbrt (problem 3.3.4)"
  (- (cbrt (+ x 1)) (cbrt x)))