The Monkeys are Typing Again . . .

Recently I was read a series of email exchanges between a good member of the church and a Utah political leader. The writer was mistakenly concerned that religion and evolution were at odds and argued that intelligent design should be taught as science. This person promoted a common argument against evolution seen in creationist attacks, but it shows a basic misunderstanding about evolution and presents a straw argument against evolution. They suggest evolutionists believe that random processes alone structure the universe and evolution is an argument about low probably events occurring. This argument assumes that evolutionists think that if an infinite number of monkeys, given infinite time, are put to typing on typewriters that eventually the complete works of Shakespeare will inevitably result. Of course, the Intelligent Design creationists then point out that it is so improbable as to be impossible, therefore evolution is false. I say give the monkeys a chance. Let’s set some monkeys to typing and see if evolution is true or not. Science is about experimentation and nobody has even done any monkey on typewriters work.

The trouble with this argument is that this misrepresents evolution so completely as to be almost a ludicrous caricature. It suggests that because evolution works on random processes that the appearance of life on earth is a random probabilistic event.

 Do evolutionary thinkers honestly believe that DNA just appeared on earth just by random chance? No they do not. The power of evolution is that it is a mechanism that creates complexity from simplicity (creationist sometimes argue that the second law of thermodynamics prohibits simplicity from moving to complexity, however, remember that is true only of closed systems, the sun is pouring enormous energy into the Earth which allows the move from simplicity to complexity). Evolution does not start with a random string of DNA suddenly and probabilistically appearing ex nihilo. It starts with a simple system that can replicate itself. All it takes is one chemical that can copy itself—one molecule that produces a molecule just like itself, some random variation and a selective environment. Once that is in place then evolution can work its wonders.

This view of evolution as random events only does not engage the views of real biologists. The missing piece of this argument is that evolution occurs through selection on random processes, not that life is just a random event. The whole genius of Darwin was natural selection. Selection! Not just random processes willy-nilly creating life.

Evolution through natural selection is a sorting algorithm. Let’s take our Monkeys busily typing away at their typewriters (I actually saw a creationist attack on this by giving monkeys typewriters and watching them destroy the ill-fated machines–somehow this was supposed to show the absurdity of evolution. I think the reasoning the authors were going for was something along the lines of (A) Since monkeys could never type at all, then (B) they could never produce Shakespeare, hence evolution is false since it relies on something Huxley is supposed to have said about monkeys typing.) Now, just as a point of clarification, Huxley never said this to Bishop Wilberforce in their famous debate, but let’s go with the analogy anyway. Evolution does not just argue that the complexity of life just jumped from nowhere in some probabilistic leap from the void, rather it argues that selection acts on random variation. Moreover, once something arises through random mutation that is adaptive it keeps it. So instead, as this author argues, of our waiting around for the monkeys to type the sonnet by randomly pecking at the keys, which we agree is not very likely, we get to keep those that fit the pattern provided by the sonnet. So suppose that every time a monkey hits a letter that belongs in the appropriate place in the sonnet our sorting algorithm keeps it. So for example, if our monkey hits an ‘a’ in the place where there is supposed to be an ‘a’ in the sonnet then it remains. I show below that it only takes about 240,000 key strokes under selection to get our sonnet. Far less than the 1/30527 you obtain get in the creationist attack as the probability of getting the sonnet. Interestingly, the probability of the monkey’s getting the sonnet? Probability = 1. It’s inevitable under Darwinian selection. (For a more complete assessment of how long it would take to get the 1000 lines of Shakespeare see the end of this Blog) We could even add a mutation rate and still get our monkey-typed sonnet in a reasonable time. (In fact, in Richard Dawkins Book The Blind Watchmaker he programs this process on his computer and gets lines from Shakespeare very rapidly using random variation with selection.) The point is that if you add selection to a process, very improbable events can jump to inevitable. And evolution is all about selection. In biological evolution, it is the environment that decides what is kept rather than someone watching the keys, but the principal is the same. So when selection acts in combination with random variation (our monkeys typing) the wondrous adaptations we see in the natural world are not infinitely unlikely. No. Using the power of evolution, these things can be explained quite easily. In fact evolution is currently being used to solve intractable mathematical problems that were thought to be unsolvable. In fact, software engineers use evolution to solve real-world problems; complex programs are evolved to solve engineering and mathematical problems by using random variation, inheritance, and selection—the only necessary ingredients for evolution.

Our best religion and science are compatible. Intelligent Design adds nothing useful to either.

Appendix A (you don’t have to read this: it’s math).

How long would it take the Monkeys to type out a Shakespearean sonnet under Darwinian Selection?
Consider an N character sonnet (or any given string of N characters). Now for each of those characters, the probability that the monkey’s key stroke will match the required letter in the i_th place is 1/(number of letters) for each position. Call this s. I’m assuming here that each of the monkey’s keystrokes is independent, uniformly distributed. For simplicity sake let’s assume that the monkeys complete a discrete round of N characters every T seconds call these rounds 1, 2, . . ., j, . . .t. (if you assume continuous typing it can only reduce the time it take to reach the sonnet i.e. this is a conservative assumption). Now assume every time the monkey’s stroke matches the character in position i, that that character is fixed, i.e., selection acts to keep that character because it matches the character in that string (like gene that produces a trait that fits in the current environment). Therefore, in the first round (1- s)*N characters remain unfixed and remain the same in all the rounds thereafter. In the second round there will be (1- s)*N*(1- s) or (1- s)^2*N unfixed. Using induction it can be shown (yes mathematicians talk this way! Not ‘I show’, but it can be shown!) that in the tth round there will be (1- s)^t*N characters that remain to be fixed. The time until fixation of the entire sonnet then is when s^t*N < 1, there are less than 1 characters needing to be fixed and no characters remaining to be fixed. At that time the monkey’s typing matches the desired string. Algebraically, this can be shown to be when t > ln(1/N)/ln(1- s). Let’s consider a sonnet of 1000 characters and with about 30 characters in the alphabet (I’m including some punctuation): then s = 1/30, N = 1000 and so our Monkeys will reach their goal in about 204 rounds or about 240,000 key strokes if they uselessly pound on fixed position keys or 28,972 if they quit hitting keys that have become fixed. As you can see it is no problem to get a sonnet for ambitious monkeys, a sorting algorithm, and some random variation. Monkeys prove evolution again! Doesn’t it make you proud that our physical bodies came from such distinguished and versatile characters!

Share and Enjoy:
  • Facebook
  • Twitter
  • Google Bookmarks
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Blogplay

12 comments to The Monkeys are Typing Again . . .

  • Thanks for your clarity on evolutionary thinking. It is nice to run into a fellow LDS evolutionist. You might be interested in some of my essays at “Mormon Insights,” especially my essay Evolutionary Science Inspires Me.

  • The Silent Observer

    I also think that evolution was the mechanism by which God created the diversity of life on the earth, but I have some issues with your comments here.

    First, I’ve never understood why some evolutionists are so adamant in saying that natural selection isn’t chance. Whether it’s one big chance leap to the precipice of Richard Dawkin’s “Mount Improbable” or a bazillion little chance steps up the hillside, we’re still talking random chance, are we not?

    Second, the way you (and Dawkins) have set up the monkeys and typewriters by matching the keystrokes with a predetermined sonnet strikes me as loading the dice. Likewise with the engineering algorithms you mentioned; the complexity is pre-programmed into the algorithm in the form of constraints that guide it towards the desired outcome. A more compelling example would be if you showed a random string evolve into a whole new sonnet. Theoretically it’s plausible, but this would obviously require more than 240K keystrokes, so is it probable?

    And I guess that’s the main question of Intelligent Design advocates. Not whether it could happen, but given the complexity of the human genome would it happen in a conceivable amount of time, say, before the heat death of the universe?

  • CEF

    I will throw this out to anyone here. I have no problem with evolution, as long as it includes an Adam and Eve in it. I am not so concerned with when they lived, as long as they did live.

    Awhile back there was a discussion on LDS-Phil about this, and it became the general consensus, that there must be an Adam and Eve. Otherwise, it would not fit within the context of Christianity, and therefore Mormonism.

  • Some thoughts on Evolution and Intelligent Design…

    …My thoughts here, however, were prompted by reading this blog post by BYU Professor Steven L. Peck . Brother Peck certainly has impressive credentials, and so I hesitate to respond to what he has written for the honest recognition that the topic may…

  • hbar

    First, great stab at a tricky subject. I am eagerly anticipating the future posts on this great new blog.

    Second, let me say that I am on the bloggers side, a committed member of the LDS church and a research scientist who embraces evolution. The problem I have is that the person defending intelligent design above is absolutely right about loaded dice. The complexity is preprogrammed into the monkey example above. A “goal” was stated, and achieved by an ad hoc process of selection. This is only a reasonable assumption for the simplest evolutionary scenarios, such as bacteria in a petri dish subjected to antibiotics and evolving antibiotic resistance. It also is at odds with how most evolutionary biologists think of evolution, that selection is not guiding life toward any concrete goal, but rather simply reflects the tendency of some mutations to do better than others, with a compounding effect over time leading in no particular (imposed) direction.

    For longer term processes, selection needs to be conceptualized as emerging from the interactions between the different organisms, the scales of the resources being used, etc. depending on the context. This is a much more interesting and difficult problem, and the answer as to how complexity emerges is no longer obvious at all. In the language of physics, this problem is “strongly correlated.”

    This does not mean that evolution is wrong. On the contrary, it is simply much more interesting and exciting than the monkey example would indicate. We even know a little bit about how to think about these problems. There are all kinds of examples in nature where even inanimate objects such as molecules, spontaneously assemble themselves in the most striking and complex ways without a preordained design. Give a bunch of monkeys a bunch of tinkertoy water molecules and see if they ever come up with the crystal structure of ice, let alone a snowflake! I imagine it is as hard as a sonnet, at least. Yet the molecules do it spontaneously, every time the temperature goes below a certain point, with no guiding hand, in ways that are well understood to the point of having predictive, quantitative models of freezing and snowflake formation based solely on the physics of the molecules. Astonishing, if you think about it (even more astonishing if you realize that giving the tinkertoys to undergraduate chem majors instead of monkeys may not speed it up much beyond the monkeys).

    I think that evolution is much more like ice freezing than the monkey example above, a collective effect. Given the enormous variety of materials to nature has to work with, and our experience with spontaneous order and complexity in simple systems, the spectacular dynamical order and complexity of life and evolution seems beautiful, but not that improbable. Scientists who study evolution from the perspective of emergent order and complexity are already producing some beautiful examples of how complexity in life can emerge generically without loading the dice (See, e.g. Guttenberg and Goldenfeld’s beautiful, if abstract work at http://arxiv.org/abs/0707.4533) . And thus we see the beginning of the closing of the gap in which the “god of the gaps” ideas of ID reside.

  • Hbar,

    I do find the idea of emergent complexity interesting. Fractals, iterated function systems, nonlinear dynamics, attractors, bifurcations, phase-locking etc. do seem to be a much more promising vocabulary for evolution than the current existing Darwinian mechanisms.

    However, I think that there are fundamental differences between the kind of self-organizing complexity one sees in a snowflake, or a Mandelbrot set, and that of living things. While a snowflake is complex, its information content is low. I think that there is danger in confusing the medium with the message. The information contained in DNA is distinct from the medium (the actually molecule) that stores and coveys that information just as the meaning of this post is distinct from the bits, bytes, pixels, and letters it is stored in. Evolution needs to account for how the information arose in the first place. Evolution claims that the semantics that make life arose from the syntax.

    Since I am a proponent of Front-loaded evolution, I would be interested in seeing how that concept could be married to that of the science of complexity and emergent systems.

  • Nat Whilk

    If you were truly concerned about those who speak as if “science and religion were at odds”, it seems that you would save some of your energy for the scientists who make that suggestion rather than expending it all the religionists. When can we expect your takedown of Richard Dawkins to appear?

  • a faithful searvant

    I to am a member of the Church of Jesus Christ of Latter Day Saints BUT I DON’T Support evelution and i am very disappointed that any LDS would even think of embracing it. i hope you weren’t being serious when you said “Doesn’t it make you proud that our physical bodies came from such distinguished characters?” or something like that. Well no even if i did believe in evolution i would not be proud of coming from a monkey. I KNOW WHERE I COME FROM, and i was created in God’s image alone, and monkeys were created in the image of monkeys, and fish came from fish. YOU CAN’T GET HUMANS FROM MONKEYS!!! YOu say that you are a member of the church of Jesus Christ of Latter Day Saints, but you are not stading up for what you have learned in church all these years, you’ve let something get in the way. Please when you read this turn to you Bible and read Genesis chapter 1, this is the way it happened and that is all that we should teach in our schools. Please remember who we are. we are saints of the true and living God, not searvant to evolution. You all might be from Utah and have a heap of Lds saints everywhere, but i live in Arkansas and and my faith is tried often by my loneliness, but it has taught me to be true to the gospel. please do not love evolution more than the gospel, because it will become your god and things won’t work out for the best for you, KEEP THE COVENANT!!!

  • lol

    was (#8) serious? and (#3), that is blind servitude. Open your eyes, perhaps question that which doesn’t make sense, that which “they” have always forbade you to ask about. Please, help yourselves.

  • NOYDMB

    Re #9, lol.
    As long as the prideful scientists continue to ridicule others, they will be viewed as apostates.

    Stop ridiculing if you want to teach or convince. It’s as simple as that. Rejecting your arguments isn’t blind servitude.

  • [...] People often confuse this with randomness and I’ve tried to sort this out a bit (here, here, and here), but what I want to focus on now is unpacking the difference between teleology and [...]

  • What I dont comprehend is how you’re not even much more well-liked than you’re now. Youre just so intelligent. You know so much about this matter, got me to reflect on it from so many different sides. Its like people arent involved unless it has something to do with Rhianna! Your stuffs terrific. Keep writing!

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

close to home and season finale celine reborn kit aaa airlines 315.17500 craftsman electronic router manual lenny kravitz i ve been waiting annual cost-of-living increases kevin trudeau herpes australia cairns tour operators accommodation in hay on wye 3 or 4 day cruises asmira school of oriental bellydance ampeg b50r biggest african lion lyrics took the dartmouth ferry cleaver bar drinks graffitiresearchlab.com 1 pound frozen crawfish tails gethandyswitch.com 2007 europa bodybuilding show city of tampa govt 15th combat engineers association activate disconnected cell phone black oil sunflower bird nutrition information on sludge dumping aldridge nursery eric hoffer philosopher how to make pickled pork hocks public school education rockdale georgia anacostia navel air station lawrenceks.org 15th year olds birthday party 5 steps to invest how to read a sundial cgcareers.org bear creek hounds georgia carved fiji turtle co axial cable modes amish market trenton nj pcvideoonline.com flintstones stories chapter 13 dismissal car 1996 upper deck the jordan collection aprons kitchen linens wholesale background texture templates rubegoldbergmachines.com allan e robinson manchester kentucky thepaydayloaner.com blood from eyes when upset emotions and pancreas dailyhousingtips.com bradford exchange dickens village 12 plainview road farmingdale ny aspen lodge steamboat apple computer retail store locator blaster advantage calibration characteristics of haitian speech a political map of chile cheats for stinky bean fling leia dorathy a cardio snobs workout moversdirectory.com candy wrapper forums similar to tyme tole country sk8stuff.com 2008 senior health and fitness day arturo pena from las vegas nevada cocktails uk delorme street atlas usa 2008 at the cathedral you were waiting bronchial nemesis 2007 leupold mark tactical cqb cleaning gutters mesh cover coin price versus bullion price arbita.net aggie baseball child support san antonio 1996 audi a4 2.8 sedan review anvil clippers ratchet 1963 mf10 baler needle anger closes amy poland boca raton florida 1st grade math assessment whore.ws 1998 honda accord low mileage ip udp port 24019 dr jess levins history of guadeloupe composers pre 1730 andrea harrington martinamcbride.com advantages and disadvantages in teaching solarnow.org 08 silverado review sword-buyers-guide.com 2009 eyewear cool whip jello pie thiagi.com exercise with fractured rib arthur mather captain atom alliance residential houston atrial right ventricular dysplaysia c# sql comparing to int hms fearless rena houten mannual for electrostatic force microscopy lompoc california white pages ambassador barber tucson electrostatic cover paint chimmney sweep mckinney texas food webs for zebras amiga apollo 1260 drivers active ingredient in claritin go rhino dominator dynamic gooseneck microphone shakugan no shana op 1 map of taum sauk reservoir a look inside the human body aidan godfrey coy parton sevierville tennessee l2 legend air suspensions action iq flower deliveries to honduras vow of serinity arizona desert spiders bethany lime church taylorsteases.com exercise sweating psoriasis childabuse.com acheter fonds commerce hy res firestone 500 metroartwork.com australian coastal ships 1960-1990 1910 s florence lawrence 1979 ford 420 industrial tractor bootybabeart.com blind and ebooks experimental psychologists back pain inside the pelvis accounting services gloucester la mujer tiene culo california dalmatian rescue cats magical mister cdkayak.com africans americans slaves celebrating movies suitable for children allentown brew works grand opening freddy kruger sounds folding instructions for the mares icon bistro blends 1970 pontiac gto former owner comments wwme.org foriegn enterprise zones 3 months poems cosco car seat cooperstown farms for sale sampleaday.com carbondale illinois battle of the clans 1958 chevy truck door hindge mounts carinsurancequoteindex.com can freshwater guppies live in saltwater west-ext.com helicobacterium pylori margaret daniel wallis reuters free sip calls candian provinces medtogo.com bc vancouver mustangs unlimited 112th machine gun battalion ww1 sofitel hotel gatwick cant get over him ciara lyrics how to make oragami wishing stars allen county indiana inspectors deciduous forests food chains aerial lift compliance osha ansi topamax for nerve pain adm media family new years eve in waikiki auto seat wedge cushion abused kids neon slime fun-florida-getaways.com intercooler fabrication shelly larson missoula tami sheri aquarium live rock under microscope yesterdayloans.com bandera camping morality of the iliad cherry creek public schoo holly street pheonix arizona breton horse hogwarts exspress brian elliott signing with ottawa senators jeffery mcnally dale silverman 1st interstate inn kearney nebraska baby floating in pool training cityevents.tv college girls by francine pascal dnu.org aig salvage aircraft bid list old reuters articles 1001 dalmations dogs anabolic steroid sources bernheimer schwartz free image resizing boston tea party esl outing volunteer library 2008 share pro bro childress selia careerbuilder.om lebanese bakery hp a6430f psu cardioversion ejection fraction angela venezia how old is scooby 100 100 10 nas australia james boyle pnc amd socket a biggest cpu brian leaonard rookie cards aol password hacking gail platt corontation street hqporncelebs.com hyatt windward pointe fl banana peel clipart age of zeiss binoculars advancedseniorsolutions.com asparagus herbicide 13 foot wide vinyl sheet flooring homebusinessmatchupsurvey.com boar goats from south africa monika dannemann crw file software dowload discount sas shoes my son and seroquel and suicide cell-phone-tones.net kevin and lydia bring tha noize 4 dia blind spot mirror sergeantsodomy.com 27,000 signatures deseret news analyze dog behavior casa don omar afghan proverbs cheaper broadband freeman sheldon syndrome educational information bodily form of hindu deity average vegan life span vermeer 1250 chipper janna m leland high school buttkicker gamer illinois nursing licensure all catalina sportfish species afferent efferent action potential nerve brain bob wards missoula cla supplement clinical studies batterie ipaq 1930 pfaff 1222e users manual ad pdf attached jeff 2006 h2 hummer banner fiber optic massillon great escape movie theater deervalleycorp.com black ponytail hair ties remosworld.net britney spears video confession bulldozer poser dodge viper removable hardtop dana brown shaffer duramax presentation easel fondant chocolat recette ashe gis calfnotes.com lifeline family church adjust spacing between letters in printing fran stahl tamaqua artist 1200 calorie a day diabetic diet job-compass.com consulate of the republic of malawi 1992 toyota 4x4 floor mats grey 78230 dorothy rizzo hrworkways.com bhp billiton stock american star coding life fitness eliptical 1-aa college football rankings baggage xray 113th army band members 1973 mykitchencenter.com ab trimmer com cervical mung board precautions az cardinal playoff tickets english spanish interpret broken blood vessels causes agar wood seelers in thailand serie de fourier download visual basic peridot gemstones rossignol max skating skis controller jobs mankato animal wraps dog coats cragar.com salinity chilli auto repair quotes frost plug biosecurity suicidal vectors data system for manpower requirements broccoli and microwave and vitamins cucina paradiso oak park il alcohol411.info hilton cincinnati netherland plaza hotel flashfoods.com aids epidemic africa hingham massachusetts investment property dap fertilizer bulk storage basic instinct pics are herbal cigarettes healthy alpha flight jackets fallen run wastewater plant emporia va by lois duncan chapter summaries alias free videos cameron series 2100 cryogenic ball valve african tribal tattoos centri passes for the mexicali border 1715 treasure fleet chun yu ng drugs airline ticket from stl to las commuter flights vancouver to whitehorse circulatory system of echinodermata syrian embassy in canada alcohol mix codeine asheville auto parts autozone 67 shelby clone ah low temp dish washer texashorsemansdirectory.com can francesco della scala adobe illustrator cs upgrade to cs2 horsehavenoftn.com guitar ode to joy photoready.co.uk le meridien hotel dubai website aeg environmental abel book minvera spiral patterns c139 custom ring tones compassionate reassignment for still borne wickopedia.com age of ps3 players caps ct principals list of correspondent lenders fishermans corner