Now on ScienceBlogs: Oldest Human-Made Object in Space

ScienceBlogs Book Club: Inside the Outbreaks

Built on Facts

An exploration of physics and the quest to understand our world.

Profile

profile.jpg Matt Springer is a graduate student of physics at Texas A&M university. He is also an occasional writer and tinkerer, and he is probably too curious for his own good.

Search

Twitter

Yes, I've joined the horde. @BuiltOnFacts. Follow if you'd like!

Donate

Help Matt not starve! Use this link to amazon.com when you order from Amazon, and a fraction of the purchase price will be sent to me at zero cost to you. Much obliged, and thanks for your patronage.


Recent Posts

Recent Comments

Archives

Physics/Math Blogs

My Other-Than-Physics Reading (variable, very incomplete)

« WIMPy Physics. | Main | Breaking the Bank »

Sunday Function

Category: Sunday Function
Posted on: December 21, 2009 3:20 PM, by Matt Springer

Before her career took an unfortunate wrong turn, a young and talented Lindsay Lohan gave us a charming and popular comedy called Mean Girls. Time has been good to the careers of some of the others involved, Tiny Fey and Rachel McAdams perhaps most notably. But the film did something that very other movies have ever done - given us a climax explicitly involving a function of a real variable:

1.png

Lindsay's character is asked to find the limit of this function as x approaches zero. We notice that the function is not defined at zero - in the denominator, cos(0) = 1. This means we have 1 - 1 = 0 in the denominator, and division by zero is undefined. But how does the function behave in the neighborhood of that point? Maybe as x gets closer and closer to zero, f(x) gets closer and close to some particular number, while only at x = 0 exactly does f(x) fail to be defined. This sort of thing happens all the time: sin(x) / x is undefined at zero, but in the neighborhood of x = 0, sin(x) / x becomes closer and closer to 1.

The completition in the film doesn't permit graphing calculators (or Mathematica!), so she can't immediately get a pretty good idea by going what we're about to do: plot the graph of the function:

graph.png

Immediately we see that aside from being undefined at x = 0, it's undefined for all x > 1. That's no shock. The function log(x) is undefined for x less than or equal to 0, so log(1-x) is going to be undefined for x greater than or equal to 1.

But what about the whole thing at x = 0? Pretty clearly the limit does not exist. From the left the function shoots off to positive infinity and from the right it shoots off to negative infinity. That's not exactly perfect evidence though, and we want a proof. As a high school calculus student, Lindsay would have probably used l'Hopital's rule, but I think a Taylor series is a little clearer. We know (because I love to go on about series here on Sunday Function) that log(1-x), sin(x), and cos(x) can all be represented as a power series since all of them are analytic at x = 0. So let's do it, leaving their derivations aside:

2.png

3.png

4.png

Really this is more than we need. In this case, as in many real-life cases, keeping only the leading order term in x is fine. Do that (don't forget that the cos is squared) and substitute into our original expression:

6.png

Which limit obviously fails to exist as x -> 0 in view of the fact that the numerator is constant. Lindsay comes to the same conclusion, and wins the competition. Not bad for a major studio film. (The definitive resource for math in fiction is, of course, MathFiction, if you're interested in more. And you should be!)

It's probably too much to ask for some group theory in the next James Bond, but you never know...

Share on Facebook
Share on StumbleUpon
Share on Facebook
Find more posts in: Physical Science

TrackBacks

TrackBack URL for this entry: http://scienceblogs.com/mt/pings/127638

Comments

1

I remember watching Mean Girls and enjoying the movie. I was also gob-smacked and slack-jawed at the use of a genuine math problem at the climax. It was a special, special moment!

So much better than the usual inane and meaningless symbol salad of Greek letters and infinities scribbled on the board. (And don't forget the square-root garnish!)

Posted by: Zeno | December 21, 2009 5:50 PM

2

I loved her character's line (returning the US after a childhood in many different countries) when the popular kids were shocked that she liked math: "I love math because it is the same in every language"

On a related note: Girls Need Math

Posted by: Ron | December 21, 2009 6:34 PM

3

Ya hey! A Sunday Function, and I'm reading it on Tuesday.
They're good, Matt: keep 'em up.

All good spy movies specialise in Lie groups.
(Couldn't resist that one)

Posted by: fvngvs | December 22, 2009 6:48 AM

4

You forgot a "half" when you replaced cos with x^2 in the last equality...

Posted by: Oded | December 22, 2009 1:04 PM

Post a Comment

(Email address is entirely optional, but a consistent email - fake is fine - helps the system identify repeat commenters as not spam.)





ScienceBlogs

Search ScienceBlogs:

Go to:

Advertisement
Follow ScienceBlogs on Twitter

© 2006-2011 ScienceBlogs LLC. ScienceBlogs is a registered trademark of ScienceBlogs LLC. All rights reserved.