finding limits of two variables

48 visualizzazioni (ultimi 30 giorni)
Nishanth G
Nishanth G il 3 Gen 2021
Risposto: Rishabh Mishra il 7 Gen 2021
Check the Limits and continuity for functions
Lim [(x*(y-1))/(y*(x-1))]
as x -> 1 and y ->1
please help me solve this i am still learning matlab.

Risposte (2)

Rishabh Mishra
Rishabh Mishra il 7 Gen 2021
Hi,
To evaluate this limit, you will need to implement 2-variable functions using Symbolic Math Techniques. I have described the steps below to evaluate the limit.
syms x y;
f = (x*(y-1))/(y*(x-1));
Create a function with variables x & y. Declare symbolic variables x, y.
Since variables x & y tend to same number. Replace these variables by another variable u.
syms u;
f = subs(f,[x y],[u u]);
Now, tend the variable ‘u’ to original number (u -> 1). This is achieved using ‘limit’ function as demonstrated below:
value = limit(f,u,1);
disp(value);
Hope this helps.

Priysha LNU
Priysha LNU il 7 Gen 2021
Hi,
When you have TWO variables, what matters is along which path you follow to get to that limit. ONLY if the limits exists along every path, and the limit is the same along every such path to the limit point can we say that the limit exists.
If the function is continuous at the point you're interested in, it is sufficient to apply limit() to any 1-dimensional path approaching that point. E.g., to find the limit of
f(x,y)=x.^2+y.^2
as x,y-->0 you can take the 1-dimensional path x(t)=y(t)=t and reduce f to
f(x(t),y(t))=2*t.^2
Then, apply limit() to this 1D function of t as t-->0.
However, your example
f(x,y)=x*(y-1)/y*(x-1)
is not continuous at x=y=0, so the limit is not defined there. Along x(t)=y(t)=t, the function converges to 1. If there is a particular path you know you are interested in, though, you could still apply limit() to that path.
In another note, if you wish to gain proficiency w.r.t. calculating limits of functions in multiple variables, I suggest spending some time over this area of mathematics. A quick google search landed me the following link which might be helpful:https://math.libretexts.org/Bookshelves/Calculus/Map%3A_Calculus__Early_Transcendentals_(Stewart)/14%3A_Partial_Derivatives/14.02%3A_Limits_and_Continuity#:~:text=2%3A%20The%20limit%20of%20a,of%20(a%2Cb).
Hope this helps!
Thanks!
DISCLAIMER: These are my own views and in no way depict those of MathWorks.

Categorie

Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by