Close Menu
Beverly Hills Examiner

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Watch The Weeknd kick off European leg of ‘After Hours Til Dawn’ tour in Copenhagen

    June 22, 2026

    Dow futures drop and oil jumps as first day of US-Iran talks sees Trump threaten Tehran on Hormuz

    June 22, 2026

    Trump Obsesses Over Reflecting Pool Conspiracies As The Middle East Melts Down

    June 22, 2026
    Facebook X (Twitter) Instagram
    Beverly Hills Examiner
    • Home
    • US News
    • Politics
    • Business
    • Science
    • Technology
    • Lifestyle
    • Music
    • Television
    • Film
    • Books
    • Contact
      • About
      • Amazon Disclaimer
      • DMCA / Copyrights Disclaimer
      • Terms and Conditions
      • Privacy Policy
    Beverly Hills Examiner
    Home»Science»Why mathematicians hate Good Will Hunting
    Science

    Why mathematicians hate Good Will Hunting

    By AdminMarch 1, 2026
    Facebook Twitter Pinterest LinkedIn WhatsApp Email Reddit Telegram
    Why mathematicians hate Good Will Hunting


    I still remember the movie night when I first watched Good Will Hunting with my mom. Matt Damon played a janitor at the Massachusetts Institute of Technology. While mopping the hallways, he walked past a blackboard with an advanced math problem written on it. He stopped and started solving the problem. I watched, mesmerized, as he created seemingly illegible structures of dots and lines—until suddenly a math professor came out of a lecture hall and chased him away.

    The audience was previously told that that problem was meant to be incredibly difficult, taking years of expert thinking to resolve, yet it was quickly worked out by Damon’s insightful janitor in just moments. At the time, I was fascinated by the idea that people could possess a hidden talent that no one suspected was there.

    As I got older and more mathematically savvy, I dismissed the whole thing as Hollywood hokum. Good Will Hunting might tell a great story, but it isn’t very realistic. In fact, the mathematical challenge doesn’t hold up under much scrutiny. With the award ceremony for the Oscars this month, many people are thinking back on past winners—including Good Will Hunting. It’s worth taking a closer look at the blackboard in a film that, in 1997, took nine nominations and won for both original screenplay and actor in a supporting role.


    On supporting science journalism

    If you’re enjoying this article, consider supporting our award-winning journalism by subscribing. By purchasing a subscription you are helping to ensure the future of impactful stories about the discoveries and ideas shaping our world today.


    Based on Actual Events

    The film was inspired by a true story—one I personally find far more compelling than the fairy tale version in Good Will Hunting. The real tale centers George Dantzig, who would one day become known as the “father of linear programming.”

    Dantzig was not always a top student. He claimed to have struggled with algebra in junior high school. But he was not a layperson when the event that inspired the film occurred. By that time, he was a graduate student in mathematics. In 1939 he arrived late for a lecture led by statistics professor Jerzy Neyman at the University of California, Berkeley. Neyman wrote two problems on the blackboard, and Dantzig assumed they were homework.

    Dantzig noted that the task seemed harder than usual, but he still worked out both problems and submitted his solutions to Neyman. As it turned out, he had solved what were then two of the most famous unsolved problems in statistics.

    That feat was quite impressive. By contrast, the mathematical problem used in the Hollywood film is very easy to solve once you learn some of the jargon. In fact, I’ll walk you through it. As the movie presents it, the challenge is this: draw all homeomorphically irreducible trees of size n = 10.

    Before we go any further, I want to point out two things. First, the presentation of this challenge is actually the most difficult thing about it. It’s quite unrealistic to expect a layperson—regardless of their mathematical talent—to be familiar with the technical language used to formulate the problem. But that brings me to the second thing to note: once you translate the technical terms, the actual task is simple. With a little patience and guidance, you could even assign it to children.

    Solving the Good Will Hunting problem

    Let’s get into the vocabulary. In mathematics, a tree is a type of graph—that is, a collection of points that are connected to one another. Trees, notably, cannot contain loops, so you cannot connect the points in a way that causes them to close into one. The size of the tree is given in terms of the number of points, or nodes, in the graph. In this case, we know we are meant to draw all possible tree graphs with 10 nodes.

    A tree graph at left shows 10 nodes with lines connecting them, none of which form a loop; at right a graph includes a circuit of four nodes that form a loop, which creates a figure that is not considered a tree

    The term “homeomorphic” basically refers to the idea that the nodes in this network always follow a particular sequence; the exact shape of the tree is not as important as the sequence of connections. When I draw a connection between nodes A and B, I can make that link longer or shorter or rotated slightly, and it won’t matter so long as the overall structure of the network remains the same. The important part is that A connects to B.

    To think about that in a different way, imagine a tree shaped like an X with five nodes and a tree shaped like a K with five nodes. These trees are considered to be the same tree because the number of nodes and sequence of connections are unchanged between the two shapes.

    And “irreducible,” in this case, means that every node in the graph must be connected by either one line or by three or more lines such that no node is connected by only two lines: if a node was connected by only two lines, it could be reduced into just a single line.

    This image illustrates two concepts. First, there are two trees that visually look different in the arrangement of their parts. Because they each consist of 10 nodes, connected in the same ways but with the connective lines arranged in a slightly different manner, these are considered identical trees. Second, a tree has a node that connects exclusively to another node, which, the diagram states, creates a reducible straight line.

    So in plain language, the task is to draw all trees with the specified properties that each have 10 nodes. There are several approaches to this. For example, you could write a computer program that solves the task in a fraction of a second. Or you could start drawing all the graphs that fulfill these criteria by hand. It turns out that you may only need a few minutes of doodling if you decide to go with the latter route.

    To demonstrate that, you can first draw a tree consisting of one central node that radiates out with nine connections, giving us a total of 10 nodes. That design meets the required criteria—it’s one of our homeomorphically irreducible trees of size n = 10. Good work!

    Next, draw a tree with eight connections—you’ll find this design leads to a dead end because you won’t be able to add a node without either re-creating the previous tree or introducing a reducible line. Move on to drawing a tree that begins with a node that has seven connections. You will still need to place two more nodes, but you can imagine adding them to one of the seven you’ve just drawn. At this point, you should be able to keep doodling through the possibilities.

    Two simple trees are placed side by side. The tree on the left consists of a central node with nine connections. The tree on the right has a central node with eight connections, one of which has an added connected node, which creates a reducible line.

    If you prefer an even more systematic approach—though it may take you a bit more time, depending on your comfort with graph theory—one clever solution involves considering which mathematical conditions the trees must fulfill and representing them with equations.

    For this approach, we can define nk as the number of nodes n with k connections. Because the tree should be irreducible, there is no circumstance where n2 can exist, so n2 = 0. Furthermore, we know the tree must have 10 nodes total—that means you’ll never have n10 or n11, and so on. The maximum is n9.

    We can then represent what we know with a mathematical formula:

    n1 + n3 + n4 + n5 + n6 + n7 + n8 + n9 = 10

    This diagram presents a visual for interpreting the tree shape associated with the terms nk, where n refers a to a node and k to the number of connections that node has. The diagram draws n1, for example, to show a single node connecting to another single node; n3, showing a single node with three connections; etcetera.

    Note that we skipped n2 because we know that would equal 0.

    There’s another constraint that we can express. Our tree with 10 nodes will ultimately have 18 lines, or connections, between them if we count in such a way that the link between node A and node B counts twice, with one being A-B, and the other being B-A. We can use that to build an equation where we represent each connection and node individually. For example, if a node links to one other node, it creates one connection: 1n1. If a single node links to three other nodes, there will be three connections created, so 3n3, etcetera. This leads us to the next equation:

    n1 + 3n3 + 4n4 + 5n5 + 6n6 + 7n7 + 8n8 + 9n9 = 18

    Now you’ve created two equations that corral and constrain our tree-drawing options. But we need to combine them to identify the terms most relevant for our task. You can subtract the first equation from the second to produce:

    2n3 + 3n4 + 4n5 + 5n6 + 6n7 + 7n8 + 8n9 = 8

    This equation serves as a reference for drawing your various trees. The idea is to take terms that, together, will equal 8 when you sum their first integer, or coefficient. Look at 8n9 for example. That tells us we only need one n9 to build our tree, which corresponds to the drawing in which a single node has nine connections.

    If you try to draw n8, you’ll hit the dead-end scenario, with no tree that meets our criteria. If you were using our equation for reference, you wouldn’t even bother trying to draw it because you’d see you couldn’t combine 7n8 with another term such that the first number in each would equal 8.

    But a node with seven connections, n7,can work if you combine it with n3,meaning you can combine a tree with seven connections (represented by 6n7 in the equation) and a tree with three connections (2n3) to find another solution to the problem. And you can carry on with the process from there!

    This illustration maps out all ten of the possible solutions to the Good Will Hunting problem and color codes the nodes based on the number of connections each one has.

    Better Examples Exist

    I can understand why Good Will Hunting’s filmmakers shied away from Dantzig’s actual work. The solution he devised was not short—and the trees are probably more visually appealing for a cinematographer.

    But I still think the filmmakers chose this particular math problem poorly, even for a Hollywood film. The history of mathematics has many amazing stories, including true stories of actual laypeople solving an open problem, that could be great fodder for films.

    In the field of geometry, for example, many breakthroughs regarding tiling the plane have been achieved by ambitious people who hadn’t studied mathematics or anything similar. One of my personal favorites occurred in 2022, when retired print technician David Smith finally found the long-sought “einstein tile,” a polygon that can fill a plane completely without any gaps and without the resulting pattern ever repeating itself.

    This article originally appeared in Spektrum der Wissenschaft and was reproduced with permission. It was translated from the original German version with the assistance of artificial intelligence and reviewed by our editors.



    Original Source Link

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp Email Reddit Telegram
    Previous ArticleDaniel Blumberg: ​‘The ingredients were there to…
    Next Article The 5 Big ‘Known Unknowns’ of Donald Trump’s New War With Iran

    RELATED POSTS

    Can GLP-1s boost testosterone levels?

    June 22, 2026

    We’ve found a mysterious substance on Titan and Pluto

    June 21, 2026

    Pseudoscientific Cancer ‘Treatment’ Involves Gassing Naked People in Plastic Bags With Bleach

    June 21, 2026

    Silicon Valley’s longevity biohackers are engaged in a dangerous experiment

    June 20, 2026

    Faecal transplant makes the brains of old mice act young again

    June 20, 2026

    Canada Missed Chances to Inspect Titan Before Fatal Implosion

    June 19, 2026
    latest posts

    Watch The Weeknd kick off European leg of ‘After Hours Til Dawn’ tour in Copenhagen

    The Weeknd kicked off the European leg of his ‘After Hours Til Dawn’ tour in Copenhagen…

    Dow futures drop and oil jumps as first day of US-Iran talks sees Trump threaten Tehran on Hormuz

    June 22, 2026

    Trump Obsesses Over Reflecting Pool Conspiracies As The Middle East Melts Down

    June 22, 2026

    Tim Howard says it’s ‘impossible’ for USMNT to win 2026 World Cup

    June 22, 2026

    Wooting 60HE v2: Peak Keyboard Perfection

    June 22, 2026

    Can GLP-1s boost testosterone levels?

    June 22, 2026

    Virginia Woolf’s Night & Day review – a muddled…

    June 22, 2026
    Categories
    • Books (1,317)
    • Business (6,222)
    • Cover Story (7)
    • Film (6,160)
    • Lifestyle (4,222)
    • Music (6,230)
    • Politics (6,215)
    • Science (5,571)
    • Technology (6,156)
    • Television (5,851)
    • Uncategorized (3)
    • US News (6,207)
    popular posts

    Taylor Lautner “praying” for John Mayer ahead of ‘Speak Now (Taylor’s Version)’

    Actor Taylor Lautner has joked that he is “praying” for John Mayer ahead of the…

    U.S. Targets Methane Emissions in New Batch of Rules

    November 22, 2023

    Trump slams ‘very nasty’ Stephanopoulos, refuses to take ABC questions

    October 15, 2025

    11 Beauty and Wellness Rituals You Can Do from Bed

    August 31, 2022
    Archives
    Browse By Category
    • Books (1,317)
    • Business (6,222)
    • Cover Story (7)
    • Film (6,160)
    • Lifestyle (4,222)
    • Music (6,230)
    • Politics (6,215)
    • Science (5,571)
    • Technology (6,156)
    • Television (5,851)
    • Uncategorized (3)
    • US News (6,207)
    About Us

    We are a creativity led international team with a digital soul. Our work is a custom built by the storytellers and strategists with a flair for exploiting the latest advancements in media and technology.

    Most of all, we stand behind our ideas and believe in creativity as the most powerful force in business.

    What makes us Different

    We care. We collaborate. We do great work. And we do it with a smile, because we’re pretty damn excited to do what we do. If you would like details on what else we can do visit out Contact page.

    Our Picks

    Can GLP-1s boost testosterone levels?

    June 22, 2026

    Virginia Woolf’s Night & Day review – a muddled…

    June 22, 2026

    ‘Today’ Frances Rivera Says Goodbye After 12 Years

    June 22, 2026
    © 2026 Beverly Hills Examiner. All rights reserved. All articles, images, product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement unless specified. By using this site, you agree to the Terms & Conditions and Privacy Policy.

    Type above and press Enter to search. Press Esc to cancel.

    We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
    Cookie SettingsAccept All
    Manage consent

    Privacy Overview

    This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
    Necessary
    Always Enabled
    Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
    CookieDurationDescription
    cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
    cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
    cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
    cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
    cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
    viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
    Functional
    Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
    Performance
    Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
    Analytics
    Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
    Advertisement
    Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
    Others
    Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
    SAVE & ACCEPT