Should this Symbolic Limit be Zero?
Mostrar comentarios más antiguos
syms x a % complex by default
syms n integer
assume(abs(a)>abs(x));
assumptions
limit(x^n/a^n,n,inf)
Should that limit be zero under the assumption that abs(a) > abs(x)?
Respuestas (1)
John D'Errico
el 12 de Feb. de 2023
Editada: John D'Errico
el 12 de Feb. de 2023
Sometimes I wish these tools could tell us where they are stumbling in the solution, when they get stuck.
For example, suppose a were zero? After all, a is sort of unconstrained. Then the limit is undefined. Yes, it should understand that a could never be zero, since we know that abs(x) < abs(a). So I tried this instead, explicitly forcing a to be positive. Yes, now it should understand that a is real valued.
syms a x
syms n integer
assume(a > 0)
assume(abs(a) > abs(x))
assumptions
limit(x^n/a^n,n,inf)
That seems to allow some answer. But as you can see, limit is a little confused even here, although it does try to resolve the issue. But one possiblity it allows is that a==x, even though we said there is a strict inequality. Anyway, the result here seems to offer a bit more of an explanation of where it is getting stuck.
2 comentarios
John D'Errico
el 13 de Feb. de 2023
The point seems clear. Limit is at least somewhat unaware of the assumptions placed on the variables.
Categorías
Más información sobre Assumptions en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




