7

So the difference quotient is defined as:

$$\lim \limits_{h \to 0} \frac{f(x+h)-f(x)}{h}$$

So if we take a function such as $f(x)=x^2$ and go through the simplification, we get

$$\lim \limits_{h \to 0} 2x+h $$

We say $h$ is zero, and that makes sense because it becomes negligible. But here's what I don't understand: $\delta$-$\epsilon$ says (in casual terms) we can make $h$ as close as we want to zero and $2x+h$ will be sufficiently close to $2x$. But isn't one of the constraints of delta epsilon that $|\delta - c| > 0$? So how can we say $h$ is exactly zero if this constraint must be met? In other words, we always say the value of the limit at the point of interest does not necessarily equal the value of the function - but here it seems like we're saying that they are by making $h$ exactly zero, not just sufficiently close. Why can we do this?

rb612
  • 3,560
  • 2
    See the definition of limit. In other words: it is not need to reach zero to make that the value of the limit would be zero... you dont need reach the point. – Masacroso Jun 21 '16 at 06:13
  • 4
    $2x$ is the only number that is smaller than everything bigger than $2x$, and bigger than everything smaller than $2x$. –  Jun 21 '16 at 08:18

4 Answers4

14

The difference quotient $\dfrac{f(x+h) - f(x)} h$ is of course undefined when $h=0$. You have \begin{align} \frac{f(x+h)-f(x)} h & = 2x+h & & \text{when } h\ne 0 \\[10pt] \text{and } 2x+h & = 2x & & \text{when }h=0. \end{align} LATER NOTE: In NO edition of this answer has there every been a piecewise definition of any function. That is NOT what appears above.

If the value of $f'(x)$ is $2x$, then you want to prove that $$ \left| \frac{f(x+h) - f(x)} h - 2x \right| $$ can be made less than $\varepsilon$ by making $|h|$ less than $\delta$, but not equal to $0$.

That's the same as saying $$ |(2x+h) - 2x| $$ can be made less than $\varepsilon$ by making $h$ small enough, but not equal to $0$.

And that's the same as saying $|h|$ can be made less than $\varepsilon$ by making $|h|$ less than $\delta$ but not $0$.

Why, then, is it permissible to evaluate the limit by making $h=0$?

The answer is that it's easy to see that $|h|$ can be made small by making $|h|$ small. In other words, the limit as $h$ approaches $0$ of $h$ is simply the value that $h$ has when $h=0$.

In somewhat conventional language, $2x+h$ is a continuous function of $h$, so its limit as $h\to0$ is the same as its value when $h=0$.

  • Thank you! Except you say the difference quotient equals $2x+h$ when h is zero except the true difference quotient itself at zero is $2x * \frac{0}{0}$ which is undefined. The piecewise function have the same limits for all domain points. So why can you treat them as equal? – rb612 Jun 22 '16 at 22:15
  • @rb612 : I said the difference quotient is $2x+h$ when $h$ is NOT $0$. $\qquad$ – Michael Hardy Jun 22 '16 at 22:17
  • yes but you say that the function at $h=0$ is defined. But I was thinking that only the limit but not necessarily the value of the function at every pt. Is that correct? I thought that we don't know what that original function is at $h=0$, but because the limit is the same with or without the removable discontinuity, the limits are equivalent but not necessarily the function. The piecewise function is continuous while the difference quotient isn't. I'm referring to this more specifically http://math.stackexchange.com/a/462699 I'm not arguing, I'm sure you are right. Just trying to understand. – rb612 Jun 22 '16 at 22:28
  • 2
    The function $h\mapsto2x+h$ is well defined when $h=0$. The function $h\mapsto\dfrac{f(x+h)-f(x)}h$ is NOT well defined when $h=0$. The two functions are equal when $h$ is NOT $0$. The first function is CONTINUOUS; consequently one can find its limit as $h\to0$ just by plugging in $h=0$. The two functions both have the same limit as $h\to0$ because they're equal whenever $h$ is not $0$. $\qquad$ – Michael Hardy Jun 22 '16 at 22:32
  • @rb612 : For present purposes, my being right is merely a means to my being comprehensible. $\qquad$ – Michael Hardy Jun 22 '16 at 22:36
  • i understand and thank you for putting in the time to look at this with me. If you look at your piecewise function you wrote at the beginning, it says the difference quotient at $h=0$ equals 2x. I am understanding how the limits are equal now but because the difference quotient like you said is undefined at $h=0$ and the piecewise function is defined at $h=0$. In your post you didn't say that the limits are equivalent from what I see; you're saying the piecewise and difference quotient functions are equivalent, but from the post that I linked to in the comment up, that is not the case. – rb612 Jun 22 '16 at 22:37
  • if your post had said the LIMIT of the difference quotient at any point in the domain of real numbers is equal to the piecewise function you wrote, that would make total sense. But this I don't quite think is what you are saying based on how you wrote it without the limit in your post. – rb612 Jun 22 '16 at 22:42
  • 1
    ok, It's finally registering in my brain that what I wrote was mistaken for a piecewise definition of a function. It was nothing of the sort. If I was to define a function piecewise I write $$ g(x) = \begin{cases} \text{something} & \text{if whatever}, \ \text{something} & \text{if etc.}\ldots\ldots,. \end{cases} $$ That is not what I wrote. What I wrote is this: $$ \begin{align} A & = B \ & = C \ & =D \ & = E & & \text{if whatever} \ & = F \ & = G \ & = H & & \text{if something}. \end{align} $$ The "if" means the equality ON THAT LINE holds if the condition is true. $\qquad$ – Michael Hardy Jun 22 '16 at 23:16
  • 2
    oh! This makes so much more sense! I didn't want to argue about it because I knew I was mistaken somewhere, and I just wanted clarification. Thank you for your help and patience. – rb612 Jun 22 '16 at 23:19
10

It appears that you are still thinking of limits as almost equivalent to plugging. Perhaps you should have a look at these answers here and here to understand that limits are something very different from plugging.

Your question is ultimately: how $\lim_{h \to 0}2x + h = 2x$? Your argument is that the $\epsilon$-$\delta$ definition of limit prevents $h$ to become $0$ then how $2x + h$ becomes $2x$ if $h$ is not $0$. Well, $2x + h$ is not equal to $2x$ unless $h = 0$ but limit of $2x + h$ is $2x$ as $h \to 0$. Trying to think of limits as values of functions always creates this problem. Apply the definition of limit here and you can see that for any given $\epsilon > 0$ it is possible to find $\delta > 0$ such that $$|2x + h - 2x| < \epsilon$$ whenever $0 < |h| < \delta$. Here you can see that $\delta = \epsilon$ suffices. Hence $\lim_{h \to 0}2x + h = 2x$.

A limit does not mean evaluating the values of a function, rather it means verifying whether a set of inequalities regarding the values of a function hold under a certain set of circumstances or not. Unless you adopt this view you are going to get confused and ask similar questions.


Update: User Dave L. Renfro has mentioned a very nice example of a limit evaluation where it is possible to plug (plugging does not result in undefined expression), yet plugging gives the wrong answer. The example was originally given by David Sanders in A cautionary counter-example, The Mathematical Gazette 59 #407 (March 1975) 44-45.

Let $\lfloor x\rfloor$ denote the greatest integer not exceeding $x$ and then we define $$f(x) = x\lfloor -x^{2}\rfloor$$ Clearly $f(0) = 0$ and hence $$f'(0) = \lim_{x \to 0}\frac{f(x) - f(0)}{x} = \lim_{x \to 0}\frac{x\lfloor -x^{2}\rfloor}{x} = \lim_{x \to 0}\lfloor -x^{2}\rfloor$$ In the last step after cancelling $x$ from numerator and denominator we get an expression which is well defined at $x = 0$ and we can plug the value $x = 0$ to get the limit as $0$. But this gives a wrong answer! The right answer is $-1$ because we can make $-x^{2}$ to lie between $-1$ and $0$ by choosing $x$ near $0$ and therefore $\lfloor -x^{2}\rfloor$ stays constant with value $-1$.

If the reader has visited my linked answers (given in beginning of this answer) then he may well notice that the plugging does not work in above example because the greatest integer function $\lfloor x \rfloor$ is not an elementary function.

3

We can do this because the function $g(h)=2x+h$ (for some fixed value of $x$) is continuous at $h=0$. This means that $\lim_{h\to 0}g(h)=g(0)$, so we can evaluate the limit by just plugging in $h=0$.

Of course, this is ultimately circular: we only know that $g(h)$ is continuous at $h=0$ because we can evaluate the limit by using the $\epsilon$-$\delta$ definition and find that it coincides with the value of $g(0)$. So you should think of the "plug in $h=0$" rule as only a heuristic; the true rigorous way to compute limits is by using the $\epsilon$-$\delta$ definition. However, if by previous work you have done you know that the expression you get is continuous in $h$ (e.g., in this case, if you have proven that all polynomial functions are continuous), then you can compute the limit by plugging in $h=0$.

Eric Wofsey
  • 330,363
2

Let's review (one of?) the definition of limit. We say the limit of $f$ as $h$ tends to $c$ is $L$ and write $\lim_{h\to c}f(h)=L$ when

$$\forall \epsilon>0, \, \exists \delta >0, \, \forall h\text{ with } 0<|h - c|<\delta, \,|f(h)-L|< \epsilon$$

So, let's use your example and work through the definition. We have $f(h)=2x+h$ and $c=0$. We claim the limit $L$ is $2x$. Indeed, let $\epsilon >0$ and take $\delta=\epsilon$. Clearly, whenever $0<|h-0|=|h|<\delta$, we have $$|f(h)-L|=|2x+h - 2x|=|h|<\delta=\epsilon$$ so that indeed $\lim_{h \to 0}2x+h=2x$.

Notice that throughout this process we never really cared about $f(0)$ or substituted $h$ for $0$ somewhere. That said, there are many theorems on the algebra of limits, that one may use with continuous functions, to ease some of the work.

If somehow you know beforehand that $f$ is continuous on $h$, you can skip the whole epsilon-delta stuff and just plug $h=c$ to get the limit. In this case, $2x+h$ is continuous on $h$, so $h=0$ yields the limit; notice how it agrees with the one we found via epsilon-delta.

Fimpellizzeri
  • 23,126