When you expand (x + y)n, the coefficients increase then decrease. The largest coefficient is in the middle if n is even; it’s the two in the middle if n is odd. For example, the coefficients for (1 + x)4…
When you expand (x + y)n, the coefficients increase then decrease. The largest coefficient is in the middle if n is even; it’s the two in the middle if n is odd. For example, the coefficients for (1 + x)4…
From David Mumford’s May 2013 interview in SIAM News: The applied mathematician has the difficult job of looking at a problem in context with no explicit mathematics and trying to see what kinds of mathematical ideas are under the surface…
The floor of a real number x is the largest integer n ≤ x, written ⌊x⌋. The ceiling of a real number x is the smallest integer n ≥ x, written ⌈x⌉. The floor and ceiling have the following symmetric…
I was playing around with SymPy, a symbolic math package for Python, and ran across nsimplify. It takes a floating point number and tries to simplify it: as a fraction with a small denominator, square root of a small integer,…
Electrical engineers use j for the square root of -1 while nearly everyone else uses i. The usual explanation is that EE’s do this because they use i for current. But here’s one advantage to using j that has nothing…
SIAM News arrived this afternoon and had an interesting story on the front page: Applying math to myth helps separate fact from fiction. In a nutshell, the authors hope to get some insight into whether a myth is based on…
Modeling is more fun when you have some confidence in your modeling assumptions. I’ve been working with models of physical systems lately and it’s been more enjoyable than the medical modeling I’ve done over the last few years. I have…
This is an incomplete blog post. Maybe you can help finish it. One of the formulas I’ve looked up the most is the volume of a ball in n dimensions. I needed it often enough to be aware of it,…
How can you know when a matrix is invertible? Here’s a video from a college friend of mine that answers the question.
In honor of Pi Day, here are five posts I’ve written on calculating pi. Oldest series for pi Calculating pi with AGM and mpmath Ramanujan pi approximation Algorithm for pi world records A Ramanujan series for calculating pi
Define f(z) = iz*exp(-z/sin(iz)) + 1 and g(z) = f(f(z)) + 2 for a complex argument z. Here’s what the phase plots of g look like. The first image lets the real and imaginary parts of z range from -10…
Suppose you want to create a background image that tiles well. You’d like it to be periodic horizontally and vertically so that there are no obvious jumps when the image repeats. Functions like sine and cosine are period along the…
From the preface to Physics for Mathematicians: In addition to presenting the advanced physics, which mathematicians find so easy, I also want to explore the workings of elementary physics, and mysterious maneuvers — which physicists seem to find so natural…
I always thought that Fourier was the first to come up with the idea of expressing general functions as infinite sums of sines and cosines. Apparently this isn’t true. The idea that various functions can be described in terms of…
How do you take the Fourier transform of a function when the integral that would define its transform doesn’t converge? The answer is similar to how you can differentiate a non-differentiable function: you take a theorem from ordinary functions and…