life

  • Engineering Serendipity

    The art and science of creating chance

    This post was originally published on Medium in 2015.

    In 2014 I was lucky enough to speak at Morning Prayers, a secular Harvard tradition that has existed since its founding in 1636. Below is a copy of my remarks.



    Good morning. My name is Zachary Hamed, and I am a senior in Leverett House studying computer science. I’d like to begin with a reading from Ecclesiastes:

    The race is not to the swift or the battle to the strong, nor does food come to the wise or wealth to the brilliant or favor to the learned; but time and chance happen to them all.

    Chance—and its sister, serendipity—are the under-appreciated forces that drive the twists and turns in life. Serendipity is defined as the “the occurrence and development of events by chance in a happy or beneficial way.” It was first penned by Horace Walpole in a letter to Horace Mann in 1754, who said he was inspired by an old Persian fairy tale called “The Three Princes of Serendip.”

    As the story goes, the King of Serendip had three sons, whom he had educated with the best tutors in the land. After several years, the king felt his sons had mastered all the knowledge of the arts and sciences, but feared they had been too sheltered and privileged in their education. He sent his sons to the desert, where they wandered for days.

    Late in their trip, they met a farmer who asked if they had seen his missing camel. The princes asked the farmer if his camel was blind in one eye, had a gap in its teeth, and was injured in one leg. When the farmer heard this, he accused the princes of stealing his camel and took them to the king.

    When the king asked how his sons knew such intimate details of a stranger’s camel, they explained that their days of wandering had led them to notice small details in the environment. An animal had eaten the tougher and browner grass on the left side of the road, leading them to believe the animal was blind in one eye. There were lumps of chewed grass along the road that were the size of a camel’s tooth. And there were only 3 camel footprints on the road with the fourth being dragged, leading them to believe the camel was disabled in one leg. As soon as they finished, a traveller entered and reported he had found a lost camel in the desert. The princes were rewarded handsomely and their intuition trusted for years to come.

    The story hits close to home because Cambridge resembles Serendip all too often. It is easy for us to be so ensconced in our research, our work, our meetings and our routine that we don’t make time for productive and creative wandering.

    In the 1950s, a pair of medical researchers—one at NYU and one at Cornell—accidentally injected rabbits with a certain enzyme and noticed that the rabbits’ ears folded over. Neither had the time or funding to pursue the anomaly, so they buried it away in their lab notebooks. Several years later, only one of the professors decided to review his research notes when he realized the flopping ears were actually more important than his initial research was. His work led to a Nobel Prize, and a subsequent sociology paper on the topic coined the terms serendipity gained (for example, reviewing your notes and deciding to pursue a question further) and serendipity lost—making the same discovery but never following up.

    In short, serendipity enters our lives several times a day. We can gain it or lose it. But the best part is—we can engineer it. MIT Professor Ethan Zuckerman covers this phenomenon of creating luck. “Engineering serendipity,” he says, “is this idea that we can help people come across unexpected but helpful connections at a better than random rate. And in some ways it’s based on trying to reassess this notion of serendipitous as lucky — to think of serendipitous as smart.”

    Harvard engineers serendipity at every point it can. You’re placed with a random group of your classmates when you enter as a freshman. Even when you’re allowed to choose your roommates in sophomore year, you’re placed randomly into houses and a lottery randomly places you into rooms. The lectures in your general education class could help you on a completely unrelated assignment in a different class. And have you noticed how many walking paths there are outside this very church? Walking through Harvard Yard is a case study in serendipity—it’s almost impossible to avoid seeing someone you know.

    We meet best friends at events in Ticknor Lounge, significant others in early morning sections in Sever, mentors over lunch in Leverett dining hall, and overhear job opportunities in Lamont Cafe. Every minute on Harvard’s campus is a chance encounter waiting to happen.

    Harvard’s secret is it takes a diverse group of people and squeezes them into a small, confined space. But the real world is a big place. And the scariest part is that serendipity will no longer be engineered for us. In fact, New York City, where I’ve been living for the past 4 months, seems to be engineered against serendipity. Have you ever tried meeting someone new on a New York City subway train? In a city of 8 million people, how do you find your new best friend? Your new job opportunity?

    As always, Ralph Waldo Emerson provides the answer. “Shallow men,” he says, “believe in luck or in circumstance. Strong men believe in cause and effect.” It is up to us to engineer serendipity once we leave Harvard’s gates. So talk to the person behind you in line at the coffee shop. Knock on your neighbor’s door in the otherwise anonymous apartment building you live in. Ask your friends to introduce you to someone new and go to lunch with them.

    Be open to the unexpected today. Relish the uncertain. And embrace serendipity.

  • The 20 Best Lessons from Social Psychology

    Last spring, I took a class on social psychology. It was one of the most useful classes I’ve ever taken, so I figured I’d share some of the more interesting findings. Each paragraph has a citation to its right so you can get more information or read the original study.


    1. Reciprocity has a strong effect on us.

    20% of people send Christmas cards back to people they’ve never met, just because they received one from them. For the same reason, tips to waiters go up 3.3% when an after-dinner mint is provided with the receipt. And when the server looked the diner in the eye and gave them a second mint? Tips went up 20%.

    2. You attribute a higher value to things you already own—this is known as the endowment effect.

    Willingness to sell was twice as high as willingness to pay in one study. In other words, participants were willing to buy a mug for $5, but once they owned it, they wouldn’t sell for less than $10.

    3. Heat makes us angry, and sadness physically makes us colder.

    When you feel rejected, you report the room as being colder and you prefer warmer foods over colder foods. Crime rates are higher in hotter regions, and crime is more likely on warmer days. Baseball pitchers are more likely to hit batters when it’s hot. This occurs because heat causes arousal, but people misattribute that arousal to situations around them and not to the heat.

    Duchenne smiles (example B) that are exhibited in high school yearbook photos are correlated with better life outcomes 30 years later. Here, Paul Ekman—an expert in facial psychology—exhibits both non-Duchenne (exhibit A) and Duchenne smiles.

    4. Smiling is contagious—and can predict your happiness, professional success, and lifespan.

    Humans laugh more at movies when other people laugh. Additionally, many people smile at getting a strike in bowling only after they turn around to their friends—you smile for the social approval, not for doing something successfully. In another study, students who exhibited “Duchenne smiles”—a more authentic type of smile that engages the eye and mouth muscles—in their high school yearbook were more likely to get married and were more likely to self-describe as “happy” 30 years later. Students with less intense smiles were more likely to be divorced. And in any given year, people who exhibited Duchenne smiles in their high school yearbook were half as likely to die.

    5. How we’re approached and our desire to be consistent affect our decisions.

    If I asked you to volunteer for an “Experiment at 7AM,” would you do it? What about a “7AM experiment”? 56% of people asked to volunteer for the first did so, but only 24% volunteered for a “7AM experiment”—fewer people want to wake up early, so the ordering of the words matters. In another experiment, some participants were called and asked if they would hypothetically volunteer for the American Cancer Society. When they were contacted a few days later and asked to volunteer, 31% agreed—versus 4% of people who were cold-called and asked to volunteer for the first time.

    6. We act differently when reminded of who we are.

    When participants were told that men and women scored differently on a particular test, female participants’ performance dropped dramatically. Male participants’ performance on a task dropped after interacting with an attractive female participant. When children are in a group on Halloween, they take more candy on average—but when children were singled out and asked their names, they took far less candy.

    7. Being watched sometimes helps—except when eating.

    Having an audience of people watching you complete a task improves performance on simple tasks but hinders performance on more complex tasks or when learning a new skill (they showed this with both humans and cockroaches—don’t ask). The mere presence of someone in the room causes this effect; even a repairman working on something in the corner slowed people down. Yet when it comes to eating, a full chicken will overeat in the presence of another chicken, and animals eat more in pairs than when alone.

    8. Comparing people to their friends is the most effective way to make them do something.

    When an electric company tried to encourage people to save energy at home, telling them “your neighbors are reducing their energy use” led to a 2% reduction in household usage. Telling people “save energy to save money” or “save energy to save the environment” did not decrease, and in some cases increased, energy usage.

    9. Context—where we do something—has a substantive effect on what we do.

    56% of actual voters voted for a pro-school budget when voting in a school vs. 53% otherwise. While that effect may not seem huge, it’s statistically significant and was reproduced in a lab environment (64% of people voted for a fake pro-school budget when shown pictures of a school vs. 56% who voted for it otherwise).

    10. The more you’re exposed to something, the more you like it—this is called the mere exposure effect, and it works in milliseconds.

    Participants shown a foreign word frequently were more likely to say the word had a positive connotation. The most immediate application of this effect is advertising; the more often you’re exposed to a commercial or ad, the more positively you will rate the company. Flashing images that elicit positive or negative emotions for only a few milliseconds subliminally conditions your attitude.

    People liked familiar objects more than abstract patterns, but in both cases participants overwhelmingly preferred curved objects over objects with sharp edges. Objects in category C (featuring both curves and edges) fell in between.

    11. Curves > Edges.

    Humans overwhelmingly prefer curved visual objects over objects with jagged lines.

    12. Don’t get hurt when there are a lot of people around you.

    Bystanders are less likely to intervene in a crime or help in an emergency as the number of observers increases, as each individual feels that someone else will help and responsibility is diffused. When a victim is bloody, people help less often—likely because there is a chance they would be exposed to pathogens. But victims who scream receive more help than those who don’t—clear and unambiguous danger is helped far more often than not.

    13. We really want to be happy, but being too happy can negatively affect our work.

    In a study of 10,000 participants from 48 different countries, happiness is rated as more important than any other personal outcome—more than finding meaning in life, becoming rich, or getting into heaven. Happy people more often label themselves as “curious,” and depressed people are more likely to notice small changes in facial expressions. Yet extremely happy people (9/10 or 10/10 on a happy scale) got worse grades and had lower salaries than moderately happy people (6/10, 7/10, or 8/10 on a happy scale).

    14. We do stupid things because we want to conform.

    In one study, a participant was placed in a group and asked to answer a seemingly simple question. The rest of the people in the group were all told to respond with the same incorrect answer to the question, after which the participant was asked to answer in front of the group. 37 of 50 participants gave the same incorrect answer as the rest of the group (even though it was very clearly wrong), either because they wanted to be “liked” by the group or because they thought the rest of the group was more informed than they. This effect was dampened by having just one other person in the group agree with the participant.

    15. We have trouble separating out traits in a person.

    Globally positive or negative reactions on a person (“he’s a nice guy”) affect our judgment of a person’s specific traits (“he’s attractive”). This is called the halo effect, and is particularly noticeable in celebrities; their attractiveness or fame also leads us to believe they’re intelligent, happy, or honest.

    16. We’re influenced by very particular types of rewards.

    Expected rewards reduce motivation on a task. Surprise rewards increase motivation on the same task. Fixed rewards are less powerful than performance-based rewards, even with creative tasks.

    17. Authority can fundamentally change our emotions and behavior.

    In the Stanford Prison experiment, participants were split into prisoners and guards and placed into a mock prison. In just six days (of a planned two weeks), the experiment had to be shut down because guards were harassing and abusing prisoners, and prisoners began showing signs of emotional breakdown.

    65% of participants knowingly delivered a lethal dose of electricity to a participant (who they later learned was fake) simply because the instructor in the room told them to.

    18. Authority can also make us be obedient and do things to other people we could never imagine.

    In the famous Milgram experiment, participants were told to administer a shock of increasing strength when a participant in another room gave incorrect answers to a series of questions. About halfway through, the shocks were labeled “danger: severe shock” and a recording was played begging the experimenter to stop the experiment. Yet in 63% of cases, the participant administered the maximum shock, even when the person they thought they were administering a lethal dose of electric shock to another human being.

    A recreation of the original Stanford Marshmallow experiment is predictably adorable. Longitudinal studies have shown that students who can resist eating the marshmallow are better behaved and get better grades later in life.

    19. Self-control at an early age might be indicative of success later in life.

    In the famous Stanford marshmallow experiment, a group of children participants were asked to wait in a room with a table full of marshmallows and cookies. If they wanted, they could have one treat now and the experiment would be over. Otherwise, if they could wait for the experimenter to return in a few minutes, they could have two treats. The children who couldn’t delay their urges—either they asked for the treat right away, or tried to sneakily eat a treat when the experimenter left—had more behavior problems, lower SAT scores, more trouble paying attention in school, and found it difficult to maintain friendships. In fact, a child who could wait 15 minutes scored 210 points higher on the SAT than children who could wait only 30 seconds.

    20. People aspire to round number goals.

    I tried to make this list 20 bullet points long instead of 19, and you do the same thing when trying to run 2.0 miles instead of 1.9. In Major League Baseball, players were four times as likely to end the season with a 0.300 batting average than 0.299. And when looking at over 4 million SAT scores, students who scored a 1290 were more likely to retake the test than students who scored a 1300—even though admissions offices did not statistically favor one score over the other.