Image: Decay Rate Algorithm
Sony Pictures / Marvel
Peter Parker (played by Andrew Garfield, left) checks the Decay Rate Algorithm in "The Amazing Spider-Man." The mathematical expression is made up, but it's based on real science.
By
Special to msnbc.com
updated 7/16/2012 9:39:31 AM ET 2012-07-16T13:39:31
Commentary

As a physics professor, I don’t usually take requests to create a new mathematical formula on demand, but when the call came from Hollywood for an equation for cellular regeneration, my only concern was whether I would have it ready by Monday.

The equation I provided appears in Sony’s "The Amazing Spider-Man," the latest take on the Spidey Saga.

The request came from Andy Siegel, the prop master of the film.  He needed a mathematical expression that would be distinctive and memorable, so that the audience would recognize it at various points throughout the film. In addition to being a mild-mannered physics professor at the University of Minnesota, I had volunteered as one of the science consultants on the film.  For this opportunity I would like to thank the Academy — the National Academy of Sciences, that is.

Hollywood has been calling on academia more and more for assistance in creating believable fake realities, a relationship that dates back to the early days of cinema. Rocket scientist Wernher von Braun served as a science consultant for Fritz Lang’s 1929 "Woman on the Moon," notable for the first time that a countdown was invoked as a prelude to a rocket launch, in both cinema and the real world.

Matchmaker for the movies
As the number of science-fiction and superhero films and television programs has increased of late, so have the requests for technical advice from the scientific community. In 2008, the National Academy launched the Science and Entertainment Exchange, a program that serves as a matchmaker for scientists and the creators of TV shows and films.

  1. Science news from NBCNews.com
    1. NOAA
      Cosmic rays may spark Earth's lightning

      All lightning on Earth may have its roots in space, new research suggests.

    2. How our brains can track a 100 mph pitch
    3. Moth found to have ultrasonic hearing
    4. Quantum network could secure Internet

Whether it is providing the physics equations on Sheldon Cooper’s white board in CBS' "The Big Bang Theory" or outfitting Tony Stark’s laboratory in "Iron Man," we scientists have been asked to add our 2 cents to the creative process. Hollywood creators appreciate our contributions, for they realize that when the audience is questioning the physics of what they are watching or the authenticity of the laboratory set, that's a moment when they are not paying attention to the story.

The goal is not to ensure that everything on the screen is 100 percent scientifically accurate — which would, after all, defeat the purpose of the escapist fantasy we have paid our money to watch — but rather to get it just right enough to maintain the audience’s suspension of disbelief.

Being a physics professor who is also a fan of superhero comic books (I created a class at Minnesota titled: “Everything I Know About Physics I Learned from Reading Comic Books”) I recognize that one must invoke a "miracle exception from the laws of nature" in order to justify "spider-powers" or men mutated into giant lizards.  When Andy Siegel asked me to create an equation that would relate to cell regeneration and human mortality — an equation called the "Decay Rate Algorithm" in the film — I nevertheless wanted to ground the formula in real science.  Naturally, I thought of the Gompertz equation.

The Gompertz equation?
Have you ever wondered what determines the average person’s lifespan?  If you are careful and avoid fatal accidents, what are your chances of dying, once you make it to, say, 25 years of age? A natural first guess would be that in any given year, there’s a certain constant probability of dying.

Think of it as the "Death Lottery," the competition where no one wants to "win" the jackpot, but we all do eventually. Unlike a real lottery, your chance of dying is not the same regardless of your age.  If it were, there would be some people who could go quite a long time without passing away, just as I’m able to not win the Lotto week after week. It’s easy to show that if your chance of dying remained unchanged as you get older, then with billions of people on the planet, there would be millions who are 350 years old or older. Of course this is not the case, and in fact, few ever make it to over 110, That suggests that the odds change as we get older, and in fact the game is rigged so that we all "win" in the end.

Image: "The Amazing Spider-Man"
Sony Pictures
A beaten-up Spider-Man (played by Andrew Garfield) surveys a laboratory in "The Amazing Spider-Man."

As we get older, the probability of dying is not the same as when we are younger, but actually increases.  It would not be hard to win the Lotto if the odds of matching the winning numbers got better for you the longer you played. The mathematical expression for the probability of surviving to a given age, incorporating a mortality rate that increases with age, was first identified by Benjamin Gompertz in 1825 and is named after him.

Why does the mortality rate rise as we age?  My colleague at Minnesota, Professor Boris Shklovskii, has proposed an explanation that starts with single defective cells that malfunction (say, by forming tumors or producing defective proteins that can lead to Alzheimer’s). The cells become fatal when allowed to multiply, growing to a critical population size. The body’s immune response, upon encountering a rogue cell, will destroy it — thus preventing it from reaching a lethal stage.

The defective cells may be thought of as criminals, and the body’s defenses as patrolling police officers. When we are in our youthful prime, it is equivalent to having many cops on the street. Crime has a difficult time getting a toehold.  A continuous series of budget cuts would reduce the number of available police officers, so eventually crime would win out.  Similarly, as we age, either an accumulation of mutations or a natural degradation of the organism’s ability to maintain its previous immunological state increases the chances that the populations of defective cells could grow to a lethal size.

Science as a superpower
To me, the above argument illustrates the power and beauty of science.  Patterns in natural phenomena lie waiting to be discovered, whether in the laboratory, in observatories or actuarial tables.  Our efforts to account for and explain these patterns deepen our understanding of nature.

  1. More Entertainment stories
    1. Autistic ballerina dances her way into hearts

      In a popular YouTube video, the beaming little ballerina dances an entire four-minute routine seemingly perfectly, matching the steps of the professional Australian ballet dancer whose image is seen in the video's lower corner.

    2. Every on-screen drink in 'Mad Men' in 5 minutes
    3. See the 'Dancing' stars' most memorable moves
    4. Emmy's biggest snubs? Cranston, Hamm, more
    5. 'Toy Story' toys burn up in prank on mom

In some cases, this understanding turns out to be very useful.  Efforts to elucidate the mechanisms underlying the sequence of wavelengths of light emitted by atoms at the start of the 20th century led physicists to develop quantum mechanics, which enabled the construction of the laser and the transistor, and eventually, cell phones, laptop computers and magnetic resonance imaging.  Patterns first, products (sometimes) later.

Armed with this background, I was ready to provide an equation to Andy Siegel, but I did not want to just simply send him the actual Gompertz equation, as there would seem to be little reason for the professional scientists in the film to not already know it.  I therefore combined expressions from “The Reliability Theory of Aging and Longevity” by Leonid Gavrilov and Natalia Gavrilova into a single formula, and added extra terms (“mathematical glitter,” if you will) so that it would appear sufficiently complex. (The actual Gompertz equation can be written in a simple and compact manner that did not meet the visual needs of the filmmakers.) 

Behind Spider-Man is Peter Parker, and behind Peter Parker is some real and interesting science, in the guise of the Decay Rate Algorithm.  We may not be able to cling to walls, or transform into giant lizards, but our ability to use our intelligence to understand the world around us is our true superpower!

More reality checks on superhero stories:

James Kakalios is the Taylor Distinguished Professor in the School of Physics and Astronomy at the University of Minnesota, and the author of "The Physics of Superheroes" (2nd edition, Gotham, 2009) and "The Amazing Story of Quantum Mechanics" (Gotham, 2010).

© 2013 MSNBC Interactive.  Reprints

Photos: Comic-Con 2012

loading photos...
  1. 'Sons of Anarchy' panel

    Actors Charlie Hunnam, Katey Sagal and Ron Perlman speak at the "Sons of Anarchy" panel at Comic-Con on July 15 in San Diego, Calif. (Kevin Winter / Getty Images) Back to slideshow navigation
  2. 'Supernatural' panel

    Actors Jensen Ackles, Jared Padalecki and Misha Collins speak at "Supernatural" panel during Comic-Con. (Albert L. Ortega / Getty Images ) Back to slideshow navigation
  3. 'Fringe' stars

    Writer J.H. Wyman, actors Joshua Jackson, John Noble and Lance Reddick speak at the "Fringe" panel at Comic-Con International. (Kevin Winter / Getty Images) Back to slideshow navigation
  4. Comedy moguls

    Seth MacFarlane and creator Mike Henry speak at "The Cleveland Show" panel during Comic-Con. (Kevin Winter / Getty Images) Back to slideshow navigation
  5. 'Once Upon a Time' starlet

    Ginnifer Goodwin attends the "Once Upon A Time" panel at Comic-Con. (Jonathan Leibson / Getty Images ) Back to slideshow navigation
  6. 'Iron Man 3' panel

    Robert Downey Jr. and Don Cheadle speak at Marvel Studios' "Iron Man 3" panel at Comic-Con. (Kevin Winter / Getty Images) Back to slideshow navigation
  7. Fans and civilians

    Costumed fans and uncostumed pedestrians alike nar Comic-Con on July 14. (Mario Anzuoni / Reuters) Back to slideshow navigation
  8. Not quite politicians

    Will Ferrell and Zach Galifianakis speak at Warner Bros. Pictures and Legendary Pictures preview of "The Campaign," in which the two comedians play rival politicians, at Comic-Con. (Kevin Winter / Getty Images) Back to slideshow navigation
  9. 'Pacific Rim's' Hellboy

    Ron Perlman, known for his turn as Hellboy in Guillermo del Toro's films, speaks at the "Pacific Rim" panel at Comic-Con. (Jordan Strauss / AP) Back to slideshow navigation
  10. Fantasy land

    A fan dressed as Batman sits with a snarky sign and 'Harry Potter and the Goblet of Fire' in hand. (Frazer Harrison / Getty Images) Back to slideshow navigation
  11. An excited 'Hobbit'

    Elijah Wood speaks at the "The Hobbit: An Unexpected Journey" panel at Comic-Con Saturday, July 14. (Jordan Strauss / AP) Back to slideshow navigation
  12. Old West

    Guests attend "Django Unchained" Old West Town at Comic-Con. (Joe Scarnici / Getty Images) Back to slideshow navigation
  13. 'Django' star

    Jamie Foxx is interviewed on the red carpet for the film "Django Unchained" at Comic-Con. (Mario Anzuoni / Reuters) Back to slideshow navigation
  14. Zombie lady

    A fan participates in ''Zombie Walk: San Diego'' at Comic-Con on Friday, July 13 in San Diego. (Joe Klamar / AFP - Getty Images) Back to slideshow navigation
  15. Meth stars

    Aaron Paul and Bryan Cranston speak at AMC's "Breaking Bad" panel at Comic-Con on Friday, July 13. (Mark Davis / Getty Images) Back to slideshow navigation
  16. Eye am weird

    A uniquely dressed fan sits outside of Hall H at Comic-Con. (Denis Poroy / AP) Back to slideshow navigation
  17. 'Big Bang Theory' panel

    Actresses Mayim Bialik and Kaley Cuoco with Jim Parsons via satellite speak at the "The Big Bang Theory" panel at Comic-Con. (Kevin Winter / Getty Images) Back to slideshow navigation
  18. 'Total Recall' panel

    Jessica Biel, Colin Farrell and Kate Beckinsale attend the "Total Recall" panel at Comic-Con. (Jordan Strauss / AP) Back to slideshow navigation
  19. Damon's 'Elysium'

    Matt Damon speaks during Sony's "Eylsium" panel at Comic-Con. (Albert L. Ortega / Getty Images ) Back to slideshow navigation
  20. Tusken Raider

    A fan dressed as a Tusken Raider from "Star Wars" at Comic-Con. (Mario Anzuoni / Reuters) Back to slideshow navigation
  21. 'Looper' stars

    Joseph Gordon-Levitt and Emily Blunt at a panel for "Looper" during Comic-Con. (Mario Anzuoni / Reuters) Back to slideshow navigation
  22. 'The Walking Dead' stars

    Norman Reedus, Laurie Holden, Steven Yeun, Lauren Cohan and Danai Gurira speak at AMC's "The Walking Dead" panel during Comic-Con on Friday, July 13th. (Kevin Winter / Getty Images) Back to slideshow navigation
  23. Hunting for Comic-Con

    A fan dressed in flannel and hoisting a rifle attends Comic-Con in San Diego, Calif., on Thursday, July 12. (Frazer Harrison / Getty Images) Back to slideshow navigation
  24. 'Archer' screening

    Actress Aisha Tyler speaks onstage at the "Archer" Screening and Q&A at Comic-Con on Thursday. (Frazer Harrison / Getty Images) Back to slideshow navigation
  25. TMNT fan

    A fan with the Teenage Mutant Ninja Turtles at the Nickelodeon booth at Comic-Con. (Joe Kohen / Invivion for Nickelodeon via AP) Back to slideshow navigation
  26. Stars of 'Nikita'

    Actors Maggie Q and Shane West attend "Nikita" during Comic-Con International 2012. (Frazer Harrison / Getty Images) Back to slideshow navigation
  27. Eyes on the prize

    A fan dressed as Superman rides the escalator to an event at Comic-Con. (Denis Poroy / AP) Back to slideshow navigation
  28. Comic-Con funny people

    Sarah Silverman and John C. Reilly attend Disney's "Wreck-It Ralph" panel at Comic-Con. (John Shearer / Invision via AP) Back to slideshow navigation
  29. Thumbs up

    Fans dressed as a random group of movie and comic book characters take photos at Comic-Con. (Denis Poroy / AP) Back to slideshow navigation
  30. An experienced auteur

    Director/producer Tim Burton, known for "Edward Scissorhands" and "The Nightmare before Christmas," speaks at the "Frankenweenie" panel at Comic-Con. (Kevin Winter / Getty Images) Back to slideshow navigation
  31. Ladies of Oz

    Michelle Williams and Mila Kunis attend Disney's "Oz: The Great and Powerful" panel at Comic-Con. (John Shearer / AP) Back to slideshow navigation
  32. Master of martial arts

    Action star Jackie Chan and Laura Weissbecker speak at "CZ12" panel at Comic-Con. (Kevin Winter / Getty Images) Back to slideshow navigation
  33. Comic-Con 'Nightmare'

    A fan dressed as Sally from Tim Burton's "The Nightmare Before Christmas" at Comic-Con. (David Muang / EPA) Back to slideshow navigation
  34. 'Twilight' panel

    Actors Robert Pattinson, Kristen Stewart, Mackenzie Foy and author Stephenie Meyer speak at "The Twilight Saga: Breaking Dawn Part 2" Panel at Comic-Con. (Kevin Winter / Getty Images) Back to slideshow navigation
  35. Movies on Demand lounge

    Actors Nikki Reed, Peter Facinelli and Elizabeth Reaser attend the Movies On Demand lounge at Comic Con. (Chelsea Lauren / Getty Images) Back to slideshow navigation
  36. 'Expendables 2' stars

    Actors Sylvester Stallone and Arnold Schwarzenegger talk during a presentation of the soon to be released movie, "The Expendables 2." (David Muang / EPA) Back to slideshow navigation
  37. Comic-Con heads to Tatooine

    Fans dressed as "Star Wars" characters at Comic-Con International. (Frazer Harrison / Getty Images) Back to slideshow navigation
  38. Power Ranger

    Actor Paul Schrier attends "Power Rangers: 20 Years and Beyond" during Comic-Con. (Frazer Harrison / Getty Images) Back to slideshow navigation
  39. "Star" fan

    A fan dressed as a "Star Wars" Storm Trooper at Comic-Con's Preview Night on Wednesday, July 11. (Albert L. Ortega / Getty Images Contributor) Back to slideshow navigation
  40. Young Thundercats

    Fans Declan and Athena dressed as characters from Thundercats for the opening preview night of Comic-Con in San Diego, Calif. on July 11. (David Muang / EPA) Back to slideshow navigation
  41. Plastic and super

    A man photographs plastic figurines on opening preview night at Comic-Con in San Diego. (David Muang / EPA) Back to slideshow navigation
  42. Dressed to thrill

    Fans attend Comic-Con's opening preview night in San Diego. (Denis Poroy / AP) Back to slideshow navigation
  43. Bat-fan

    A fan dressed as Batman arrives at Comic-Con's opening preview night. (Gregory Bull / AP) Back to slideshow navigation
  44. Ready for a show

    Costumed fans arrive at Comic-Con's opening night. (Denis Poroy / AP) Back to slideshow navigation
  45. Colorful display

    A heavily-painted fan greets another Comic-Con goer on opening preview night. (Denis Poroy / AP) Back to slideshow navigation
  46. Point and shoot

    A man photographs figurines on the opening preview night of Comic-Con. (David Muang / EPA) Back to slideshow navigation
  47. Applying the finishing touches

    Jenny Harlow applies makeup to Nick Bane as they wait to enter Comic-Con in San Diego on Wednesday, July 11. (Gregory Bull / AP) Back to slideshow navigation
  48. Trolling Comic-Con

    Fans walk past huge Stone Troll figures from the "Lord of the Rings" at the Comic-Con opening preview night. (Denis Poroy / AP) Back to slideshow navigation
  49. Abraham Lincoln: Photo hunter

    Russel Brown, dressed as Abrahama Lincoln, poses for photos at Comic-Con. (David Muang / EPA) Back to slideshow navigation
  50. Throw-back

    Teenage Mutant Ninja Turtles costumes are still in vogue at Comic-Con. (Jerod Harris / Getty Images) Back to slideshow navigation
  1. Editor's note:
    This image contains graphic content that some viewers may find disturbing.

    Click to view the image, or use the buttons above to navigate away.

  2. Editor's note:
    This image contains graphic content that some viewers may find disturbing.

    Click to view the image, or use the buttons above to navigate away.

  3. Editor's note:
    This image contains graphic content that some viewers may find disturbing.

    Click to view the image, or use the buttons above to navigate away.

  4. Editor's note:
    This image contains graphic content that some viewers may find disturbing.

    Click to view the image, or use the buttons above to navigate away.

Discuss:

Discussion comments

,

Most active discussions

  1. votes comments
  2. votes comments
  3. votes comments
  4. votes comments