Limit¶
Computes the limit of an expression as a variable approaches a value.
The limit at infinity of a quotient of power sums is decided from the leading exponents, so terms with fractional powers are handled exactly rather than by sampling:
Symbolic coefficients carry through:
At the origin it is the smallest exponent that dominates, so quotients with fractional powers resolve there too:
A two-sided limit only diverges when both sides agree, which for 1/x^k means
an even integer k:
Naming a direction gives the one-sided answer: