Skip to content
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

Multivariable Limit Support #715

Open
ObjectsCountries opened this issue Nov 5, 2024 · 1 comment
Open

Multivariable Limit Support #715

ObjectsCountries opened this issue Nov 5, 2024 · 1 comment

Comments

@ObjectsCountries
Copy link

As far as I can tell, it's currently not possible to use Qalculate! to determine multivariable limit equations such as $\lim_{(x,y)\to(-2,1)}\frac{x^2}{(x+y)y}$. This might be remedied by adding a new function (perhaps called multilimit) that takes in a multivariable function, a vector of numbers that are the values that each unknown approaches, a vector of unknowns, and a vector of integers from -1 to 1 inclusive.

The current workaround I've found is to nest limits within each other, or use the output of one limit result as the input of another. limit(\x^2/((\x+\y)\y),−2,\x) returns 4/(y^2-2y), which I can either plug into another limit function (limit(limit(\x^2/((\x+\y)\y),−2,\x),1,\y)), or use by itself (limit(4/(y^2-2y)),1,\y)). Both methods correctly return -4.

hanna-kn added a commit that referenced this issue Nov 6, 2024
@hanna-kn
Copy link
Contributor

hanna-kn commented Nov 6, 2024

I've now added a simple multilimit function. It is uses the same method as your workaround (using foreach function).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants