Does this function have a limit at (0,0)?

In summary, the conversation discusses the concept of finding limits of functions and determining whether or not they exist. The original function given is ##\lim_{(x,y) \rightarrow (0,0)} \frac{(x+y)^2}{x^2+y^2}## and the speakers discuss different methods for evaluating the limit, such as approaching the point in different ways and converting to polar coordinates. It is mentioned that if the function gives the same output for different inputs, then the limit may exist but this is not a definitive proof. The conversation concludes with the understanding that finding limits can be a difficult concept and may require more advanced calculus techniques.
  • #1
toforfiltum
341
4

Homework Statement


This is the function:

##\lim_{(x,y) \rightarrow (0,0)} \frac{(x+y)^2}{x^2+y^2}##

Homework Equations

The Attempt at a Solution


So for ##x \rightarrow 0## along ##y=0##, ##f(x,y)=1##

For ##y \rightarrow 0## along ##x=0##, ##f(x,y)=1## also.

But the answer says there is no limit that exists.

Is it because I didn't try approaching (0,0) using other functions?

So, if I try it for ##y=mx \rightarrow 0##,

##f(x,y) = \frac {(x+mx)^2)}{x^2+m^2x^2}##

##=\frac {(1+m)^2}{1+m^2}##, which is ##\neq 1## since ##m \neq 0##

Is this the reason why? And if so, what methods should I use to evaluate if functions truly have a limit or not? What if for another case, the above three cases gave a same answer, but there is another function, say ##y=x^2## which will show that the function actually doesn't have a limit? How do I actually know for sure if a function has a limit or not?
 
Physics news on Phys.org
  • #2
Consider approaching ##(0,0)## along the curve given by ##y=-x##.
 
  • Like
Likes toforfiltum
  • #3
Lucas SV said:
Consider approaching ##(0,0)## along the curve given by ##y=-x##.
Ah yes, I see what you mean. I would get zero instead. Thanks.
 
  • Like
Likes Lucas SV
  • #4
toforfiltum said:

Homework Statement


This is the function:

##\lim_{(x,y) \rightarrow (0,0)} \frac{(x+y)^2}{x^2+y^2}##

Homework Equations

The Attempt at a Solution


So for ##x \rightarrow 0## along ##y=0##, ##f(x,y)=1##

For ##y \rightarrow 0## along ##x=0##, ##f(x,y)=1## also.

But the answer says there is no limit that exists.

Is it because I didn't try approaching (0,0) using other functions?

So, if I try it for ##y=mx \rightarrow 0##,

##f(x,y) = \frac {(x+mx)^2)}{x^2+m^2x^2}##

##=\frac {(1+m)^2}{1+m^2}##, which is ##\neq 1## since ##m \neq 0##

Is this the reason why? And if so, what methods should I use to evaluate if functions truly have a limit or not? What if for another case, the above three cases gave a same answer, but there is another function, say ##y=x^2## which will show that the function actually doesn't have a limit? How do I actually know for sure if a function has a limit or not?

You have already answered your own question! IF a limit did exist you would have to get the same result for any line ##y = kx## or ##x = m y## or, more generally, for any smooth curves ##y = g(x)## or ##x = h(y)## that passed through ##(0,0)##.

In a case like this one, it helps to go to polar coordinate ##x = r \cos(\theta), \: y = r \sin(\theta)##. For ##(x,y) \neq (0,0)## (that is, ##r \neq 0##) that gives you
$$f(x,y) = \frac{(r \cos(\theta) + r \sin(\theta))^2}{r^2} = (\cos(\theta)+ \sin(\theta))^2 = 1 + 2 \sin(\theta) \cos(\theta).$$
 
  • #5
Ray Vickson said:
In a case like this one, it helps to go to polar coordinate ##x = r \cos(\theta), \: y = r \sin(\theta)##. For ##(x,y) \neq (0,0)## (that is, ##r \neq 0##) that gives you
$$f(x,y) = \frac{(r \cos(\theta) + r \sin(\theta))^2}{r^2} = (\cos(\theta)+ \sin(\theta))^2 = 1 + 2 \sin(\theta) \cos(\theta).$$

So when converted to polar coordinates, ##lim_{r \rightarrow 0} f(r \cos\theta, r\sin\theta) = 1 + 2 \sin(\theta) \cos(\theta)##.

I can prove that the limit does not exist for this function because I get different answers when I input different values of ##\theta##, right?
 
  • #6
toforfiltum said:
So when converted to polar coordinates, ##lim_{r \rightarrow 0} f(r \cos\theta, r\sin\theta) = 1 + 2 \sin(\theta) \cos(\theta)##.

I can prove that the limit does not exist for this function because I get different answers when I input different values of ##\theta##, right?

You tell me.
 
  • #7
Ray Vickson said:
You tell me.
I don't really understand what you mean but yes.
 
  • #8
toforfiltum said:
I don't really understand what you mean but yes.

There is a simple theorem which states that if the limit exists, it must be unique. There is another theorem which states that if the limit exist, it must be equal to the limit from any direction. So you assume there is a limit, you will get a contradiction.
 
  • #9
Lucas SV said:
There is a simple theorem which states that if the limit exists, it must be unique. So non-unique limit is a contradiction, so that the limit does not exist.
So basically what I'm saying about the function having different outputs with different inputs of ##\theta## is the same as the theorem, right?
 
  • #10
toforfiltum said:
I don't really understand what you mean but yes.

Good, that was the answer I wanted.
 
Last edited:
  • Like
Likes toforfiltum
  • #11
Ray Vickson said:
Goo, that was the answer I wanted.
Nice.:smile:
 
  • #12
toforfiltum said:
So basically what I'm saying about the function having different outputs with different inputs of ##\theta## is the same as the theorem, right?
Yes, it is the same as the second theorem I mentioned (i edited just after your reply).
 
  • Like
Likes toforfiltum
  • #13
Lucas SV said:
Yes, it is the same as the second theorem I mentioned (i edited just after your reply).
Thanks!
 
  • #14
toforfiltum said:
And if so, what methods should I use to evaluate if functions truly have a limit or not? What if for another case, the above three cases gave a same answer, but there is another function, say ##y=x^2## which will show that the function actually doesn't have a limit? How do I actually know for sure if a function has a limit or not?
I don't think anyone has answered this part of your question. You do understand that if you get different answers along different paths there is no limit. That's fine. But, like you have observed, what if all your your choices of paths and keep getting the same number? Then you have to wonder, maybe the limit really does exist, but this doesn't prove it, or maybe the limit doesn't exist and I just haven't been clever enough choosing different paths. That is a very reasonable question to ask.

Most first year calculus books will give problems where the limit doesn't exist and it isn't too difficult to find paths that prove it, and maybe a problem or two where the limit does exist. The students usually find this second type to be difficult. That's because they are difficult because they may require methods you haven't seen or thought of. Don't worry too much about that. This topic is covered in more detail in advanced calculus courses where you really get into ##\delta -\epsilon## proofs and limit theorems. So I guess the short answer is: don't lose too much sleep over this right now; wait until you take advanced calculus and you can lose sleep then :frown:
 
  • #15
LCKurtz said:
I don't think anyone has answered this part of your question. You do understand that if you get different answers along different paths there is no limit. That's fine. But, like you have observed, what if all your your choices of paths and keep getting the same number? Then you have to wonder, maybe the limit really does exist, but this doesn't prove it, or maybe the limit doesn't exist and I just haven't been clever enough choosing different paths. That is a very reasonable question to ask.

Most first year calculus books will give problems where the limit doesn't exist and it isn't too difficult to find paths that prove it, and maybe a problem or two where the limit does exist. The students usually find this second type to be difficult. That's because they are difficult because they may require methods you haven't seen or thought of. Don't worry too much about that. This topic is covered in more detail in advanced calculus courses where you really get into ##\delta -\epsilon## proofs and limit theorems. So I guess the short answer is: don't lose too much sleep over this right now; wait until you take advanced calculus and you can lose sleep then :-)
If so, I should definitely lose sleep now. I don't know how advanced multivariable calculus is, but that's the course I'm taking right now, and the problems I have posted so far come from Susan Colley's Vector Calculus textbook. My professor has also covered the ##\epsilon-\delta## proofs and limit theorems, though I must profess that I don't really get it. As it is, I'm losing much sleep over this course now.

I know in my gut that I"m not smart enough to be a math major, but I would like to ask your opinion on if it's important to understand the proofs like these? I'm going to be an engineer, so I would probably just use math as a tool right? I've tried to understand the proofs, but at times, they are too abstract so they seem not intuitive to me.

And seeing that I've gotten to this point, what's the answer to the question I posted?:smile:
 
  • #16
Of course it's good to understand as much as possible. Some things take longer to "soak in". You may encounter material that you don't quite understand now but will understand a year later after you have had more experience. I know because that happened to me when I hit advanced calculus. But, concerning the current topic, most functions you will ever encounter are continuous most everywhere and the places where thing go wrong are where you have zeroes in denominators or negative numbers in square roots and the like. Math textbooks are probably the only place you will encounter this type of problem.

So, no, I don't think the fact that you are having trouble with this topic at this time will have any effect on your career as an engineer. Stick with it and learn as much as you can. You will find that even the course you are in will soon move to other topics you may like better. The analytical thinking you learn in math courses is what will help you as an engineer, even if you never see some of the specific topics again.
 
  • Like
Likes toforfiltum
  • #17
LCKurtz said:
Of course it's good to understand as much as possible. Some things take longer to "soak in". You may encounter material that you don't quite understand now but will understand a year later after you have had more experience. I know because that happened to me when I hit advanced calculus. But, concerning the current topic, most functions you will ever encounter are continuous most everywhere and the places where thing go wrong are where you have zeroes in denominators or negative numbers in square roots and the like. Math textbooks are probably the only place you will encounter this type of problem.

So, no, I don't think the fact that you are having trouble with this topic at this time will have any effect on your career as an engineer. Stick with it and learn as much as you can. You will find that even the course you are in will soon move to other topics you may like better. The analytical thinking you learn in math courses is what will help you as an engineer, even if you never see some of the specific topics again.
You have no idea how comforting your words are. Right now, I'm putting in so many hours for this course just to stay afloat. Lectures cover so many topics at such a fast pace, I'm frightened. So thank you very much for your kind words, and I'll continue seeking help here.:wink:
 
  • #18
toforfiltum said:
You have no idea how comforting your words are. Right now, I'm putting in so many hours for this course just to stay afloat. Lectures cover so many topics at such a fast pace, I'm frightened. So thank you very much for your kind words, and I'll continue seeking help here.:wink:

BTW: that is exactly WHY I suggested looking at polar coordinate!.

To have a well-defined limit ##c## as ##(x,y) \to (0,0)## we want ##f(x,y)## to be going to ##c## for ##(x,y)## nearer and nearer ##(0,0)##. The nice thing about polar coordinates---in this type of problem, at least---is that the single variable ##r## measures the distance to ##(0,0)##, so if for any ##\theta## you have ##f(r,\theta)## going to the same value ##c## as ##r \to 0##, you have a limit, and it equals ##c##.

For most problems in first or second calculus courses, polar coordinates can clear up the majority of the problems that are left when cartesian coordinates ##(x,y)## product difficulties. Of course, there will always be some really nasty problems where even polar coordinates fail to help, but it is unlikely you would encounter those on important events such as exams, etc.
 
Last edited:
  • #19
You had it in your hands in your formula (1 + m)2/(1 + m2) of #1 which takes every value between 0 amd +∞ !
 
  • Like
Likes toforfiltum
  • #20
Ray Vickson said:
BTW: that is exactly WHY I suggested looking at polar coordinate!.

To have a well-defined limit ##c## as ##(x,y) \to (0,0)## we want ##f(x,y)## to be going to ##c## for ##(x,y)## nearer and nearer ##(0,0)##. The nice thing about polar coordinates---in this type of problem, at least---is that the single variable ##r## measures the distance to ##(0,0)##, so if for any ##\theta## you have ##f(r,\theta)## going to the same value ##c## as ##r \to 0##, you have a limit, and it equals ##c##.

For most problems in first or second calculus courses, polar coordinates can clear up the majority of the problems that are left when cartesian coordinates ##(x,y)## product difficulties. Of course, there will always be some really nasty problems where even polar coordinates fail to help, but it is unlikely you would encounter those on important events such as exams, etc.
Hmm...I have a minor confusion here. Is it possible for a function ##f(r,\theta)## to go to a value of ##c## when ##r \rightarrow 0##? I've always thought that since ##(x,y) \rightarrow (0,0)## then ##r \rightarrow 0## so limit of ##f(r, \theta)## also should tend to zero, if there's a limit? Could you provide an example that says otherwise?

And thanks for the tip! Would definitely keep that in mind when I'm taking my midterm next week! :smile:
 
  • #21
toforfiltum said:
Hmm...I have a minor confusion here. Is it possible for a function ##f(r,\theta)## to go to a value of ##c## when ##r \rightarrow 0##? I've always thought that since ##(x,y) \rightarrow (0,0)## then ##r \rightarrow 0## so limit of ##f(r, \theta)## also should tend to zero, if there's a limit? Could you provide an example that says otherwise?

And thanks for the tip! Would definitely keep that in mind when I'm taking my midterm next week! :smile:

Yes, the function ##f(r ,\theta)## can certainly have a nonzero limit as ##r \to 0##. One very simple example is ##f_1(r,\theta) = 1 + r = 1 + \sqrt{x^2+y^2}##, which has a limit of 1! Another example would be ##f_2 = 17 + r \cos^2\theta + 2 \sqrt{r}e^{r \sin \theta}##, which has a limit of 17. In Cartesian coordinates, ##f_2## is a lot messier:
$$ f_2 = 17 + \frac{x^2}{\sqrt{x^2+y^2}} + 2 (x^2+y^2)^{1/4} e^{y} $$
 
  • Like
Likes toforfiltum
  • #22
Ray Vickson said:
Yes, the function ##f(r ,\theta)## can certainly have a nonzero limit as ##r \to 0##. One very simple example is ##f_1(r,\theta) = 1 + r = 1 + \sqrt{x^2+y^2}##, which has a limit of 1! Another example would be ##f_2 = 17 + r \cos^2\theta + 2 \sqrt{r}e^{r \sin \theta}##, which has a limit of 17. In Cartesian coordinates, ##f_2## is a lot messier:
$$ f_2 = 17 + \frac{x^2}{\sqrt{x^2+y^2}} + 2 (x^2+y^2)^{1/4} e^{y} $$
Thanks!
 
  • #23
toforfiltum said:
Hmm...I have a minor confusion here. Is it possible for a function ##f(r,\theta)## to go to a value of ##c## when ##r \rightarrow 0##? I've always thought that since ##(x,y) \rightarrow (0,0)## then ##r \rightarrow 0## so limit of ##f(r, \theta)## also should tend to zero, if there's a limit? Could you provide an example that says otherwise?

And thanks for the tip! Would definitely keep that in mind when I'm taking my midterm next week! :smile:

I will denote a point in the plane by ##p## and the point ##(0,0)## by ##0##.

The constant function ##f(p)=c## is the simplest example. I think what you are asking is the case when the function has a limit ##c## even though the value of the function at ##0## is zero and this is easy to construct: take the function which is ##c## for ##p\neq 0## and is ##0## for ##p=0##. This function has a discontinuity at the point ##0##. However if ##f## is continuous at ##0##, and if ##f(0)=0##, the the limit is also ##0## by definition of continuity. In the case of the function in #1, the function is neither defined at ##0## nor does it have a limit at ##0##.
 
  • Like
Likes toforfiltum
  • #24
I should ask, have you seen the open disk definition of limit?
 
  • #25
Lucas SV said:
I should ask, have you seen the open disk definition of limit?
My textbook covers that in 2 pages, but my professor asked the whole class to ignore reading that 2 pages. Is it important?
 
  • #26
Not for calculations at your level. Yes, you can ignore it, but it does help getting a deeper understanding, if you so wish.
 
  • #27
Lucas SV said:
Not for calculations at your level. Yes, you can ignore it, but it does help getting a deeper understanding, if you so wish.
Ok, thanks. Will read it.
 

1. Why is the concept of a limit important in science and mathematics?

The concept of a limit is important because it allows us to understand and approximate the behavior of a function or system as it approaches a certain point or value. This is crucial in fields such as physics, engineering, and economics where we need to make predictions and decisions based on the behavior of complex systems.

2. How can we prove that a limit does not exist?

In order to prove that a limit does not exist, we need to show that there are two different sequences that approach the same point or value, but have different limits. This would violate the definition of a limit, which states that the limit of a function should be the same regardless of the approach.

3. Can a function have a limit at one point, but not at another?

Yes, it is possible for a function to have a limit at one point, but not at another. This can happen when the function is discontinuous at a certain point, meaning that it has a jump or break in its graph. In this case, the limit at that point does not exist because the function is not defined at that point.

4. How does the concept of a limit relate to the idea of infinity?

The concept of a limit is closely related to the idea of infinity because it allows us to understand the behavior of a function as it approaches infinitely large or small values. For example, we can use limits to determine the behavior of a function as x approaches infinity or as x approaches 0.

5. Are there any real-world applications of limits?

Yes, there are many real-world applications of limits. They are used in physics to predict the behavior of systems, in economics to analyze market trends, and in engineering to design efficient structures and systems. Limits are also used in calculus to find the slope of a curve at a specific point, which has practical applications in fields such as physics, chemistry, and biology.

Similar threads

  • Calculus and Beyond Homework Help
Replies
10
Views
831
  • Calculus and Beyond Homework Help
Replies
4
Views
568
  • Calculus and Beyond Homework Help
Replies
8
Views
807
  • Calculus and Beyond Homework Help
Replies
10
Views
460
  • Calculus and Beyond Homework Help
Replies
17
Views
630
  • Calculus and Beyond Homework Help
Replies
2
Views
551
  • Calculus and Beyond Homework Help
Replies
5
Views
629
  • Calculus and Beyond Homework Help
Replies
4
Views
700
  • Calculus and Beyond Homework Help
Replies
13
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
652
Back
Top