Minor notebook update
August 5, 2025 at 9:53 PM by Dr. Drang
I started a new notebook last week and thought it worth writing another update on how I’m using it.
I’m still using Feela A5 notebooks because they hold up well and are cheap—as am I. I’m still using a Pentel Kerry mechanical pencil; that’s it tucked in the notebook’s loop. I’m still keeping my index of pages in an iCloud file called Notebook index.txt
, and most of the index entries are still added through dictation via a Shortcut on my iPhone.
What’s new is that I’ve started keeping a to-do list in the notebook. I’m not busy enough to have a daily list, but a weekly list works well. Every Monday I write out two lists on a two-page spread: this week’s tasks on the left side and future tasks on the right:
A few things I want to mention:
- I took the photos for this post this morning. I have since done the weeding that’s third on the list, and I added a task for writing this post. I add the date next to the checkbox when I complete a task. I know there are systems that suggest markings other than checkboxes. Too fussy for me.
- The future tasks on the right are not the sort of overarching life goals you often see productivity gurus suggest. I don’t need to write down goals like that. The tasks on the right-hand page are basically the same sorts of things that are on the left-hand page, although typically a little less detailed. The only real difference is that I don’t expect to do them this week. I still write them down because otherwise I’d forget them.
- I add washi tape to tab the weekly task page for quick access and slice off last week’s tag with an X-ACTO knife. Washi tape is one of those things notebook freaks like to use, and of course I learned about it from Brad Dowdy and Myke Hurley. Sometimes I print out images from my computer to put into the notebook; I now use washi tape instead of Scotch tape to stick them in place. Apparently washi tape is not too fussy for me.
My notebook index file currently covers 8 notebooks and has over 500 entries. I got those numbers via egrep
. The entries for each new book start with a line like
Book: 2023-06-12 to 2023-09-24
so I can count the number of books using
egrep -c '^Book:' 'Notebook index.txt'
Each entry line starts with the date in yyyy-mm-dd
format, so they’re counted using
egrep -c '^\d{4}-\d\d-\d\d' 'Notebook index.txt'
I’ve been doing the one-notebook thing for about three years now. It’s one of the few productivity undertakings that I’ve stayed with for multiple years with no breaks.
Miscounting sheep
August 4, 2025 at 2:04 PM by Dr. Drang
This morning, I checked the iPhone Health app to see how long I’ve been sleeping recently. I wanted to look at the past month but mistakenly tapped the
button instead of the . This is what I saw:Now, I certainly don’t sleep 9½ hours per night. Or 9½ hours per week, which I guess could be another interpretation, given that each column in this chart represents a week. I decided to look back at the graphs for each of the past six months to see what they said:
All of these graphs make sense to me.
So what’s going on with the six-month graph? I thought I might find the answer by tapping on one of the weeks,
and comparing it to that same week in the “W” tab,
The weird bit of sleep around 6:00 pm (probably me falling asleep reading) is there in the both one-week graph and the six-month graph, so that makes sense. But there’s no sleeping much past 6:30 or 7:00 in the morning in the weekly graph, while the main body of the column extends past 10:00 am in the six-month graph. It’s just weird.
Normally, my posts are critical of graphs that make poor style choices or are otherwise bad at telling the story they’re meant to tell. But in this case, the data just look wrong. I don’t get it.
Beam deflections by the moment-area method
July 31, 2025 at 10:53 PM by Dr. Drang
My last few posts have involved the solution of differential equations. Structural engineers tend to avoid using the solution techniques taught in math class, partly because we’re not that good at math and partly because people who were good at math figured out ways for us to get solutions with only some simple geometric calculations. One of those ways is the moment-area method for calculating beam deflections. It’s a way of solving differential equations without solving differential equations.
Here’s a beam with a distributed load.
Under the beam, the thick black curve is the deflected shape of the beam’s centerline, and under that is a chunk of the beam showing the internal stress resultants; is the shear force, and is the bending moment. For the sign convention I’m using—which is the common convention used in structural engineering—everything is shown in the positive direction:
- The position along the beam, , is positive to the right.
- The deflection of the beam, , is positive downward.
- The distributed load, , is positive downward.
- The rotation or slope of the beam, , is positive clockwise.
- The curvature of the beam, , is positive when the curve is concave down.
- The shear is positive when it’s up on the left end of a free-body diagram or down on the right end of a free-body diagram.
- The moment is positive when it’s clockwise on the left end of a free-body diagram or counter-clockwise on the right end of a free-body diagram.
A few things to note:
I’m using primes to indicate derivatives with respect to , i.e.,
and
All deflections and angles will be small, so the slope and the angle taken as the same:
This also means that the curvature is taken as the second derivative of the deflection:
The beam is made of a linearly elastic material with Young’s modulus .
- The beam’s cross-section is constant with principal moment of inertia , the axis of which is perpendicular to . This insures that the beam’s bending stays in the plane.
These last three items are standard assumptions. You can relax the last two to allow for beams where and change along the length of the beam, but I won’t be dealing with that here.
A key relationship in the analysis of beams is that curvature and bending moment are proportional:
This is the differential equation that ChatGPT and Claude tried to solve in the posts I published last week.
A lot of a structural engineer’s education is spent learning how to draw moment diagrams—a plot of as a function of —quickly and accurately. This is because the stresses in a beam are determined primarily by the bending moment in the beam. And if you have the moment diagram, you also have the curvature diagram; you only need to flip the sign and divide by .
And it turns out there are some simple geometric calculations you can use to determine rotations and deflections from the curvature diagram. These calculations make up the two theorems of the moment-area method.
The first theorem is pretty simple. If we take the shaded area under the curvature curve between and , the result will be the difference in rotation between points A and B:
This is most useful if the rotation at A or B is zero, which you can often ensure by choosing one of the points carefully, but there are ways to combine it with other knowledge even when neither rotation is zero.
The second moment-area theorem is more complicated. Let’s start by looking at this integral:
This is the moment of the shaded area about point B, and we can do some interesting things with it. First, we’ll split it into two parts:
The first of these integrals is straightforward:
For the second, we’ll use integration by parts with
which means
So
which works out to
Putting the two parts together, we get some cancelation and
This form is more useful:
Looking back at our deflection drawing,
we see that the moment of the shaded area about B (that’s the integral) is the downward distance of point B from the tangent line drawn through point A.
This may seem like a mess, but it tends to be very easy to use in practice. Let’s use it to solve the cantilever beam problem that ChatGPT and Claude had trouble explaining.
The moment diagram is
We’ll put point A at the fixed end and B at the free end. That means and . Therefore, the moment of the shaded area about point B (after flipping the sign and dividing by ) will be the deflection at B. That works out to
which is the right answer. The reason this is so easy is that you know the area of a right triangle is one-half the product of the two legs and that its centroid is two-thirds of the way from the pointy end. Multiply the area (in the first pair of parentheses) by the distance its centroid is from point B (in the second pair of parentheses) and you’re done.
In practical problems, moment diagrams tend to be combinations of straight lines and parabolas, and once you know their areas and centroids, the moment-area calculations become second nature. A few years ago, I wrote a post with this diagram showing the areas and centroids of parabolic regions:
At the end of that post, I said I felt compelled to write a followup on the moment-area method. Obviously, the compulsion wasn’t that strong, as it took me three years to do it. But here it is.
Odd analysis in an old book
July 29, 2025 at 11:28 PM by Dr. Drang
In retirement, I’ve taken to going through old engineering textbooks to fill in holes that weren’t covered in my classes. These aren’t necessarily the assigned texts, but they’re books I heard about. Recently, I’ve started on Mathematical Methods in Engineering by Theodore von Kármán and Maurice Biot, published in 1940.
Early in the book, in a section about using separation of variables to solve ordinary differential equations, the authors derive the equation for a catenary in a way that seems a little odd to me. Here it is, where I’ve put together into a single image an analysis that’s spread over two pages in the book:
The first thing you may have noticed is that the last two equations,
and
don’t simplify their form by using hyperbolic trig functions. Most authors write these as
and
I don’t understand why they went to the trouble of manipulating the integral into the difference of two exponentials if they weren’t going to then use the definition
It’s not wrong, just odd.
Even stranger, I thought, was the expression for
I’m not complaining about how they should have used a dummy variable instead of inside the integral (although they should have). No, what’s strange is the expression they used for the answer:
where I’m making it explicit that the logarithm is the natural log. Not only does the introduction of the term seem to complicate the expression unnecessarily, it leads to the use of this bizarre trig identity,
to get the integral in the form they want.
Now it’s true that I haven’t memorized a lot of trig identities, but that’s one I’m sure I’ve never even seen before. And the thing is, there’s a simpler expression for the antiderivative of :
How is this simpler? Well, it’s obvious that
so it’s fairly easy to show that
as long as you remember that
Therefore,
which is where the authors want to go to get to Equation 3.11.
I now feel an obligation to look into books of similar or earlier vintage to see if von Kármán and Biot’s derivation technique was common back then.