Directed by

Morgan Matthews
Made by

Original Pictures
Test your knowledge of X+Y with our quiz!
Read the complete plot summary and ending explained for X+Y (2014). From turning points to emotional moments, uncover what really happened and why it matters.
Nathan Ellis, a 9-year-old maths prodigy, Asa Butterfield has just lost his father in a car accident. He is soon diagnosed as being on the autism spectrum, and while he values his mother, Julie Ellis, Sally Hawkins, he keeps physical contact to a minimum, treating her more as a caregiver than a parent. To keep him focused on his studies, Julie enrolls him in advanced classes at a new school filmed at High Storrs School in Sheffield, United Kingdom. There, he comes under the tutelage of a maths genius, Martin Humphreys, who has multiple sclerosis. Rafe Spall portrays a mentor who sees himself in Nathan—once a rising mind in mathematics who gave it all up when illness struck.
Seven years later, Martin Humphreys is guiding Nathan toward a spot in the International Mathematical Olympiad, a prestigious high school competition that gathers the world’s best young mathematicians. This year the Olympiad is set to be held in Cambridge after a two-week maths camp in Taiwan, where the contestants study for the test that could determine the winners. Nathan fears he may not qualify, yet he earns the chance to accompany 15 other British teenagers to Taiwan.
Armed with talent but unsettled by new surroundings, Nathan discovers he is no longer the sole smartest mind in the room, and his social anxieties threaten to derail his performance. He struggles with social cues and recoils from close contact, but he forms a bond with a female Chinese student, Zhang Mei, who slowly helps him adapt and face his fears. Through her support, Nathan and Zhang just barely make the cut to compete in Cambridge.
Back in England, Zhang stays with Nathan and his mother, who is surprised to see his behavior transform into something far more normal. Julie begins to wonder if Nathan might have feelings for Zhang, though he himself is unsure how to express such emotions. The trio travels to Cambridge and settles in for the Olympiad, while Zhang’s presence continues to shape Nathan’s experience in unexpected ways.
Things take a turn when Zhang’s uncle discovers her in Nathan’s room one morning, causing Zhang to withdraw from the competition and leave. Nathan, who believes he loves Zhang, feels torn between his growing emotions and the Olympiad itself. When he sits down among hundreds of competitors for the exam, the opening question stirs memories of his late father and the ache of losing Zhang, creating a powerful emotional overload that tests his resolve.
Nathan rushes out of the exam hall, with Martin and Julie following closely. In a quiet cafe, he opens up about the heaviness of his loss and the ache of the girl who understood him, and the three share a quiet, hopeful moment. They embrace, and Julie drives Nathan to the station to retrieve Zhang Mei, signaling a hopeful return to balance as he faces the next steps in his remarkable journey.
Follow the complete movie timeline of X+Y (2014) with every major event in chronological order. Great for understanding complex plots and story progression.
Nathan's father's death and early autism
Nathan is nine and has just lost his father in a car accident. The tragedy coincides with an autism diagnosis that explains his guarded, one-on-one way of relating to others. He relies on his mother Julie, who becomes his caregiver and scaffolds his world around math and routine.
Julie enrolls Nathan in advanced classes at High Storrs
To keep him focused on his studies, Julie enrolls him in advanced maths classes at High Storrs School in Sheffield. Nathan's social anxieties persist, and he clings to the mentor–student dynamic that helps him navigate new surroundings.
Martin Humphreys becomes Nathan's mentor
Martin Humphreys, a maths genius with multiple sclerosis, recognizes Nathan's potential and becomes his mentor. He guides Nathan to apply his prodigious talent toward high-level competitions while managing the realities of illness.
Seven years later: Olympiad path begins
Seven years pass and Nathan remains focused on a path to the International Mathematical Olympiad. Martin continues to mentor him as they schedule a two-week maths camp in Taiwan to study for the test.
Nathan earns a place on the British team to Taiwan
Nathan earns the chance to accompany 15 other British teenagers to Taiwan for intensive training. He fears he may not qualify, but his sustained performance wins him a place on the team.
In Taiwan, Nathan meets Zhang Mei
In Taiwan, Nathan confronts social anxieties and discovers he is not the only prodigy in the room. He bonds with Zhang Mei, a Chinese classmate who helps him adapt and face his anxieties.
Qualifying to Cambridge despite nerves
Back in England, Nathan and Zhang barely make the cut to compete in Cambridge, with Zhang staying close to the team as they prepare. Her presence gives Nathan a new confidence and shifts the dynamics of the group.
Zhang stays with Nathan and Julie in England
Zhang stays with Nathan and Julie at home, and her influence begins to transform Nathan's behavior into something more normal. Julie wonders if Nathan is developing feelings for Zhang and wrestles with what that means.
Travel to Cambridge for the Olympiad
The trio travels to Cambridge for the Olympiad, settling in for the competition and continuing their study and preparation. Zhang's influence continues to shape Nathan's experience in unexpected, hopeful ways.
Zhang's uncle discovers her in Nathan's room
Zhang's uncle discovers her in Nathan's room one morning, prompting her withdrawal from the competition and return home. Nathan feels torn between his growing feelings and the Olympiad that remains his goal.
Opening question triggers memories of his father
During the opening question of the Olympiad, memories of his late father surge to the surface and threaten to overwhelm him. The emotional overload drives Nathan to rush out of the exam hall, seeking air and relief.
Cafe confession and hopeful resolution
In a quiet cafe, Martin and Julie listen as Nathan talks about his grief and the girl who understood him. They share a hopeful moment, and Julie drives him to the station to fetch Zhang Mei, signaling a return to balance on his remarkable journey.
Explore all characters from X+Y (2014). Get detailed profiles with their roles, arcs, and key relationships explained.
Nathan Ellis (Asa Butterfield)
Nathan is a nine-year-old maths prodigy who is diagnosed with autism. He values his mother yet keeps physical contact to a minimum, viewing family primarily as caregivers while his mind races toward numbers. At school he is intensely focused on math and the next problem, and his social interactions are filtered through a lens of routine and precision.
Julie Ellis (Sally Hawkins)
Julie is Nathan's devoted mother, who supports his education and well-being after their loss. She orchestrates Nathan's schooling and tries to bridge his intense focus with the social world around him. Her care is steady and guided by love, even as she wonders about how Nathan will express affection and form friendships.
Martin Humphreys (Rafe Spall)
Martin is a mathematician and mentor who sees his younger self in Nathan's early potential. His illness with multiple sclerosis adds a personal stake to his guidance while modeling perseverance. He tailors challenges, offers quiet encouragement, and helps Nathan translate his talent into confidence on the world stage.
Zhang Mei (Jo Yang)
Zhang Mei is a Chinese student who forms a crucial bond with Nathan. She helps him navigate social norms, interpret emotions, and gradually trust others. Her presence brings warmth, cultural exchange, and a pathway to balancing Nathan's focus with personal connection.
Learn where and when X+Y (2014) takes place. Explore the film’s settings, era, and how they shape the narrative.
Location
Sheffield, Cambridge, Taiwan
X+Y unfolds across several settings: starting in Sheffield where Nathan attends a specialized maths program, moving to Cambridge for the Olympiad, and including a two‑week maths camp in Taiwan. The cityscapes and campuses ground Nathan's journey from local schooling to global competition. Each location contributes to the film's focus on growth, challenge, and cross‑cultural exchange.
Discover the main themes in X+Y (2014). Analyze the deeper meanings, emotional layers, and social commentary behind the film.
🧠
Neurodiversity
Nathan's autism spectrum informs how he experiences school, interaction, and pressure, while his immense mathematical ability shows how different minds contribute to success. The story uses his perspective to explore empathy, inclusion, and the value of diverse thinking. His journey with Zhang and mentors reveals how understanding can unlock potential beyond conventional social norms.
🎓
Mentorship
Martin Humphreys acts as a patient, dedicated mentor who sees his younger self in Nathan. His battle with multiple sclerosis adds urgency and resilience to his guidance. Through tailored challenges and quiet encouragement, he helps Nathan grow, believe in himself, and pursue the Olympiad. Their bond highlights the transformative power of mentorship in unlocking talent.
💔
Loss & Healing
Nathan's father's death casts a long shadow over his early life and ambitions. The emotional overload at the Olympiad becomes a moment where grief surfaces alongside performance pressures. Julie's steadfast support and Zhang Mei's understanding provide a path from pain to balance. The film frames grief as something that can be carried, shared, and transformed through connection.
💞
Connection & Growth
Zhang Mei's arrival introduces a cross-cultural friendship that reshapes Nathan's approach to math and relationships. Her presence helps him interpret social cues, express vulnerability, and accept the possibility of affection. The Cambridge journey becomes as much about personal balance as about the test score. Their bond shows how genuine connection can help someone face fears and reach new heights.

Coming soon on iOS and Android
From blockbusters to hidden gems — dive into movie stories anytime, anywhere. Save your favorites, discover plots faster, and never miss a twist again.
Sign up to be the first to know when we launch. Your email stays private — always.
Discover the spoiler-free summary of X+Y (2014). Get a concise overview without any spoilers.
In a quiet British town, a young math prodigy named Nathan navigates life through the precise language of numbers while the world around him feels louder and more chaotic than he can decode. Still reeling from the loss of his father, the only person who seemed to understand his singular mind, he lives under the careful watch of his mother, Julie, whose love is steady but often misunderstood. Their home is a sanctuary of routine, and the walls echo with the unspoken yearning for connection that numbers alone cannot satisfy.
At a specialized secondary school, Nathan draws the attention of a brilliant yet battle‑scarred teacher, Martin, whose own dreams were reshaped by illness. Martin sees in the boy a mirror of the potential once held within himself, and through relentless mentorship, he prepares the class for the most prestigious test of youthful intellect: the International Mathematics Olympiad. The prospect of donning the British team’s colors promises both validation and an unavoidable confrontation with the social intricacies that have long eluded Nathan.
As the selection process unfolds, Nathan finds himself thrust beyond the familiar confines of chalkboards and quiet study halls. A chance encounter with a confident Chinese student, Zhang Mei, offers a glimpse of a world where friendship and curiosity can coexist with brilliance. Their budding rapport hints at a subtle shift—an opening in the boy’s guarded demeanor that suggests his talents might blossom into something richer than pure calculation.
The film balances the cool, methodical atmosphere of academic competition with an intimate, hopeful tone that celebrates personal growth. It invites viewers to wonder how far a mind steeped in logic can travel when it learns to listen to the softer, unpredictable beats of the heart, suggesting that true genius may lie as much in connection as in computation.
Can’t find your movie? Request a summary here.
What's After the Movie?
Not sure whether to stay after the credits? Find out!
Explore Our Movie Platform
New Movie Releases (2026)
Famous Movie Actors
Top Film Production Studios
Movie Plot Summaries & Endings
Major Movie Awards & Winners
Best Concert Films & Music Documentaries
Movie Collections and Curated Lists
© 2026 What's After the Movie. All rights reserved.