Friday, June 12, 2026

A New Homework Problem on Modeling

Russ Hobbie and I like to use the homework problems in Intermediate Physics for Medicine and Biology to illustrate modeling. But rarely does a problem encompass the entire process of constructing and analyzing a mathematical model. Gene Surdutovich and I try to do better in the 6th edition of IPMB (due out in a few months). Here is a homework problem that is not in any edition of IPMB, but that requires the student to analyze a model in its entirety. At least, that’s the goal. 

Section 11.1

Problem 4½. Consider a variable that changes discretely (in steps, not continuously). You measure it in consecutive steps and get 

step data
1 3.2184
2 4.0680
3 2.2896
4 4.6490
5 0.3875
6 1.3951

Your hypothesis is that this data can be obtained from a logistic map. Develop a mathematical model. Quantify it, analyze it, determine any unknown parameters, and decide if the data support your hypothesis.

The central question to be answered by this problem is: can this data be explained by a logistic map? You can’t definitively answer this question, but you can assess if the data support this hypothesis.

First you have to quantify what a logistic map is. The first equation in Section 10.9 of IPMB states that the logistic map is represented by the equation 


The counter j indicates which data point is which, and yj is the value of the jth data point. There are two parameters: a and y.

We will want to use least squares to determine these parameters. Least squares is simpler if the parameters enter the model linearly. Ours don’t, but we can define b = a/y and then write the logistic map as 


Now we are in a position to apply the method of linear least squares, as described in Section 11.1 of IPMB. Define the quantity Q as 


Q represents the average of the squares of the differences between the data and the model. (Although we have six data points, the sum goes from one to five. We can’t use j = 6 because then we would need a seventh point for yj+1). Our goal is to minimize Q, thereby obtaining the best fit to the data. The variables we can vary to minimize Q are a and b. To find the minimum, we set ∂Q/∂a = ∂Q/∂b = 0. Setting ∂Q/∂a = 0 gives

which reduces to

Similarly, setting ∂Q/∂b = 0 reduces to

Next, you need to calculate all these sums. I find it easiest to construct a table like that below

 j    yj   yj2   yj3   yj4    yj yj+1    yj yj+12
1     3.2184    10.3581    33.3365    107.2902    13.0925    42.1367
2    4.0680    16.5486    67.3198    273.8570      9.3141    37.8897
3    2.2896      5.2423    12.0027      27.4814    10.6444    24.3713
4    4.6490    21.6132  100.4798    467.1305      1.8015      8.3751
5    0.3875      0.1502      0.0582        0.0226      0.5406      0.2095
6    1.3951                    
sum
    53.9124   213.1970     875.7817     35.3931   112.9823

The two equations for a and b become

53.9124 a – 213.1970 b = 35.3931

213.1970 a – 875.7817 b = 112.9823
You can solve these two linear equations for the two unknowns. You will find 
a = 3.920 and b = 0.8253 

which means that 

a = 3.92 and y = 4.75

These are exactly the parameters I used to construct the original data. If you calculate Q, you will get zero (expect, perhaps, for some round-off error) because I didn’t add any noise to the data. The model explains the data well.

The two parameters have different interpretations. The parameter y merely scales the size of the data. Dividing yj by y transforms the data so it lies in the range between zero and one. The parameter a, however, cannot be scaled away. It’s a fundamental parameter characteristic of the logistic map (Eq. 10.39 in IPMB). Moreover, a = 3.92 is well into the range for which the logistic map results are chaotic.

Other than for practice, why create this new problem? It requires the student to go through the entire modeling procedure. Translating the hypothesis (the logistic map) into quantitative form, identifying the unknown parameters (a and y), using least squares to evaluate the parameters from the data, and examining the quality of the fit to determine if the calculation supports the hypothesis. You are getting about as close to modeling as you can hope for with a simple homework problem. 

The Five Step Method: Math Modelling, with Jason Bramburger  

https://www.youtube.com/watch?v=zw9Y4t-Nh3E 

Friday, June 5, 2026

Grandparents For Vaccines

For the last six months, I’ve been the Michigan Representative of the volunteer group Grandparents For Vaccines. Our group’s mission is to ensure America’s grandchildren have their best start in life without the threat of vaccine-preventable diseases. We do this by sharing the stories of people who have lived during the time before vaccines were common. 

Are Electromagnetic Fields Making Me Ill? superimposed on Intermediate Physics for Medicine and Biology
Are Electromagnetic Fields
Making Me Ill
?
There’s a link between being a coauthor of the textbook Intermediate Physics for Medicine and Biology and volunteering for Grandparents For Vaccines. In IPMB, Russ Hobbie and I discuss the misconceptions associated with electromagnetic fields, such as the debunked claims that 60-Hz powerline fields cause leukemia and radiofrequency fields emitted by cell phones cause brain cancer. I explored these topics further in my popular science book Are Electromagnetic Fields Making Me Ill? A tremendous amount of misinformation and many conspiracy theories are associated with these issues. After the rise of the Make America Healthy Again movement, I noticed similar misinformation and conspiracy theories associated with the opposition to vaccines. Naturally I was attracted to groups advocating for vaccines, especially vaccines for children. In addition, last August I became a first-time grandfather. So Grandparents For Vaccines seemed like a perfect fit for me.

Want to learn more about Grandparents For Vaccines? This week I had an essay published by Your Neighborhood Scientist. This nonprofit organization works to make science accessible, understandable, and human-centered. It strives to explain why science is important to communities and why we should support science. Boy, do we need more of that. I thank the founder and executive director of Your Neighborhood Scientist, Audrey Drotos, for publishing my essay and am grateful to the two editors who helped me write it: Trinity Pirrone and Kate Giffin. You can read the essay here.

Another place to learn about Grandparents For Vaccines is Kristen Panthagani's post in her Substack account You Can Know Things. As time goes by, I appreciate more and more the importance of science communicators like Panthagani, Drotos, and others

During the Lincoln-Douglas debates, Abraham Lincoln said

In this age, in this country, public sentiment is everything. With it, nothing can fail; against it, nothing can succeed. Whoever molds public sentiment goes deeper than he who enacts statutes, or pronounces judicial decisions.
I believe this holds true for the role of science in America today. We cannot defeat the forces of antiscience by legislation or lawsuits. Our only hope is to convince the public of the value of science. 

The main thing Grandparents For Vaccines does is collect videos of people (mostly, but not exclusively, grandparents) telling stories about their experiences with vaccine-preventable illnesses. If you want to hear some of these inspiring stories, you can find them on the Grandparents For Vaccines YouTube channel. I link to several of these stories below, and others can be found in my Your Neighborhood Scientist essay. If you have such a story of your own, please consider sharing it with us.


 Christine from North Carolina talks about getting the polio vaccine as a child.

Teri from Oregon tells her story about vaccines. The irrepressible Teri Mills, a retired nurse, recruited and trained me as the Michigan Rep for Grandparents For Vaccines.

 DeeDee from Colorado is another nurse who understands the importance of vaccines.

Kathryn from Virginia describes polio pioneers during the first polio vaccine clinical trial.

 Renowned vaccine scientist Paul Offit describes a polio unit in the 1950s.

Arthur Lavin is the founder of Grandparents For Vaccines.

 This is the worst of this bunch of videos, recorded by an odd guy with poor public speaking skills. I include it to show that even if your story isn’t the most inspiring or articulate one, it’s still worth telling.