# Wronski’s Formula For Pi: Two Weird Tricks For Limits That Mathematicians Keep Using

Previously:

So now a bit more on Józef Maria Hoëne-Wronski’s attempted definition of π. I had got it rewritten to this form:

$\displaystyle \lim_{x \to \infty} f(x) = \lim_{x \to \infty} -2 x 2^{\frac{1}{2}\cdot \frac{1}{x}} \sin\left(\frac{\pi}{4}\cdot \frac{1}{x}\right)$

And I’d tried the first thing mathematicians do when trying to evaluate the limit of a function at a point. That is, take the value of that point and put it in whatever the formula is. If that formula evaluates to something meaningful, then that value is the limit. That attempt gave this:

$-2 \cdot \infty \cdot 1 \cdot 0$

Because the limit of ‘x’, for ‘x’ at ∞, is infinitely large. The limit of ‘$2^{\frac{1}{2}\cdot\frac{1}{x}}$‘ for ‘x’ at ∞ is 1. The limit of ‘$\sin(\frac{\pi}{4}\cdot\frac{1}{x})$ for ‘x’ at ∞ is 0. We can take limits that are 0, or limits that are some finite number, or limits that are infinitely large. But multiplying a zero times an infinity is dangerous. Could be anything.

Mathematicians have a tool. We know it as L’Hôpital’s Rule. It’s named for the French mathematician Guillaume de l’Hôpital, who discovered it in the works of his tutor, Johann Bernoulli. (They had a contract giving l’Hôpital publication rights. If Wikipedia’s right the preface of the book credited Bernoulli, although it doesn’t appear to be specifically for this. The full story is more complicated and ambiguous. The previous sentence may be said about most things.)

So here’s the first trick. Suppose you’re finding the limit of something that you can write as the quotient of one function divided by another. So, something that looks like this:

$\displaystyle \lim_{x \to a} \frac{h(x)}{g(x)}$

(Normally, this gets presented as ‘f(x)’ divided by ‘g(x)’. But I’m already using ‘f(x)’ for another function and I don’t want to muddle what that means.)

Suppose it turns out that at ‘a’, both ‘h(x)’ and ‘g(x)’ are zero, or both ‘h(x)’ and ‘g(x)’ are ∞. Zero divided by zero, or ∞ divided by ∞, looks like danger. It’s not necessarily so, though. If this limit exists, then we can find it by taking the first derivatives of ‘h’ and ‘g’, and evaluating:

$\displaystyle \lim_{x \to a} \frac{h'(x)}{g'(x)}$

That ‘ mark is a common shorthand for “the first derivative of this function, with respect to the only variable we have around here”.

This doesn’t look like it should help matters. Often it does, though. There’s an excellent chance that either ‘h'(x)’ or ‘g'(x)’ — or both — aren’t simultaneously zero, or ∞, at ‘a’. And once that’s so, we’ve got a meaningful limit. This doesn’t always work. Sometimes we have to use this l’Hôpital’s Rule trick a second time, or a third or so on. But it works so very often for the kinds of problems we like to do. Reaches the point that if it doesn’t work, we have to suspect we’re calculating the wrong thing.

But wait, you protest, reasonably. This is fine for problems where the limit looks like 0 divided by 0, or ∞ divided by ∞. What Wronski’s formula got me was 0 times 1 times ∞. And I won’t lie: I’m a little unsettled by having that 1 there. I feel like multiplying by 1 shouldn’t be a problem, but I have doubts.

That zero times ∞ thing, thought? That’s easy. Here’s the second trick. Let me put it this way: isn’t ‘x’ really the same thing as $\frac{1}{ 1 / x }$?

I expect your answer is to slam your hand down on the table and glare at my writing with contempt. So be it. I told you it was a trick.

And it’s a perfectly good one. And it’s perfectly legitimate, too. $\frac{1}{x}$ is a meaningful number if ‘x’ is any finite number other than zero. So is $\frac{1}{ 1 / x }$. Mathematicians accept a definition of limit that doesn’t really depend on the value of your expression at a point. So that $\frac{1}{x}$ wouldn’t be meaningful for ‘x’ at zero doesn’t mean we can’t evaluate its limit for ‘x’ at zero. And just because we might not be sure that $\frac{1}{x}$ would mean for infinitely large ‘x’ doesn’t mean we can’t evaluate its limit for ‘x’ at ∞.

I see you, person who figures you’ve caught me. The first thing I tried was putting in the value of ‘x’ at the ∞, all ready to declare that this was the limit of ‘f(x)’. I know my caveats, though. Plugging in the value you want the limit at into the function whose limit you’re evaluating is a shortcut. If you get something meaningful, then that’s the same answer you would get finding the limit properly. Which is done by looking at the neighborhood around but not at that point. So that’s why this reciprocal-of-the-reciprocal trick works.

So back to my function, which looks like this:

$\displaystyle f(x) = -2 x 2^{\frac{1}{2}\cdot \frac{1}{x}} \sin\left(\frac{\pi}{4}\cdot \frac{1}{x}\right)$

Do I want to replace ‘x’ with $\frac{1}{1 / x}$, or do I want to replace $\sin\left(\frac{\pi}{4}\cdot \frac{1}{x}\right)$ with $\frac{1}{1 / \sin\left(\frac{\pi}{4}\cdot \frac{1}{x}\right)}$? I was going to say something about how many times in my life I’ve been glad to take the reciprocal of the sine of an expression of x. But just writing the symbols out like that makes the case better than being witty would.

So here is a new, L’Hôpital’s Rule-friendly, version of my version of Wronski’s formula:

$\displaystyle f(x) = -2 \frac{2^{\frac{1}{2}\cdot \frac{1}{x}} \sin\left(\frac{\pi}{4}\cdot \frac{1}{x}\right)}{\frac{1}{x}}$

I put that -2 out in front because it’s not really important. The limit of a constant number times some function is the same as that constant number times the limit of that function. We can put that off to the side, work on other stuff, and hope that we remember to bring it back in later. I manage to remember it about four-fifths of the time.

So these are the numerator and denominator functions I was calling ‘h(x)’ and ‘g(x)’ before:

$h(x) = 2^{\frac{1}{2}\cdot \frac{1}{x}} \sin\left(\frac{\pi}{4}\cdot \frac{1}{x}\right)$

$g(x) = \frac{1}{x}$

The limit of both of these at ∞ is 0, just as we might hope. So we take the first derivatives. That for ‘g(x)’ is easy. Anyone who’s reached week three in Intro Calculus can do it. This may only be because she’s gotten bored and leafed through the formulas on the inside front cover of the textbook. But she can do it. It’s:

$g'(x) = -\frac{1}{x^2}$

The derivative for ‘h(x)’ is a little more involved. ‘h(x)’ we can write as the product of two expressions, that $2^{\frac{1}{2}\cdot \frac{1}{x}}$ and that $\sin\left(\frac{\pi}{4}\cdot \frac{1}{x}\right)$. And each of those expressions contains within themselves another expression, that $\frac{1}{x}$. So this is going to require the Product Rule, of two expressions that each require the Chain Rule.

This is as far as I got with that before slamming my hand down on the table and glaring at the problem with disgust:

$h'(x) = 2^{\frac{1}{2}\frac{1}{x}} \cdot \log(2) \cdot \frac{1}{2} \cdot (-1) \cdot \frac{1}{x^2} + 2^{\frac{1}{2}\frac{1}{x}} \cdot \cos( arg ) bleah$

Yeah I’m not finishing that. Too much work. I’m going to reluctantly try thinking instead.

(If you want to do that work — actually, it isn’t much more past there, and if you followed that first half you’re going to be fine. And you’ll see an echo of it in what I do next time.)

## Author: Joseph Nebus

I was born 198 years to the day after Johnny Appleseed. The differences between us do not end there. He/him.

## 7 thoughts on “Wronski’s Formula For Pi: Two Weird Tricks For Limits That Mathematicians Keep Using”

1. Did you intentionally title this article to parody those click bait plugs? Will the next one be titled “What Wronski’s Formula for Pi Looks Like Today Is Shocking”?

Like

1. Little bit of parodying clickbait headlines, yeah. Although there are legitimately two great yet bizarre tricks that mathematicians do use, at least when they need to do limits. So maybe it’ll help someone.

I think I’ve done at least one more post with the weird-tricks-mathematicians-use, for a truly great one: that if all you care about is getting an answer it doesn’t matter if you get it by a stupid or ad hoc or ridiculous approach. You just have to check that the answer is right.

Like

2. ….Or of course the ever popular “You’ll Never Believe What These Cheetahs Did to Wronski’s Formula For Pi”

Like

1. I think I will use this for a post I’ve got planned (but not written) about just where some of my symbol manipulations went awry in all this.

Like

This site uses Akismet to reduce spam. Learn how your comment data is processed.