I'm trying to compute the limit $\lim_{x\rightarrow \infty}a^x$ for $a>0$ in Mathematica and I would want it to give me the conditional solutions depending on the value of the paramter $a$. However, when I input
Limit[a^x, x -> ∞, Assumptions -> a > 0,
GenerateConditions -> True]
the output is
ConditionalExpression[∞, Log[a] > 0]
That is, it is only considering the case when $a>1$, but not the cases when $0<a<1$ or $a=1$, which should yield $0$ and $1$, respectively. I've tried to look at the documentation pages, but the only option that I have found related to conditions for the parameters is GenerateConditions->True
, but it doesn't work with that.
GenerateConditions
) accept an option of the formGenerateConditions->All
which will return a result for all possible cases usingPiecewise
. This seems like the sort of behavior you're looking for. However, the documentation also says that some functions don't support all of the listed options, and trying to use this option inLimit
returns an error, so I suspect that this feature is not implemented forLimit
. $\endgroup$