# finding limits of two variables

조회 수: 35(최근 30일)
Nishanth G 2021년 1월 3일
답변: Rishabh Mishra 2021년 1월 7일
Check the Limits and continuity for functions
Lim [(x*(y-1))/(y*(x-1))]
as x -> 1 and y ->1

댓글을 달려면 로그인하십시오.

### 답변(2개)

Rishabh Mishra 2021년 1월 7일
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.
##### 댓글 수: 0표시숨기기 이전 댓글 수: -1

댓글을 달려면 로그인하십시오.

Priysha LNU 2021년 1월 7일
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.
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.

댓글을 달려면 로그인하십시오.

### Community Treasure Hunt

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

Start Hunting!

Translated by