X
CNET logo Why You Can Trust CNET

Our expert, award-winning staff selects the products we cover and rigorously researches and tests our top picks. If you buy through our links, we may get a commission. Reviews ethics statement

Magical mystery song: Math solves Beatles songwriting puzzle

Even John Lennon and Paul McCartney couldn't remember who wrote the music for In My Life. Stats to the rescue!

Gael Cooper
CNET editor Gael Fashingbauer Cooper, a journalist and pop-culture junkie, is co-author of "Whatever Happened to Pudding Pops? The Lost Toys, Tastes and Trends of the '70s and '80s," as well as "The Totally Sweet '90s." She's been a journalist since 1989, working at Mpls.St.Paul Magazine, Twin Cities Sidewalk, the Minneapolis Star Tribune, and NBC News Digital. She's Gen X in birthdate, word and deed. If Marathon candy bars ever come back, she'll be first in line.
Expertise Breaking news, entertainment, lifestyle, travel, food, shopping and deals, product reviews, money and finance, video games, pets, history, books, technology history, generational studies. Credentials
  • Co-author of two Gen X pop-culture encyclopedia for Penguin Books. Won "Headline Writer of the Year"​ award for 2017, 2014 and 2013 from the American Copy Editors Society. Won first place in headline writing from the 2013 Society for Features Journalism.
Gael Cooper
2 min read

The Beatles' famous songwriting credit, Lennon-McCartney, doesn't distinguish between whether John Lennon or Paul McCartney wrote most, all, or some of a particular tune.

And to many fans, it doesn't matter. But three researchers recently utilized statistics and mathematics to determine whether John or Paul was the composer of 1965's In My Life. 

The researchers analyzed dozens of songs by the duo, and discovered 149 distinct transitions between notes and chords that are present in almost all Beatles songs, and which were unique to either Lennon or McCartney's compositions.

In My Life was released on the Beatles album Rubber Soul. The lyrics, a personal meditation about one's life and loves, are inarguably Lennon's. But Lennon and McCartney disagreed about who came up with the melody.

Watch this: How to download videos and music before you travel

In a 1976 book, McCartney recalled that it was his work, saying, "I liked In My Life. Those were words that John wrote, and I wrote the tune to it. That was a great one."

But in a 1980 Playboy interview, Lennon said McCartney wrote only the harmony and the bluesy middle-eight melody

So the researchers ran their statistical model twice, once to determine who wrote the middle-eight melody, and once to determine who wrote the rest of the tune. 

Harvard senior lecturer Mark Glickman, one of the researchers, told Inverse that the "McCartney wrote the middle eight" theory seemed plausible.

"The middle eight sounds like something McCartney would write," Glickman said. "When the middle eight goes, 'So I know I'll never lose affection,' the note changes aren't on the beat, they're off the beat. So they're syncopated. And McCartney does that quite a bit."

But the data proved that theory wrong. The stats showed there's only a fractional probability that McCartney wrote any of the music.

"The probability that In My Life was written by McCartney is .018," Glickman said in a press release. "Which basically means it's pretty convincingly a Lennon song."

While the study adds an interesting fact to Beatle studies, for many fans, it was never an issue.

"Who in the world thought McCartney wrote this?" wrote one Twitter user. "It's got Lennon all over it."

But It's not a worthless exercise. Glickman said in the release that the methods utilized can be used track additional chapters of musical history.

"This technology can be extended," he said. "We can look at pop history and chart the flow of stylistic influence."

A day in the life of the Beatles in 1964

See all photos

Fight the Power: Take a look at who's transforming the way we think about energy.

'Hello, humans': Google's Duplex could make Assistant the most lifelike AI yet.