a list compiled by Alex Kasman (College of Charleston)

Home All New Browse Search About

The Code for Love and Heartbreak (2020)
Jillian Cantor

In this young adult adaptation of Jane Austen's "Emma", a high school student unsuccessfully attempts to use her knowledge of mathematics to create a matchmaking app for her classmates. It is yet another work of mathematical fiction about someone who likes numbers more than people who in the end (spoiler alert) is surprised to learn that there is more to life than math.

(quoted from The Code for Love and Heartbreak)

I've always loved numbers a whole lot more than I love people. For one thing, I can make numbers behave any way I want them to. No arguments, no questions. I write a line of code, and my computer performs a specific and very regulated task. Numbers don't play games or hide behind some nuance I've missed. I write an equation, then formulate a definitive and absolutely correct answer.

More information about this work can be found at
(Note: This is just one work of mathematical fiction from the list. To see the entire list or to see more works of mathematical fiction, return to the Homepage.)

Works Similar to The Code for Love and Heartbreak
According to my `secret formula', the following works of mathematical fiction are similar to this one:
  1. Invisibly Breathing by Eileen Merriman
  2. The Infinite Pieces of Us by Rebekah Crane
  3. The Quantum Weirdness of the Almost-Kiss by Amy Noelle Parks
  4. Proof Geometric Construction Can Solve All Love Affairs by Takahashi Manbou (lyricist) / Ane Manbou (illustrator)
  5. The Italian in Need of an Heir by Lynne Graham
  6. Very in Pieces by Megan Frazer Blakemore
  7. The Hurricane by R.J. Prescott
  8. The One Plus One by Jojo Moyes
  9. Time Travel for Love and Profit by Sarah Lariviere
  10. Double Digit by Annabel Monaghan
Ratings for The Code for Love and Heartbreak:
RatingsHave you seen/read this work of mathematical fiction? Then click here to enter your own votes on its mathematical content and literary quality or send me comments to post on this Webpage.


GenreRomance, Young Adult,
MotifProdigies, Anti-social Mathematicians, Female Mathematicians, Math as Cold/Dry/Useless,

Home All New Browse Search About

Exciting News: The 1,600th entry was recently added to this database of mathematical fiction! Also, for those of you interested in non-fictional math books let me (shamelessly) plug the recent release of the second edition of my soliton theory textbook.

(Maintained by Alex Kasman, College of Charleston)