Simply supported beam—dummy unit load method
June 5, 2026 at 7:51 AM by Dr. Drang
We’re in the home stretch of this series, so ANIAT will soon go back to complaining about Apple’s UI choices.1 Next week’s WWDC keynote should provide some inspiration.
But today’s post covers our eleventh method for deriving the center deflection of a uniformly loaded simply supported beam: the dummy unit load method. When I was an undergraduate, this was the method we used to determine the deflections of truss structures, but it’s more general than that. My favorite explanation of why it works is in Nicholas J. Hoff’s The Analysis of Structures. I have the original Wiley hardcover of this book, but you can apparently get both paperback and hardcover reprints.
Hoff uses the principle of virtual work in his explanation, and I’d like to quote him here, but unfortunately his explanation is split between one section on the analysis of trusses and another on the analysis of beams. I couldn’t figure out a nice way to put them together coherently, so you’re just going to have to trust me.
For a beam, you can get the deflection at a particular point by following these steps:
- Work out an equation for the bending moment, M, in the beam for the given set of applied loads.
- Imagine that same beam with those loads removed (this is the dummy structure) and a concentrated unit load placed at the point at which we want the deflection. By definition, the magnitude of a unit load is one. The unit load points in the direction of the deflection we want to calculate.
- Work out an equation for the bending moment, m, in the dummy beam with the unit load.
The desired deflection is
Let’s apply this simple principle to our problem:

The bending moment is
where the x coordinate starts at the left end of the beam and increases to the right, as usual.
This same structure with just a unit load at the center is

Its bending moment is
and m is symmetric about the center of the beam.
Therefore,
and we can take advantage of symmetry to say
You can pretty much do this problem in your head if you’re good at figuring out least common multiples. I’m not, but after writing things out, I did realize that the LCM of and is .
-
Heads up, though. I recently thought of a thirteenth method that’s different enough from the others to merit another post. Sorry about that. ↩
Simply supported beam—finite element method
June 3, 2026 at 8:24 AM by Dr. Drang
The biggest problem I face when writing posts in this series is deciding how much background explanation to put in. If I included only the stuff I do to get the answer, the posts would be very terse: one sketch and a dozen or fewer lines of math. A full explanation, though, could easily turn into several semesters’ worth of structural analysis theory. I’m trying to get close to the former while adding just enough background so readers with engineering experience can follow along. Even if you haven’t used the method of a particular post, you should be able to take what’s in the post and find the whatever further information you need to fill in the inevitable gaps.
This problem is most acute in describing today’s analysis. The finite element method—more precisely called matrix structural analysis or the direct stiffness method when applied to structures made of beam, truss, or frame elements—has many analytical parents: the Rayleigh-Ritz method, the slope-deflection equation, and matrix math. Presenting it without at least some of its antecedents would be a crime. But I will try to keep the introductory material to a minimum.
The fundamental piece of this analysis is the beam bending element. This is a length of beam with no interior loading, and its behavior can be described completely by four parameters, called its degrees of freedom. The DOF are the the displacements and rotations at the two ends (or nodes) of the element, usually numbered and directed as follows:

The DOF are often called generalized displacements, and we’ll refer to them as , , , and . The deflected shape of this beam is completely determined by the sum of the products of these generalized displacements and a set of shape functions that look like this:

Each shape function is a cubic curve that has a unit displacement corresponding to one of the DOFs and zero displacement corresponding to the other three DOFs. Apart from the sign convention, these are the same shapes we saw in our discussion of the slope-deflection equation.
There is a generalized force associated with each DOF; these are the forces and moments at the two ends of the beam, and we’ll call them , , , and . Note that when we multiply a u term by an f term, we get an energy expression. For DOF 1 and 3, that’s a displacement multiplied by a force; for DOF 2 and 4, that’s a rotation multiplied by a moment.
For this element, we can write a matrix equation for the relationship between the generalized displacements and generalized forces,
where
and
Each column is the set of generalized forces that correspond to that shape function.
You may notice that the terms in the second row of match the coefficients in the slope-deflection equation before the and terms were combined into the span rotation term.
What should we do when, as in our case of a beam with a distributed load, there is interior loading? We convert that internal loading into what are called consistent loads at the ends. These are equal in magnitude and opposite in direction to the reaction forces and moments that would occur if the interior loads were applied to a beam with both ends fixed: for DOF 1 and 3 and for DOF 2 and 4.
To solve a problem by the finite element method, we assemble the structural stiffness matrix, , and the structural force vector, from all the individual elements and then solve the structural equation,
for the vector of structural displacements, . As you can see, I tend to use lower-case letters for the element terms and upper-case for the structural terms. That’s a reasonably common, but by no means universal, notation.
In general, this assembly and solution of a matrix equation can be quite complex, which is why the finite element method is typically thought of as a process that requires a computer. But our problem is simple enough to do by hand.

Recall that in both the slope-defection and Myosotis solutions, we took advantage of symmetry and considered just half the beam. We’ll do that again here.

This half-beam has just two DOF, the rotation at the left end and the deflection at the right end. In the assembly process, element DOF 2 matches structural DOF 1 and element DOF 3 matches structural DOF 2. The other element DOF don’t appear in the structural matrix equation because their U terms are zero. Here’s an illustration of the assembly process for the stiffness matrix, accounting for the fact that the beam element has a length of :

I took a class in matrix structural analysis (CE 361) from Prof. Jamshid Ghaboussi in the fall of 1981. He used the phrase destination array for the list of structural DOF that the element DOF go to. I’ve always thought that was a particularly good description and have used it ever since, even though I don’t think I’ve ever seen it in any finite element textbook. Note again that DOF 1 and 4 in the element have no destination because those displacements are zero in the structure.
When the assembly of both the stiffness matrix and force vector (which is done in a similar way) are complete, we get this equation:
There are different ways to solve this, but because a 2×2 matrix is easy to invert, that’s how I did it. Premultiplying each side by the inverse of gives us
Matrix multiplication gives us
The signs are the opposite of what we’ve seen before because of the directions we used in defining the degrees of freedom. Physically, though, these are the same answers we’ve seen several times.
Simply supported beam—Castigliano's method
June 1, 2026 at 8:06 AM by Dr. Drang
Continuing our series on the many ways to get the center deflection of a uniformly loaded beam, we come to another energy-based technique: Castigliano’s method.
Castigliano’s second theorem provides a relationship between displacements, forces, and the strain energy in a linearly elastic system. The strain energy, U, is the potential energy of the system due to its deformation. For a generic elastic body, like this,

Castigliano’s second theorem can be as:
If an elastic system is mounted so that rigid-body displacements of the entire system are impossible and certain external point forces , , … act on the system, in addition to distributed loads and thermal strains, the displacement component of the point of application of force in the direction of force is determined by the equation
I took this from Henry Langhaar’s Energy Methods in Applied Mechanics, a favorite text of mine. I’ve altered the variable names to avoid conflicting with some variable names we’ve used in previous posts in this series.
Looking this over and thinking about it in terms of our problem,

two concerns come to mind:
- Our problem doesn’t have a point force at the center of the beam, where we want to determine the deflection.
- Even if we did have a point force at the center of the beam, how do we write an expression for the strain energy in terms of that force?
Let’s tackle the second concern first. Recall from our two Rayleigh-Ritz posts (Fourier and polynomial) that the potential energy associated with beam bending is
This is the strain energy, U. Unfortunately, it’s written in terms of deflection, not force, but we can fix that. We saw early on that the curvature, , and the bending moment, M, are proportional:
We substitute the second of these into the expression for U to get
Because the bending moment can be written in terms of the applied loads, we’ve solved the second concern.
We solve the first concern with a trick. We can pretend there’s a load, P, at the center of the beam, and write out an expression for the bending moment, M, that includes P.

We then do the integration to get U, take its derivative with respect to P, and—here’s the trick—evaluate the derivative for . This may seem like cheating, but it’s perfectly legitimate. Imagine P is very very small—it won’t contribute much to the deflection. So why not just make it zero?
Let’s go ahead and see what happens. The upward support reaction force at end of the beam above is , so we can draw a free-body diagram for the left portion of the beam like this:

where . The bending moment in the left half of the beam is therefore
and its square is
This formula applies only in the left half of the beam, but because of symmetry we know that
So
Taking the derivative with respect to P gives us
Therefore the downward deflection at the center of the beam is
as we’ve now seen many times.
Since this is based on Castigliano’s second theorem, you may be wondering what kinds of problems we use his first theorem to solve. It’s a good question, but one I can’t answer. In the 45 years since I first learned of Castigliano’s theorems, I’ve never used his first one.
Simply supported beam—energy minimization with a polynomial
May 30, 2026 at 2:09 PM by Dr. Drang
Today we’ll use the Rayleigh-Ritz method again, but this time we’ll avoid dealing with an infinite sum. In case you’ve forgotten, this is our problem:

We’ll express the shape as a polynomial. The form of the governing differential equation,
tells us that our solution won’t have any terms of higher power than . That gets rid of the infinity problem, but a generic fourth-order polynomial still has five parameters,
which is more than we want to deal with. Let’s cut down further on the number of parameters by taking advantage of some other things we know. First, the solution will have to be symmetric, so we can express it with symmetric terms right from the start. Second, we know the solution will have to meet these boundary conditions:
Here’s the form we’ll start with:
This is a fourth-order polynomial. We know it’s symmetric about the center of the beam because switching the and terms (which is like flipping the beam around) yields the same equation. And it’s clear that , so we meet two of the four boundary conditions. Now we’ll take on the other two boundary conditions.
We’ll use the product rule and a little algebraic rearranging to give us the first derivative with respect to x:
The second derivative is
Since ,
which means
and therefore, after some more algebraic cancellation and rearranging,
and
Because we started with a symmetric function, its second derivative is also symmetric and .
Now it’s time for Rayleigh-Ritz. Recall that the potential energy, , is
Plugging in our expressions for and gives us
where the first term is the potential energy of the bent beam and the second two terms are the potential energy of the load as it moves down with the beam.
The integrals are fairly easy to work out. Just expand the polynomials and integrate term-by-term. Here are the results:
and
Therefore,
We minimize this by taking the derivative with respect to a, setting it to zero, and solving for a. That gives us
which we’ve seen as an intermediate solution before.
Finally, after plugging in this expression for a, we get
Our old friend comes to visit again.