Good Will Hunting

Good Will Hunting is a 1997 American drama film, directed by Gus Van Sant, and starring Robin Williams, Matt Damon, Ben Affleck, Minnie Driver, and Stellan Skarsgård. Written by Affleck and Damon, the film follows 20-year-old South Boston laborer Will Hunting, an unrecognized genius who, as part of a deferred prosecution agreement after assaulting a police officer, becomes a client of a therapist and studies advanced mathematics with a renowned professor. Through his therapy sessions, Will re-evaluates his relationships with his best friend, his girlfriend, and himself, facing the significant task of confronting his past and thinking about his future.

The film grossed over US$225 million during its theatrical run, from a $10 million budget. It was nominated for nine Academy Awards, including the Academy Award for Best Picture, and won two: Best Supporting Actor for Williams and Best Original Screenplay for Affleck and Damon.

In 2014, it was ranked at number 53 in The Hollywood Reporter's "100 Favorite Films" list.

Plot
Twenty-year-old Will Hunting of South Boston is a self-taught genius, though he works as a janitor at MIT and spends his free time drinking with his friends, Chuckie, Billy, and Morgan. When Professor Gerald Lambeau posts a difficult mathematics problem as a challenge for his graduate students, Will solves the problem anonymously, stunning both the students and Lambeau. As a challenge to the unknown genius, Lambeau posts an even more difficult problem. Will flees when Lambeau catches him writing the solution on the blackboard late at night. At a bar, Will meets Skylar, a British female student about to graduate from Harvard, who plans on attending medical school at Stanford.

The next day, Will and his friends fight a gang, who used to bully Will when he was a kid; the police arrest Will. Lambeau sits in on his court appearance and watches Will defend. He arranges for him to forgo jail time if he agrees to study mathematics under Lambeau's supervision and participate in therapy sessions. Will tentatively agrees, but treats his first few therapists with mockery. In desperation, Lambeau calls on Dr. Sean Maguire, his college roommate, who now teaches psychology at Bunker Hill Community College. Unlike other therapists, Sean actually challenges Will's defense mechanisms, and after a few unproductive sessions, Will begins to open up.

Will is particularly struck by Sean's story of how he met his wife by giving up his ticket to the historic game six of the 1975 World Series, after falling in love at first sight. Sean does not regret his decision, even though his wife died of cancer. This encourages Will to build a relationship with Skylar, though he lies to her about his past and is reluctant to introduce her to his friends or show her his rundown neighborhood. Will also challenges Sean to take an objective look at his own life, since Sean cannot move on from his wife's death.

Lambeau sets up a number of job interviews for Will, but Will scorns them by sending Chuckie as his "chief negotiator", and by turning down a position at the NSA with a scathing critique of the agency's moral position. Skylar asks Will to move to California with her, but he refuses and tells her he is an orphan, and that his foster father physically abused him. Will breaks up with Skylar and later storms out on Lambeau, dismissing the mathematical research he has been doing. Sean points out that Will is so adept at anticipating future failure in his interpersonal relationships that he deliberately sabotages them in order to avoid emotional pain.

Will walks in on a heated argument between Sean and Lambeau over his potential. Sean and Will share and find out that they were both victims of child abuse. Sean helps Will to see that he is a victim of his own inner demons and to accept that it is not his fault, causing him to break down in tears. Will accepts one of the job offers arranged by Lambeau. Having helped Will overcome his problems, Sean reconciles with Lambeau and takes a sabbatical to travel the world. When Will's friends present him with a rebuilt Chevrolet Nova for his twenty-first birthday, he decides to pass on his job offer and drive to California to reunite with Skylar. Some time later, Chuckie goes to Will's house to pick him up, only to find that he is not there, much to his happiness.

Cast

 * Matt Damon as Will Hunting
 * Robin Williams as Sean Maguire
 * Ben Affleck as Chuckie Sullivan
 * Stellan Skarsgård as Professor Gerald Lambeau
 * Minnie Driver as Skylar
 * Casey Affleck as Morgan O'Mally
 * Cole Hauser as Billy McBride
 * John Mighton as Tom
 * Scott William Winters as Clark
 * Jimmy Flynn as Judge George H. Malone
 * Christopher Britton as Executive #2
 * Alison Folland as MIT Student
 * George Plimpton as Henry Lipkin

Development
Matt Damon originally started writing the film as a final assignment for a playwriting class he was taking at Harvard University. Instead of writing a one-act play, Damon submitted a 40-page script. He wrote his girlfriend at that time, medical student Skylar Satenstein (credited in the closing credits of the film), into his script. Damon said the only scene from that script which survived and "it survived verbatim" was when Will Hunting (Damon) meets his therapist, Dr. Maguire (Robin Williams). He then came to Ben Affleck and asked him to develop the screenplay together, and the two completed the script in 1994. At first, it was written as a thriller about a young man in the rough-and-tumble streets of South Boston who possesses a superior intelligence and is targeted by the government with heavy-handed recruitment. After purchasing the script, Castle Rock Entertainment president Rob Reiner urged them to drop the thriller aspect of the story and to focus on the relationship between Will and his therapist. At a dinner meeting with Terrence Malick, Affleck and Damon told the story to Malick who suggested that the film's climax ought to be Will's decision to follow his girlfriend Skylar to California instead of them leaving together.

At Reiner's request, screenwriter William Goldman read the script. Goldman has consistently denied the persistent rumor that he wrote Good Will Hunting or acted as a script doctor. In his book Which Lie Did I Tell? Goldman jokingly writes, "I did not just doctor it. I wrote the whole thing from scratch," before dismissing the rumor as false and saying his only advice was agreeing with Reiner's suggestion.

Castle Rock bought the script for $675,000 against $775,000, meaning that Damon and Affleck would stand to earn an additional $100,000 if the film was produced and they retained sole writing credit. However, studios balked at the idea of Affleck and Damon in the lead roles, with many studio executives stating that they wanted Brad Pitt and Leonardo DiCaprio. At the time Damon and Affleck were meeting at Castle Rock, Kevin Smith was working with Affleck on Mallrats and with both Damon and Affleck on Chasing Amy. Castle Rock put the script in turnaround, and gave Damon and Affleck 30 days to find another buyer for the script who would reimburse Castle Rock the money paid, otherwise the script reverted to the studio, and Damon and Affleck would be out. All the studios that were involved in the original bidding war for the screenplay now turned the pair down, taking meetings with Affleck and Damon only to tell them this to their face. As a last resort, Affleck passed the script to his Chasing Amy director Kevin Smith, who read it and promised to walk the script directly into Harvey Weinstein's office at Miramax. Weinstein read the script, loved it, and paid Castle Rock their due, while also agreeing to let Damon and Affleck star in the film. In his recollection of the meeting, Weinstein asked about an out-of-place, mid-script oral sex scene, which Damon and Affleck explained was a test to see which studio executives had actually read the script. After buying the rights from Castle Rock, Miramax gave the green light to put the film into production. Several well-known filmmakers were originally considered to direct, including Mel Gibson, Michael Mann, and Steven Soderbergh. Originally, Affleck asked Kevin Smith if he was interested in directing. He declined, saying they needed a "good director" and that he only directs things he writes and is not much of a visual director, but still served as one of the film's executive producers. Damon and Affleck later chose Gus Van Sant for the job, whose work on previous films like Drugstore Cowboy (1989) had left a favorable impression on the fledgling screenwriters. Miramax was persuaded and hired Van Sant to direct the film.

Filming
Filming took place between April and June 1997. Although the story is set in Boston, and many of the scenes were done on location in the Greater Boston area, much of the filming was done at locations in Toronto, with the University of Toronto standing in for the interiors of MIT and Harvard University. The classroom scenes were filmed at McLennan Physical Laboratories (of the University of Toronto) and Central Technical School. Harvard normally disallows filming on its property, but permitted limited filming by the project after intervention by Harvard alumnus John Lithgow. Likewise, only the exterior shots of Bunker Hill Community College were filmed in Boston; however, Sean's office was built in Toronto as an exact replica of one at the college.

The interior bar scenes set in "Southie" were shot on location at Woody's L St. Tavern. Meanwhile, the homes of Will (190 West 6th Street) and Sean (259 E Street), while some distance apart in the movie, actually back up to each other on Bowen Street, the narrow street Chuckie drives down to walk up to Will's back door.

The Bow and Arrow Pub, which was located at the corner of Bow Street and Massachusetts Avenue in Cambridge, doubled as the Harvard bar in which Will met Skylar for the first time. The Baskin-Robbins/Dunkin' Donuts featured in the "How do you like them apples?" scene was next door to the pub at the time of the film's release.

The Tasty, at the corner of JFK and Brattle Streets, was the scene of Will and Skylar's first kiss. The Au Bon Pain, where Will and Skylar discuss the former's photographic memory, was at the corner of Dunster Street and Mass Ave.

The Boston Public Garden bench on which Will and Sean sat for a scene in the film became a temporary shrine after Williams' death in 2014.

Box office
In the film's opening weekend in limited release, it earned $272,912. In its January 1998 wide-release opening weekend, it earned $10,261,471. It went on to gross $138,433,435 in North America for a total worldwide gross of $225,933,435.

Critical response
Review aggregation website Rotten Tomatoes gives the film a rating of 97% based on 70 reviews and an average rating of 8/10. The site's critical consensus reads:

At Metacritic, the film has a score of 70 out of 100 based on 28 critics, indicating "generally favorable reviews".

Roger Ebert gave the film three out of four stars, writing that while the story is "predictable", it is "the individual moments, not the payoff, that make it so effective".

Several scholars have examined the film as a portrayal of residual Catholic–Protestant tensions in Boston, as Irish Catholics from Southie are aligned against ostensibly Protestant characters who are affiliated with Harvard and MIT.

Accolades

 * 70th Academy Awards
 * Won: Academy Award for Best Supporting Actor – Robin Williams
 * Won: Academy Award for Best Original Screenplay – Ben Affleck & Matt Damon
 * Nominated: Academy Award for Best Picture
 * Nominated: Academy Award for Best Director – Gus Van Sant
 * Nominated: Academy Award for Best Actor – Matt Damon
 * Nominated: Academy Award for Best Supporting Actress – Minnie Driver
 * Nominated: Academy Award for Best Film Editing – Pietro Scalia
 * Nominated: Academy Award for Best Original Score – Danny Elfman
 * Nominated: Academy Award for Best Song – Elliott Smith (song "Miss Misery")


 * 55th Golden Globe Awards:
 * Won: Golden Globe Award for Best Screenplay – Ben Affleck & Matt Damon
 * Nominated: Golden Globe Award for Best Motion Picture – Drama
 * Nominated: Golden Globe Award for Best Actor – Motion Picture Drama – Matt Damon
 * Nominated: Golden Globe Award for Best Supporting Actor – Motion Picture – Robin Williams


 * 4th Screen Actors Guild Awards :
 * Won: Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Supporting Role – Robin Williams
 * Nominated: Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture
 * Nominated: Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Leading Role – Matt Damon
 * Nominated: Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Supporting Role – Minnie Driver


 * Other Major Awards / Nominations:
 * Won: Silver Bear for Outstanding Single Achievement – Matt Damon
 * Won: Humanitas Prize for Feature Film – Matt Damon & Ben Affleck
 * Nominated: Directors Guild of America Award for Outstanding Directorial Achievement in Motion Pictures – Gus Van Sant
 * Nominated: Writers Guild of America Award for Best Screenplay Written Directly for the Screen – Ben Affleck & Matt Damon

Soundtrack
The musical score for Good Will Hunting was composed by Danny Elfman, who had previously collaborated with Gus Van Sant on To Die For and would go on to score many of the director's other films. The film also features many songs written and recorded by singer-songwriter Elliott Smith. His song "Miss Misery" was nominated for the Academy Award for Best Original Song, but lost to "My Heart Will Go On" from Titanic. Elfman's score was also nominated for an Oscar, but lost to Titanic as well. On September 11, 2006, The Today Show used Elfman's song "Weepy Donuts" while Matt Lauer spoke during the opening credits.

A soundtrack album for the film was released by Capitol Records on November 18, 1997, though only two of Elfman's cues appear on the release.


 * 1) Elliott Smith – "Between the Bars" (Orchestral)
 * 2) Jeb Loy Nichols – "As the Rain"
 * 3) Elliott Smith – "Angeles"
 * 4) Elliott Smith – "No Name #3"
 * 5) The Waterboys – "Fisherman's Blues"
 * 6) Luscious Jackson – "Why Do I Lie?"
 * 7) Danny Elfman – "Will Hunting" (Main Titles)
 * 8) Elliott Smith – "Between the Bars"
 * 9) Elliott Smith – "Say Yes"
 * 10) Gerry Rafferty – "Baker Street"
 * 11) Andru Donalds – "Somebody's Baby"
 * 12) The Dandy Warhols – "Boys Better"
 * 13) Al Green – "How Can You Mend a Broken Heart?"
 * 14) Elliott Smith – "Miss Misery"
 * 15) Danny Elfman – "Weepy Donuts"

"Afternoon Delight" by the Starland Vocal Band was featured in the film, but did not appear on the soundtrack album.

A limited edition soundtrack album featuring Elfman's complete score from the film was released by Music Box Records on March 3, 2014. The soundtrack, issued in 1500 copies, includes all of Elfman's cues (including music not featured on the rare Miramax Academy promo) and also contains the songs by Elliott Smith. One of the tracks is Smith's songs with Elfman's arrangements added into the mix.


 * 1) Main Title (2:44)
 * 2) Genie Mopper (0:37)
 * 3) First Calculation (1:08)
 * 4) Theorem (0:42)
 * 5) Kick Ass Choir (0:59)
 * 6) Mystery Math (2:28)
 * 7) Them Apples (0:57)
 * 8) Jail (1:13)
 * 9) Second Shrink (1:14)
 * 10) Any Port (1:25)
 * 11) Times Up (1:14)
 * 12) Oliver Twist (1:58)
 * 13) Staring Contest (0:49)
 * 14) Secret Weapon (0:57)
 * 15) Retainer (Part A) (0:58)
 * 16) Retainer (Part B) (0:20)
 * 17) Tell You Something (0:48)
 * 18) No Love Me (0:47)
 * 19) Fire Music (1:11)
 * 20) Whose Fault (2:34)
 * 21) End Titles (3:50)
 * 22) Between the Bars (Orchestral) (1:09) – Performed by Elliott Smith / Arr. by Elfman
 * 23) No Name #3 (3:04) – Performed by Elliott Smith
 * 24) Say Yes (2:15) – Performed by Elliott Smith
 * 25) Between the Bars (2:21) – Performed by Elliott Smith
 * 26) Angeles (2:55) – Performed by Elliott Smith
 * 27) Miss Misery (3:12) – Performed by Elliott Smith

Mathematics
In an early version of the script, Will Hunting was going to be a physics prodigy, but Nobel Laureate in Physics Sheldon Glashow at Harvard told Damon the subject should be math instead of physics. Glashow referred Damon to his brother-in-law, Daniel Kleitman, a mathematics professor at MIT. In the spring of 1997, Damon and Affleck asked Kleitman to "speak math to us" for writing realistic dialogue, so Kleitman invited postdoc Tom Bohman to join him giving them a "quick lecture". When asked for a problem that Will could solve, Kleitman and Bohman suggested the unsolved computer science P versus NP problem, but the movie used other problems. Columbia University's physics and math professor Brian Greene at the Tribeca Sloan retrospective explained that for physics, "Having some deep insight about the universe, though, typically, it's a group project in the modern era," while "doing some mathematical theorem is a singular undertaking very often."

Patrick O'Donnell, professor of physics at University of Toronto, served as mathematical consultant for the film production.

The main hallway blackboard is used twice to reveal Will Hunting's talent, first to the audience, second to Professor Lambeau. Matt Damon based it on his artist brother Kyle visiting MIT's Infinite Corridor and writing "an incredibly elaborate, totally fake, version of an equation" on a blackboard which lasted for months. Kyle returned to Matt saying MIT needed these blackboards "because these kids are so smart they just need to, you know, drop everything and solve problems!"

The first turning point in the plot occurs when Will sets aside his mop in a hallway and studies a difficult blackboard graph theory problem posed by Professor Lambeau. The question is to find the number of 3-step walks in a given graph. Will chalks up the adjacency matrix
 * $$A=\begin{pmatrix} 0 & 1 & 0& 1 \\ 1 & 0 & 2 & 1 \\ 0 & 2 & 0 & 0 \\ 1 & 1 & 0 & 0 \end{pmatrix}.$$ To answer the question, he finds the third power matrix:
 * $$A^3=\begin{pmatrix} 2 & 7 & 2 & 3 \\ 7 & 2 & 12 & 7 \\ 2 & 12 & 0 & 2 \\ 3 & 7 & 2 & 2 \end{pmatrix}.$$

The other characters are astounded that a janitor could show such facility with matrices applied this way.