Ask Your Question

How I can evaluate the limit superior of a sequence?

asked 2016-10-31 04:40:24 -0600

Masacroso gravatar image

updated 2016-11-02 00:08:59 -0600

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 flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-10-31 19:34:08 -0600

Sha gravatar image

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.

edit flag offensive delete link 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.)

Masacroso gravatar imageMasacroso ( 2016-10-31 19:54:34 -0600 )edit

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: 2016-10-31 04:40:24 -0600

Seen: 376 times

Last updated: Nov 02 '16