01
Updated Lagrangian formulation
At load step , the known current configuration becomes the reference configuration for the next load step. The unknown target configuration is reached at load step . Displacements and stresses at are evaluated with respect to the preceding configuration at , and all derivatives and integrals are evaluated with respect to that preceding configuration [1].
- The configuration at load step is known and serves as the reference configuration.
- The configuration at load step is the unknown target configuration.
- The nodal displacement increments and stress increments for the current step are measured from configuration .
02
Configurations and coordinate frames
The global reference frame remains fixed for every load step. The known beam configuration at load step has the local frame . The next configuration at is described relative to this frame.
The local quantities and shown between configurations and are displacement increments for the current load step. They are not total displacements measured from the initial undeformed configuration. Because these increments are small, the local frames at the beginning and end of one load step are close to one another.

03
Deformation energy and strain increments
The deformation energy of the complete structure in the target configuration is:
Using the known generalized strains at load step and the unknown increments for the current load step,
The summation sign denotes the assembly process, while the generalized strains satisfy
During load step , the previously accumulated quantities and are known constants. They therefore do not depend on the element displacement-increment vector .
04
Element residual and tangent stiffness
The resulting expressions have the same form as those developed for the Euler–Bernoulli beam element in Chapter 6, with the total generalized strains and nodal displacements replaced by their current-step increments.
The element internal force vector and tangent stiffness matrix are evaluated with respect to the known reference configuration at load step . The known reference strain state is represented explicitly by and .
The nodal unknowns are the displacement increments and between load steps and . This distinction is the essential change from the formulation in Chapter 6.
05
Configuration and strain updates
After convergence of each load step, the nodal geometry is updated:
The generalized strain measures are accumulated consistently:
This Updated Lagrangian procedure introduces an incremental approximation because the kinematics are written for the displacement increment within each load step. The approximation error becomes small when these increments are small. Increasing the number of load steps therefore reduces the incremental error while also helping the Newton–Raphson iterations follow the equilibrium path.
06
MATLAB implementation
The nonlinear solution follows the same Newton–Raphson structure as Chapter 6, but the displacement vector is reset at the start of each load step because it represents the current increment. The converged increment is then added to the stored total displacement.
for istep=1:nstep
S=zeros(neq,1);
...
updt
St(:,istep+1)=St(:,istep)+S;
endIn stiff.m, the axial strain and curvature from the preceding converged configuration are added to the current increments after evaluating the incremental kinematics:
deriv
ep=ep+strn(ii,1,istep);
ca=ca+strn(ii,2,istep);The line strn(ii,1:2,istep+1)=[ep ca]; stores the updated generalized strains for configuration . These values become the known reference strain state for the following load step.
The program updt.m is essential to the Updated Lagrangian formulation. After each converged load step it updates the nodal coordinates, element lengths, element orientations, and rotation matrices. The resulting current geometry becomes the reference configuration for the next step.
07
Example 1 — moment-loaded cantilever
A cantilever of length has a rectangular cross-section (width × thickness), Young's modulus , and an applied free-end moment . The loading is divided into 100 equidistant load steps.
The analytical maximum rotation is:
The figure shows five of the 100 load steps. A very large total rotation is obtained through many small displacement increments. The verified MATLAB result at the final step is , close to the analytical value .

08
Example 2 — Mattiasson benchmark
This benchmark is taken from Mattiasson [2], where reference solutions for large-deflection beam and frame problems are obtained using elliptic integrals. The two symmetric loading cases and the measured response components are shown below.

Symmetry is used when plotting the deformed structure. The Updated Lagrangian numerical results show very good agreement with the elliptic-integral reference solution from [2].

09
Relation to Section 8.2
These two examples will also be considered in Section 8.2 using a two-node isoparametric Timoshenko beam element. Within the adopted assumptions, that formulation does not introduce the same incremental approximation associated with displacement-increment size and may therefore reach the converged solution with very few load steps. The present Euler–Bernoulli Updated Lagrangian algorithm instead requires sufficiently small load-step increments to keep the incremental approximation error small.
10
MATLAB package
The downloadable package contains the complete program for Example 1, including the nonlinear load-step loop, incremental strain evaluation, geometry update, result printing, and README instructions.
Executed successfully in MATLAB 26.1 (R2026a) Update 4. All 100 load steps reached convergence; the final step required four Newton–Raphson iterations, with a convergence measure of . The computed maximum nodal rotation was . The code uses standard MATLAB syntax and is expected to be compatible with recent MATLAB versions. No additional toolbox is required.
11
References
- E. Chatzi and K. Agathos, Linearized weak form and total Lagrangian formulation of a bar element, Institute of Structural Engineering, ETH Zurich, Lecture 3, 3 October 2019.
- K. Mattiasson, Numerical results from large deflection beam and frame problems analysed by means of elliptic integrals, International Journal for Numerical Methods in Engineering, 16, 145–153, 1981.