The Monster That Expands Our Mathematical Imaginations

Ben Orlin shares his favorite fractal curve

Join Our Community of Science Lovers!

This article was published in Scientific American’s former blog network and reflects the views of the author, not necessarily those of Scientific American


On a recent episode of our podcast My Favorite Theorem, my cohost Kevin Knudson and I had the opportunity to talk with Ben Orlin, a math educator and author of the popular blog Math With Bad Drawings as well as two books, Math With Bad Drawings and Change Is the Only Constant. You can listen to the episode here or at kpknudson.com, where there is also a transcript.

Orlin decided to talk not about a theorem but about a favorite mathematical object, Weierstrass’s function. This function, sometimes known as a “monster,” answers the question of how closely continuity and differentiability are related. In mathematics, continuity is roughly what you might think it should be: a function is continuous if nearby inputs are sent to nearby outputs. (Is there a more rigorous definition? Yes! Here, if you insist.) A function is differentiable if at every point, you can find a tangent line, a straight line that approximates the function’s path near that point.


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.


In rough terms, when you think about graphs of functions, a continuous function is one that doesn’t have jumps, and a differentiable function is one that doesn’t have corners or spikes. It seems clear that a function must be continuous in order to be differentiable A function with one corner in it—an example is the absolute value function f(x)=|x|, where |x|=x if x is greater than or equal to 0 and |x|= −x if x is less than 0—is continuous everywhere and differentiable everywhere except at x=0, where it has that corner.

It’s not too hard to cook up a function that has a lot of corners like that. You can make a sawtooth function with a peak or valley at every integer, for example. That function would be differentiable everywhere except at those isolated points, which are infinite in number but politely spaced out. Weierstrass wanted to know whether there was a limit to how not differentiable a continuous function could be, and this example shows that it can be pretty darn non-differentiable! While the function is continuous everywhere, it is not differentiable at any point.

An illustration of the Weierstrass function, showing the way its cragginess shows up at every scale. Credit: Eeyore22 Wikimedia

To be pedantic, it is not quite accurate to say the Weierstrass function. Weierstrass’s original construction allowed for two parameters to be chosen, so there is a whole family of these functions. Since Weierstrass first published his curves, other mathematicians have defined more such monsters, and even proved that in a sense, most continuous curves are nowhere-differentiable. It’s a blow to those of us who like our math neat and tidy, but perhaps we can think of it as an invitation to think bigger and weirder about what we should expect in mathematics.

In each episode of My Favorite Theorem, we ask our guest to pair their theorem with something. You’ll have to check out the episode to see why Orlin thinks molecular gastronomy is the ideal accompaniment to Weierstrass’s function.

It’s Time to Stand Up for Science

If you enjoyed this article, I’d like to ask for your support. Scientific American has served as an advocate for science and industry for 180 years, and right now may be the most critical moment in that two-century history.

I’ve been a Scientific American subscriber since I was 12 years old, and it helped shape the way I look at the world. SciAm always educates and delights me, and inspires a sense of awe for our vast, beautiful universe. I hope it does that for you, too.

If you subscribe to Scientific American, you help ensure that our coverage is centered on meaningful research and discovery; that we have the resources to report on the decisions that threaten labs across the U.S.; and that we support both budding and working scientists at a time when the value of science itself too often goes unrecognized.

In return, you get essential news, captivating podcasts, brilliant infographics, can't-miss newsletters, must-watch videos, challenging games, and the science world's best writing and reporting. You can even gift someone a subscription.

There has never been a more important time for us to stand up and show why science matters. I hope you’ll support us in that mission.

Thank you,

David M. Ewalt, Editor in Chief, Scientific American

Subscribe