Ask Your Question

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

How I can evaluate the limit superior of a sequence? I don't 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". This doesn't happen only in sage, it happen also in other CAS. It seems that there is a long run in the developing of computer algebra systems.

edit retag close merge delete

## 1 Answer

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

## Comments

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.)

## Your Answer

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

Add Answer

## Stats

Asked: 2016-10-31 10:40:24 +0200

Seen: 573 times

Last updated: Apr 27 '20