Is There a Computer Algebra System That Can Handle Big O Error Terms?

  • Thread starter Thread starter CRGreathouse
  • Start date Start date
  • Tags Tags
    Cas Error Terms
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
0 replies · 2K views
Messages
2,832
Reaction score
0
I was wondering if there was a computer algebra system (like Math'ca, Maple, or Maxima) that could handle manipulations with big O error terms.

Mathematica has an O function, but it doesn't work properly:
Code:
> x^2 Log[x] + x Log[x]^2 + x / Log[x] + O[x]

O[x^1]
(it should be "x^2 Log[x] + x Log[x]^2 + O[x]")

But I'm interested in more than just cutting off small terms. I'd like to be able to do division
Code:
> (x^2 + 3)/(x^2 + O(x))

1 + O(1/x)

and harder functions like inverses and integrals
Code:
> inverse(x^2 + O(x), x)

±sqrt(x) + O(1)

(Note: the Os in my examples are about +infinity; a system handling other limits would be nice.)

Is there any system that can do this? If not, is there a reason? Is it harder than it seems?