Ask Your Question

Derivative of O(x^0)

asked 2017-01-15 08:16:30 -0500

NullInfinity gravatar image

updated 2017-01-17 05:20:54 -0500

Consider a power series

R.<x> = PowerSeries(SR)
f = 1 + O(x^2)

This gives us O(x^1) as we would expect. However, if we do

f = O(x^0)

we get O(x^-1) instead of O(x^0) again. Is this a bug or am I missing something?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2017-01-17 05:20:19 -0500

This is indeed a bug! Thanks for reporting it! What version of Sage were you using?

I can reproduce the bug in Sage 7.4 using PowerSeriesRing instead of PowerSeries:

sage: R.<x> = PowerSeriesRing(SR)
sage: f = 1 + O(x^2)
sage: f.derivative()
sage: g = O(x^0)
sage: g.derivative()
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-01-15 08:16:30 -0500

Seen: 24 times

Last updated: Jan 17