Understanding the Happy Ending Problem

What’s This All About?

Imagine playing a game where you put dots on a piece of paper. The challenge is to find dots that can be connected to make different shapes. But there’s a catch – the shapes need to be “convex” (no dents or inward angles).

Think of it like this:

  • A triangle is like a pizza slice – always convex
  • A square is like a picture frame – also convex
  • A star shape has points going inward – not convex
Start with 5 points scattered on the paper

The Big Discovery

Esther Klein found something amazing:

  • If you place 5 points anywhere (not in straight lines), you’ll always be able to find 4 of them that make a convex quadrilateral (four-sided shape).
  • This works EVERY time, no matter how you place the 5 points!

But Wait, There’s More!

The Pattern Continues:

Mathematicians discovered that this pattern goes on for bigger shapes:

  • Want a triangle? You need at least 3 points (obvious!)
  • Want a square-like shape? You need at least 5 points (Klein’s discovery)
  • Want a pentagon (5 sides)? You need at least 9 points
  • Want a hexagon (6 sides)? You need at least 17 points

Why Is This Cool?

Think about these fun facts:

  • This problem led to a real-life love story! (Esther Klein married George Szekeres)
  • The numbers grow really fast – for a 7-sided shape, you need lots more points
  • Even today, mathematicians are still discovering new things about this problem

The Mystery That Remains

Mathematicians think they know exactly how many points you need for any number of sides, but they haven’t proved it yet! They believe:

  • For a shape with k sides, you need 2^(k-2) + 1 points
  • This works perfectly for shapes up to 6 sides
  • But for 7 sides and more, it’s still a mystery!
Solution to The Happy Ending Problem

Yildiz Culcu


Hi, I'm Yildiz Culcu, a student of Computer Science and Philosophy based in Germany. My mission is to help people discover the joy of learning about science and explore new ideas. As a 2x Top Writer on Medium and an active voice on LinkedIn, and this blog, I love sharing insights and sparking curiosity. I'm an emerging Decision science researcher associated with the Max Planck Institute for Cognitive and Brain Sciences and the University of Kiel. I am also a Mentor, and a Public Speaker available for booking. Let's connect and inspire one another to be our best!


Post navigation