(Previous post on John Gabriel: Calculus 102 (Cauchy Sequences and the Real Numbers))

Alright, now that we’ve tackled the basic definitions and theorems regarding calculus, we can start looking at Gabriel’s first video on calculus.

## 2. Cauchy’s Kludge

Before we start, let’s play a little game. The above image is a screenshot of Gabriel’s video, and there are *two incredibly annoying formal errors in it.* They might be nitpicky, and the first one might be either due to the software he uses (is that Geogebra? No idea…) or might just be due to convenience/lazyness – but the *second* one I think definitely points to Gabriel *not knowing how to even use logical notation* properly. Or at least in a way that *makes any sense.* Can you find the two errors?

**ding* – time’s up!* So here’s the first one:

*What the hell is supposed to mean? “As approaches “?* Fixed numbers *can’t approach anything!* Only *variables* can. And if it’s not the *actual limit* for an *actual variable,* then the in front is just *plain wrong!*

But okay, it might be that this just annoys me because I’m a logician and I’ve been somewhat conditioned to have an eye out for formalities like that – after all, he’s just trying to demonstrate how the derivative results from taking the limit of secant lines. And he’s actually not doing a bad job at it – or rather, I assume, his software isn’t. So let’s assume that this weird is also due to the software. The second error, however…

Here’s Gabriel’s definition of a function limit:

Compare that to my definition of a function limit:

Now, *why* did I put a lower index after the ? Well, a formula translates to *“For all , there exists some , such that…”* – meaning that the *exact value* of the whose existence is posited by the formula *may depend on the specific value of .* You can think of it as a *function* , that maps *each to some specific value * (in fact: Functions like that, that are the “result of” a -Formula are called *Skolem functions*). Point being: the value of may depend on your choice of . This makes sense if you think back to the “game interpretation” of the formula: You give me some arbitrarily small number , and *in response* I choose a value , depending on your , such that the formula holds.

** Example:** The formula says:

*“For all integers there exists some integer such that “.*The being alluded to here is, of course, just , and obviously the value of depends on (

*duh…*). In fact, the (in this case unique)

*Skolem function*for this formula is the function (however, Skolem functions are rarely unique).

So, what does Gabriel want to tell us with ? I have no idea. The only thing that I can think of is, that he wants to tell us that the value of may depend on the specific value of – but that makes *no sense whatsoever,* given that

- the comes
*after*the – at the point of the , the that this refers to*hasn’t even been introduced,* - the is
*universally quantified*anyway – meaning: The already says “For all “, hence I may freely choose any value for anyway. To note that some value may*depend on*some other value only makes sense in the case of*existential quantifiers*, i.e. , and - The may depend on the , as I explained – hence can’t also depend on , otherwise you get a circular dependency. How is that game going to work? You choose an based on my not-yet-made choice of , and then I pick my based on your and you choose a based on my and…
*huh?*

So, *what’s going on here?* If you have any idea (or potentially, where he got this specific formula from), let me know, because I don’t. All I can conclude from this is that Gabriel *doesn’t know what he’s talking about.* Not surprising, but definitely annoying.

Now that we got the formal nitpicking errors out of the way, let’s go for the actual… errm… “content” of that screenshot. Bullshit is colored red:

In order to use the ill-defined limit definition:

One must know the value of .

However, in order to find , one must use the ill-defined limit definition:

Now you see :

and now you don’t!

(insert stupid

magician-potato-thingy…… here)what the hell is that thing?

Holy shit, that guy π Okay, one by one:

1. I love how he calls the limit definition “ill-defined” and then gives an (apart from the error above) *rigorous, formal definition in first-order logic*. Seriously, you can’t make something more well-defined than by using first-order logic. I mean, that’s kind-of* what first-order logic is for!* You can even input this definition in an automated theorem prover and see that it checks out. Just for fun, I did exactly that in our own MMT system:

Tadaa, the formula type checks. Awesome π

2. No, in order to find one does *not* have to use the “ill-defined” (which is in fact perfectly well-defined, see previous post for details) “limit definition”. In fact, you can use *whatever method you want* to find . You can *conjure it up from the entrails of a chicken,* for all I care. It doesn’t matter one bit, where you get your from, as long as you can afterwards use the above definition to prove, that the you found *is in fact the limit.*

Actually: One of the things that annoy many (especially undergrad) math students is that often, the limits for the more complicated sequences, series etc. *seem to just fall from the sky.* The professor announces the limit to be some *seemingly arbitrary* value, and then he proves that that value *really is the limit!* And as a student, you’re just left pondering how anyone came up with that value. Probably by reading the entrails of a chicken, who knows. (Of course, because some incredibly smart guy took an incredibly educated guess which happened to work out, or by deriving it by some incredibly elaborate method way too complicated to demonstrate in class.)

And if you prefer an example *specifically for derivatives:* The derivative of the *natural logarithm* is . I could prove it to you; it’s not even that hard if you know the trick (although you need partial integration, which is why I’m skipping it here). But my point is: I have *no idea how to derive that.* Seriously. I haven’t tried in a while, it might actually be rather easy, but in class we only proved that it *is* in fact the derivative, not how any one *realized* that it is.

*3. “Now you see , now you don’t”* – errrm, yeah, because you substituted the *thing-containing-* by the *thing-that-by-definition-is-the-previous-thing-containing-*. Are you *seriously* surprised that, once you *define a symbol* as a specific term and you *replace the term by the symbol that by definition is the same thing as that term*, the term is gone? That’s the *whole point of definitions, you daft moron!* The didn’t disappear, it’s still there, you just need to expand the by its definition!

But also: is not, like, a specific value or something; it’s a bound variable of the limit. It is a purely syntactic element of the definition; splitting the body from the binder in front gives the whole thing a very different semantics. It’s like the difference between and (not surprisingly – if you expand the definition you get a ) – the latter needs some specific assignment for the variable to be a well-formed statement in the first place, while the former *is already a well-formed statement.* *Just sayin’.*

4. Apparently definitions are magic tricks for Gabriel. *Awesome,* apparently I’m a magician then π

But still – does Gabriel *maybe have a point* here? I mean – the definition of a function limit *“requires” some limit* to exist, so if we use the definition of the derivative, which contains a function limit, to* compute the limit* – isn’t that circular reasoning? Well, let’s just expand all the definitions to see whether that works out:

We have . Now, expanding the definition, we get: if and only if:

(Note: the is not cheating; I used an extra for the *domain of the function* in my definition with the intention, that does not include the approached value (in this case ) itself; Gabriel instead uses an . Both are fine and amount to “the same thing” in this context (since the fraction is in fact *not defined* for , hence ), even if they’re not strictly equivalent in a logical sense)

Okay, now note that in the term , we have as a prerequisite; hence having in the divisor of the fraction is unproblematic. Meaning, we can easily “compute” this fraction, without changing the truth value of the formula – after all, “computing” just means: We’re changing the expression in such a way that *equality is preserved.* Let’s do this with the function as an example:

Now we can (since they’re *equal*) substitute the resulting term in our original formula, yielding:

Now remember, this formula says: *“For all , there is some such that for any with we have “.* Our goal is to find an that makes this formula true. And now it’s obvious that if such an exists, i.e. if the formula is supposed to be true, it has to be , because then we have . To show that this indeed works out, we just need to be able to give a such that whenever , then . This is trivially true for . Hence we have proven, that

and since we didn’t make any assumptions about (i.e. the proof works for any ), the derivative *is indeed a well-defined function. Hooray!*

And *now* note, that (as people do in practice) *this whole convoluted reasoning can be done way shorter by simply doing the following:*

*This* seems to be what Gabriel is annoyed about and what he claims is *“ill-defined”* – but note, that what we’re doing by computing is really just a shorthand, convenient way to derive a term in such a way, that we can *easily extract a proof* that the result of our derivation *is in fact the limit* we’re looking for according to the formal, rigorous definition of a function limit.

*Nothing is ill-defined here! *We can, if in doubt, always convert any such derivation to an actual formal proof. Except, of course, if we made a mistake. But then try getting through peer-review…

Now, the question remains why Gabriel would think the definition of a function limit / derivative would be ill-defined. As often with Gabriel, it’s hard to find out what exactly his problem is, but the following might be a clue:

There are a lot of problems with mainstream calculus; it’s flawed for several reasons, as I’ll explain shortly, but one of the main reasons is that in order for this function here to be differentiable at this point here – essentially what Cauchy’s definition is saying is, that it needs to have a derivative at every point in this short interval here.

And Gabriel is (as it turns out, not even that). He’s “wrong” (or at least somewhat inaccurate) in that *half-right* here*“this short interval”* he’s pointing at is in no way significant. But he’s~~ right~~ also wrong, in that in order for a function to be differentiable *at some point* , the function will *also*** not** need to be differentiable

*at every point in*It just turns out it often is, provided the function under consideration is sufficiently nice (see Umer’s comment below). Either way that’s not a problem, however, and makes sense in light of continuity:

**some**interval around .All these limit-definitions and –-style definition have one thing in common: They always talk about what happens when we get *arbitrarily close* to some value of interest – i.e. they define a property of some point by *how this point relates to its neighborhood.* It’s not a property that can be established for a point *in isolation* – only *in relation to* surrounding points. Which makes sense, if you think about it: If you want to “approach” a limit, the very word “approach” implies that you’re in some sense covering the surrounding neighborhood of that limit, and that often happens to work because of the same property holding for those points you’re covering.

This is basically the very thing that one expects from ** continuous** (i.e.

*“drawable without lifting the pen”*) functions. In fact; one way to define

*“continuous at some point “*is by demanding that the function limit at exists and is exactly .

Anyway, what I’m trying to say is: To say *“the function is differentiable at point “* is [** often, but not**] actually the same as

*“the function is differentiable in some interval surrounding “*– it’s just that the former is easy to express formally, and hence is convenient as a definition. I don’t know why this is supposed to be a problem; that’s just

*how continuity works!*

One last thing: The bottom of the screenshot shows the following quote:

Cauchy had stated in his Cours d’analyse that irrational numbers are to be regarded as the limits of sequences of rational numbers. Since a limit is defined as a number to which the terms of the sequence approach in such a way that ultimately the difference between this number and the terms of the sequence can be made less than any given number, the existence of the irrational number depends, in the definition of limit, upon the known existence, and hence the prior definition, of the very quantity whose definition is being attempted.

That is, one cannot define the number ‘square root of 2’ as the limit of the sequence 1, 1.4, 1.41, 1.414,… because to prove that this sequence has a limit one must assume, in view of the definitions of limits and convergence, the existence of this number as previously demonstrated or defined. Cauchy appears not to have noticed the circularity of the reasoning in this connection, but tacitly assumed that every sequence converging within itself has a limit.

The History of Calculus and its Conceptual Development (Page.281) Carl B. Boyer

There’s two things to say about this:

*“are to be regarded as”*is not the same thing as*“are defined as”.*I don’t know if Cauchy actually meant*“Irrational numbers are*here. If he did, he indeed used circular reasoning. In that case, Cauchy was just wrong. People tend to be that quite often. However, I’m actually fine with saying**defined**as the limits of sequences”*“irrational numbers can be*They can be defined in such a way that this makes sense and is not circular (see my last post, where I give three different but equivalent definitions of the real numbers).**regarded as**limits of sequences”.*Who cares?*Cauchy is*not the last word on anything to do with Calculus.*Nowadays, we*don’t*define real numbers as*“limits” of Cauchy sequences*– we can rather just define them as (equivalence classes of)*Cauchy sequences directly.*There’s no circularity there, and if you don’t like that, define them as decimal expansions, or as Dedekind cuts, or axiomatically, or…

To use this quote to cast doubt on modern mathematics (and it seems clear, that this is what Gabriel wants to do) is *typical creationist logic:* *“Hey, I found something in a book by Cauchy that’s flawed, hence Calculus is wrong”* is exactly like saying *“I found an error in Darwin’s book, hence the modern theory of Evolution is wrong”.* Why do cranks always think, that *one single book* is the *infallible foundation* of a whole modern scientific field?

Well okay, in the case of creationists that’s just projection, I assume. They have an infallible book, hence the opposition must have one as well. Gabriel, it seems, regards Plato’s works (as we’ll see) as his infallible bible, hence… modern mathematicians must use Cauchy’s works as their infallible bible? Is that the reasoning here? Who knows…

Hi, just want to point out here:

“in that in order for a function to be differentiable at some point p, the function will also need to be differentiable at every point in some interval around p.”

Of course the functions people most often use will have nice properties like that, but it turns out that this does not follow from definitions. An example of a function differentiable at only one point is a function f such that it is x^2 at rational numbers and -x^2 at irrationals. (if we have not defined irrationals yet we can make a function in the same way that depends on (for example) the denominator of your rational or what have you.)

And while you talk about continuity, it turns out that this statement is still not true for all continuous functions, but again, only nice ones. For example, starting with the Weierstrass function, call it W(x), in the same spirit as the example above, define f(x) = x^2 * W(x), which will be continuous everywhere but differentiable only at x=0.

I am not sure of what exact conditions are needed to make that statement true, just remembered some examples of exotic functions from my calc classes. Anyway I thought it was something you should fix.

wwwooah, that’s embarrassing 0o Thanks for the correction! I had the proof sketch for continuity in mind and figured I could just extend that to differentiability as well. Unfortunately, I didn’t actually try it, because I would have required “continuous< =>the images of all convergent sequences converge” and it all seemed to elaborate to me.

Rookie mistake; I’ll fix it shortly π

Thanks, great article.