Missing Things

Showing posts with label puzzle. Show all posts
Showing posts with label puzzle. Show all posts

16 June 2011

...an Eternal Golden Braid

Continued from last week, when we were discussing strange loops!

Quick review: a strange loop is anything that linearly relates to itself - if you pick some one action to perform on it, you'll eventually return to exactly where you were when you began.

Now - per the last example last post, human consciousness is itself a strange loop, as shown whenever you think about thinking, or think about why you think or feel the things that you do. So it should be no surprise that philosophy, psychology, mathematics, art, and so on can all be shown to be complex, tangled hierarchies full of strange, looping structures. Here's a couple more examples, for fun:
  • Storytelling. Structures which return the characters to the place they started from at the beginning - physically, mentally, emotionally - are common throughout great literature. The Hero's Journey is a perfect example - albeit an overly specific, misleading, and rigidly stratified one. In the Iliad, the Greeks go to war; in the Odyssey, the last of them finally comes home. (In the beginning of the Odyssey, Odysseus almost gets home but fails.) There and Back Again. Don Quixote. The answers are always in the place you started, but you need the intervening book in order to recognize them.
  • Feynman diagrams. Antimatter and matter are always created together in nature, and annihilate each other when they converge again. Feynman diagrams are just how scientists keep track of their interactions. Particle creation and annihilation is happening constantly, everywhere, and usually the two particles that formed together also destroy each other shortly thereafter - the diagram looks like this (incoming energy waves convert into two particles with mass, which move apart, collide again, and re-release the energy). You'll notice, though, that the regular particle is marked with a forwards arrow, and the antiparticle is marked with a backwards arrow - because one possible interpretation of the math is that there is only one particle and it appears to sometimes be an antiparticle because at that point it has begun moving backwards in time. In other words, the particle is 'creating' and 'destroying' itself, in a single infinitesimal moment, forever.
  • Fractals. You can zoom in indefinitely and get the same image you started with, yes? Well, not for all fractals - the famous Mandelbrot Set, for instance, is unimaginably more complex than that.
  • Let's talk (briefly) about the Mandelbrot Set. Do you know the coordinate plane? With an origin and a defined axis, you can locate any point P(x, y), x units left or right and y units up or down. One of the many, many things we can do with this is to apply a formula to P to define a second point - call it P1. Let's say that if P is x units right and y units up, we'll start at the origin, and move (x squared minus y squared) units right, and (twice x times y) units up. Then, we'll move it x more units right, and y more units up, and call that P1. X and Y can be absolutely anything, and we'll always get another point... so let's say that we take what we just did to turn P into P1, and do it to P1 to get P2, then P3, P4... and so on. We'll do it forever. (Mathematicians have sneaky tricks to find out what happens if you keep doing something forever.) If we keep going forever, we'll find that either our point is now racing toward the edge of the coordinate plane, an infinite distance away - or it's still meandering about, passing by our original point P every so often. Every point that hangs about when you do this is part of the Mandelbrot Set; in this picture, these are the points in black (the non-black points are coloured based on how quickly they run for the horizon). But if the point keeps doubling back on itself when we keep doing the same thing... the Mandelbrot Set consists of all of the points that generate strange loops from a given formula. Awesome? Awesome.
Moving on.

Strange loops can be bewildering at times because our minds are adapted to a conventionally categorical, hierarchical way of thinking - the classic riddle of shallow philosophy, "the chicken or the egg", writ large. The two hands cannot actually be drawing each other, after all! That looping sort of cause and effect makes no sense to our ordinary perception.

So it's very helpful that Hofstadter addresses this. None of the loops we've discussed, he points out, are actually self-sustaining or self-perpetuating. Rather, we can restore part of our usual understanding of things by noticing that every point of the loop has both an internal cause - somewhere else in the loop - as well as an external cause, generally one single one for the loop as a whole. You stand on any step of the Penrose staircase by climbing there from a lower step - and because Penrose conceived of the staircase. Characters reach the fulfilment of their stories with the unnoticed aid of their author. A quine is produced by being run, but only because it was first run on a computer. (The bits that make up computer memory are also strange loops, tiny tiny circuit segments that continuously feed themselves their own voltage as new input.) The trigonometric functions, and fractals, and especially the Mandelbrot Set, were discovered by expanding upon math that was already known. Particle-antiparticle pairs form from errant energy waves nearby in the universe. The Liar Paradox needs someone to say it or there is no "I" to be lying and not lying.

You'll notice I skipped humans, because the human mind is more complex than any of these - it is a self-modifying strange loop. In this sentence, I am now making you aware of the fact that you are thinking about strange loops, such as this sentence and your thoughts. You've just added an additional metarecursion onto that cycle, and you can keep doing that to potentially infinite degrees, limited only by your boredom! But for the moment I'm going to tie whatever cycle you're currently on back to this sentence by noting that by thinking about that uppermost layer and the process by which your mind reflects on itself you've constructed a strange loop of strange loops. With my help, of course. This blog post provides initial external instigation. ;)

My point is, though, that your mind doesn't necessarily need the external instigation. I have no idea how many strange loops that cycle in the last paragraph, for instance, and you might have easily realised the loop of loops without my assistance. This is because your mind is a more complicated, tangled, crazy, and wonderful place than you may have ever realised before! :D

I'm not going to be able to finish this in only two posts. Next time: we have to go deeper.Link

09 June 2011

Gödel, Escher, Bach

I just realized I've never actually discussed Gödel, Escher, Bach in detail here before, and then I went and made reference to it in my last post. Shame on me. It's awesome.

Gödel, Escher, Bach is a book by Douglas Hofstadter, whose subject cannot be really concisely explained. It's about everything. At it's core, you could say it's mostly about human consciousness. And music. And math. And art. (Kind of as implied by the title. You remember Kurt Gödel, right?) And puns, and palindromes, and Möbius strips, and vinyl records that destroy the record players that play them, and the holism/reductionism dichotomy, and computer programming, and artificial intelligence, and Charles Babbage's parable of Achilles and the Tortoise, and... and, it's amazing and you should go read it. Skim the parts that are too jargony for you, if you must, but keep going through it.

Let's talk about a construct that Hofstadter introduces, called a "strange loop". It's a shorthand way to talk about things that linearly relate to themselves. It'll probably be clearer if I discuss examples instead of trying to define it:
  • You've seen M. C. Escher's lithograph of the endless stairs? (The artwork is called 'Ascending and Descending', by the way. The structure itself is called a Penrose staircase, after the fellow who actually invented it - if you can tell me who famously used the correct name, you get an imaginary cookie.) That's a strange loop. You start anywhere on the stairs, and do nothing but walk up - linearly, one direction - and you still return to the point you started from.
  • A quine is a computer program that, with no input, produces its own exact source code as output. This is a strange loop - you proceed linearly down the generations of output, and each one is still the same code with which you began.
  • The trigonometric functions are a strange loop. For the function y = sin(x), the rate at which y changes with respect to x changing is y' = cos(x). The rate at which y' changes is y'' = -sin(x). The rate at which y'' changes is y''' = -cos(x), and the rate at which y''' changes is y'''' = sin(x) = y. Applying one procedure over and over takes you back to the original result.
  • The Liar Paradox - "I am lying right now" - is a strange loop. The thought process goes, if you are lying, then that statement is a lie, so it must not be true that you are lying right now, so you must not be lying. But if you're not really lying, then when you say you are lying you must be telling the truth, in which case you really are lying. Paradox.
  • The way your mind itself works is a strange loop. This is the process called introspection - you are able to recognize that your brain is producing thoughts, and this recognition is itself one of those thoughts.
People tend to think of strange loops as tricksy, exotic, complicated, mind-blowing things, but in reality, they're everywhere. People just tend not to notice them, or to think too hard about them, when they encounter them in real life. It's both frustrating, and depressing.

I'll elaborate on the significance of this next week, but in the meantime, you can go to another fantastic strange loop by following this elegant and finely-crafted link.

07 October 2010

A Most Ingenious Solution

Answers to last week's conundrum!

Let's start where you probably started - with the simple probability that, with one opportunity to make the choice and four options to choose from, you have a 25% chance of picking any given option and therefore a 25% chance of picking the right one.

This falls apart as soon as you realize that there are two options marked 25%. Two correct options out of four gives a probability of 50%, so we'll pick that one...

...wait. There's only one answer of 50%, and one of four is 25%. Again.

This is probably where most people give up.

-----

Let's think about this a little more. Three out of our four answers are now in what amounts to a superposition of states - our argument proves that each of them is both true and false. This leaves us in a position of deciding what rule to use: either "all incompletely false statements are true" or "all incompletely true statements are false".

- If we go with the second, then we have eliminated three of the four options as acceptable answers and should default to the one remaining.
- If we go with the first, then since we have just judged that three of the four answers are true we have a 75% chance of selecting a correct answer at random.

In either case we ought to choose 75% as the correct answer!

If 75% is the correct answer, we have one chance out of four of choosing it correctly at random. Gotterdammerung!

-----

In fact, however, this is the key to solving this problem. By this chain of reasoning, we have constructed an argument that places all four answers in a superposition of states; and, depending on whether we choose "all incompletely false statements are true" or "all incompletely true statements are false", the solution is either 100% or 0%, respectively. And neither 0% or 100% is presented as a solution to choose from. This means that the best possible answer does not appear as one of our four choices, leaving us with no chance at all of choosing the correct answer! No chance at all is 0% - and so, finally, we have an answer that is permitted to be true without also being false.

Since this choice does not appear, we simply do not select any of the answers, and in so doing get the problem right.

-----

Final thought. Amidst all these convoluted circles of paradox in such a simple question, you may have forgotten that most people give up after discovering only the first circle. Having woven our way through the rest of the problem, we now learn that giving up is the best possible answer.

This means that, of all the people who ever encounter this question, most of them will answer it correctly - despite the fact that we just proved that each of them has no chance of choosing the right answer.

I'll leave you to think on that one for a while. :D

- Thursday

30 September 2010

A Most Ingenious Paradox

I received a most excellent riddle from my deranged friend Qwip yesterday, and present it to you here in modified form:

Multiple Choice: If you were to answer this question by random guessing, what is the probability that you would be correct?

(a) 25%
(b) 50%
(c) 75%
(d) 25%

Discuss!

03 June 2010

Use the force

Take a slinky and stretch it out so that it's fairly taut - across a room, say. Wiggle one of the ends up and down. Notice how whenever you disturb part of it, the disturbance moves away down the length of the slinky?

This is what in physics we call a wave - a disturbance that moves. There's a whole bunch of interesting stuff that happens with it that you can play with (what happens when the disturbance reaches the end of the slinky? is a good place to start), but there's one thing in particular I want to draw your attention to.

Disturb the slinky again and pay close attention to the little loops that compose the spring. What you should notice is that while the disturbance as a whole travels away, the individual pieces of matter basically only move back and forth in line with however you disturbed it; up and down, side to side, whatever. This shouldn't be a huge surprise, right? It's not like you grabbed part of the slinky and threw it across the room or something. The particular loop of the slinky you disturbed just pulls on the neighboring loops, which pull on their neighbors, and so on; it's a function of the fact that the slinky is springy and tries to return to its original shape due to tension forces. The "wave" isn't an actual object, it's just a description of the process as a whole.

So then what happens if you set up something, like a domino chain or something, next to the far end of the slinky and then disturb the slinky sideways? You can try it if you like, though what happens is essentially what you'd expect - the wave propagates down the slinky and runs into the dominoes and knocks them over.

But we just said that the wave isn't a physical object. It's just a little disturbance in the force (heh heh); you just accomplished the same thing as if you'd thrown a baseball down to the other end of the room to knock the dominoes over, only the only thing that moved across the room is a mathematical description of the force and energy transference taking place in the slinky. No actual, physical object crossed the room at any point.

Of course, you could argue that the same thing happens if you just stretched out a chain of dominoes across the room to reach the domino on the other side, but each individual falling domino moves slightly towards the next one. There's a net motion involved in the right direction. But with the slinky, each little bit of matter only moves from side to side (if you were careful). Not only does no object cross the room, no object even moves in the right direction to cross the room.

Congratulations. You just affected an object a whole room away from you with nothing but the power of math.

06 May 2010

Something quick to catch up

Let's suppose you're thirsty, and the only convenient source of drink nearby is a vending machine, dispensing $1.25 drinks.

You have only $2.00 on you, in bills. The vending machine doesn't give change.

I happen to be walking by, though, and I have a couple of quarters on me. I'll give you my two quarters if you'll give me a dollar.

Alternatively, you could just put $2.00 in the machine and let it keep the change, which would cost you an extra $.25 than if you bought my quarters.

Or you could go without a drink, but you're really thirsty and don't want to do that.

So... How did my $.50 suddenly double in value?

22 April 2010

A puzzle

You have a rectangular field containing an irregularly-shaped pond whose area you wish to know.

The tools you have at hand are the property deed for the field, a cannon, and an infinite number of cannonballs.

How do you find the area of the pond?