Elementary Wiki
Advertisement
Elementary Wiki

Cast

Main cast

Featured cast

Plot

"A correct proof would essentially render all modern encryption obsolete."
— Linus Roe
Mugger Benny Charles holds up a man and then hits him with his pistol. Fleeing, Charles walks through an alley and hears a gun shot and witnesses a man being shot in a home. The murderer comes out of the house and shoot Charles. The next day, Watson visits the grave of Gerald Castoro, the man she accidentally killed during an operation. His son Joey arrives and presses her to have coffee with him. Having heard about Charles' shooting on his police scanner, Holmes shows up at the crime scene even though Detective Bell texted that he wasn't needed. They view the body of Felix Soto, a math tutor, on his living room floor. Bell indicates that Charles is in a coma in hospital. They both notice that one of Soto's rooms is completely empty. Holmes smells the walls and asks a confused Bell to find a black light. Holmes finds a stand-up lamp with one and once the blinds are drawn, he turns the light on to reveal math equations written on the walls.



S02E02-Joey and Watson
I liked him. He was a good man.
At a diner, Joey congratulates Joan on being a detective and she learns that he's dropped out of university, despite his father wanting him to become an engineer. He asks if she'd invest in a bar he's bought and applies some guilt tactics on Watson. She asks how much he needs. Returning to The Brownstone, Watson is surprised to find a shirtless man examining a projection of the math from Soto's house. Finding Holmes in the kitchen, he explains the man is Harland Emple, a math professor, who is determining if Soto's equations were worth killing over. Watson asks Holmes for an advance of $5000 to help the son of a friend but they are interrupted by Emple. He explains that Soto was trying to solve P vs. NP, a math problem with numerous applications and has a $1M prize for solving it. Emple indicates that Soto was close to solving the problem. From the handwriting, Watson deduces that Soto had a male partner but Emple indicates he was most likely working with Tanya Barrett.



S02E02-Watson Emple Holmes
You think a million dollars could be a motive for murder?
Sherlock and Joan interview Professor Barrett at the college, who says that she heard about Soto's death on the radio. Sherlock asks about Soto's partner, but Barrett says she finds it hard to think of someone: Soto was highly secretive, and kept all his work to himself. While Holmes is browsing through an old journal containing Barrett's articles on P vs. NP, Watson asks how she became interested in the subject. Ruefully, Barrett relates that when she was "very young and full of myself", she took a summer off to try and solve it, and when she looked up from her calculations, three years had gone by and she was no closer. She is now starting to believe those experts who theorize that P vs. NP is unsolvable. In one of the articles, Holmes sees a photograph of a chalkboard, which has equations in a handwriting identical to the mystery man from Soto's house. Barrett identifies the work as Cyril Nauer's, a reclusive but brilliant savant. Outside her office, Holmes calls Bell to say they have a strong suspect in Felix Soto's murder. Bell says that is good, since they have just found another victim - shot a short distance away from Soto's house, on the same night, and with what looks like the same gun. Bell says the victim's name is Cyril Nauer, and asks for the name of Holmes's suspect. Holmes, baffled, can say nothing.



Holmes and Watson examine Nauer's body in the morgue. Apart from the gunshot wounds, Holmes noted one useful piece of forensic evidence: some dog hairs caught in his shoe. Since neither Nauer, Soto, or any of his immediate neighbors owned a dog, the hairs must have come from the shooter. Holmes says, given a little time, he can identify the breed. While she is washing up, Joan reminds him that they never finished their discussion about the advance on her salary. Instead of responding directly, Sherlock asks about her history with Joey. After an uncomfortable pause, Joan shares the details of what happened that caused her suspension from medicine. Gerald Castoro was her patient, and she got to know him and his family very well in the weeks leading up to his surgery. It was a simple operation, of a kind she had done many times before, yet she somehow nicked the vena cava of his heart, causing a fatal hemorrhage into his abdomen. Gerald's widow was understandably distraught, and sued Joan and the hospital for malpractice. Although she was not convicted, the trial was very hard for Joan, listening to Mrs. Castoro's blistering opinions about her incompetence as a doctor. But after the trial, Joey wrote her a letter to say that he forgave her, and did not believe it was her fault. "At the time, it meant a lot to me," she admits.



Holmes listens without judgment, then asks one simple question: is this the first time Joey has asked her for money? Shifting slightly, Joan admits that she bought Joey a car when he went off to college, to make it easier for him to live at home with his mother and commute to school. She says it was not a hardship for her, but even she can see what Sherlock is getting at - to an outsider, it sounds as if Joey is taking advantage of her. Examining Cyril Nauer's apartment, Sherlock notices that what looks like a traffic camera is aimed directly at Nauer's window, not at the street. Taking it down, he hands it to Bell and says the NYPD's tech division should be able to trace its signal back to its user.



Holmes and Watson accompany Bell to his interview with Linus Roe, the president of Roe Encryption, which provides cryptography services to many top-flight New York banks and other financial institutions. Confronted with the camera, Roe admits that he was surveilling Cyril Nauer, but only to keep an eye on his progress. Bell asks if Roe Encryption is hurting for money, and needed a $1 million boost. To their surprise, Roe says the Millennium Prizes don't matter to him - a solution to P vs. NP would be worth much, much more than $1 million. He explains that all modern cryptography systems are based on presenting a computer with mathematical problems so complex that they cannot be solved without a key - but a solution to P vs. NP allows a user to bypass the problems altogether, and "tell" the computer they have been solved. A person who solves P vs. NP could "walk" in or out of any computer system in the world, tamper with nuclear launch codes, steal billions of dollars - and in the process, make Roe Encryption's entire work product "about as useful as a pet rock." Impressed, Holmes summarizes, "it's the skeleton key." Roe corrects him, "it's the key to building the skeleton key", since the mathematician who solved the problem would still need a programmer to write the computer code to input it.



Roe hired Nauer (the most brilliant mathematician he had ever encountered) to solve P vs. NP, on the condition that if he did, he would turn over his work in secret. Nauer said he didn't care about the money, he wanted the recognition from solving it. Roe became paranoid when he learned Nauer was working with another mathematician, Soto, so they broke into their homes and took photos of their calculations. Ruefully, Roe says they might as well not have bothered - they showed the photos to an expert, who said they weren't anywhere near a solution. Holmes says his expert says differently, and asks for the name of Roe's, who replies, Tanya Barrett.



Interviewed at the precinct, Barrett confesses to Bell and Captain Gregson that she agreed to consult for Roe - the university cut two of her classes, and she was hurting for money. Holmes asks why she lied to Roe about the level of progress Soto and Nauer had made, and she replies that, technically, she didn't. She concurs with Harlan that Soto and Nauer took P vs. NP farther than anyone else ever had - yet they were, in her estimation, only a third of the way done. Unlike Harlan, she believed it would be years, if ever, before they arrived at a solution.

Holmes has a different theory: Barrett is working on her own solution to P vs. NP, and killed Soto and Nauer after seeing how close they were to beating her to it. He notes that she used to own a dog of the same breed as the hairs he found, and used to own a gun of the same model that shot the two men. Angry, Barrett says the dog died weeks ago, the gun was stolen from her, and she has an alibi for the night of the murders: she was having dinner with a friend, Wayne Kaneshiro, at a pub. A security video from the pub confirms that she was there at the time of the murders. She is innocent, and Holmes and Watson are no closer to finding the murderer.



Watson comes downstairs to see Holmes doing sit-ups in the living room, facing a wall of photos, other mathematicians devoted to solving P vs. NP, and thus potential suspects. When Joan asks why he won't go jogging by the river, and yet do calisthenics at 3:00 am. He explains that cardiovascular exercise stimulates blood flow to the brain, "and the river smells like rotten cod."'' Standing, he confides that, against his better judgment, he has agreed to Watson's request for an advance, and points to a shoebox on the counter. Looking through it, Watson is confused to see at least $20,000.00, when she only asked for five. Holmes says her best course of action is to give it all to Joey, and thus ensure that it will be years, or never, before he hits her up for money again. Protesting, Watson insists that Joey isn't taking advantage of her and she genuinely wants to help him, but that sounds feeble even to her. Holmes tells her that he is an expert on deadly poisons - yet he has learned that guilt is much more toxic than any substance known to man.



Holmes approaches Professor Barrett at TriBoro College again. At first she brushes him off, but he says he has a different theory. If she can't have been the killer, then the fact that all the available clues pointed to her indicates that she is being framed. Holmes asks if anyone she knows might have a grudge against her. Looking disbelieving, she says the only person she could think of would be her ex-boyfriend, Jason Harrison, who seemed to take their break-up unusually hard. The police interview Jason Harrison, confronting him with a series of threatening emails, sent to Barrett from his address. Harrison swears he has never seen those messages before, and has no idea what they're talking about. Gregson and Bell seem to believe that Harrison will crack eventually, but Holmes is not so sure. Then they get a call from the hospital: Benny Charles has regained consciousness.

From his hospital bed, Charles says that his assailant was a woman in glasses, not a man. Joan shows him Barrett's photo on her smartphone, and Charles says he is positive it is her.



At the precinct, Holmes and Watson are watching the security video from the pub over and over again. Barrett's alibi seems unshakeable, yet all the clues point to her, and Benny Charles swears that she is the person who shot him. Since they are arguing in circles, Joan diverts the conversation back to Joey and Holmes's continuing refusal to endorse her decision to loan him the money. Holmes says she might as well keep the money for herself, and do something useful for it, like buy 5,500 beers. After a moment, Joan asks him how he came up with that figure, and Holmes motions to the security video, showing a heavyset man laying a $10 bill on the bar in exchange for four glasses of beer. Joan remarks that beer in a Manhattan pub usually isn't that cheap, except during happy hour. Sherlock says that is impossible, the video's time stamp shows that it was taken much later in the evening, at the time of the murders... the digital time stamp. And just like that, the case is solved.



Holmes, Watson, Gregson, and Bell confront Barrett in her classroom. Holmes admits that he was wrong: Barrett wasn't trying to solve P vs. NP before Soto and Nauer - she solved it weeks ago, but needed to keep the fact that a solution existed a secret, until her programmer accomplice completed the computer code to implement it. If the solution was revealed too soon - for instance, by Soto and Nauer - then the world's banks might change their cryptography systems before Barrett had a chance to stroll in and steal billions of dollars. The proof: Wayne Kaneshiro, the friend with whom she was dining, has already confessed to being her accomplice programmer, and that he tampered with the security video to make it seem as if it was taken much later in the evening. At the time in question, Barrett was not actually in the pub at all - she was killing Soto and Nauer. Kaneshiro also used the code to write and send the phony emails from Jason Harrison's address, to strengthen her alibi.



Joan meets with Joey, and tells him that she has decided to help him, but instead of giving him money, is helping him in a more roundabout way, because she is concerned that he is becoming too dependent on her. When she returns home, she is surprised to see Holmes boxing up the case file, including the photos of Soto and Nauer's equations. He confides that Barrett has been taken into custody by the federal government, who have also confiscated all the maths related to P vs. NP. Deciding that the solution is a threat to national security, the government is keeping it a secret until countermeasures can be developed. Instead of being indicted for murder, Barrett will be held in protective custody while she assists the government with those countermeasures. Watson reflects that Linus Roe was wrong, and the world will go on much as it has before, now that P vs. NP has been solved.



Holmes congratulates her for her elegant solution to the Joey problem. Watson cannot dismiss some lingering doubt whether Holmes was reluctant to loan her the money because he was worried she would not pay him back. Holmes dismisses her doubts, saying that money is about as useful to him as a collection of Hummel figurines. He then surprises Watson by asking if he can accompany her to her next visit to the Castoro grave site. The man, either through his life or through his death, obviously had a profound impact on Watson, and was indirectly responsible for her becoming Holme's's partner. Holmes feels he owes the man his respects. Pleased, Watson says she would be glad for Holmes to come along next time.



Music

  • Eric Doherty - Lightning Rod plays as Watson meets Joey Castoro at the Court Square Diner.

Trivia

  • The episode was produced as the third episode of the season, but was aired as the second episode.[1]
  • Watson and Joey Castoro have coffee at the Court Square Diner located in Long Island City.
  • The solution to this case is similar to that of Dorothy L. Sayers's classic mystery novel Have His Carcase, in which all the evidence points to the killer having committed the murder, except his alibi seems unshakable. Once the detectives alter the time of the victim's death, the case is solved.

Quotes

But I've come to learn over the last few years that there is nothing on this planet quite so toxic as guilt.

— Holmes to Watson

Gallery

Episode Stills

Behind the Scenes

References

Elementary Season Two Episodes
Step NineSolve for XWe Are EveryonePoison PenAncient HistoryAn Unnatural ArrangementThe MarchionessBlood Is ThickerOn the LineTremorsInternal AuditThe Diabolical KindAll in the FamilyDead Clade WalkingCorpse de BalletThe One Percent SolutionEars to YouThe Hound of the Cancer CellsThe Many Mouths of Aaron ColvilleNo Lack of VoidThe Man With the Twisted LipPaint It BlackArt in the BloodThe Grand Experiment

Elementary-poster-CBS-season-2-2013

Season OneSeason TwoSeason ThreeSeason FourSeason FiveSeason SixSeason Seven
Advertisement