[Math] Common Math Mistakes Made by Scientists

big-listsoft-question

I am a mathematician by training working with a physicist. I have been invited to give an hour-long tutorial/presentation to incoming graduate students. These students are all coming in with physical sciences backgrounds and proceeding on with physical sciences like physics, chemistry, atmospheric physics, astronomy, etc.

One of the things I have always been surprised at is how callous come scientists can be with using mathematical results/ideas/theorems without fully understanding the assumptions required and then misapplying the result/idea/theorem and then also misinterpreting the results.

Two of my favorite examples are

  1. When fitting to a power law, convert the data to log-log and fit a straight line. This is just plain wrong because for least squares fitting, we assume the error to be normally distributed. In log-log space we get log-normal distribution of error. And it isn't that difficult to built an example which will show wildly different answers. This one is actively taught in the classrooms/labs.

  2. Misunderstanding $p$-values, how to generate them and understand them. I have seen people using Excel/MATLAB and just using the pull-down menus and doing statistical test after test without any true understanding of how/when to apply the test and then reporting 50 $p$-values "answering" 50 different questions on the same data set and then publishing them.

So my question is to this community, what kind of common math mistakes have you seen scientists do? What are some common misconceptions or misapplications have you seen scientists do that just make you cringe as a mathematician? I thought this would be a good topic to talk about with potential researchers and I just want to have a good pool of topics to talk about for an hour. In addition, if you have an example, then if you can point me to some good literature (paper/book/website) showing perhaps a proof and/or examples which I can demonstrate, that would be wonderful.

I hope this soft-question is not inappropriate here. Thanks.

Best Answer

Assuming that math formulae hold numerically, and then getting confronted with cancellations of significant digits. For the sake of its strange regularity, I'd like to present an example produced by my own naivity.

Fig. (a) below shows a phase plot of the (normalized) modular discriminant $$\Delta(q) = q\prod_{n=1}^\infty(1-q^n)^{24}\quad\text{for}\quad |q|<1$$ over $q$ in the complex unit disk. You will notice Moiré effects, but these are not the artefacts I am going to discuss here.

Note that $\Delta(q^2)$ can be expressed in terms of Jacobi Thetanull functions: $$\Delta(q^2) = 2^{-8} \vartheta_2^8(q)\,\vartheta_3^8(q)\,\vartheta_4^8(q)$$ These are related by Jacobi's Vierergleichung $$\vartheta_3^4(q) = \vartheta_2^4(q) + \vartheta_4^4(q)$$ The silly idea was to use the Vierergleichung to eliminate $\vartheta_4^4(q)$, giving $$\Delta(q^2) = \left(2^{-4} \vartheta_2^4(q)\,\vartheta_3^4(q) \left(\vartheta_3^4(q)-\vartheta_2^4(q)\right)\right)^2\tag{*}$$

Problem is that as $q\to1$, the Thetanull $\vartheta_4(q)\to0$ whereas the other two Thetanulls grow unbounded. Thus (*) uses an ever-smaller difference of two ever-larger complex values and soon looses all numeric accuracy. The result, computed with IEEE-754 double precision arithmetic, is shown in Fig. (b) below. Some of the artefact's features can be easily understood, others are still a mystery to me. Larger resolutions are available on request.

(a) Phase plot of $\Delta(q)$ as it should be (b) Phase plot with artefact

Related Question