affine·mess
rest on a face to turn it · click the front faceswipe to turn · tap the front face
02

Papers

peer-reviewed, mostly
01

Applets

click a card to open it
03

Desmos

graphs you can play with · click a card to open it

Demonstrations

graphs that show some mathematics

Eye candy

no theorem, just pretty
04

Media

talks, videos and podcasts
05

Quora

a few of my math answers on Quora
Answer of the day
read →
2023Can a quantum computer calculate the factorial? This factorial is (( (((3!)!)!)!)!)! .No. I would encourage you to ignore most of the nonsensical answers given here. First of all, by “calculating” you probably mean producing the sequence of decimal digits of the indicated number. For… 2021What is the largest prime number printed by a computer?As of February 10, 2021, the largest known prime is … And here it is, printed in its full glory. Yes, right there. There, right above. Three lines ago. Yup, this is it. It’s printed. On your screen.… 2021In mathematics, it is possible to calculate problems in infinite dimensions. Is this just another failure of logic or might this be useful for anything other than giving students a headache?People sometimes react with disdain, fear, concern, disbelief or outright shock to the idea of infinite-dimensional spaces (or manifolds, or other entities), seeing as three dimensions were good… 2020How many prime numbers in total are known as of November 2020?Let’s head over to Wolfram|Alpha together. Wolfram|Alpha Type in “Random 1000 digit prime”. Wait a few seconds. You should see something like this: You can tap “More digits” to see more digits.… 2020What are some programming problems that look hard at a first glance but are actually easy?Here’s a black and white image. It is represented, as you’d expect, as an array of bits: 0 is white, 1 is black. Your programming challenge is to determine the number of connected components in such… 2020Why do they teach integration and derivatives in high school? What is its use in day-to-day life?This question, and a million others like it, should win some sort of award for the most perennial, persistent, insistent, consistent, constant conundrum among Quora queries. I find that sad. Question… 2020What real numbers will we never know (even the approximate) value of?…. I contend that we won’t ever know whether this number is positive or negative, whether it is more than a billion or less than a billionth, whether its integer value is odd or even, anything of the… 2020Is 64 the first perfect square and a perfect cube? Is it the only one?Come, I want to show you something. If x is any integer, then x^3 is what you’d call a perfect cube. And if y is any integer, then y^2 is what you’d call a perfect square. If a number is both a… 2019Which is the larger number: one googolplex or Graham's number?HAHAHAHAHAHAHAHA!!! Not even close. Not even remotely close. Not even funny, how not even close these two numbers are. They aren’t in the same ballpark, the same world, the same universe, the same… 2019What would happen if a supercomputer calculated pi out and discovered that it does end finitely?To make things clearer, let’s remove the marketing hype and the bits which may be unclear. Here’s an alternative question: What would happen if my iPhone calculator calculated 6 and discovered that… 2019What do complex numbers mean physically?Doesn’t work like that. Let’s start with real numbers. What do they mean physically? Well, everything and nothing. Everything, because we use real numbers as models for position, distance, time,… 2019Why are there so many intellectuals (e.g. those in certain branches of mathematics and philosophy) thinking so hard about problems whose solutions have little to no real-world significance? Are all truths actually profound and important to arrive at?The reason people think hard about problems that interest them is because the problems interest them. They don’t know if the solutions have “little to no real-world significance” (and neither do… 2019Which is larger? or I often suggest this as a problem to be solved by completely elementary means: no Stirling, no logs, no nothing. The key observation is that n! < n^n. This should be obvious: n! is the product of n… 2019Why don't we just invent math that will allow us to solve problems like x^x = 2 so we don't have to use numerical methods?We did. But there’s plenty of confusion around what it means to “solve” equations. Take x^3=2. Can you solve it? Sure: …. So we have the “math” to solve this equation without resorting to numerical… 2019Why do computers take more time in prime factorization than in multiplication? The time difference is too much.How long would it take you to mix a cup of sugar and a cup of salt? How long would it take you to separate them back? Many actions, even reversible ones, require very different resources to do and to… 2019Math question: You are allowed to take as many (positive) whole numbers as you want that add up to 20, and then multiply them together. What is the biggest possible result you can get?20? Why 20? That’s a number both boring and small. Imagine that we are allowed to take as many whole numbers as we want that add up to a trillion, and then multiply them together. What is the biggest… 2019Can there exist 100 lines in the plane, no three concurrent, such that they intersect in exactly 2002 points?Yup. This looks like a geometry problem, right? It’s not. It’s a problem in number theory. The geometry part is almost entirely a red herring. You see, when you have lines in the plane, any two lines… 2019What makes statistics/probability easier than other subjects?Easier? Probability and statistics are the most devilish, treacherous, subtle, confounding subjects out there, by a wide margin. They seem easy. To laypersons, to students, to professional… 2019What are some mathematical proofs which appear to be correct, but are actually incorrect?The most fiendish false proofs are not proofs of incorrect assertions. They are faulty proofs of correct assertions. When someone offers a proof of an incorrect assertion, you know that at some point… 2019For any given prime number, can you estimate what the next prime will be based on any pattern apparent in the sequence of the previous primes?‘Hey, Salviati, can you estimate the next prime after 100003?’ ‘Sure. It’s 100019.’ ‘Wait, what? How did you know?’ ‘Oh, easy. …, so 99910 is divisible by both 97 and 103, so neither 99910+97 nor… 2018Is the sequence bounded?Oh. My. Gauss. What a punch drunk lovely squiggly wiggly sequence that is. First, let me answer the question, so you don’t have to suffer through the rest of my musings: no, the sequence isn’t… 2018In simple terms, what is an isomorphism in mathematics? For example, what does it mean that there is an isomorphism between the real and complex numbers?Here’s a chess set [1]. Here’s another chess set [2]. They look rather different, but they are both chess sets. When people play chess with these sets, or any other, they are playing the same game.… 2018When has an unsolved conjecture been disproved by counter-example?In 1856, Moritz Abraham Stern found a counterexample to a 100-year-old conjecture of Goldbach, which stated that every positive odd integer is either prime or the sum of a prime and twice a square.… 2018Can you show me how to integrate by using partial fractions?Oh, I’d be happy to. Integration by partial fractions has a peculiar pedagogical pedigree. It is often presented in calculus courses as a way of integrating rational functions, but it is rarely… 2018Can anyone explain in layman's terms where the Taylor series comes from? Why and how does it work so well?= I’m sitting in my car. = Good for you. = Can you tell me where I’m going to be 5 seconds from now? = Um, no. How could I? = You can ask me questions. = Fine. Where will you be 5 seconds from now? =… 2018For mathematicians: What would be the most surprising new finding?(EDIT: A lot of people are expressing shock in the comments regarding the statements in the list below. To be clear, once again, none of these things is known to be true, and in fact they are widely… 2018What is the math formula for ?Here are two numbers: a = 37 b = 63 Someone’s asking you for (a+b)^5. What do you do? Lots of people have suggested the binomial formula as an answer to this question. This means … which may just be… 2018How do I solve the polynomial , with no approximation?Oh man, someone hand-crafted this polynomial VERY carefully! Where did you come across this question? This seems suitable for a course in computational Galois theory… The roots of this polynomial,… 2018What are coffin problems in mathematics?“Coffin problems” are extremely difficult math problems which, nevertheless, have elementary solutions. They were devised for and used by admission committees at Soviet universities in the 70’s and… 2018What is the explanation of the solution of problem 3 from IMO 1988?Oh, that’s a fun one. I believe this problem can be solved quite easily given enough time (not all IMO problems can.) It’s much harder to do under time pressure, which is why it’s a P3; you’d need… 2018Given , what are the values of ,, and if they are integers?This is a surprisingly useful little question. In geometry and group theory ( triangle groups), there is interest in classifying triplets of numbers a,b,c by comparing … with 1. A triangle with… 2018How do I solve this Whatever function f(x) is represented by the infinite nested radical … we can reasonably expect it to satisfy … This is because what follows the first “ x+ ” in the nested radical is precisely the… 2018Is it possible that pi is finite, but we haven't calculated it in full?My first reaction to this question, and many others like it, is exasperation. Really? Again? But let me start with a few straight up answers, before I indulge in some measured ranting. It’s not… 2018How do I convince my son not to major in math?The question’s details: “My son is a high school senior who plans to major in math. I would be fine with that, but he's just not that good at math. In all 4 years of his high school career, he had to… 2018What is the value of ?Oh my, what a fun question! Seriously, I have a whole new math circle plan just as a result of solving this gem. Very nice. Despite appearances, this isn’t actually a rote calculation problem. It is… 2017How do you prove that ?Oh man, you totally spoiled it! This isn’t how you ask the question, come on! You ask it like this: What is … And then you sit back and enjoy the spectacle of everyone saying that it’s obviously 1,… 2017How do I prove that is irrational?We are assuming, of course, that n is a positive integer. If … then … … … … This is a monic polynomial (leading coefficient 1) with integer coefficients. Rational roots of such polynomials must… 2017Can quaternions be explained to a nonmathematician?Sure. Dimension 1: The Real Numbers We all (presumably) know that numbers can be added and multiplied. “Numbers” here usually means real numbers, which you may be familiar with from school. They are… 2017Introductory courses in linear algebra tend to start with either vectors or systems of equations. Which do you prefer to start your course with and why?“Hello everyone! This is an introductory course in Linear Algebra. Linear Algebra is absolutely fundamental for both the theory and application of mathematics, and it provides an excellent… 2017What is it like to be a blind mathematician?My father had been blind most of his adult life. He was also a mathematician, of sorts: he held a Ph.D. in mathematics and though he wasn’t in academia, he spent much of his professional life around… 2017If a math curriculum were designed solely around math that the average person were likely to encounter in their life, what would be included?A few comments first, if I may? The History curriculum is not designed solely around history that the average person is likely to encounter in their life. The Physical Education curriculum is not… 2017If X+1=X , then what is the value of X?Wait. Let's start with something easier, ok? If x^4=16, what is x? In some contexts, the answer is clear: x=2. In other contexts, the answer is just as clear: x=2 or x=-2. And in another context the… 2017How do you solve the functional equation ? (P2 from 2017 International Math Olympiad)Let me take this opportunity to solve another math problem terribly. Problem 2 in the 2017 IMO was this functional equation: Problem 2. Let … be the set of real numbers. Determine all functions …… 2017What are some fast algorithms for computing the nth power of a number?This question leads to an absolutely delightful little theory which everyone should know about (and everyone would know about if everyone read Knuth’s TAOCP cover to cover, as everyone should). So… 2017What are , , and in ?It depends. If you want three real numbers x,y,z satisfying x^3+y^3+z^3=33 then there are infinitely many, and they are very easy to find. If you want three rational numbers x,y,z satisfying… 2017Is it difficult to prove Fermat's Last Theorem for case ?“Difficult” is in the eye of the besolver. “Fermat’s Last Theorem” (FLT) for exponent 3 is the statement that a^3+b^3=c^3 has no solutions in nonzero integers. It would make a very difficult puzzle… 2017A machine outputs random real numbers between and , until their sum exceeds . How many numbers will it need to generate, on average?Here's a little trick that's often useful: when a random variable takes on positive integer values, its expectation is The probability that it is at least 1, plus The probability that it is at least… 2017How would I find ?What is the square root of 9? Well, it's 3 of course. Remember when you learned that? Perhaps you discovered it yourself? If you did, it wasn't because you followed some magical recipe for finding… 2017What is an example of a conjecture that was proven wrong for "very large" numbers?12 isn't prime: it's composite. So is 121. So is 1211. So is 12111. So is 121111. So is 1211111. So is 12111111. This seems to be a persistent pattern. Let's keep going. Seven 1’s, composite. Eight,… 2017What is it like to prove a theorem no one has ever proven before?It’s a special, peculiar, lovely, lonely thrill. How big of a thrill depends on the circumstances. The theorem could be tiny or huge, famous or unknown, profound or superficial, nifty or stunning, a… 2017How do you find the positive integer solutions to I was playing around with several cubic representation problems in the style of previous work by Andrew and Richard Guy. The numerical results were fascinating…” ( comment on MathOverflow) This is… 2017Is it just a coincidence that the derivative of is also or is there some feature in the function due to which this happens?Oh goodness no, of course it’s not a coincidence. The function which is its own derivative is the fundamental idea here, and the logical starting point. This function is the exponential function …… 2017How would I go about getting a math PhD by the age of 25?I have the will and the passion to want to get such a thing. I love math beyond all things. Being only 14, I (surprisingly) have found my passion and I know that a math PhD is my goal. I’ve begun… 2017How did Germany lose its edge in mathematics?Judging a country’s level of excellence in mathematics by the number of Fields medal recipients is dubious (and I’ll be shocked if Germany doesn’t land another Fields at the next ICM*), but it cannot… 2016What if I requested the last room at the Hilbert's Hotel?“Welcome to Hilbert’s Hotel, transfinitely serving your needs since 1883! How may we be of service?” “Yes, I’d like to have a room, please.” “Very good, sir. Which room would you prefer? Our rooms… 2016I am not amazingly good at maths, so it is obvious to me whether I can solve a problem or not after 5 minutes. How do people spend hours on problems?How do people spend hours on problems? Excellent, excellent question. One of the bad misconceptions people have about math problem solving is that it’s a mechanical process: either you know which… 2016Was what the mathematician Ed Witten did to receive the Fields medal legitimate mathematics, or not?“Physicists on Quora and in the physics community claim that Witten does not follow mathematical rules in his creation of string theory. So was his mathematics for the fields medal legitimate or is… 2016In mathematics, how do you know when you have proven a theorem?Oh, fantastic question, and one which I’m well positioned to answer. Why? Because many times I thought I proved things when I actually hadn’t. And I thought I failed to prove things when I actually… 2016How do you prove that a number is even?Proving that a number is even can be easy for a 4th grader, hard for a smart high-schooler, worthy of a math Ph.D. at Harvard, or beyond the current abilities of all the world’s mathematicians put… 2016If is then what is ?The first known attempt at answering this question is in a letter written by Daniel Bernoulli on October 26, 1729. That’s 287 years ago. (See “Why is the Gamma function so [ sic ] as it is?” By… 2016What are some examples of non-trivial or difficult counterexamples to mathematical conjectures?Oh, this is going to be fun. First, a point of terminology: there are no “counterexamples to mathematical theories ”, because a theory isn’t a single statement that can be refuted with a… 2016Could we "invent" a number such that , similarly to the way we "invented" ? What would be the effect on modern math if we did so?You may not be aware of this, but mathematicians are very imaginative and creative people. They love defining new things, they love analogies, they love challenging accepted assumptions and they love… 2016What math problem with an elementary solution was unsolved for the longest period?Being a competitive guy, I'll offer a problem that I think stood the longest. Naturally, I'm going to stretch the meaning of "elementary solution" so much that it writhes in agony, but this is… 2015Are there any numbers which don't fall into at least one of the categories of real numbers, imaginary numbers, or complex numbers?Yes, here's one: …. "Wait!", I hear you cry. "That's not a number, It's a function!" OK, let's think about that for a second. Many years ago, when the human race was younger, the only "numbers" were… 2015Is it still possible for a mathematician to be competent in most of the areas or fields of mathematics?No, it is no longer possible, and has been impossible for about 100 years. Hilbert and Poincaré are considered to be the last mathematicians to have mastered so much of the mathematics of their day… 2015What is a great riddle that has no right answer?A group of people are standing around in a circle. Every ten seconds, every person simultaneously shoots a random other person (with a laser tag system, of course. Nobody is actually hurt). If you're… 2015Why is the obvious proof of the four colour map theorem, which says that any planar map can be coloured using only 4 colours, seemingly wrong? If 3 colours are all touching each other, then the 4th colour that touches all 3 must encircle one of them.I'd like to offer a perspective that may help readers understand more clearly not only why this proof doesn't work, but what is it about this kind of approach that makes it unlikely to succeed. At a… 2015Why did Riemann propose the Riemann zeta function?Riemann was, first and foremost, a geometer. His deep research into the structure and geometry of manifolds set the stage for the field known today as Riemannian Geometry, which is fundamental for… 2015Is the only solution of the equation where are integers?Alright, buckle up. I'm going use this little problem as an excuse to introduce the wonders of Algebraic Number Theory, at least a small portion of it. Ready? Ok. We're trying to solve 3^n = m^2+2… 2015How did Andrew Wiles succeed in proving Fermat's last theorem when others had failed?A facetious, provocative answer with a shred of truth: he did not. Andrew Wiles didn't actually prove Fermat's Last Theorem. Not directly. He proved a much deeper and more important result, the… 2015Is (a googol plus 1) prime?No, googol+1 isn't prime and you don't need a computer to see that. If m is odd, then (-1)^m=-1 so (-1)^m+1=0 or put differently, -1 is a root of the polynomial X^m+1, which is the same as saying… 2015Let and be positive integers such that divides . Why must be a perfect square?This may be the single most famous elementary number theory problem of recent years, discussed many times on forums such as artofproblemsolving, math.stackexchange and elsewhere. It was also problem… 2015What is 2 raised to the power of 50,000?Most answers given are somewhat baffling to me. We are considering a number: two to the power fifty thousand. That's two times two times two times... Lots of times. Big number for sure, relative to… 2015On average, can a person with a PhD in mathematics answer most of the questions on math.stackexchange?My intuition said "likely not", but I decided to check. I looked at the list of top questions as of right now, 1/1/2015, 9:52am PST. I marked "No" questions that don't seem to me to be necessarily… 2014What do mathematicians say about this picture shared on 9gag, claiming that all information is found in the digits of π?AAARGH!!! When will this nonsense go away?! Never. It will never go away, I'm desperately certain. A hundred years from now people will still be sharing this hackneyed hokum. A thousand years in the… 2014In an online lecture, a professor mentioned that Einstein could draw or imagine a 4-dimensional figure. How can one possibly do that?Here's a 3-dimensional figure. ​ Right? Wrong. The knot is drawn on a flat screen, that of your phone or computer, so the image is decidedly 2-dimensional. However, it provides visual cues that help… 2014What is the practical usefulness of learning the Nth root of a number?My soon to be 7th grade son asked me. I/we could think of good reasons for finding 2nd and 3rd root, but not Nth. Any good explanations? Does he play the piano, by any chance? You may teach him that… 2014What makes mathematics beautiful?What makes anything beautiful? We don't know exactly, of course, and there's no single answer. But some themes come to mind. A subtle blend of the familiar, the reassuring, with the surprising, the… 2014What are the most interesting or popular probability puzzles in which the intuition is contrary to the solution?How to Confuse Curious Minds My Pattern is Better than Yours 1. Flip a fair coin twice. What is the probability that you get two heads (HH)? What is the probability that you get heads followed by… 2014What is a simple explanation for the general equation of the second degree?- Can you solve x^2=9? - Yes: x=3. - There's another solution. - Oh yeah, x=-3 works as well. - Good. How about (x+1)^2=9? - Well, I know that …... - Stop! Resist the reflex to expand this. It's… 2014How does a computer program convert different types of data like images or text files into binary data?Whatever thing you wish to represent in a computer, you need to find a way of converting it into numbers. This conversion process is sometimes completely faithful, meaning you can recover the… 2013How can I solve an equation of the third degree?There is more than one way to interpret "solve" in the context of equations in general, and polynomial equations in particular. In practice, most often you would solve a cubic equation (3rd degree)… 2013Have you created a problem that you couldn't solve in math or logic but that someone else could?That's actually one of my happiest achievements in mathematics. Some years ago I came up with a conjecture based on a combination of wishful thinking, minuscule amounts of data and extremely vague… 2013What is the point of pure mathematics?…are there any realistic benefits that actually help the world run? (Original question details) How is "actually helping the world run" synonymous with "having a point"? Does music help the world…
06

About

This is a growing collection of mathematical musings, doodles, writings and talks.

My math bio includes being a board member of Proof School since its inception, a frequent writer of mathematical answers on Quora, a regular leader of Math Circles in the Bay Area, and various appearances and talks. I have a Ph.D. in math from the Hebrew University, Jerusalem, and my Erdős number is 2.

Outside of math I work in tech and finance, jog, bike, play the piano and drink too much coconut juice.

Alon