Slide down the slippery slopes of this math puzzle

By Emma R. Hasson edited by Sarah Lewin Frasier

Graphic shows five randomly placed points within a square field with colored lines intersecting each pair of points to f

If five points are placed as shown here and straight lines are drawn between each pair of points, each line will have a unique slope. Almost all configurations of five points have this property.

Suppose you are allowed to intentionally place the five points anywhere as long as no three points can be contained in the same straight line. What is the smallest possible number of slopes that can be made by connecting pairs of points? How can you be sure?

Amanda Montañez

On supporting science journalism

If you're enjoying this article, consider supporting our award-winning journalism by subscribing. By purchasing a subscription you are helping to ensure the future of impactful stories about the discoveries and ideas shaping our world today.

Challenge: What is the smallest possible number of slopes determined by any number of points? Can you prove it?

Answer:

Three lines that form a triangle will always have three different slopes: if two of the lines were parallel (and thus had the same slope), they would not be able to meet up at a corner. This means the minimum number of slopes among three points that are not in a straight line is three.

Consider any configuration of five points in which no three points are in a line. Find the bottommost point and sweep out a line from it, recording the angles at which it hits the other points. If any two points share the same angle, they are both in a line with the lowest point, which means our arrangement of five points is invalid. Because that’s not allowed, we must have four unique slopes. Now draw a line from the first point you hit to the last. This line forms triangles with all the other lines and thus must give us a fifth slope—so the number of slopes is at least five. But is there a configuration with only five?

Consider the configuration where the five points form a regular pentagon:

Amanda Montañez

The pairs of points form lines tracing the sides of the pentagon and all of the diagonals contained within it. Each of the sides has a unique slope. Each of the diagonals is parallel to, and thus has the same slope as, one of the sides. This gives us five slopes in total.

The answer for n points is n slopes, and in each case, the configuration that realizes this is a regular polygon. By the argument above, there must be at least n slopes among the n points. In an odd-sided polygon, each internal diagonal is parallel to a side, as demonstrated above. In the even-sided case, it becomes a bit more complicated. Sides come in parallel pairs, giving n⁄2 unique slopes from the polygon’s sides, and every internal diagonal is either parallel to a side or parallel to another diagonal that skips one point along the edge. There are n⁄2 unique slopes from the internal diagonals, which gives n slopes in total.

We’d love to hear from you! E-mail us at games@sciam.com to share your experience. if you can't see the puzzle answer reveal above, visit this page in a web browser.

Great science journalism requires human expertise, time, effort and creativity. And it costs money. That’s why I and the journalists here at Scientific American hope you’ll join our community.

When you subscribe, you are supporting staff and freelance journalists who are passionate about telling science stories that are true, important and compelling. Our editors and reporters are often experts in their fields, which means they understand the nuances of big discoveries and can untangle the breakthroughs from the hype. With a subscription, you are also supporting rigorous fact-checking to ensure the words we publish are precise and accurate. And you’re supporting original illustrations, graphics and photos that bring you closer to an advanced laboratory, an ice sheet in Antarctica or a space mission in orbit. You’re helping us craft other types of high-quality journalism as well: Our newsletters are carefully written, edited and curated by staffers you have or will come to know and love. Our Science Quickly podcast is based on original reporting, collaboration with editors and scientists and exacting production.

Subscriptions keep this engine running so we can continue to deliver thoughtful, rigorous and independent science journalism to you. In an era of viral misinformation, this work is crucial. If you value what we do, I hope you’ll consider joining us as a subscriber