When I was in school, I would sometimes get stuck on a math test because I had forgotten a rule or formula, and so I couldn’t “solve for x” the way that I was supposed to. When this happened, I’d skip the problem at first and do the ones I knew how to solve. Then at the end, I’d come back to the tricky problem and try the backup plan: guess and check! I’d just plug in different values of x and try to find the one that made the equation work. I’d try as many guesses as I could, and would try to pick each guess based on whether the previous guesses seemed to be getting closer or further from being correct.
Occasionally this would work, but usually I’d run out of time, frantically scribbling arithmetic when the teacher said “Pencils down!” It was frustrating to run out of time at the end. I remember thinking that if I had an unlimited amount of time, this guess-and-check strategy would actually work. Or if I could make guesses with superhuman speed. I remember having this daydream about being The Flash, and being able to quickly bang out guesses until I got to the right answer.
When I got to college, I was surprised to learn that this is actually how a lot of complicated high-level math problems are solved in real life. Seriously! The trick is to have a computer do the guessing for you, since they can guess-and-check with superhuman speed, like The Flash. If you’re trying to find the minimum of a function, one way to do is find the derivative, then set the derivative equal to 0 and solve for x, then find the second-order derivative and make sure it’s positive at that point to confirm that you’ve found a minimum and not a maximum. Another way to find the (effective) minimum is to program a computer to randomly choose a number, plug that number into the function, check the result, and repeat this 100,000,000 times, keeping track of the input number that produces the lowest function output. Extreme guess-and-check! This is a real strategy for finding the minima of functions that are too complicated to solve analytically.
There’s actually an entire field of math about this. They don’t call it the “Extreme Guess-and-Check Field” though, they call it numerical optimization. And they don’t usually say “guess and check.” Instead, they say (according to Google AI): numerical algorithms use iterative approximation methods to descent or ascend toward a solution.
Of course, there are better and worse ways to do the extreme guess-and-check. Picking each new guess completely randomly is basically the least-clever way to do it. A more-clever approach would be to check whether the output goes up or down with each guess, and try to keep moving the guesses in the same direction if the output keeps getting lower. Also, in real life problems there’s often more than one input variable. You might need to find the minimum of a function that has two, or three, or a hundred, or a trillion input variables. As the functions you’re trying to find the minimum (or maximum) of get more complex, they require cleverer strategies for the extreme guess-and-check.
There are other concerns too — for example, how can you make sure your final answer is truly the global minimum of the function, and not just a local minimum?
Maybe you should try starting with several initial guesses that are spread out, to try to cover the entire relevant search space. Or maybe you should occasionally have your next guess “jump” to a distant point to try to avoid getting stuck in the area of a local minimum.
Programming a computer to properly explore a search space of possible guesses is itself an interesting topic, with lots confusing-sounding methods that might seem intimidating, like Markov Chain Monte Carlo. I mean that must be confusing and difficult, right? It’s named after a Russian guy from the 1800s, for Pete’s sake!

But no, these things are often surprisingly simple. Markov Chain Monte Carlo is a method that helps you pick your next guess in a clever way, allowing you to incorporate both a prior probability about how reasonable the guess is, as well as how well the guess accounts for some observed data. (Often with MCMC the goal is to identify plausible parameters of an underlying probability distribution that accounts for some observed data, rather than finding a minimum/maximum of a function. Here’s a tutorial video I made if you’d like to learn more.)
Now, being simple isn’t the same thing as being easy. Complex problems sometimes require very clever guess-and-check strategies. For example, when neural networks are being trained, the next guess for the parameters is typically picked by calculating the derivative of the loss (a measure of how far off the model output is from where you want it to be) with respect to all of the model parameters, and then picking the next guess for the parameters by slightly moving all of them in the direction that should make the loss move downward the most steeply. So that’s both complicated and also surprisingly understandable considering how powerful it is. (If you’re a programmer, a fun exercise is to try training a neural network completely from scratch so that you understand exactly what’s happening at each step.)
So the real-life problems in numerical optimization are quite hard, but the field has a conceptual foundation that is easy to understand: that having a computer guess-and-check for you is a viable way to solve some complex math problems, and that coming up with clever guess-and-check strategies to explore a search space is itself a challenging problem to be worked on. Once you grasp this easy conceptual foundation, you can pretty quickly start thinking about the more difficult problems in the field.
The punchline to this post is that the conceptual foundation could probably be taught to kids much earlier than it currently is. I didn’t learn any of this until college, after I had already taken calculus. I think the rationale for that is that numerical optimization is used to solve problems that are too difficult to solve on paper with calculus, so you’re supposed to learn to solve the easy problems with calculus first. The thing is, the conceptual basis for numerical optimization is wayyyyyyy easier to understand than the conceptual basis for calculus. Think about it - one is about the rate of change of a function over an infinitesimally small interval (what even is that?), and the other is about making a lot of guesses and keeping the one that gives you the lowest or highest function output. There’s no reason that someone needs to understand calculus before learning the conceptual foundation of numerical optimization. In fact, it’s easier than a lot of the high school math I learned (definitely easier than trigonometry), and could probably be introduced at the middle school level.
What other topics have a simple conceptual foundation that goes a long way, and could probably be explained to kids? Some ideas:
Machine learning - there are patterns in the world that can sometimes be used to make predictions. If you think you’ve discovered a pattern, you can test it by seeing if it generalizes in a way that allows you to make predictions about things where you don’t already know the answer, but can check to see if you’re right. One challenge is being able to identify patterns, and another challenge (probably more difficult) is being able to verify the patterns and make sure you aren’t fooling yourself. The conceptual basis is really about epistemology, not fancy math. The math is just a way to describe a pattern.
Statistics - one of the challenges in understanding the world is trying to figure out if something is a coincidence or not. One of the uses of basic probability is for putting a number on how likely coincidences are under ordinary circumstances. Again, the conceptual basis is about epistemology.
Computer science - sometimes there’s more than one way to solve a problem that all give the correct answer, but the methods are not equally good. Even if two methods both arrive at the right answer, one still might be better than the other in terms of being easier, faster, requiring fewer resources, etc. The properties of these different methods for arriving at a solution are themself a thing to be studied.
Economics
Value gains from voluntary transactions - if one person has an apple but prefers oranges, and another person has an orange but prefers apples, then they can trade and both be happier as a result. The total happiness increases even though there is still only one apple and one orange.
Efficient market hypothesis - when I’m looking for a parking space in a crowded parking garage, sometimes I’ll think that I see one and get excited, but then it turns out there’s already a motorcycle or small car parked there, or it’s a handicap spot, so the space wasn’t actually free. Turns out it’s hard to find a space that everybody else missed on one of the lower levels, and what looks like a free space that everyone else missed often isn’t. (Ok this one is a bit clunky. Anyone have any better ideas? Basically trying to introduce the idea that it’s hard to find something that everyone else is also looking for, that disappears when somebody finds it. But want to be able to point this out in the world rather than talking about stocks.)
Game theory / coordination problems - the standard prisoners dilemma, and then noticing them in the world.
TODO - anyone have any ideas for these? If so, please leave a comment!
Expected value - maybe some simple betting game involving coin flips that pay off slightly better than 1:1 or slightly worse.
Information theory - bits, entropy, compression, etc.
Modeling and map/territory distinction
Scientific method, falsification, epistemic feedback loops
Probabilistic forecasting
Any other ideas?
My girlfriend and I recently had a baby, and we’ve been thinking a bit about how he’ll eventually be educated. We’re thinking that he’ll probably go to a regular public school so that he can get the normal childhood experience — socializing with other kids, getting the baseline reading/arithmetic education that we don’t really know how to teach, doing the after-school activities, etc.
But we’re also planning to do some supplemental homeschooling, particularly for his math/science/CS/ML education. We’re still brainstorming about what the supplemental homeschooling will look like, but here are some general thoughts:
Definitely not grinding through textbooks and worksheets, or boring tutoring sessions. Probably won’t make him do anything he doesn’t want to do. The point is to facilitate the pursuit of whatever he’s interested in, while also introducing him to the topics we think are cool (quantitative methods, computation, machine learning, biotech, genomics, forecasting, epistemology, etc) so that he can learn about them if he also thinks that they’re cool.
Again, this will be on top of a normal public school baseline, so we don’t have the pressure of needing to outperform a public school education on our own. Everything we’re talking about is extra.
We’ll probably teach him Python. Over the past year, computer programming has changed very drastically as a career field, such that most of the work no longer involves manually typing out blocks of code, memorizing / looking up syntax, or debugging by hand (getting a bit nostalgic writing this actually). So Python doesn’t really make sense for kids to learn as an eventual job skill, but I still think it makes sense to learn as a pedagogical tool to facilitate learning about other things and exploring concepts. When you’re learning about machine learning methods, neural nets, optimization algorithms, probabilistic simulations, etc, it’s very helpful to program these things from scratch. Once you can make one yourself by typing out lines of code where you understand what every line is doing, it reveals how simple and tractable these things are.
When he’s a bit older, the idea is to eventually have him working on fun projects — maybe a research project, maybe some garage engineering, maybe trying to start a business.
But when he’s younger, the goal is to be building up an idea-foundation with some of the simple, load-bearing concepts mentioned before. The idea is to figure out how to present these things at an early age, in a way that goes around all the fancy terminology and just shows the core ideas as being as simple as they actually are. I think a lot of this will be conversational. Basically discussing concepts verbally, like the Socratic method. But we’d still like to have some general strategies in terms of the questions to ask and conversational directions to take, in order to get the concepts to click.
We’re also interested in the development of free educational technology and materials. For example, I recently had this idea that it would be cool to have a book for babies/toddlers that incorporates random draws from a probability distribution, with occasional guesses about what the next draw will be, to help build intuition about probability, randomness, and forecasting. Of course you can’t really do this with a physical book, but it look me ~25 minutes with Claude to build and deploy a website-book Bernoulli for Babies, which is an attempt at this (source code here, PRs welcome). My girlfriend wasn’t really impressed with it, lol. She thinks it won’t work, and maybe she’s right! Maybe it’s a bad idea. But it’s pretty awesome how quickly ideas can be implemented with AI, tested, found to be bad, and rejected these days. So there will definitely be more educational technology ideas where this came from, probably most of them bad, but maybe a good one at some point!
Is anyone else also doing this type of supplemental homeschooling to lay the foundations of computational (and maybe other) subjects? Or interested in trying it? We’re interesting in collaborating with people and possibly trying to form an informal community around this effort.
We’re currently located in upstate NY and are probably moving to Baltimore in the near future, and are interested in possibly trying to form an in-person community for this around the general East Coast / Mid-Atlantic area. We’re also interested making a virtual community (maybe Discord) for sharing ideas and feedback with people from all over the place.
Just to reiterate, this is what we’re interested in collaborating on:
Supplemental homeschooling (in addition to regular school) for computational and maybe other subjects.
This will probably be idea-foundation-laying at younger ages, and project-based learning at older ages.
Starting an in-person community around this effort around the Baltimore area (or really anywhere around the North East / Mid-Atlantic).
Starting an online community for sharing ideas around this effort, with people from all over the place.
Development of free educational technology and materials in pursuit of this goal.
If you’re interested in collaborating / getting involved with this, please send me an email at mikest@udel.edu and then I’ll be sure to include you when we try to get it started (which might not be for a while since our kid is still an infant, but we’re currently in the planning stage). Also, having kids is not necessarily a requirement for getting involved. If you think you might have kids in the future, or if you’re childfree but interested in education and math/science communication, then we’d be interested to hear from you.
Thanks for reading!



