# How I can evaluate the limit superior of a sequence?

How I can evaluate the limit superior of a sequence? I dont found in the documentation something related to this tool.

EDIT: the limit superior of a sequence $(x_n)$ is defined as

$$\limsup x_n=\lim_{n\to\infty} \sup \{x_k:k\ge n\} =\inf\{\sup \{x_k:k\ge n\}: n\in \mathbb N \}$$

where the first definition is the more interesting computationally.

It seems that, computationally, evaluating the limit superior is hard because it is done via "brute force". Not only ths happen in sage, too in other CAS. It seems that there is a loooong run in the developing of computer algebra systems.

edit retag close merge delete

Sort by » oldest newest most voted

Are you looking for something like this?

sage: f(x,y) = x^2 + y^2
sage: f.limit(x=0).limit(y=0)
(x, y) |--> 0
sage: f.limit(x=0).limit(y=2)
(x, y) |--> 4


Can you maybe give an example of questions.

more

Not close. Well, I think that would be possible to construct it with two kinds of commands, but Im surprised this essential tool of mathematics is not implemented in any CAS (not only sage, maple, mathematica, maxima or sympy doesnt have a function for this!!! Or at least it doesnt appear in the documentation.)

( 2016-10-31 19:54:34 -0500 )edit