# Math in Good Will Hunting

**URL:** <https://boards.straightdope.com/t/math-in-good-will-hunting/318563>\
**Category:** Factual Questions\
**Created:** [August 25, 2005, 2:22pm UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563 "2005-08-25T14:22:37Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nars\_Glinley](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/nars_glinley/32/8177_2.png) [@Nars\_Glinley](https://boards.straightdope.com/u/Nars_Glinley)\
**Post date:** [August 25, 2005, 2:22pm UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/1 "2005-08-25T14:22:37Z")

</div>

There is a scene in Good Will Hunting where Damon’s character is doing some sort of math that looks something like this:

. .  
\ /  
.  
/ \

What branch of math is this? I tried googling but I don’t know what to call it so I didn’t have very good luck.

---

<div class="post-metadata">

**Author:** ![borschevsky](https://avatars.discourse-cdn.com/v4/letter/b/97f17d/32.png) [@borschevsky](https://boards.straightdope.com/u/borschevsky)\
**Post date:** [August 25, 2005, 2:25pm UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/2 "2005-08-25T14:25:25Z")

</div>

Probably [graph theory](http://en.wikipedia.org/wiki/Graph_theory).

---

<div class="post-metadata">

**Author:** ![Nars\_Glinley](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/nars_glinley/32/8177_2.png) [@Nars\_Glinley](https://boards.straightdope.com/u/Nars_Glinley)\
**Post date:** [August 25, 2005, 2:43pm UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/3 "2005-08-25T14:43:53Z")

</div>

[Here is a picture.](http://web.mit.edu/amitd/www/pics/math/Good_Will_Hunting.jpg) Is this graph theory?

---

<div class="post-metadata">

**Author:** ![Orbifold](https://avatars.discourse-cdn.com/v4/letter/o/779978/32.png) [@Orbifold](https://boards.straightdope.com/u/Orbifold)\
**Post date:** [August 25, 2005, 2:53pm UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/4 "2005-08-25T14:53:06Z")

</div>

Yep, that’s definitely graph theory.

---

<div class="post-metadata">

**Author:** ![Mathochist](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mathochist](https://boards.straightdope.com/u/Mathochist)\
**Post date:** [August 25, 2005, 3:40pm UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/5 "2005-08-25T15:40:45Z")

</div>

> [@Orbifold](#):
>
> Yep, that’s definitely graph theory.

Not only graphy theory, but particularly simple graph theory.

Basically, forget the math in that movie because “math” was a last-minute thing anyhow. It was supposed to be physics, but they thought that more people in the audience would find mathematics alien and strange than physics.

---

<div class="post-metadata">

**Author:** ![Terminus\_Est](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/terminus_est/32/3087_2.png) [@Terminus\_Est](https://boards.straightdope.com/u/Terminus_Est)\
**Post date:** [August 25, 2005, 5:00pm UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/6 "2005-08-25T17:00:31Z")

</div>

Not only simple, but wrong. Not all of the graphs have 10 nodes.

---

<div class="post-metadata">

**Author:** ![Nars\_Glinley](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/nars_glinley/32/8177_2.png) [@Nars\_Glinley](https://boards.straightdope.com/u/Nars_Glinley)\
**Post date:** [August 26, 2005, 3:15am UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/7 "2005-08-26T03:15:48Z")

</div>

> [@Terminus Est](#):
>
> Not only simple, but wrong. Not all of the graphs have 10 nodes.

That’s probably why I didn’t recognize it. 😃

Thanks guys.

---

<div class="post-metadata">

**Author:** ![Wendell\_Wagner](https://avatars.discourse-cdn.com/v4/letter/w/8491ac/32.png) [@Wendell\_Wagner](https://boards.straightdope.com/u/Wendell_Wagner)\
**Post date:** [August 26, 2005, 10:10am UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/8 "2005-08-26T10:10:41Z")

</div>

In fact, forget about trying to make any sense of the math used in that movie. The mathematical work shown on the boards in the movie is, in some sense, real math, but it’s often wildly inappropriate to the sort of math it’s supposed to be. A problem on the board will be called an incredibly difficult problem for grad students when it’s an ordinary homework problem for undergrads. The detail in the film was only minimally checked by the mathematical consultant.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [August 26, 2005, 7:29pm UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/9 "2005-08-26T19:29:05Z")

</div>

> [@](#):
>
> The mathematical work shown on the boards in the movie is, in some sense, real math, but it’s often wildly inappropriate to the sort of math it’s supposed to be.

Which is still far, far better than most of the math you see in movies. I cringed every time I saw a blackboard in the recent _The Time Machine_… The math wasn’t just not right, it wasn’t even wrong. It looked like some props designer for the movie looked through a math book he didn’t understand for some pretty symbols, and arranged them randomly on the board with a few numbers thrown in (which is probably exactly what happened, for that matter). At least the math in _Good Will Hunting_ meant _something_, even if it was trivial. Baby steps, man.

---

<div class="post-metadata">

**Author:** ![Carnac\_the\_Magnificent](https://avatars.discourse-cdn.com/v4/letter/c/ccd318/32.png) [@Carnac\_the\_Magnificent](https://boards.straightdope.com/u/Carnac_the_Magnificent)\
**Post date:** [August 27, 2005, 12:45am UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/10 "2005-08-27T00:45:54Z")

</div>

> [@Wendell Wagner](#):
>
> The detail in the film was only minimally checked by the mathematical consultant.

One has to wonder why. WIth an ~ $80 million film, why not go the extra inch, shell out $5,000 and get a math professor/doctoral student to generate suitably impressive-looking computations that are also suitably correct. Doing so would have taken about two hours and given the film a bit more credibility.

---

<div class="post-metadata">

**Author:** ![Mathochist](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mathochist](https://boards.straightdope.com/u/Mathochist)\
**Post date:** [August 27, 2005, 12:56am UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/11 "2005-08-27T00:56:58Z")

</div>

> [@Carnac the Magnificent!](#):
>
> One has to wonder why. WIth an ~ $80 million film, why not go the extra inch, shell out $5,000 and get a math professor/doctoral student to generate suitably impressive-looking computations that are also suitably correct. Doing so would have taken about two hours and given the film a bit more credibility.

Many math doctoral students would do it for a decent meal/lifetime SDMB membership :D.

---

<div class="post-metadata">

**Author:** ![RickJay](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@RickJay](https://boards.straightdope.com/u/RickJay)\
**Post date:** [August 27, 2005, 2:32am UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/12 "2005-08-27T02:32:36Z")

</div>

> [@Carnac the Magnificent!](#):
>
> One has to wonder why. WIth an ~ $80 million film, why not go the extra inch, shell out $5,000 and get a math professor/doctoral student to generate suitably impressive-looking computations that are also suitably correct. Doing so would have taken about two hours and given the film a bit more credibility.

Because nobody cares? I mean, gimme a break. Most \*grad math students \* don’t care.

---

<div class="post-metadata">

**Author:** ![Derleth](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Derleth](https://boards.straightdope.com/u/Derleth)\
**Post date:** [August 27, 2005, 2:36am UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/13 "2005-08-27T02:36:03Z")

</div>

> [@Chronos](#):
>
> The math wasn’t just not right, it wasn’t even wrong.

From my Linux machine’s fortune file:

> [@](#):
>
> On a paper submitted by a physicist colleague:
> 
> “This isn’t right. This isn’t even wrong.”  
> – Wolfgang Pauli

It would be pretty easy to make completely incomprehensible gibberish on a blackboard by putting [APL](http://en.wikipedia.org/wiki/APL_programming_language) code up there. It isn’t mathematical but it would fool most people.

---

<div class="post-metadata">

**Author:** ![MikeS](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@MikeS](https://boards.straightdope.com/u/MikeS)\
**Post date:** [August 27, 2005, 2:47am UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/14 "2005-08-27T02:47:04Z")

</div>

At least the math question that John Nash asked his class in _A Beautiful Mind_ was about the right level…

---

<div class="post-metadata">

**Author:** ![Mathochist](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mathochist](https://boards.straightdope.com/u/Mathochist)\
**Post date:** [August 27, 2005, 4:18am UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/15 "2005-08-27T04:18:09Z")

</div>

> [@MikeS](#):
>
> At least the math question that John Nash asked his class in _A Beautiful Mind_ was about the right level…

Well, maybe for the time. I’m not sure what constituted a multivariable calculus class back then. Still, I’d find it _amazing_ for any such course to answer that question (which is actually pretty trivial once you’ve got some homology theory down).

---

<div class="post-metadata">

**Author:** ![Carnac\_the\_Magnificent](https://avatars.discourse-cdn.com/v4/letter/c/ccd318/32.png) [@Carnac\_the\_Magnificent](https://boards.straightdope.com/u/Carnac_the_Magnificent)\
**Post date:** [August 27, 2005, 3:10pm UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/16 "2005-08-27T15:10:49Z")

</div>

> [@RickJay](#):
>
> Because nobody cares? I mean, gimme a break. Most \*grad math students \* don’t care.

I think you’re wrong. My guess is that many, many mathematically savvy movie goers worldwide cringed at these cheesy movie segments and also think that many directors and screenwriters have enough pride that they want to get things reasonably correct. Maybe this film was the exception, but Hollywood often goes to incredible pains to replicate costumes, set designs, accents, etc. True, these are usually period pieces, but since the film in question tangentially deals with mathematics, why not spend a few grand and get things right? It would have been easy to do and would give the movie more authenticity. Sorry to burst your bubble, but many people do care about such things.

---

<div class="post-metadata">

**Author:** ![Nars\_Glinley](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/nars_glinley/32/8177_2.png) [@Nars\_Glinley](https://boards.straightdope.com/u/Nars_Glinley)\
**Post date:** [August 27, 2005, 3:50pm UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/17 "2005-08-27T15:50:40Z")

</div>

> [@Carnac the Magnificent!](#):
>
> I think you’re wrong. My guess is that many, many mathematically savvy movie goers worldwide cringed at these cheesy movie segments and also think that many directors and screenwriters have enough pride that they want to get things reasonably correct. Maybe this film was the exception, but Hollywood often goes to incredible pains to replicate costumes, set designs, accents, etc. True, these are usually period pieces, but since the film in question tangentially deals with mathematics, why not spend a few grand and get things right? It would have been easy to do and would give the movie more authenticity. Sorry to burst your bubble, but many people do care about such things.

As a computer programmer, I always cringe when computers are shown on TV or in the movies. When they’re an actual part of the plot, things get much worse. Remember “War Games” or “The Net”? Although we may care about such things, the people that make the movies must not.

I particularly love CSI when they are matching fingerprints and you get to see the program flash each fingerprint on the screen. And when it finally “sees” a match, we get to see the flashing 36 point “MATCH FOUND”.

---

<div class="post-metadata">

**Author:** ![Big\_Whistle](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@Big\_Whistle](https://boards.straightdope.com/u/Big_Whistle)\
**Post date:** [August 27, 2005, 5:03pm UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/18 "2005-08-27T17:03:52Z")

</div>

> [@Carnac the Magnificent!](#):
>
> I think you’re wrong. My guess is that many, many mathematically savvy movie goers worldwide cringed at these cheesy movie segments and also think that many directors and screenwriters have enough pride that they want to get things reasonably correct. Maybe this film was the exception, but Hollywood often goes to incredible pains to replicate costumes, set designs, accents, etc. True, these are usually period pieces, but since the film in question tangentially deals with mathematics, why not spend a few grand and get things right? It would have been easy to do and would give the movie more authenticity. Sorry to burst your bubble, but many people do care about such things.

Get real. The number of people who could discern the issue as a percentage of the population watching the movie is so small as to be insignificant. THAT is why the producers don’t bother with the issue.

---

<div class="post-metadata">

**Author:** ![lorinada](https://avatars.discourse-cdn.com/v4/letter/l/b5e925/32.png) [@lorinada](https://boards.straightdope.com/u/lorinada)\
**Post date:** [August 27, 2005, 6:26pm UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/19 "2005-08-27T18:26:35Z")

</div>

I belong to a forum for type 1 diabetics. One time the discussion turned to the ridiculously inaccurate way IDDm (type 1 diabetes) and the people who have it are portrayed in such movies as “Con Air” and “The Panic Room”. Up until that point we didn’t realize that one of our members was actually a consultant hired often by script writers and directors to add some authentication to their projects that involved IDDM. She affirmed that, even though they paid her good money to give her advice on the errors in the script, she was universally ignored. “Drama” was better than “facts”, even when they could have easily gone hand in hand. It was a constant msytery to her as to why they even hired her.

---

<div class="post-metadata">

**Author:** ![Bytegeist](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@Bytegeist](https://boards.straightdope.com/u/Bytegeist)\
**Post date:** [August 27, 2005, 7:38pm UTC](https://boards.straightdope.com/t/math-in-good-will-hunting/318563/20 "2005-08-27T19:38:10Z")

</div>

> [@KRM](#):
>
> As a computer programmer, I always cringe when computers are shown on TV or in the movies. When they’re an actual part of the plot, things get much worse. Remember “War Games” … ?

Oh, I don’t know. You don’t think 1980-era computers would process commands written in full English sentences, and respond in kind? Especially a computer (an IMSAI 8080) with a spacious 256 bytes of RAM?

You don’t think that NORAD would attach a voice synthesizer to their computer, and pipe the sound through the room’s PA system? And that that voice synthesizer would be the same make and model as the one used by a teenage hobbyist? On his IMSAI? (Was NORAD using IMSAIs?! Oh god, please no.)

Hey, _open your mind_, man.

> [@](#):
>
> I particularly love CSI when they are matching fingerprints and you get to see the program flash each fingerprint on the screen.

Clearly the contractors accidentally left in some debug code. Or maybe the database query software has a “More dramatic tension” checkbox in the preferences, that the criminologists like to leave on.

Also, “Make little _blip_ noises whenever the screen changes appearance.” They check that one too.

[Next page](https://boards.straightdope.com/t/math-in-good-will-hunting/318563.md?page=2)
