Archive for Q&A

A question for our listeners

We usually pose puzzles, which implies we know the answer ahead of time. But today I’m stumped, and have a real question I hope someone out there can answer.

tempreactiondiffusion

It’s really quite amusing to repeatedly apply a series of effects to an image, say using Photoshop filters. I didn’t think about it until yesterday, but this is a great way to model various kinds of things, particularly certain partial differential equations.

To take a really simple example, we all know that heat diffuses, and that in the absence of any energy being pumped into a system, temperatures will tend to even out over time. Similarly, if we apply a blur to an image over and over again, soon we will have a smeared out gray. 

Heat is modeled in a continuous realm: time is continuous, space is continuous. But while blurring, time occurs in discrete steps, and space is modeled in discrete pixels. Nonetheless, the two phenomena are closely related.

The famous heat equation is very simple:

du/dt   ∝ Δu  

All this means is that the amount of a quantity ‘u’ in a given location changes over time, and this change is proportional to how much net  variation there is nearby– the more variation the more u will change. (For those with more than Cal III under your belt, no need to explain; if you’ve had Cal I, if we measure temperature along a rod, then this Δu works out to be just d2u/dt2 and sure– the more concave up the function is, say, the faster the heat will increase at that spot, in an attempt to smooth out the temperature; if you haven’t had any calculus, or even if you have, it’s interesting to consider a discrete version of this:

Suppose we have a bunch of graph paper, with a temperature written in every cell. Then the new temperature at each new time can be modeled by taking a weighted average of the neighbors. For example, if we’re at X :

a  b  c

d  X  f       

g  h  i

we might take an average using none of a,c,g and i, 1/8 of b,d,f,h and 1/2 of our original value X. (Generally we count closer spots more)

i.e. new value = X/2 + (b+d+f+h)/8

The change from the old value to the new value is —X/2 + (b+d+f+h)/8, and sure enough this is a discrete form of the laplacian.

 

We used photoshop to make the image at left , at the top of this post: we’ve applied a gaussian blur (rad = 1 px) and then three sharpens, and then repeated this over and over again.

And look!! Unmistakably, the spots and stripes that are the hallmarks of reaction diffusion types of equations have popped up!!

Reaction diffusion patterns pop up in many places– not least of which in the patterns of spots or stripes on many living things. The idea in reaction diffusion is that one or more quantities (like the amount of black in a pixel, or the amounts of various hormones or chemicals) simultaneously diffuse (blur) and react (changing the concentrations). These two actions are in a kind of tug-of-war, and when they are well-matched all kinds of interesting things can occur.

Here’s my question (for experts only): that doesn’t make sense– aren’t both a gaussian blur and sharpening modeled by adding / subtracting a laplacian? And where is the reactive term?

Incidentally, here’s another example that works beautifully:

If we repeatedly apply a gaussian blur and heighten the contrast, we obtain a sequence of images as belowtempreactiondiffusion2

This is exactly what we should expect: this is a discrete form of a well-known reaction diffusion equation in which the reactive force drives the interface between black and white towards having less and less total curvature. 

—-

Incidentally, the discoverer of this class of  equations was none other than the great Alan Turing, father of the theory of computation (and, as it happens, leader of the effort to crack the Nazi enigma code).  I  must take the opportunity to remind us all again that this great man was hounded to his suicide for his homosexuality by the very government he’d worked to save— a clear a martyr to the cause of universal human rights as there can be.

Comments (3)

Q & A: When Two Spheres Touch…

Chris S. writes:

I was wondering what is the theoretical ‘area’ of contact between two spheres in contact with each other. I was unfortunately not able to locate much (if any) information on this. After some thought into this I’ve realised that the spheres would meet at a single ‘point’ however what would the area of this ‘point’ be? The only source related to this claimed the area of contact, the point, has no area. How can a point have no area? If the spheres touch, musn’t there be an area shared between them? Even if only one atom?

Hi, the issue here is that there is a vast difference between physical, real things and the mathematical ideas that model them.

Real, mathematical spheres don’t exist, plain and simple! Never could, even as a region of space— space itself has a granularity (apparently) at a scale of about 10^-33 meters. There simply cannot exist a perfectly spherical region in physical space, much less a perfectly spherical body.

But as an abstraction, the idea of a sphere is very useful: lots of things, quite evidently, are spherical for all practical purposes.

For that matter, “points” don’t exist either, and are also a mathematical abstraction. (So, too, is “area”. Real things are rough, bumpy and not at all like continuous surfaces, on a fine enough scale) But again, these _ideas_ are very good at getting at something important about lots and lots of physical things, and so have proved useful.

Tangent spheres do indeed meet in a single point, which has no area.

Spherical things meet in some other, messier way.

Hope this helps!

Comments

Q&A: Deal or No Deal

We’ve never discussed the famous “Monty Hall Problem” here (though we did talk about it on the radio before we started podcasting). We recently got an interesting letter that highlights the difference between a game like “Let’s Make A Deal” and a game like “Deal or No Deal”.

Mark A. recently wrote us:
Read the rest of this entry »

Comments (2)

Q & A: A little puzzle

I had a dream last night involving — (?) well I am not really sure, except that it left me wondering if there is a simple proof (if indeed it is true) that there must be a common factor of

m choose i = m!/(i! (m-i)!)
m choose j = m!/(j! (m-j)!)

for all counting numbers i,j,m with 1 < i,j < m Another way to state this same thing is: any pair of entries, on any row of Pascal's triangle (except for the 1's on the edges) will have a common factor. With facts of this sort, often there is a clever way to cast things in terms of counting something a couple of different ways which makes things clear.

Comments (6)

Q&A: Numerous Numbers

Steve D. wrote us to say:

I was listening to another podcast and they misread the copy and ended up
saying “What is the most numerous number?”. Well, what IS the most numerous number?

This is really a fascinating question! Have you ever wondered, for example, why there are 7 of so many things:

  • 7 wonders of the ancient world
  • 7 mortal sins
  • 7 stars in the big dipper
  • 7 days of the week
  • 7 dwarves
  • 7 brides for 7 brothers
  • 7 items on this list

Really, it’s not that big of a mystery. The fact is, small numbers are very useful, and get called upon a lot. But there aren’t that many of them to go around.

Hence, the First Strong Law of Small Numbers: There aren’t enough small numbers to meet the many demands placed upon them!

The most numerous numbers, in a sense then, are the small ones. Google searches seem to confirm this:

  • 1, 2, 3, 4, … (several billion hits each)
  • 78, 122, 157, … (several hundreds of millions of hits each)
  • 12122…(millions of hits)
  • 1278232… (hundreds of hits)

Lotsa fun can be had in this way… With a little fishing, you can find some ridiculously large numbers with more hits than they deserve, but the principle is clear.


This same principle, incidentally, explains why, for example, the Golden Ratio appears in so many settings. There’s nothing really that mystical about it. The Golden Ratio is a root of the polynomial x2-x-1=0. Roots of polynomials come up all over the place, in countless applications. And just as small numbers are in great demand, roots of simple polynomials will appear over and over again.

The Golden Ratio is just about the simplest non-integer root possible, and so, of course, shows up endlessly.


Challenge Question I’m kind of curious now: What is the smallest counting number that is NOT on the web?

210210876 was not on the web until just now, according to Google. Internet history has just been made!! But I’m sure you can find something smaller…

Comments (7)

Q&A: The Race

We never did resolve the question of which grows faster:

In this corner we have
Sequence 1 n^^n
1, 2^2, 3^3^3, 4^4^4^4, and so on.

And over here we have Sequence 2, defined recursively by

  • The first entry is 1
  • the next entry is 2, followed by one (the previous entry) factorial sign; 2!=2
  • the next entry is 3, followed by two (the previous entry) factorial signs; 3!! = 6! = 720
  • 4, followed by 720 factorial signs, which is a truly staggering number.
  • 5 followed by whatever-the-previous-entry was number of factorial signs, etc.
  • In short, we can define the second sequence as s(1) = 1; s(n) = n, followed by s(n-1) factorial signs.

    Which sequence grows faster than the other??

    We have many conflicting answers, and no decisive resolution; here was one idea .

    Comments (5)

    Q&A: Why is 0! = 1?

    David R. of Palo Alto writes:

    Have you ever discussed factorials on your podcast? I don’t recall,
    but a friend and I are puzzled and so of course we turn to you: Why
    is “zero factorial” 1? Was it simply defined that way to frustrate
    all of us nonmath folks, or is there a valid explanation?

    Read the rest of this entry »

    Comments

    The Math Factor Podcast Website


    Quality Math Talk Since 2004, on the web and on KUAF 91.3 FM


    A production of the University of Arkansas, Fayetteville, Ark USA


    Download a great math factor poster to print and share!

    Got an idea? Want to do a guest post? Tell us about it!

    Heya! Do us a favor and link here from your site!