New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Continuous limits involving division by x #21029
Comments
Closes sympy/sympy#21029 BTW, "piecewise" answer will be horrible (in general) and I doubt it's always possible (e.g. something like sin(1/z)). Lets stick with old answer, like Mathematica does.
well
EDIT: So throughout the EDIT 2: Heyy @oscarbenjamin , @jksuom would something like this work(in the sense that I'm not sure which cases would I be missing if any and what else should I be addressing)
This works correctly as per what I could see , as I said not at all sure what I could be missing !!! I know that some cases like
|
Take the function
(sinh(x)+cosh(x)-1)/4
. This function when divided byx
, has a limit of 1/4 at 0:However, when the limit is taken as "
x
approaches a symbol" such asz
, the result oflimit
doesn't take into account the fact thatz
could be 0:In this case the correct solution to the limit would be a piecewise function:
z
= 0.(exp(z) - 1)/(4*z)
otherwise.The text was updated successfully, but these errors were encountered: