원시데이터 수집 시스템
선정목록으로

Deriving analytical solutions using symbolic matrix structural analysis for continuous beams

관련 화학·수지 · (21) 에폭시수지

기본 정보

저자
  1. Vagelis Plevris — Department of Civil and Environmental Engineering, College of Engineering, Qatar University, P.O. Box: 2713, Doha, Qatar. vplevris@qu.edu.qa
  2. Afaq Ahmad — Department of Built Environment, Oslo Metropolitan University, St. Olavs Plass, P.O. Box 4, Oslo, NO-0130, Norway
DOI
10.1038/s41598-025-98023-x
저널
Scientific Reports
발행년도
2025
발행기관
Nature Portfolio
피인용수
2
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-025-98023-x
토픽
Composite Structure Analysis and Optimization
OpenAlex ID
W4410141776

평가 내용

관련도
관련
사업분야
화학·수지 · (21) 에폭시수지
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '화학·수지 > 에폭시수지' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

This study investigates the use of symbolic computation in Matrix Structural Analysis (MatSA) for continuous beams, using the MATLAB Symbolic Math Toolbox. By employing symbolic MatSA, analytical expressions for displacements, support reactions, and internal forces are derived, offering deeper insights into structural behavior. This approach facilitates efficient and scalable sensitivity analysis, where partial derivatives of outputs concerning input parameters can be directly computed, enhancing design exploration. The development includes an open-source MATLAB program, hosted on GitHub, enabling symbolic analysis of continuous beams subjected to point and uniform loads. This approach is valuable for both engineering practice and pedagogy, enriching the understanding of structural mechanics and aiding in education by illustrating clear parameter relationships. The program supports deriving influence lines and identifying maximum response values.

본문 81,124자

본문 펼치기
## OPEN # Deriving analytical solutions using symbolic matrix structural analysis for continuous beams Vagelis Plevris 1  & Afaq Ahmad 2 This study investigates the use of symbolic computation in Matrix Structural Analysis (MatSA) for continuous beams, using the MATLAB Symbolic Math Toolbox. By employing symbolic MatSA, analytical expressions for displacements, support reactions, and internal forces are derived, offering deeper insights into structural behavior. This approach facilitates efficient and scalable sensitivity analysis, where partial derivatives of outputs concerning input parameters can be directly computed, enhancing design exploration. The development includes an open-source MATLAB program, hosted on GitHub, enabling symbolic analysis of continuous beams subjected to point and uniform loads. This approach is valuable for both engineering practice and pedagogy, enriching the understanding of structural mechanics and aiding in education by illustrating clear parameter relationships. The program supports deriving influence lines and identifying maximum response values. Keywords Matrix structural analysis, Symbolic, Continuous beams, Structural analysis, Sensitivity analysis, Influence lines, Analytical solutions, Closed-form solutions The Finite Element Method (FEM), which recently marked its 80th anniversary since its inception Liu, Li <sup>1</sup>, has been a foundational tool in structural analysis, offering a robust numerical framework for solving complex engineering problems <sup>2</sup> . Traditional FEM approaches are predominantly numerical, relying on computations to approximate structural behavior under specified loads and boundary conditions. While effective for producing detailed, problem-specific results, these methods have limitations, particularly in flexibility and generality. Numerical FEM solutions are generally applicable to a specific set of inputs, such as material properties, geometry, and external loads <sup>3</sup> . Modifications to these inputs necessitate a complete re-computation of the system, which can be both time-consuming and computationally intensive, especially for large-scale structures. Additionally, numerical results often obscure the relationships between key parameters, making it difficult to develop a deeper understanding of structural behavior. FEM applied to linear-type structures, such as beams, trusses, and frames, is commonly referred to as Matrix Structural Analysis (MatSA). Both methods share the same underlying principles and origins. In MatSA, analytical expressions for the stiffness matrix of each element can often be derived directly, bypassing the need for numerical integration techniques such as Gaussian quadrature. This feature enhances the process by making the derivation simpler and more insightful. One of the primary drawbacks of traditional numerical FEM and MatSA is their reliance on predefined boundary conditions and loading scenarios. For every new condition, the entire model must be regenerated and recalculated, leading to a repetitive and time-consuming workflow. This limitation hinders the method’s adaptability and restricts its application in tasks requiring real-time analysis or optimization <sup>4</sup>, where multiple configurations need to be evaluated quickly and efficiently <sup>5</sup> . Symbolic computation offers a promising alternative to these challenges. Unlike numerical computation, which yields specific numerical values, symbolic computation allows for the manipulation and solution of mathematical expressions in their exact, algebraic form. This approach opens new avenues for deriving analytical solutions and gaining deeper insights into structural behavior. MATLAB is extensively utilized in structural engineering due to its robust numerical algorithms, which enable the resolution of a variety of engineering challenges, including matrix analysis of structures <sup>6–8</sup>, structural dynamics <sup>9–11</sup>, structural optimization <sup>12–14</sup>, and more <sup>15</sup> . MATLAB is primarily known for its numerical computing capabilities, but it also includes features for symbolic computation. The MATLAB Symbolic Math Toolbox <sup>16</sup> significantly enhances MATLAB’s functionality, allowing it to handle symbolic computation <sup>17,18</sup> . The toolbox supports a wide range of symbolic operations, including algebraic simplifications, differentiation, 1Department of Civil and Environmental Engineering, College of Engineering, Qatar University, P.O. Box: 2713, Doha, Qatar. <sup>2</sup> Department of Built Environment, Oslo Metropolitan University, St. Olavs Plass, P.O. Box 4, Oslo NO0130, Norway. <sup></sup> email: vplevris@qu.edu.qa integration, equation solving, and matrix manipulation <sup>19</sup> . It is particularly valuable in engineering, physics, and mathematics, where it facilitates the analysis of complex systems by providing exact, parameterized solutions that can be easily manipulated and interpreted. For researchers and educators, the Symbolic Math Toolbox is a useful resource, as it enhances the ability to explore theoretical concepts, derive closed-form solutions, and present results in a more intuitive and generalizable manner. Its integration with the program’s numerical environment also allows for seamless transitions between symbolic and numerical analysis, offering a comprehensive platform for tackling both theoretical and practical problems. Other software and programming languages like Mathematica <sup>20</sup>, Maple <sup>21</sup>, and SymPy (Python) <sup>22</sup> also offer symbolic computation capabilities. This study focuses on the MATLAB Symbolic Math Toolbox <sup>16,23</sup>, which was used to develop the symbolic analysis open-source code of this work. However, similar programs can be developed using these alternative platforms, following the same underlying principles. In structural analysis, the toolbox facilitates the expression of MatSA solutions in symbolic form, where the system’s response is represented by algebraic expressions involving key parameters related to material or section properties. This method is beneficial for analyzing structural elements such as beams, trusses, and frames, where the stiffness matrix for each element can be derived symbolically, eliminating the need for complex numerical integration. By combining the symbolic stiffness matrices of individual elements and expressing the force vector symbolically, fully symbolic solutions for displacements, element internal forces, or support reactions can be obtained. This enables flexible manipulation of solutions to accommodate various loading conditions, boundary constraints, or material properties without the need for repeated recalculations. A preprint of this work can be found in <sup>24</sup> . The second part of this work, which is about the analysis of plane trusses has been published in <sup>25,26</sup> . Literature review There have been relatively few attempts in the literature to address stiffness matrices symbolically. Korncoff and Fenves <sup>27</sup> made an early effort to develop a symbolic processor aimed at assisting in the generation of stiffness matrices for finite elements, despite the limited computational resources available at the time. Their results, however, highlighted several promising avenues for future research, both within the specific domain of finite element analysis (FEA) and in the broader application of symbolic processing techniques. Leff and Yun <sup>28</sup> presented a system for generating global stiffness matrices where elements are expressed as functions of shape parameters. Their approach builds on STRUDL syntax, but with a significant difference: instead of fixed values, joint coordinates, material properties, and forces are entered as parameterized expressions. The resulting stiffness matrix retains these parameter dependencies, providing flexibility in the analysis. This method allows engineers to explore how changes in structural parameters affect the stiffness matrix, offering a more versatile and adaptive framework for FEA. Nagabhushanam, Srinivas <sup>29</sup> developed a specialized symbolic manipulation package in FORTRAN for generating elemental matrices in FEA. The package allows users to perform symbolic manipulations through simple, user-friendly commands. With a modular structure and minimal memory requirements, it efficiently handles large-order matrices, even on personal computers. The package supports various element geometries and shape functions, including isoparametric elements, and offers a multilevel operator facility to perform several manipulations with a single command. This compact tool has been successfully applied to generate elemental stiffness, flexibility, and nodal force matrices, demonstrating its utility in symbolic FEA. Tummarakota and Lieh <sup>30</sup> addressed the need for efficient algorithms to model and predict the behavior of multibody structural systems in applications such as aerospace, robotics, and automotive engineering. They utilized a computeraided symbolic method to formulate equations of motion based on Lagrange’s method, offering greater physical insight compared to traditional numerical approaches. The generated equations are automatically converted into FORTRAN code, enabling simulations and control synthesis. The study demonstrated the effectiveness of this approach through two examples: a slider-crank mechanism and an aircraft model, which are solved using the Runge-Kutta-Fehlberg method for numerical integration. Eriksson and Pacoste <sup>31</sup> discuss the use of symbolic software in developing finite element procedures, particularly for complex problems involving higher-order instabilities requiring precise formulations. The authors highlight that symbolic tools enhance the efficiency and clarity of procedural development, enabling effective comparisons between various element assumptions. The research includes beam formulations for plane and space models, allowing analytical verification of equivalence between displacement and co-rotational contexts. Symbolic derivation also simplifies handling finite space rotations and supports the systematic derivation of local displacements from global variables. Amberg, Tönhardt <sup>32</sup> describe the development of a toolbox in Maple for generating finite element codes from symbolic mathematical specifications, facilitating 1D, 2D, and 3D simulations. This toolbox has significantly accelerated research in areas such as thermocapillary convection, welding, and crystal growth by reducing the time from conceptualization to a functioning simulation to mere hours. The approach promotes flexibility, transparency, and thorough documentation, enabling researchers to easily modify models and focus on physical insights and numerical properties while minimizing errors and debugging. Pavlović <sup>33</sup> discussed the use of symbolic computation in structural engineering, highlighting its emergence as a powerful tool alongside traditional numerical methods. He reviewed past applications where symbolic computations have been underutilized and emphasized the potential for significant advancements in areas of classical structural analysis. The author argues that symbolic computation invigorates classical analytical techniques, offering new opportunities to address complex structural problems. He proposes a more balanced approach that integrates both symbolic and numerical methods, demonstrating their complementary strengths in solving structural mechanics problems efficiently and accurately. Skrinar and Pliberšek <sup>34</sup> derived a symbolic stiffness matrix and load vector for a slender beam with multiple transverse cracks under uniform loading. Using the principle of virtual work, they provided closed-form analytical expressions that facilitate fast and straightforward evaluations. This approach, which excludes shape functions, makes the impact of crack depth and location on flexural deformation clearer, aiding in crack identification. The developed matrix is ideal for modeling flexural cracks in beams and columns, which is relevant in earthquake engineering per European design code EC8. Roque <sup>35</sup> explored the symbolic and numerical analysis of bending plates using MATLAB for symbolic manipulation of expressions. The author emphasized the importance of integrating numerical and symbolic approaches in problem-solving, highlighting MATLAB’s versatility in seamlessly combining these computational methods. Symbolic vs. Numerical expressions and solutions in MatSA The symbolic representation of structural analysis problems can provide engineers and researchers with deeper insight into structural behavior. By maintaining algebraic relationships between parameters, symbolic MatSA enables the exploration of how changes in material properties, geometry, or loading affect the overall response of the structure. Symbolic solutions are particularly useful in scenarios where flexibility and adaptability are crucial, as they provide parameterized solutions not confined to specific input values. Furthermore, when symbolic expressions are available, engineers can easily calculate partial derivatives with respect to various input parameters, facilitating sensitivity analyses and design optimization in a straightforward and efficient manner, as will be examined in detail in Sect. 6. One of the key advantages of symbolic MatSA lies in its educational value. Symbolic solutions can help students and professionals develop a deeper understanding of the fundamental principles of mechanics and structural behavior. By maintaining algebraic relationships between key parameters, such as the modulus of elasticity or the moment of inertia of the beam’s cross-section, symbolic expressions explicitly reveal how these factors influence displacements, stresses, and strains. This level of transparency enhances conceptual learning and can provide insights that may be less apparent in purely numerical approaches, which often produce results without explicitly showing the underlying parameter dependencies. However, it is important to recognize that numerical methods remain essential in structural analysis, particularly for solving large-scale problems with thousands or even millions of unknowns, which are beyond the reach of any symbolic computation. In this regard, symbolic and numerical approaches should be seen as complementary rather than competing techniques, each offering unique advantages depending on the context and scale of the problem at hand. Key features and novelty of this study This study introduces an open-source MATLAB program designed for symbolic MatSA of continuous beams under point and uniform loads. While previous research has explored symbolic solutions for beams, to the best of our knowledge, this is the first program capable of automatically deriving analytical solutions for any continuous beam configuration, regardless of its complexity. Users can define beam problems to obtain symbolic expressions for displacements, forces, and moments at any position _x_ or determine their maximum values efficiently. The main features of the program include: - Closed-form solutions for any output quantities (e.g., support reactions) across various continuous beam configurations. - Solutions expressed as functions of _x_ for specific points on the beam (e.g., bending moment _M_ ( _x_ )) and determination of maximum values along the beam (e.g., _M_ max). - Analytical expressions for influence lines for specified outputs (e.g., support reactions influenced by a unit load moving along the beam). - Sensitivity analysis for any output quantity relative to input parameters, utilizing MATLAB’s built-in differentiation capabilities. [The source code is freely available at GitHub (https://github.com/vplevris/SymbolicMatSA-Beams), accompanied](https://github.com/vplevris/SymbolicMatSA-Beams) by all examples discussed in the study. This work was implemented using MATLAB R2024b and its symbolic toolbox, and it is anticipated to be compatible with earlier versions. Users are encouraged to download the code, experiment, test it, and create their own analytical solutions. The implementation is user-friendly, requiring minimal setup to execute custom analyses. Continuous beam stiffness matrix The stiffness matrix plays a crucial role in MatSA as it defines the relationship between the applied forces and the resulting displacements within a structural system. Typically, in MatSA/FEM stiffness matrices are computed numerically for each individual element and subsequently assembled into a global system of equations representing the entire structure. Numerical integration is usually needed, for example for the case of 2D plane stress elements or more complex elements, which is regularly done using Gauss quadrature. However, in MatSA, for linear-type elements, it is usually possible to derive an exact symbolic expression for the stiffness matrix of an element. One such case is the 2D Euler–Bernoulli beam with 3 degrees of freedom (DOFs) per node <sup>15</sup> which is commonly used in the linear static analysis of plane beams and frames. In this study, we use a beam element with 2 DOFs per node, one translational and one rotational, resulting in 4 DOFs for the element, as shown in Fig. 1. The axial degree of freedom is omitted because the specific element is primarily designed for the analysis of continuous beams, where axial effects are typically negligible. In this context, calculating the element stiffness matrix is straightforward. The symbolic 4 × 4 stiffness matrix for the Euler-Bernoulli beam element, assuming the axial degree of freedom is neglected, corresponding to the DOFs shown in Fig. 1, is given by Eq. (1). Fig. 1 . 2D Euler–Bernoulli beam element with 4 DOFs.   (1)   [ _k_ <sup>ˆ</sup> _b_ 2] = <sup>_<u>EI</u>_</sup> _L_ <sup><u>3</u></sup> <sup>_·_</sup>     12 6 _L_ _−_ 12 6 _L_ _−_ 612 _L_ _−_ 4 _L_ 6 _L_ <sup>2</sup> _−_ 126 _L_ _−_ 2 _L_ 6 _L_ <sup>2</sup> 6 _L_ 2 _L_ <sup>2</sup> _−_ 6 _L_ 4 _L_ <sup>2</sup> In this expression, _E_ denotes Young’s modulus of the material, _I_ represents the moment of inertia of the beam’s cross-section, and _L_ is the length of the beam element. For continuous beam analysis, where all beam elements are essentially horizontal and oriented from the left (Start node i) to the right (End node j), the local stiffness matrix coincides with the global stiffness matrix of the element. This eliminates the need for any element transformation, as the rotation angle of the element is zero. Educational benefits and importance of symbolic solutions in structural analysis Symbolic solutions in MatSA provide significant educational advantages by maintaining explicit relationships between structural parameters. Unlike numerical methods, which yield specific values for given inputs, symbolic solutions express results in algebraic form, making it easier to understand how variables such as modulus of elasticity ( _E_ ), moment of inertia ( _I_ ), and span length ( _L_ ) influence displacements, forces, and moments. This clarity enhances both theoretical understanding and practical applications in structural analysis. A key benefit of symbolic MatSA is its ability to visualize parameter dependencies. In traditional numerical solutions, results are obtained for specific cases, only. Symbolic expressions explicitly reveal how different parameters contribute to structural behavior. For instance, in a simply supported beam with a point load at midspan, the displacement formula is Educational benefits and importance of symbolic solutions in structural analysis Symbolic solutions in MatSA provide significant educational advantages by maintaining explicit relationships between structural parameters. Unlike numerical methods, which yield specific values for given inputs, symbolic solutions express results in algebraic form, making it easier to understand how variables such as modulus of elasticity ( _E_ ), moment of inertia ( _I_ ), and span length ( _L_ ) influence displacements, forces, and moments. This clarity enhances both theoretical understanding and practical applications in structural analysis. _U_ = <sup>_<u>PL</u>_</sup> <sup>3</sup> (2) <u>48</u> _EI_ From this, students and engineers can immediately see that increasing the span length or reducing material stiffness significantly increases displacement. Such direct relationships are not readily apparent in numerical approaches, where multiple simulations with varying input values are required to observe trends. Another important aspect of symbolic solutions is their role in superposition and structural behavior analysis. When analyzing continuous beams subjected to multiple loads, symbolic expressions make it possible to isolate the effect of each load independently and then combine them. This is particularly useful in understanding load interaction effects and verifying results in structural mechanics courses. Another advantage of symbolic MatSA is its usefulness in structural design education. Many classical structural engineering problems involve parameterized solutions that help students grasp the effects of geometric, material, and loading variations. Instructors can use symbolic solutions to illustrate fundamental principles of mechanics, allowing students to explore how different design choices impact structural response. The ability to manipulate symbolic expressions brings deeper engagement with structural mechanics, reinforcing key concepts through direct algebraic relationships rather than isolated numerical outputs. The use of symbolic computation in structural analysis education aligns with findings from other educational research. For instance, the novel Image-based Structural Analysis method demonstrates how integrating technology can enhance the learning experience by allowing students to analyze structural responses directly from hand-drawn sketches <sup>36</sup> . Although symbolic analysis offers clarity and insight, numerical methods remain essential for large-scale structural problems, where symbolic computation is impractical due to the number of unknowns. Numerical FEA can efficiently handle complex structures with thousands of degrees of freedom, making it the preferred choice for real-world full-scale engineering applications. However, symbolic and numerical methods are not competing but complementary approaches—symbolic solutions provide deeper understanding and theoretical insight, while numerical methods enable large-scale computations and real-world applications. In summary, symbolic MatSA bridges the gap between theory and computation by providing exact, parameterized solutions that enhance structural analysis education. The ability to explicitly express interdependencies between input parameters and structural responses makes symbolic methods a powerful tool for both learning and research. When used alongside numerical methods, they enable a comprehensive Fig. 2 . 2D beam element with uniform load _q_ on. Fig. 3 . Positive notation used ( a ) For the MatSA results at each end of the beam (i and j), ( b ) For the shear force and bending moment diagrams. approach to structural analysis, equipping engineers and students with the tools needed for both theoretical exploration and practical application. Symbolic expressions for intermediate values of internal forces and local extrema In matrix structural analysis of beams, whether conducted numerically or symbolically, the results typically include displacements (or rotations) at nodal points and element forces at the ends of each element (nodes i and j). Although intermediate values for displacements or internal forces are not provided directly by the method, these quantities can be determined indirectly by applying established principles of statics. It is quite straightforward to find the intermediate values of internal forces (shear force and bending moment) at any given point _x_ within an element, based on equilibrium and the known forces at the ends. We consider the general case of a beam element with uniform load _q_ on it (positive _q_ points upwards, towards the _y_ axis of the beam), as shown in Fig. 2. The formulas for the internal shear force and the bending moment at a given location, _x_, calculated from the left side, are: _V_ ( _x_ ) = _Vi_ + _q · x_ (3) _M_ ( _x_ ) = _−_ ( _Mi −_ _Vi · x −_ _q_ <sup>_<u>x</u>_</sup> <u>2</u> <sup>2</sup> <u>2</u> ) = _q_ <sup>_<u>x</u>_</sup> <sup>2</sup> <u>2</u> <u>2</u> <sup>2</sup> <sup>+</sup> <sup>_Vi · x −_</sup> <sup>_Mi_</sup> (4) Here, _x_ represents the distance along the local element _x_ -axis, measured from the left node (Node i) of the element. When _x_ = 0, it corresponds to the starting point of the element (Node i), while _x_ = _L_ marks the end of the element (Node j). The end moments, _M_ i and _M_ j, are defined as positive when they act counter-clockwise, consistent with the notation in Fig. 1. On the other hand, for the shear force and bending moment diagrams, the internal shear force _V_ ( _x_ ) is positive when it induces clockwise rotation of the element, and the internal bending moment _M_ ( _x_ ) is considered positive when it induces tension in the bottom fiber of the beam. These conventions are detailed in Fig. 3(a) and Fig. 3(b). In Eq. (4), the internal bending moment is calculated from the left side, necessitating a negative sign to align with this convention and ensure positivity when it induces tension in the bottom fiber, as illustrated in Fig. 3(b). For the case of a uniform load (i.e. _q_ ≠ 0), the extremum (maximum or minimum) bending moment is typically found at the point where the shear force equals zero, i.e., at (5) _xextrM_ = _−_ <sup>_<u>V</u>_</sup> _q_ <sup>_<u>i</u>_</sup> And according to Eq. (4) the value of the extremum bending moment will then be <u>Example #</u> <u>Figure</u> <u>Symbolic Parameters</u> 3 1 ( _EI_, _L_, and _P_ ) 4 2 ( _EI_, _L_, _a_, and _P_ ) 5 3 ( _EI_, _a_, _b_, _P_ 1, and _P_ 2) Table 1 . Details of the numerical examples 1, 2, and 3. <u>Example #</u> <u>Figure</u> <u>Symbolic Parameters</u> 5 4 ( _EI_, _L_, _a_, _b_, and _w_ ) 3 5 ( _EI_, _L_, and _w_ ) Table 2 . Details of the numerical examples 4 and 5. Fig. 4 . The beam of Example 1. ) _M_ ( _xextrM_ ) = _−Mi_ + _Vi ·_ ( _−_ <sup>_<u>V</u>_</sup> _q_ <sup>_<u>i</u>_</sup> + _q_ <u>(</u> _<u>q</u>_ _<u>−</u>_ <sup>_<u>Vi</u>_</sup> _<u>q</u>_ _<u>i</u>_ <sup>_<u>Vi</u>_</sup> <u>2</u> = _−Mi −_ <sup>_<u>V</u>_</sup> <u>2</u> _q_ <sup>2</sup> <u>)2</u> _<u>q</u>_ <u>)2</u> _<u>i</u>_ (6) <sup>_<u>V</u>_</sup> <u>2</u> _q_ <sup>2</sup> Numerical examples We consider five numerical examples of differing levels of complexity. In these, _EI_ is treated as a single symbolic parameter, since _E_ and _I_ consistently appear together in stiffness and other analytical expressions. The first three examples have only point loads, while the other two have uniform loads. Tables 1 and 2 provide detailed descriptions of the five examples and the associated symbolic parameters for each. Simply supported beam with a point load (3 symbolic Parameters) The first numerical example is a simply supported beam with a point load _P_ applied at _x_ = 0.8 _L_, as shown in Fig. 4. The symbolic parameters are three: _EI_, _L_, and _P_ . Table 3 shows the details of the model, as given in MATLAB. In every example, the number of elements ( _NumElements_ ) is defined by the size of the _Lengths_ vector and the number of nodes ( _NumNodes_ ) is <u>Lengths</u> [ 0 _._ 8 _<u>· L</u>_ 0 _._ 2 _<u>· L</u>_ ] <sup>_T_</sup> Supports PointLoads ~~<u>[</u>~~ ~~<u>[</u>~~ <u>[</u> 1 0 1 0 0 0 ~~<u>]</u>~~ _T_ 0 0 00 _−_ 0 _P_ 00 0 <u>]</u> <sup>_T_</sup> ~~<u>]</u>~~ _T_ <u>UniformLoads</u> <u>[</u> 0 0 <u>]</u> <sup>_T_</sup> Table 3 . Details of the input parameters of the 1st numerical example. <u>Node #</u> <u>y-Displacement (Dy)</u> <u>z-Rotation (</u> _<u>R</u>_ <u>z)</u> Node 1 0 _<u>−</u>_ ~~<u>125</u>~~ <sup><u>4</u></sup> <sup>_<u>P L</u>_</sup> _<u>EI</u>_ <sup><u>2</u></sup> ~~<u>125</u>~~ _<u>EI</u>_ Node 2 _<u>−</u>_ ~~<u>1875</u>~~ <sup><u>16</u></sup> <sup>_<u>P L</u>_</sup> _<u>EI</u>_ <sup><u>3</u></sup> <u>4</u> _<u>P L</u>_ <sup><u>2</u></sup> ~~<u>1875</u>~~ <sup><u>16</u></sup> <sup>_<u>P L</u>_</sup> _<u>EI</u>_ <sup><u>3</u></sup> ~~<u>125</u>~~ _<u>EI</u>_ Node 3 0 ~~<u>125</u>~~ <u>6</u> _<u>P LEI</u>_ <sup><u>2</u></sup> Table 4 . Example 1: node displacements and rotations. <u>Node #</u> <u>Force Fy</u> <u>Moment Mz</u> <u>Node 1</u> _P_ / 5 <u>-</u> <u>Node 3</u> <u>4</u> _P_ <u>/ 5</u> <u>-</u> Table 5 . Example 1: support reactions. <u>Element #</u> <u>Start / End</u> <u>Shear Force (Vi, Vj)</u> <u>Moment (Mi, Mj)</u> <u>Start (i)</u> _P_ / 5 <u>0</u> 1 <u>End (j)</u> _<u>−P</u>_ / 5 4 _P L_ / 25 2 <u>Start (i)</u> _<u>−</u>_ 4 _P_ / 5 _<u>−</u>_ 4 _P L_ / 25 <u>End (j)</u> <u>4</u> _P_ <u>/ 5</u> <u>0</u> Table 6 . Example 1: element forces and bending moments. Fig. 5 . The beam of Example 2. ( _NumElements_ -1). In this example we have 2 elements and 3 nodes. Note that a node is needed to define any point load. Tables 4, 5 and 6 present the results of the symbolic analysis in terms of the symbolic parameters. Table 4 presents the Node displacements and rotations, while Table 5 shows the support reactions and Table 6 the element forces and moments at the start (i) and end (j) of each element. Fixed-End beam with point load (4 symbolic Parameters) The second numerical example is a fixed-end beam with a point load _P_, as shown in Fig. 5. The symbolic parameters are four: _EI_, _L_, _x_, and _P_ . This example will also serve to illustrate the concept of influence lines. Table 7 shows the details of the model, as given in MATLAB. In this example we have 3 nodes and 2 elements. The results of the symbolic analysis are given in Tables 8 and 9, and Table 10, for Node displacements and rotations; support reactions; and element forces and moments, respectively. <u>Lengths</u> [ _x_ _L −_ _x_ ] <sup>_T_</sup> Supports PointLoads ~~<u>[</u>~~ ~~<u>[</u>~~ <u>[</u> 1 0 1 0 0 1 ~~<u>]</u>~~ _T_ 0 0 00 _−_ 0 _P_ 00 0 <u>]</u> <sup>_T_</sup> ~~<u>]</u>~~ _T_ <u>UniformLoads</u> <u>[</u> 0 0 <u>]</u> <sup>_T_</sup> Table 7 . Details of the input parameters of the 2nd numerical example. <u>Node #</u> <u>y-Displacement (Dy)</u> <u>z-Rotation (</u> _<u>R</u>_ <u>z)</u> Node 1 0 _<u>−</u>_ <sup>_<u>P x</u>_</sup> ~~<u>4</u>~~ <sup><u>(</u></sup> _<u>EIL</u>_ <sup>_<u>L−x</u>_</sup> <sup><u>)2</u></sup> ~~<u>4</u>~~ _<u>EIL</u>_ Node 2 _<u>−</u>_ <sup>_<u>P x</u>_</sup> <sup>2(</sup> <sup>_<u>L</u>_</sup> <u>12</u> <sup>_<u>−</u>_</sup> _<u>EIL</u>_ <sup>_<u>x</u>_</sup> <sup><u>)3(3</u></sup> <sup>~~3~~</sup> <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>x</u>_</sup> <sup><u>)</u></sup> _<u>P x</u>_ <u>(</u> _<u>L−x</u>_ <u>)</u> <sup>2</sup> <u>(</u> _<u>−L</u>_ <sup>2</sup> <u>+2</u> _<u>Lx</u>_ <u>+</u> _<u>x</u>_ <sup>2</sup> <u>)</u> <sup>_<u>L</u>_</sup> <u>12</u> <sup>_<u>−</u>_</sup> _<u>EIL</u>_ <sup>_<u>x</u>_</sup> <sup><u>)3(3</u></sup> <sup>~~3~~</sup> <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>x</u>_</sup> <sup><u>)</u></sup> <u>4</u> _<u>EIL</u>_ <sup>~~3~~</sup> <u>4</u> _<u>EIL</u>_ <sup>~~3~~</sup> <u>Node 3</u> <u>0</u> <u>0</u> Table 8 . Example 2: node displacements and rotations. <u>Node #</u> <u>Force Fy</u> <u>Moment Mz</u> Node 1 _<u>P</u>_ <u>(</u> _<u>L−x</u>_ <u>)</u> <sup>2</sup> <u>(2</u> _<u>L</u>_ <u>+</u> _<u>x</u>_ <u>)</u> <u>2</u> _<u>L</u>_ <sup>~~3~~</sup> Node 3 _<u>P x</u>_ <u>(3</u> _<u>L</u>_ <sup>2</sup> _<u>−x</u>_ <sup>2</sup> <u>)</u> <u>2</u> _<u>L</u>_ <sup>~~3~~</sup> _<u>L</u>_ <sup>2</sup> _<u>−x</u>_ <sup>2</sup> <u>)</u> <u>2</u> _<u>L</u>_ <sup>~~3~~</sup> _<u>−</u>_ <sup>_<u>P x</u>_</sup> <sup><u>(</u></sup> <sup>_<u>L</u>_</sup> <u>2</u> _<u>L</u>_ <sup>2</sup> <sup>~~2~~</sup> <sup>_<u>−x</u>_</sup> <sup>2)</sup> <u>2</u> _<u>L</u>_ <sup>~~2~~</sup> Table 9 . Example 2: support reactions. <u>Element #</u> <u>Start / End</u> <u>Shear Force (Vi, Vj)</u> <u>Moment (Mi, Mj)</u> Start (i) _<u>P</u>_ <u>(</u> _<u>L−x</u>_ <u>)</u> <sup>2</sup> <u>(2</u> _<u>L</u>_ <u>+</u> _<u>x</u>_ <u>)</u> <u>2</u> _<u>L</u>_ <sup>~~3~~</sup> 1 <u>)</u> <sup>2</sup> <u>(2</u> _<u>L</u>_ <u>+</u> _<u>x</u>_ <u>)</u> 0 <u>2</u> _<u>L</u>_ <sup>~~3~~</sup> End (j) _<u>−</u>_ <sup>_<u>P</u>_</sup> <sup><u>(</u></sup> <sup>_<u>L−x</u>_</sup> <u>2</u> <sup><u>)</u></sup> _<u>L</u>_ <sup>2</sup> <sup>~~3~~</sup> <sup><u>(2</u></sup> <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>x</u>_</sup> <sup><u>)</u></sup> _<u>P x</u>_ <u>(</u> _<u>L−x</u>_ <u>)</u> <sup>2</sup> <u>(2</u> _<u>L</u>_ <u>+</u> _<u>x</u>_ <u>)</u> <sup>_<u>x</u>_</sup> <u>2</u> <sup><u>)</u></sup> _<u>L</u>_ <sup>2</sup> <sup>~~3~~</sup> <sup><u>(2</u></sup> <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>x</u>_</sup> <sup><u>)</u></sup> <u>2</u> _<u>L</u>_ <sup>~~3~~</sup> <u>2</u> _<u>L</u>_ <sup>~~3~~</sup> <u>2</u> <sup>_<u>L</u>_</sup> _<u>L</u>_ <sup>2</sup> <sup>~~3~~</sup> <sup>_<u>−x</u>_</sup> <sup>2)</sup> _<u>−</u>_ <sup>_<u>P x</u>_</sup> <sup><u>(</u></sup> <sup>_<u>L−</u>_</sup> <u>2</u> <sup>_<u>x</u>_</sup> _<u>L</u>_ <sup><u>)2</u></sup> <sup>~~3~~</sup> <sup><u>(2</u></sup> <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>x</u>_</sup> <sup><u>)</u></sup> Start (i) _<u>−</u>_ <sup>_<u>P x</u>_</sup> <sup><u>(3</u></sup> <u>2</u> <sup>_<u>L</u>_</sup> _<u>L</u>_ <sup>2</sup> <sup>~~3~~</sup> <sup>_<u>−x</u>_</sup> <sup>2)</sup> 2 <u>2</u> _<u>L</u>_ <sup>~~3~~</sup> End (j) _<u>P x</u>_ <u>(3</u> _<u>L</u>_ <sup>2</sup> _<u>−x</u>_ <sup>2</sup> <u>)</u> <u>2</u> _<u>L</u>_ <sup>~~3~~</sup> _<u>L</u>_ <sup>2</sup> _<u>−x</u>_ <sup>2</sup> <u>)</u> <u>2</u> _<u>L</u>_ <sup>~~3~~</sup> _<u>−</u>_ <sup>_<u>P x</u>_</sup> <sup><u>(</u></sup> <sup>_<u>L</u>_</sup> <u>2</u> _<u>L</u>_ <sup>2</sup> <sup>~~2~~</sup> <sup>_<u>−x</u>_</sup> <sup>2)</sup> <u>2</u> _<u>L</u>_ <sup>~~2~~</sup> Table 10 . Example 2: element forces and bending moments. Now suppose we would like to draw the influence line of the reaction moment at Node 3. According to the results shown in Table 9, the reaction moment at Node 3 (counter-clockwise is positive) is given by (7) _Mz,_ 3 = _−_ <sup>_<u>Px</u>_</sup> <sup><u>(</u></sup> <sup>_<u>L</u>_</sup> <u>2</u> <sup>2</sup> _L_ <sup>_<u>−</u>_</sup> <sup><u>2</u></sup> <sup>_<u>x</u>_</sup> <sup>2)</sup> To draw the influence line, we assume a unit load ( _P_ = 1) applied along the beam. For illustration purposes, we will assume that the length of the beam is also unitary ( _L_ = 1). Then the reaction moment is given by the formula: (8) _Mz,_ 3 = _−_ <sup>_<u>x</u>_</sup> <sup><u>(1</u></sup> <sup>_<u>−</u>_</sup> <u>2</u> <sup>_<u>x</u>_</sup> <sup>2)</sup> The influence line corresponding to Eq. (8) is presented in Fig. 6. We observe that the reaction moment takes the value of zero when the load is at the beginning ( _x_ = 0) or the _√_ end ( _x_ = _L_ = 1) of the beam, while it takes its maximum (in absolute terms) value _M_ max = _−_ 9 _≈−_ 0 _._ 1925 _√_ ~~3~~ <sup><u>/</u></sup> g ( _x_ = 0) or the 9 _≈−_ 0 _._ 1925 ~~3~~ <sup><u>/</u></sup> _√_ when the unitary load is at _x_ = _√_ _M_ max = _−_ 9 _≈−_ 0 _._ 1925 3 _≈_ 0 _._ 5774. Influence lines are essential in bridge design and structural ~~3~~ <sup><u>/</u></sup> assessments, helping engineers identify critical loading positions for maximum forces and moments. They are ~~3~~ <sup><u>/</u></sup> assessments, helping engineers identify critical loading positions for maximum forces and moments. They are widely used in bridge load rating to determine worst-case traffic effects and in structural monitoring to detect potential weaknesses by comparing theoretical and measured responses. Fig. 6 . The influence line of the reaction moment at Node 3, for Example 3. Fig. 7 . The two-span beam of Example 3. <u>Lengths</u> [ _a_ _a_ _b_ _b_ ] <sup>_T_</sup> Supports PointLoads ~~<u>[</u>~~ ~~<u>[</u>~~ <u>[</u> 1 0 1 0 1 0 0 0 0 0 ~~<u>]</u>~~ _T_ 0 0 00 _−_ 0 _P_ 1 00 _−_ 0 _P_ 2 00 0 0 0 <u>]</u> <sup>_T_</sup> ~~<u>]</u>~~ _T_ <u>UniformLoads</u> <u>[</u> 0 0 0 0 <u>]</u> <sup>_T_</sup> Table 11 . Details of the input parameters of the 3rd numerical example. Two-Span beam with two point loads (5 symbolic Parameters) The third numerical example is a two-span beam with two point loads, as shown in Fig. 7. The symbolic parameters are six: _EI_, _a_, _b_, _P_ 1, and _P_ 2. Table 11 shows the details of the model, as given in MATLAB. The results of the symbolic analysis are reported in Tables 12, 13 and 14, for Node displacements and rotations; support reactions; and element forces and moments, respectively. Simply supported beam with uniform load (5 symbolic Parameters) The fourth numerical example is a simply supported beam with a uniform load _w_, as shown in Fig. 8. The symbolic parameters are five: _EI_, _L_, _a_, _b_, and _w_ . Table 15 shows the details of the model, as given in MATLAB. In this example we have 4 nodes and 3 elements. The results of the symbolic analysis are given in Tables 16 and 17, and Table 18, for Node displacements and rotations; support reactions; and element forces and moments, respectively. (9) _xextrM_ = _−b ·_ <sup><u>2</u></sup> <sup>_<u>a −</u>_</sup> <u>2</u> <sup><u>2</u></sup> _L_ <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <u>Node #</u> <u>y-Displacement (Dy)</u> <u>z-Rotation (</u> _<u>R</u>_ <u>z)</u> Node 1 0 _<u>−</u>_ <sup>_<u>a</u>_</sup> <sup><u>(</u></sup> <sup>_<u>P</u>_</sup> <sup><u>1</u></sup> <sup>_<u>a</u>_</sup> <sup>2</sup> ~~8~~ <sup><u>+2</u></sup> _EI_ <sup>_<u>P</u>_</sup> ~~(~~ _a_ <sup><u>1</u></sup> ~~+~~ <sup>_<u>ab</u>_</sup> _b_ <sup>_<u>−</u>_</sup> ~~)~~ <sup>_<u>P</u>_</sup> <sup><u>2</u></sup> <sup>_<u>b</u>_</sup> <sup>2)</sup> ~~8~~ _EI_ ~~(~~ _a_ ~~+~~ _b_ ~~)~~ Node 2 _<u>−</u>_ <sup>_<u>a</u>_</sup> <sup>2(7</sup> <sup>_<u>P</u>_</sup> <sup><u>1</u></sup> <sup>_<u>a</u>_</sup> ~~96~~ <sup>2+16</sup> _EI_ ~~(~~ <sup>_<u>P</u>_</sup> _a_ <sup><u>1</u></sup> ~~+~~ <sup>_<u>ab</u>_</sup> _b_ ~~)~~ <sup>_<u>−</u>_</sup> <sup><u>9</u></sup> <sup>_<u>P</u>_</sup> <sup><u>2</u></sup> <sup>_<u>b</u>_</sup> <sup>2)</sup> _<u>a</u>_ <u>(</u> _<u>P</u>_ <u>1</u> _<u>a</u>_ <sup>2</sup> <u>+</u> _<u>P</u>_ <u>2</u> _<u>b</u>_ <sup>2</sup> <u>)</u> ~~96~~ <sup>2+16</sup> _EI_ ~~(~~ <sup>_<u>P</u>_</sup> _a_ <sup><u>1</u></sup> ~~+~~ <sup>_<u>ab</u>_</sup> _b_ ~~)~~ <sup>_<u>−</u>_</sup> <sup><u>9</u></sup> <sup>_<u>P</u>_</sup> <sup><u>2</u></sup> <sup>_<u>b</u>_</sup> <sup>2)</sup> ~~32~~ _EI_ ~~(~~ _a_ ~~+~~ _b_ ~~)~~ ~~32~~ _EI_ ~~(~~ _a_ ~~+~~ _b_ ~~)~~ Node 3 0 _<u>ab</u>_ ~~4~~ <u>(</u> _EIP_ <u>1</u> _<u>a</u>_ ~~(~~ _a−_ ~~+~~ _<u>Pb</u>_ <u>2</u> ~~)~~ _<u>b</u>_ <u>)</u> Node 4 _<u>−</u>_ <sup>_<u>b</u>_</sup> <sup>2(</sup> <sup>_<u>−</u>_</sup> <sup><u>9</u></sup> <sup>_<u>P</u>_</sup> <sup><u>1</u></sup> <sup>_<u>a</u>_</sup> ~~96~~ <sup>2</sup> _EI_ <sup><u>+16</u></sup> ~~(~~ _a_ <sup>_<u>P</u>_</sup> ~~+~~ <sup><u>2</u></sup> <sup>_<u>ab</u>_</sup> _b_ ~~)~~ <sup><u>+7</u></sup> <sup>_<u>P</u>_</sup> <sup><u>2</u></sup> <sup>_<u>b</u>_</sup> <sup>2)</sup> <sup>_<u>a</u>_</sup> ~~96~~ <sup>2</sup> _EI_ <sup><u>+16</u></sup> ~~(~~ _a_ <sup>_<u>P</u>_</sup> ~~+~~ <sup><u>2</u></sup> <sup>_<u>ab</u>_</sup> _b_ ~~)~~ <sup><u>+7</u></sup> <sup>_<u>P</u>_</sup> <sup><u>2</u></sup> <sup>_<u>b</u>_</sup> <sup>2)</sup> _<u>−</u>_ <sup>_<u>b</u>_</sup> <sup><u>(</u></sup> <sup>_<u>P</u>_</sup> ~~32~~ <sup><u>1</u></sup> _EI_ <sup>_<u>a</u>_</sup> <sup>2</sup> ~~(~~ <sup><u>+</u></sup> _a_ <sup>_<u>P</u>_</sup> ~~+~~ <sup><u>2</u></sup> _b_ <sup>_<u>b</u>_</sup> ~~)~~ <sup>2)</sup> ~~32~~ _EI_ ~~(~~ _a_ ~~+~~ _b_ ~~)~~ Node 5 0 _<u>b</u>_ <u>(</u> _<u>−P</u>_ <u>1</u> _<u>a</u>_ ~~8~~ <sup>2</sup> _EI_ <u>+2</u> ~~(~~ _<u>Pa</u>_ <u>2</u> ~~+~~ _<u>abb</u>_ ~~)~~ <u>+</u> _<u>P</u>_ <u>2</u> _<u>b</u>_ <sup>2</sup> <u>)</u> ~~8~~ _EI_ ~~(~~ _a_ ~~+~~ _b_ ~~)~~ Table 12 . Example 3: node displacements and rotations. <u>Node #</u> <u>Force Fy</u> <u>Moment Mz</u> Node 1 <u>5</u> _<u>P</u>_ <u>1</u> _<u>a</u>_ <sup>2</sup> <u>+8</u> ~~16~~ _aP_ ~~(~~ <u>1</u> _aab_ ~~+~~ _b−_ ~~)~~ <u>3</u> _<u>P</u>_ <u>2</u> _<u>b</u>_ <sup>2</sup> Node 3 <u>3</u> _<u>P</u>_ <u>1</u> _<u>a</u>_ <sup>2</sup> <u>+3</u> _<u>P</u>_ <u>2</u> _<u>b</u>_ <sup>2</sup> <u>+8</u> _<u>P</u>_ <u>1</u> _<u>ab</u>_ <u>+8</u> _<u>P</u>_ <u>2</u> _<u>ab</u>_ ~~<u>16</u>~~ _<u>ab</u>_ Node 5 _<u>−</u>_ <u>3</u> _<u>P</u>_ <u>1</u> _<u>a</u>_ <sup>2</sup> ~~16~~ <u>+8</u> _b_ ~~(~~ _<u>Pa</u>_ <u>2</u> ~~+~~ _<u>abb</u>_ ~~)~~ <u>+5</u> _<u>P</u>_ <u>2</u> _<u>b</u>_ <sup>2</sup> Table 13 . Example 3: support reactions. <u>Element #</u> <u>Start / End</u> <u>Shear Force (Vi, Vj)</u> <u>Moment (Mi, Mj)</u> Start (i) <u>5</u> _<u>P</u>_ <u>1</u> _<u>a</u>_ <sup>2</sup> <u>+8</u> ~~16~~ _aP_ ~~(~~ <u>1</u> _aab_ ~~+~~ _b−_ ~~)~~ <u>3</u> _<u>P</u>_ <u>2</u> _<u>b</u>_ <sup>2</sup> 1 <u>+8</u> ~~16~~ _aP_ ~~(~~ <u>1</u> _aab_ ~~+~~ _b−_ ~~)~~ <u>3</u> _<u>P</u>_ <u>2</u> _<u>b</u>_ <sup>2</sup> 0 End (j) _<u>−</u>_ <sup><u>5</u></sup> <sup>_<u>P</u>_</sup> <sup><u>1</u></sup> <sup>_<u>a</u>_</sup> <sup>2+8</sup> ~~16~~ _a_ <sup>_<u>P</u>_</sup> ~~(~~ <sup><u>1</u></sup> _a_ <sup>_<u>ab</u>_</sup> ~~+~~ _b_ <sup>_<u>−</u>_</sup> ~~)~~ <sup><u>3</u></sup> <sup>_<u>P</u>_</sup> <sup><u>2</u></sup> <sup>_<u>b</u>_</sup> <sup>2</sup> <u>5</u> _<u>P</u>_ <u>1</u> _<u>a</u>_ <sup>2</sup> <u>+8</u> _<u>P</u>_ <u>1</u> _<u>ab−</u>_ <u>3</u> _<u>P</u>_ <u>2</u> _<u>b</u>_ <sup>2</sup> <sup><u>+8</u></sup> ~~16~~ _a_ <sup>_<u>P</u>_</sup> ~~(~~ <sup><u>1</u></sup> _a_ <sup>_<u>ab</u>_</sup> ~~+~~ _b_ <sup>_<u>−</u>_</sup> ~~)~~ <sup><u>3</u></sup> <sup>_<u>P</u>_</sup> <sup><u>2</u></sup> <sup>_<u>b</u>_</sup> <sup>2</sup> ~~16(~~ _a_ ~~+~~ _b_ ~~)~~ ~~16(~~ _a_ ~~+~~ _b_ ~~)~~ Start (i) _<u>−</u>_ <sup><u>11</u></sup> <sup>_<u>P</u>_</sup> <sup><u>1</u></sup> <sup>_<u>a</u>_</sup> <sup>2</sup> ~~16~~ <sup><u>+8</u></sup> _a_ <sup>_<u>P</u>_</sup> ~~(~~ _a_ <sup><u>1</u></sup> ~~+~~ <sup>_<u>ab</u>_</sup> _b_ <sup><u>+3</u></sup> ~~)~~ <sup>_<u>P</u>_</sup> <sup><u>2</u></sup> <sup>_<u>b</u>_</sup> <sup>2</sup> 2 <sup>2</sup> ~~16~~ <sup><u>+8</u></sup> _a_ <sup>_<u>P</u>_</sup> ~~(~~ _a_ <sup><u>1</u></sup> ~~+~~ <sup>_<u>ab</u>_</sup> _b_ <sup><u>+3</u></sup> ~~)~~ <sup>_<u>P</u>_</sup> <sup><u>2</u></sup> <sup>_<u>b</u>_</sup> <sup>2</sup> _<u>−</u>_ <sup><u>5</u></sup> <sup>_<u>P</u>_</sup> <sup><u>1</u></sup> <sup>_<u>a</u>_</sup> <sup>2+8</sup> ~~16(~~ <sup>_<u>P</u>_</sup> _a_ <sup><u>1</u></sup> ~~+~~ <sup>_<u>ab</u>_</sup> _b_ ~~)~~ <sup>_<u>−</u>_</sup> <sup><u>3</u></sup> <sup>_<u>P</u>_</sup> <sup><u>2</u></sup> <sup>_<u>b</u>_</sup> <sup>2</sup> ~~16(~~ _a_ ~~+~~ _b_ ~~)~~ End (j) <u>11</u> _<u>P</u>_ <u>1</u> _<u>a</u>_ <sup>2</sup> ~~16~~ <u>+8</u> _aP_ ~~(~~ _a_ <u>1</u> ~~+~~ _<u>abb</u>_ <u>+3</u> ~~)~~ _<u>P</u>_ <u>2</u> _<u>b</u>_ <sup>2</sup> <sup>2</sup> <u>+8</u> _<u>P</u>_ <u>1</u> _<u>ab</u>_ <u>+3</u> _<u>P</u>_ <u>2</u> _<u>b</u>_ <sup>2</sup> ~~16~~ _a_ ~~(~~ _a_ ~~+~~ _b_ ~~)~~ _<u>−</u>_ <sup><u>3(</u></sup> <sup>_<u>P</u>_</sup> <sup><u>1</u></sup> ~~8(~~ <sup>_<u>a</u>_</sup> <sup>2</sup> _a_ ~~+~~ <sup><u>+</u></sup> <sup>_<u>P</u>_</sup> _b_ ~~)~~ <sup><u>2</u></sup> <sup>_<u>b</u>_</sup> <sup>2)</sup> ~~8(~~ _a_ ~~+~~ _b_ ~~)~~ Start (i) <u>3</u> _<u>P</u>_ <u>1</u> _<u>a</u>_ <sup>2</sup> <u>+8</u> ~~16~~ _<u>Pb</u>_ ~~(~~ <u>2</u> _aab_ ~~+~~ _b_ <u>+11</u> ~~)~~ _<u>P</u>_ <u>2</u> _<u>b</u>_ <sup>2</sup> 3 <u>+8</u> _<u>P</u>_ <u>2</u> _<u>ab</u>_ <u>+11</u> _<u>P</u>_ <u>2</u> _<u>b</u>_ <sup>2</sup> <u>3(</u> _<u>P</u>_ <u>1</u> _<u>a</u>_ <sup>2</sup> <u>+</u> _<u>P</u>_ <u>2</u> _<u>b</u>_ <sup>2</sup> <u>)</u> ~~16~~ _b_ ~~(~~ _a_ ~~+~~ _b_ ~~)~~ ~~8(~~ _a_ ~~+~~ _b_ ~~)~~ End (j) _<u>−</u>_ <sup><u>3</u></sup> <sup>_<u>P</u>_</sup> <sup><u>1</u></sup> <sup>_<u>a</u>_</sup> <sup>2+8</sup> ~~16~~ <sup>_<u>P</u>_</sup> _b_ ~~(~~ <sup><u>2</u></sup> _a_ <sup>_<u>ab</u>_</sup> ~~+~~ _b_ <sup><u>+11</u></sup> ~~)~~ <sup>_<u>P</u>_</sup> <sup><u>2</u></sup> <sup>_<u>b</u>_</sup> <sup>2</sup> _<u>−</u>_ <u>3</u> _<u>P</u>_ <u>1</u> _<u>a</u>_ <sup>2</sup> <u>+8</u> _<u>P</u>_ <u>2</u> _<u>ab</u>_ <u>+5</u> _<u>P</u>_ <u>2</u> _<u>b</u>_ <sup>2</sup> <sup><u>+8</u></sup> ~~16~~ <sup>_<u>P</u>_</sup> _b_ ~~(~~ <sup><u>2</u></sup> _a_ <sup>_<u>ab</u>_</sup> ~~+~~ _b_ <sup><u>+11</u></sup> ~~)~~ <sup>_<u>P</u>_</sup> <sup><u>2</u></sup> <sup>_<u>b</u>_</sup> <sup>2</sup> ~~16(~~ _a_ ~~+~~ _b_ ~~)~~ ~~16(~~ _a_ ~~+~~ _b_ ~~)~~ Start (i) _<u>−</u>_ <sup>_<u>−</u>_</sup> <sup><u>3</u></sup> <sup>_<u>P</u>_</sup> <sup><u>1</u></sup> <sup>_<u>a</u>_</sup> <sup>2</sup> ~~16~~ <sup><u>+8</u></sup> _b_ ~~(~~ <sup>_<u>P</u>_</sup> _a_ <sup><u>2</u></sup> ~~+~~ <sup>_<u>ab</u>_</sup> _b_ ~~)~~ <sup><u>+5</u></sup> <sup>_<u>P</u>_</sup> <sup><u>2</u></sup> <sup>_<u>b</u>_</sup> <sup>2</sup> 4 <sup>2</sup> ~~16~~ <sup><u>+8</u></sup> _b_ ~~(~~ <sup>_<u>P</u>_</sup> _a_ <sup><u>2</u></sup> ~~+~~ <sup>_<u>ab</u>_</sup> _b_ ~~)~~ <sup><u>+5</u></sup> <sup>_<u>P</u>_</sup> <sup><u>2</u></sup> <sup>_<u>b</u>_</sup> <sup>2</sup> _<u>−</u>_ <sup>_<u>−</u>_</sup> <sup><u>3</u></sup> <sup>_<u>P</u>_</sup> <sup><u>1</u></sup> <sup>_<u>a</u>_</sup> <sup>2</sup> ~~16(~~ <sup><u>+8</u></sup> <sup>_<u>P</u>_</sup> _a_ ~~+~~ <sup><u>2</u></sup> <sup>_<u>ab</u>_</sup> _b_ ~~)~~ <sup><u>+5</u></sup> <sup>_<u>P</u>_</sup> <sup><u>2</u></sup> <sup>_<u>b</u>_</sup> <sup>2</sup> ~~16(~~ _a_ ~~+~~ _b_ ~~)~~ End (j) _<u>−</u>_ <u>3</u> _<u>P</u>_ <u>1</u> _<u>a</u>_ <sup>2</sup> ~~16~~ <u>+8</u> _b_ ~~(~~ _<u>Pa</u>_ <u>2</u> ~~+~~ _<u>abb</u>_ ~~)~~ <u>+5</u> _<u>P</u>_ <u>2</u> _<u>b</u>_ <sup>2</sup> <sup>2</sup> ~~16~~ <u>+8</u> _b_ ~~(~~ _<u>Pa</u>_ <u>2</u> ~~+~~ _<u>abb</u>_ ~~)~~ <u>+5</u> _<u>P</u>_ <u>2</u> _<u>b</u>_ <sup>2</sup> 0 Table 14 . Example 3: element forces and bending moments. Fig. 8 . The beam of Example 4. _M_ ( _xextrM_ ) = <sup>_<u>b</u>_</sup> <sup>2</sup> <sup>_<u>w</u>_</sup> <sup><u>(2</u></sup> <sup>_<u>a −</u>_</sup> <sup><u>2</u></sup> <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)2</u></sup> <u>8</u> _L_ <sup><u>2</u></sup> (10) <sup>_<u>−</u>_</sup> <u>2</u> _L_ <sup><u>2</u></sup> <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)</u></sup> <sup>_<u>−</u>_</sup> <u>8</u> _L_ <sup><u>22</u></sup> <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)2</u></sup> _−_ <sup>_<u>abw</u>_</sup> <sup><u>(2</u></sup> <sup>_<u>a −</u>_</sup> <u>2</u> _L_ <sup><u>2</u></sup> <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)</u></sup> We see that we get the exact value of the maximum bending moment along Element 2, in a symbolic form. By combining the results presented in Table 18 and Eqs. (9) and (10), we can draw the bending moment diagram of the beam in a symbolic way, including the maximum bending moment at the span 2, as shown in Fig. 9. <u>Lengths</u> [ _a_ _b_ _L −_ _a −_ _b_ ] <sup>_T_</sup> Supports PointLoads ~~<u>[</u>~~ ~~<u>[</u>~~ <u>[</u> 1 0 0 1 0 0 0 0 ~~<u>]</u>~~ _T_ 0 0 0 0 0 0 0 0 0 0 0 0 _<u>−w</u>_ 0 <u>]</u> <sup>_T_</sup> ~~<u>]</u>~~ _T_ <u>UniformLoads</u> <u>[</u> 0 _<u>−w</u>_ 0 <u>]</u> <sup>_T_</sup> Table 15 . Details of the input parameters of the 4th numerical example. <u>Node #</u> <u>y-Displacement (Dy)</u> <u>z-Rotation (</u> _<u>R</u>_ <u>z)</u> Node 1 0 _<u>−</u>_ <sup>_<u>bw</u>_</sup> <sup><u>(8</u></sup> <sup>_<u>L</u>_</sup> <sup>2</sup> <sup>_<u>a</u>_</sup> <sup><u>+4</u></sup> <sup>_<u>L</u>_</sup> <sup>2</sup> <sup>_<u>b−</u>_</sup> <sup><u>12</u></sup> <sup>_<u>La</u>_</sup> <sup>2</sup> <sup>_<u>−</u>_</sup> <sup><u>12</u></sup> ~~<u>24</u>~~ <sup>_<u>Lab</u>_</sup> _<u>EIL</u>_ <sup>_<u>−</u>_</sup> <sup><u>4</u></sup> <sup>_<u>Lb</u>_</sup> <sup>2+4</sup> <sup>_<u>a</u>_</sup> <sup>3+6</sup> <sup>_<u>a</u>_</sup> <sup>2</sup> <sup>_<u>b</u>_</sup> <sup><u>+4</u></sup> <sup>_<u>ab</u>_</sup> <sup>2+</sup> <sup>_<u>b</u>_</sup> <sup>3)</sup> ~~<u>24</u>~~ _<u>EIL</u>_ Node 2 _<u>−</u>_ <sup>_<u>abw</u>_</sup> <sup><u>(8</u></sup> <sup>_<u>L</u>_</sup> <sup>2</sup> <sup>_<u>a</u>_</sup> <sup><u>+4</u></sup> <sup>_<u>L</u>_</sup> <sup>2</sup> <sup>_<u>b−</u>_</sup> <sup><u>16</u></sup> <sup>_<u>La</u>_</sup> <sup>2</sup> <sup>_<u>−</u>_</sup> <sup><u>12</u></sup> ~~<u>24</u>~~ <sup>_<u>Lab</u>_</sup> _<u>EIL</u>_ <sup>_<u>−</u>_</sup> <sup><u>4</u></sup> <sup>_<u>Lb</u>_</sup> <sup>2+8</sup> <sup>_<u>a</u>_</sup> <sup>3+8</sup> <sup>_<u>a</u>_</sup> <sup>2</sup> <sup>_<u>b</u>_</sup> <sup><u>+4</u></sup> <sup>_<u>ab</u>_</sup> <sup>2+</sup> <sup>_<u>b</u>_</sup> <sup>3)</sup> ~~<u>24</u>~~ <sup>_<u>Lab</u>_</sup> _<u>EIL</u>_ <sup>_<u>−</u>_</sup> <sup><u>4</u></sup> <sup>_<u>Lb</u>_</sup> <sup>2+8</sup> <sup>_<u>a</u>_</sup> <sup>3+8</sup> <sup>_<u>a</u>_</sup> <sup>2</sup> <sup>_<u>b</u>_</sup> <sup><u>+4</u></sup> <sup>_<u>ab</u>_</sup> <sup>2+</sup> <sup>_<u>b</u>_</sup> <sup>3)</sup> _<u>−</u>_ <sup>_<u>bw</u>_</sup> <sup><u>(8</u></sup> <sup>_<u>L</u>_</sup> <sup>2</sup> <sup>_<u>a</u>_</sup> <sup><u>+4</u></sup> <sup>_<u>L</u>_</sup> <sup>2</sup> <sup>_<u>b−</u>_</sup> <sup><u>24</u></sup> <sup>_<u>La</u>_</sup> <sup>2</sup> <sup>_<u>−</u>_</sup> <sup><u>12</u></sup> <sup>_<u>Lab</u>_</sup> ~~<u>24</u>~~ _<u>EIL</u>_ <sup>_<u>−</u>_</sup> <sup><u>4</u></sup> <sup>_<u>Lb</u>_</sup> <sup>2+16</sup> <sup>_<u>a</u>_</sup> <sup>3+12</sup> <sup>_<u>a</u>_</sup> <sup>2</sup> <sup>_<u>b</u>_</sup> <sup><u>+4</u></sup> <sup>_<u>ab</u>_</sup> <sup>2+</sup> <sup>_<u>b</u>_</sup> <sup>3)</sup> ~~<u>24</u>~~ _<u>EIL</u>_ Node 3 _<u>−</u>_ <sup>_<u>bw</u>_</sup> <sup><u>(2</u></sup> <sup>_<u>a</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)(</u></sup> <sup>_<u>a−L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)(4</u></sup> ~~<u>24</u>~~ <sup>_<u>a</u>_</sup> _<u>EIL</u>_ <sup>2+6</sup> <sup>_<u>ab−</u>_</sup> <sup><u>4</u></sup> <sup>_<u>La</u>_</sup> <sup><u>+3</u></sup> <sup>_<u>b</u>_</sup> <sup>2</sup> <sup>_<u>−</u>_</sup> <sup><u>4</u></sup> <sup>_<u>Lb</u>_</sup> <sup><u>)</u></sup> <sup><u>)(4</u></sup> ~~<u>24</u>~~ <sup>_<u>a</u>_</sup> _<u>EIL</u>_ <sup>2+6</sup> <sup>_<u>ab−</u>_</sup> <sup><u>4</u></sup> <sup>_<u>La</u>_</sup> <sup><u>+3</u></sup> <sup>_<u>b</u>_</sup> <sup>2</sup> <sup>_<u>−</u>_</sup> <sup><u>4</u></sup> <sup>_<u>Lb</u>_</sup> <sup><u>)</u></sup> _<u>−</u>_ <sup>_<u>bw</u>_</sup> <sup><u>(2</u></sup> <sup>_<u>a</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)(4</u></sup> <sup>_<u>L</u>_</sup> <sup>2</sup> <sup>_<u>−</u>_</sup> <sup><u>12</u></sup> <sup>_<u>La</u>_</sup> ~~<u>24</u>~~ <sup>_<u>−</u>_</sup> _<u>EIL</u>_ <sup><u>12</u></sup> <sup>_<u>Lb</u>_</sup> <sup><u>+8</u></sup> <sup>_<u>a</u>_</sup> <sup>2+14</sup> <sup>_<u>ab</u>_</sup> <sup><u>+7</u></sup> <sup>_<u>b</u>_</sup> <sup>2)</sup> ~~<u>24</u>~~ _<u>EIL</u>_ Node 4 0 _<u>−</u>_ <sup>_<u>bw</u>_</sup> <sup><u>(2</u></sup> <sup>_<u>a</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)(</u></sup> <sup>_<u>−</u>_</sup> <sup><u>2</u></sup> ~~<u>24</u>~~ <sup>_<u>L</u>_</sup> _<u>EIL</u>_ <sup>2+2</sup> <sup>_<u>a</u>_</sup> <sup>2+2</sup> <sup>_<u>ab</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup>2)</sup> ~~<u>24</u>~~ _<u>EIL</u>_ Table 16 . Example 4: node displacements and rotations. <u>Node #</u> <u>Force Fy</u> <u>Moment Mz</u> Node 1 _<u>−</u>_ <sup>_<u>bw</u>_</sup> <sup><u>(2</u></sup> <sup>_<u>a</u>_</sup> <sup>_<u>−</u>_</sup> ~~<u>2</u>~~ _<u>L</u>_ <sup><u>2</u></sup> <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)</u></sup> <sup>_<u>−</u>_</sup> ~~<u>2</u>~~ _<u>L</u>_ <sup><u>2</u></sup> <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)</u></sup> Node 4 _<u>bw</u>_ <u>(2</u> ~~<u>2</u>~~ _<u>aL</u>_ <u>+</u> _<u>b</u>_ <u>)</u> ~~<u>2</u>~~ _<u>aL</u>_ <u>+</u> _<u>b</u>_ <u>)</u> Table 17 . Example 4: support reactions. <u>Element #</u> <u>Start / End</u> <u>Shear Force (Vi, Vj)</u> <u>Moment (Mi, Mj)</u> 1 Start (i) _<u>−</u>_ <sup>_<u>bw</u>_</sup> <sup><u>(2</u></sup> <sup>_<u>a</u>_</sup> <sup>_<u>−</u>_</sup> ~~<u>2</u>~~ _<u>L</u>_ <sup><u>2</u></sup> <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)</u></sup> <sup>_<u>−</u>_</sup> ~~<u>2</u>~~ _<u>L</u>_ <sup><u>2</u></sup> <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)</u></sup> 0 End (j) _<u>bw</u>_ <u>(2</u> _<u>a</u>_ _<u>−</u>_ ~~<u>2</u>~~ _<u>L</u>_ <u>2</u> _<u>L</u>_ <u>+</u> _<u>b</u>_ <u>)</u> _<u>−</u>_ ~~<u>2</u>~~ _<u>L</u>_ <u>2</u> _<u>L</u>_ <u>+</u> _<u>b</u>_ <u>)</u> _<u>−</u>_ <sup>_<u>abw</u>_</sup> <sup><u>(2</u></sup> <sup>_<u>a</u>_</sup> ~~<u>2</u>~~ <sup>_<u>−</u>_</sup> _<u>L</u>_ <sup><u>2</u></sup> <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)</u></sup> ~~<u>2</u>~~ _<u>L</u>_ 2 Start (i) _<u>−</u>_ <sup>_<u>bw</u>_</sup> <sup><u>(2</u></sup> <sup>_<u>a</u>_</sup> <sup>_<u>−</u>_</sup> ~~<u>2</u>~~ _<u>L</u>_ <sup><u>2</u></sup> <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)</u></sup> <sup>_<u>−</u>_</sup> ~~<u>2</u>~~ _<u>L</u>_ <sup><u>2</u></sup> <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)</u></sup> _<u>abw</u>_ <u>(2</u> _<u>a</u>_ ~~<u>2</u>~~ _<u>−L</u>_ <u>2</u> _<u>L</u>_ <u>+</u> _<u>b</u>_ <u>)</u> ~~<u>2</u>~~ _<u>L</u>_ End (j) _<u>bw</u>_ <u>(2</u> ~~<u>2</u>~~ _<u>aL</u>_ <u>+</u> _<u>b</u>_ <u>)</u> _<u>a</u>_ <u>+</u> _<u>b</u>_ <u>)</u> ~~<u>2</u>~~ _<u>L</u>_ _<u>−</u>_ <sup>_<u>bw</u>_</sup> <sup><u>(2</u></sup> <sup>_<u>a</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> ~~<u>2</u>~~ <sup><u>)(</u></sup> _<u>L</u>_ <sup>_<u>a−L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)</u></sup> ~~<u>2</u>~~ _<u>L</u>_ 3 Start (i) _<u>−</u>_ <sup>_<u>bw</u>_</sup> <sup><u>(2</u></sup> ~~<u>2</u>~~ <sup>_<u>a</u>_</sup> _<u>L</u>_ <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)</u></sup> ~~<u>2</u>~~ <sup>_<u>a</u>_</sup> _<u>L</u>_ <sup><u>+</u></sup> <sup>_<u>b</u>_</sup> <sup><u>)</u></sup> _<u>bw</u>_ <u>(2</u> _<u>a</u>_ <u>+</u> _<u>b</u>_ ~~<u>2</u>~~ <u>)(</u> _<u>La−L</u>_ <u>+</u> _<u>b</u>_ <u>)</u> ~~<u>2</u>~~ _<u>L</u>_ End (j) _<u>bw</u>_ <u>(2</u> ~~<u>2</u>~~ _<u>aL</u>_ <u>+</u> _<u>b</u>_ <u>)</u> ~~<u>2</u>~~ _<u>aL</u>_ <u>+</u> _<u>b</u>_ <u>)</u> 0 Table 18 . Example 4: element forces and bending moments. The first three numerical examples did not include any uniform loads. In this fourth example, by applying the formulas of Eqs. (5) and (6) for Element 2 (with uniform load _q_ =- _w_ ), we get: Fig. 9 . Symbolic bending moment diagram for Example 4. Fig. 10 . The four-span beam of Example 5. <u>Lengths</u> [ _L_ _L_ _L_ _L_ ] <sup>_T_</sup> Supports PointLoads ~~<u>[</u>~~ ~~<u>[</u>~~ <u>[</u> 1 1 1 1 1 0 0 0 0 1 ~~<u>]</u>~~ _T_ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ~~<u>]</u>~~ _T_ _w_ _<u>−w</u>_ _<u>−w</u>_ _<u>−</u>_ <u>UniformLoads</u> <u>[</u> _<u>−w</u>_ _<u>−w</u>_ _<u>−w</u>_ _<u>−w</u>_ <u>]</u> <sup>_T_</sup> Table 19 . Details of the input parameters of the 5th numerical example. <u>Node #</u> <u>y-Displacement (Dy)</u> <u>z-Rotation (</u> _<u>R</u>_ <u>z)</u> Node 1 0 _<u>−</u>_ ~~<u>291</u>~~ <sup><u>7</u></sup> <sup>_<u>wL</u>_</sup> _<u>EI</u>_ <sup><u>3</u></sup> ~~<u>291</u>~~ _<u>EI</u>_ Node 2 0 ~~<u>776</u>~~ <u>5</u> _<u>wLEI</u>_ <sup><u>3</u></sup> Node 3 0 _<u>−</u>_ ~~<u>582</u>~~ <sup>_<u>wL</u>_</sup> _<u>EI</u>_ <sup><u>3</u></sup> Node 4 0 ~~<u>2328</u>~~ _<u>wLEI</u>_ <sup><u>3</u></sup> <u>Node 5</u> <u>0</u> <u>0</u> Table 20 . Example 5: node displacements and rotations. <u>Node #</u> <u>Force Fy</u> <u>Moment Mz</u> Node 1 <u>153</u> ~~<u>388</u>~~ _<u>wL</u>_ Node 2 <u>110</u> ~~<u>97</u>~~ _<u>wL</u>_ Node 3 <u>187</u> ~~<u>194</u>~~ _<u>wL</u>_ Node 4 <u>98</u> ~~<u>97</u>~~ _<u>wL</u>_ Node 5 <u>193</u> ~~388~~ _<u>wL</u>_ _<u>−</u>_ <sup><u>8</u></sup> <sup>_<u>wL</u>_</sup> ~~<u>97</u>~~ <sup><u>2</u></sup> Table 21 . Example 5: support reactions. Four-Span beam with uniform load (3 symbolic Parameters) The fifth numerical example is a four-span continuous beam with a uniform load _w_, fixed at its right end, where all spans have the same length _L_, as shown in Fig. 10. Although the computational model is larger and more complex than the previous ones and there are more nodes and elements, the symbolic parameters in this example are only three: _EI_, _L_, and _w_ . Table 19 shows the details of the model, as given in MATLAB. In this example we have 5 nodes and 4 elements. The results of the symbolic analysis are given in Tables 20 and 21, and Table 22, for Node displacements and rotations; support reactions; and element forces and moments, respectively. In this example, by applying the formulas of Eqs. (5) and (6) for all elements (as all elements have a uniform load _q_ =- _w_ applied on them), we get the results presented in Table 23 for the maximum value of the internal bending moment for each span. By taking the results presented in Table 22 (for element end values) and Table 23 (for span values), we can draw the bending moment diagram of the beam in a symbolic way, as shown in Fig. 11. Sensitivity analysis Sensitivity analysis is a powerful technique used in structural engineering to evaluate how variations in input parameters affect the system’s response. It plays an important role in understanding the robustness of a design <u>Element #</u> <u>Start / End</u> <u>Shear Force (Vi, Vj)</u> <u>Moment (Mi, Mj)</u> Start (i) <u>153</u> ~~<u>388</u>~~ _<u>wL</u>_ 0 1 ~~<u>388</u>~~ <sup>_<u>wL</u>_</sup> <sup><u>2</u></sup> _<u>≈−</u>_ 0 _._ 105670 _wL_ <sup>2</sup> End (j) <u>235</u> ~~388~~ _<u>wL</u>_ _<u>−</u>_ <sup><u>41</u></sup> ~~<u>388</u>~~ <sup>_<u>wL</u>_</sup> <sup><u>2</u></sup> 2 Start (i) <u>205</u> ~~388~~ _<u>wL</u>_ <u>41</u> ~~<u>388</u>~~ _<u>wL</u>_ <sup><u>2</u></sup> _<u>≈−</u>_ 0 _._ 105670 _wL_ <sup>2</sup> End (j) <u>183</u> ~~388~~ _<u>wL</u>_ _<u>−</u>_ <sup><u>15</u></sup> ~~<u>194</u>~~ <sup>_<u>wL</u>_</sup> <sup><u>2</u></sup> ~~<u>194</u>~~ <sup>_<u>wL</u>_</sup> <sup><u>2</u></sup> _<u>≈−</u>_ 0 _._ 077320 _wL_ <sup>2</sup> 3 Start (i) <u>191</u> ~~388~~ _<u>wL</u>_ <u>15</u> ~~<u>194</u>~~ _<u>wL</u>_ <sup><u>2</u></sup> _<u>≈−</u>_ 0 _._ 077320 _wL_ <sup>2</sup> End (j) <u>197</u> ~~388~~ _<u>wL</u>_ _<u>−</u>_ <sup><u>33</u></sup> ~~<u>388</u>~~ <sup>_<u>wL</u>_</sup> <sup><u>2</u></sup> ~~<u>388</u>~~ <sup>_<u>wL</u>_</sup> <sup><u>2</u></sup> _<u>≈−</u>_ 0 _._ 085052 _wL_ <sup>2</sup> 4 Start (i) <u>195</u> ~~388~~ _<u>wL</u>_ <u>33</u> ~~<u>388</u>~~ _<u>wL</u>_ <sup><u>2</u></sup> _<u>≈−</u>_ 0 _._ 085052 _wL_ <sup>2</sup> End (j) <u>193</u> ~~388~~ _<u>wL</u>_ _<u>−</u>_ <sup><u>8</u></sup> <sup>_<u>wL</u>_</sup> ~~<u>97</u>~~ <sup><u>2</u></sup> <sup>_<u>wL</u>_</sup> ~~<u>97</u>~~ <sup><u>2</u></sup> _<u>≈−</u>_ 0 _._ 082474 _wL_ <sup>2</sup> Table 22 . Example 5: element forces and bending moments. <u>Element #</u> <u>xextrM</u> <u>M(xextrM)</u> 1 <u>153</u> ~~<u>388</u>~~ _<u>L</u>_ <u>23409</u> ~~<u>301088</u>~~ _<u>wL</u>_ <sup><u>2</u></sup> _<u>≈</u>_ 0 _._ 077748 _wL_ <sup>2</sup> <u>*</u> 2 <u>205</u> ~~388~~ _<u>L</u>_ <u>10209</u> ~~<u>301088</u>~~ _<u>wL</u>_ <sup><u>2</u></sup> _<u>≈</u>_ 0 _._ 033907 _wL_ <sup>2</sup> 3 <u>191</u> ~~388~~ _<u>L</u>_ <u>13201</u> ~~<u>301088</u>~~ _<u>wL</u>_ <sup><u>2</u></sup> _<u>≈</u>_ 0 _._ 043844 _wL_ <sup>2</sup> 4 <u>195</u> ~~388~~ _<u>L</u>_ <u>12417</u> ~~<u>301088</u>~~ _<u>wL</u>_ <sup><u>2</u></sup> _<u>≈</u>_ 0 _._ 041240 _wL_ <sup>2</sup> Table 23 . Location and value of max. Bending moment for each span of the beam (5th numerical example). *Max value at any span. Fig. 11 . Symbolic bending moment diagram for Example 5. and in optimizing performance by identifying which parameters have the most significant impact on the system’s behavior. One benefit of the application of symbolic solutions to problems in structural engineering is that sensitivity analysis becomes straightforward. If the behavior of a structural system is expressed symbolically, the engineer has access to closed-form expressions that explain exactly how changes in such important parameters such as beam length, modulus of elasticity, or loads will influence the system response. This makes it easy to compute partial derivatives of any output with respect to any input parameter. For example, with a symbolic expression for displacement, one can easily compute the sensitivity of the displacement to changes in beam length. For example, consider the second numerical example shown in the previous section. The vertical displacement at _x_ = _a_, where the load _P_ is applied, according to Table 8 is given by (11) _Dy,x_ = _−_ <sup>_<u>Px</u>_</sup> <sup>2(</sup> <sup>_<u>L −</u>_</sup> <u>12</u> _EIL_ <sup>_<u>x</u>_</sup> <sup><u>)3(33</u></sup> <sup>_<u>L</u>_</sup> <sup><u>+</u></sup> <sup>_<u>x</u>_</sup> <sup><u>)</u></sup> <u>Example #</u> <u>Time for 100 runs (s)</u> <u>Average time for a single run (s)</u> <u>1</u> <u>5.93</u> <u>0.06</u> <u>2</u> <u>10.50</u> <u>0.11</u> <u>3</u> <u>21.48</u> <u>0.21</u> <u>4</u> <u>22.42</u> <u>0.22</u> <u>5</u> <u>12.74</u> <u>0.13</u> Table 24 . Computational time needed to run each of the examples. Using mathematics or the MATLAB Symbolic Math Toolbox and its commands _diff_ and _simplify_, we can compute the partial derivative of the displacement with respect to any parameter ( _P_, _x_, _L_, _EI_ ), giving us a mathematical expression for how changes of a parameter affect the displacement. In this example, the partial derivative of _D_ y, x with respect to _L_ can be found as: _<u>∂Dy,x</u>_ _∂L_ = _−_ <sup>_<u>Px</u>_</sup> <sup>2</sup> <u>4</u> <sup><u>(</u></sup> <sup>_<u>L</u>_</sup> _EIL_ <sup>2</sup> <sup>_<u>−</u>_</sup> <sup><u>4</u></sup> <sup>_<u>x</u>_</sup> <sup>2)</sup> _<u>∂Dy,x</u>_ (12) <u>4</u> <sup><u>(</u></sup> <sup>_<u>L</u>_</sup> _EIL_ <sup>2</sup> <sup>_<u>−</u>_</sup> <sup><u>4</u></sup> <sup>_<u>x</u>_</sup> <sup>2)</sup> 2 This partial derivative provides the sensitivity of the displacement to changes in beam length, offering insight into how modifications in the design will affect the performance of the structure. The same approach can be applied to assess the sensitivity of internal forces, bending moments, or support reactions to variations in other input parameters. In numerical analysis, results are obtained for specific input values, requiring repeated analyses to assess parameter sensitivity. In contrast, symbolic expressions retain input-output relationships, enabling direct sensitivity evaluation without additional computation. This provides engineers with deeper insight, allowing them to predict how design changes will affect structural behavior. This capability is particularly valuable in optimization, where small adjustments can significantly impact performance and cost, eliminating the need for repeated numerical simulations and enhancing design efficiency. Efficiency, scalability and elegance of symbolic computations Although the symbolic implementation of MatSA can offer significant advantages, it also presents challenges in terms of computational efficiency and scalability, particularly for larger systems. As structural systems grow in complexity, the symbolic representations of stiffness matrices, force vectors, and displacement fields can become increasingly large and computationally demanding. It is important to address these challenges to ensure that symbolic MatSA remains practical and efficient for engineering applications. For a simple system, a symbolic equation may provide a clear and elegant solution. However, for larger systems or those involving a large number of symbolic variables, the resulting expressions can quickly become excessively long and complex. A symbolic solution that spans multiple pages with dense expressions will offer little practical value compared to a simple numerical result. This is a critical limitation because, even though symbolic software like MATLAB will always attempt to generate a symbolic solution, the elegance and simplicity of the solution are important for engineers. To deal with this problem, a practical approach is to limit the number of symbolic variables by keeping only some key parameters while handling less critical ones numerically. This hybrid symbolic-numerical approach keeps expressions compact and comprehensible, balancing flexibility with computational efficiency. A wellstructured symbolic solution should be concise, interpretable, and insightful; if overly complex, it loses practical value despite being technically correct. By keeping the right balance, engineers can use symbolic computation’s advantages without excessive complexity, ensuring both clarity and efficiency in analysis. Table 24 presents the computation times for the five examples, with the second column showing the total time required to run each example 100 times and the third column displaying the average time per run, calculated by dividing the total time by 100. All computations were performed on a Windows 11 Pro (24H2) desktop with 64 GB RAM, a 4 TB NVMe SSD, and a 12th Gen Intel <sup>®</sup> Core™ i7-12700 F processor (2.10 GHz). The results illustrate the increasing computational cost as beam complexity grows. Although symbolic computations provide valuable analytical insights, users should be mindful of this trade-off when applying the method to larger beam systems. Conclusions This study has presented the development and application of an open-source MATLAB program capable of performing symbolic matrix structural analysis for continuous beams under point and uniform loads. The tool, freely available on GitHub, enables users to generate analytical solutions efficiently and accurately for various beam configurations. These solutions are valuable in both engineering practice and education, offering insights into structural behavior while complementing numerical methods. Beyond deriving analytical solutions for displacements, support reactions, and internal forces, the program can also generate influence lines for continuous beams and facilitate sensitivity analysis, which is particularly beneficial in optimization and design exploration. The ability to compute partial derivatives of output parameters with respect to input variables provides an enhanced understanding of how design choices influence structural responses. Although symbolic solutions offer clarity and parameterized insights, they should always be viewed as a complementary approach rather than a replacement for numerical methods. Numerical methods remain essential for large-scale structural problems involving thousands or millions of unknowns, where symbolic computation is impractical. Symbolic MatSA, on the other hand, provides explicit mathematical relationships, making it particularly useful for exploring parameter dependencies, conducting theoretical studies, and reinforcing fundamental structural mechanics concepts. Additionally, one must recognize the trade-off between symbolic precision and computational complexity. The program is capable of producing detailed symbolic expressions, but in some cases, overly complex formulas may reduce practical applicability. Balancing elegance, clarity, and efficiency is key when utilizing symbolic computations in engineering applications. Through various examples, we have demonstrated the potential of symbolic MatSA in providing insightful analytical solutions. The next step in this research is to extend the methodology to other structural systems, such as 2D and 3D trusses and frames, further expanding the scope of symbolic structural analysis. By integrating symbolic and numerical methods, engineers and researchers can achieve a more comprehensive understanding of structural behavior, benefiting both computational analysis and engineering education. Data availability The source code of the program is freely available in the GitHub repository ​(​h​t​t​p​s​:​/​/​g​i​t​h​u​b​.​c​o​m​/​v​p​l​e​v​r​i​s​/​S​y​m​b​o​ l​i​c​M​a​t​S​A​-​B​e​a​m​s​)​, accompanied by all the examples discussed in the study. Received: 15 January 2025; Accepted: 8 April 2025 References 1. Liu, W. K., Li, S. & Park, H. S. Eighty years of the finite element method: birth, evolution, and future. _Arch. Comput. Methods Eng._ 29 [(6), pp. 4431–4453. https://doi.org/10.1007/s11831-022-09740-9 (2022).](https://doi.org/10.1007/s11831-022-09740-9) 2. Plevris, V. & Tsiatas, G. Computational structural engineering: past achievements and future challenges. _Front. Built Environ._ 4 [(21), pp. 1–5. https://doi.org/10.3389/fbuil.2018.00021 (2018).](https://doi.org/10.3389/fbuil.2018.00021) 3. Mazumder, S. Chap. 1 _- Introduction to Numerical Methods for Solving Differential Equations_, in _Numerical Methods for Partial_ _Differential Equations_ [, S. Mazumder, Editor. Academic Press. pp. 1–49. (2016). ​h​t​t​p​s​:​/​/​d​o​i​.​o​r​g​/​1​0​.​1​0​1​6​/​B​9​7​8​-​0​-​1​2​-​8​4​9​8​9​4​-​1​.​0​0​0​0​](https://doi.org/10.1016/B978-0-12-849894-1.00001-9) [1​-​9](https://doi.org/10.1016/B978-0-12-849894-1.00001-9) ​ 4. Papadrakakis, M., Lagaros, N. D., Tsompanakis, Y. & Plevris, V. Large scale structural optimization: computational methods and optimization algorithms. _Arch. Comput. Methods Eng._ 8 [(3), pp. 239–301. https://doi.org/10.1007/BF02736645 (2001).](https://doi.org/10.1007/BF02736645) 5. Lagaros, N. D., Plevris, V. & Kallioras, N. A. The mosaic of metaheuristic algorithms in structural optimization. _Arch. Comput._ _Methods Eng._ 29 [, pp. 5457–5492. https://doi.org/10.1007/s11831-022-09773-0 (2022).](https://doi.org/10.1007/s11831-022-09773-0) 6. Farahmand-Tabar, S. & Aghani, K. Chap. 2 _- Matrix analysis of framed structures_, in Practical Programming of Finite Element Procedures for Solids and Structures with MATLAB <sup>®</sup>, S. Farahmand-Tabar and K. Aghani, Editors. Elsevier. pp. 29–116. DOI [https://doi.org/10.1016/B978-0-443-15338-9.00007-1. (2024).](https://doi.org/10.1016/B978-0-443-15338-9.00007-1) 7. Geisel, A. & Svaricek, F. A MATLAB toolbox for structural analysis of linear systems. _IFAC-PapersOnLine_ 52 [(17), pp. 7–12. ​h​t​t​p​s​](https://doi.org/10.1016/j.ifacol.2019.11.018) [:​/​/​d​o​i​.​o​r​g​/​1​0​.​1​0​1​6​/​j​.​i​f​a​c​o​l​.​2​0​1​9​.​1​1​.​0​1​8 (2019).](https://doi.org/10.1016/j.ifacol.2019.11.018) ​ 8. Yang, B. Chap. 6 _- Static analysis of constrained multispan beams_, in _Stress, Strain, and Structural Dynamics (Second Edition)_, B. [Yang, Editor. Academic Press. pp. 183–223. (2023). https://doi.org/10.1016/B978-0-12-818563-6.00018-3](https://doi.org/10.1016/B978-0-12-818563-6.00018-3) 9. Papazafeiropoulos, G. & Plevris, V. OpenSeismoMatlab: new features, verification and charting future endeavors. _Buildings_ 14 (1), [304. https://doi.org/10.3390/buildings14010304 (2024).](https://doi.org/10.3390/buildings14010304) 10. Yang, B. Chap. 9 _- Dynamics of particles and rigid bodies_, in _Stress, Strain, and Structural Dynamics (Second Edition)_, B. Yang, Editor. [Academic Press. pp. 351–430. (2023). https://doi.org/10.1016/B978-0-12-818563-6.00012-2](https://doi.org/10.1016/B978-0-12-818563-6.00012-2) 11. Yang, B. Chap. 1 _4 - Dynamic analysis of constrained, combined, and stepped beams_, in _Stress, Strain, and Structural Dynamics_ _(Second Edition)_ [, B. Yang, Editor. Academic Press. pp. 801–872. (2023). https://doi.org/10.1016/B978-0-12-818563-6.00019-5](https://doi.org/10.1016/B978-0-12-818563-6.00019-5) 12. Plevris, V. & Solorzano, G. A collection of 30 multidimensional functions for global optimization benchmarking. _Data_ 7 (4), 52. [https://doi.org/10.3390/data7040046 (2022).](https://doi.org/10.3390/data7040046) 13. Andreassen, E., Clausen, A., Schevenels, M., Lazarov, B. S. & Sigmund, O. Efficient topology optimization in MATLAB using 88 lines of code. _Struct. Multidisciplinary Optim._ 43 [(1), pp. 1–16. https://doi.org/10.1007/s00158-010-0594-7 (2011).](https://doi.org/10.1007/s00158-010-0594-7) 14. Sigmund, O. A 99 line topology optimization code written in matlab. _Struct. Multidisciplinary Optim._ 21 [(2), pp. 120–127. ​h​t​t​p​s​:​/​/​](https://doi.org/10.1007/s001580050176) [d​o​i​.​o​r​g​/​1​0​.​1​0​0​7​/​s​0​0​1​5​8​0​0​5​0​1​7​6 (2001).](https://doi.org/10.1007/s001580050176) ​ 15. Ferreira, A. J. M. & Fantuzzi, N. Bernoulli 2D frames, in MATLAB Codes for Finite Element Analysis: Solids and Structures. [Springer International Publishing: Cham. pp. 105–121. DOI https://doi.org/10.1007/978-3-030-47952-7_7. (2020).](https://doi.org/10.1007/978-3-030-47952-7_7) 16. MathWorks _Symbolic Math Toolbox™ User’s Guide._ (2024). 17. Attaway, S. Chap. 1 _4 - Advanced Mathematics_, in _MATLAB (Fifth Edition)_, S. Attaway, Editor. Butterworth-Heinemann. pp. 527– [581. (2019). https://doi.org/10.1016/B978-0-12-815479-3.00014-3](https://doi.org/10.1016/B978-0-12-815479-3.00014-3) 18. Valentine, D. T. & Hahn, B. D. Chap. 1 _7 - Symbolics toolbox_, in _Essential MATLAB for Engineers and Scientists (Eighth Edition)_, D.T. [Valentine and B.D. Hahn, Editors. Academic Press. pp. 351–368. (2023). https://doi.org/10.1016/B978-0-32-399548-1.00024-2](https://doi.org/10.1016/B978-0-32-399548-1.00024-2) 19. Asadi, F. _Symbolic Calculations in MATLAB_ <sup>®</sup>, in _Applied Numerical Analysis with MATLAB_ <sup>®</sup> / _Simulink_ <sup>®</sup> _: For Engineers and Scientists_, [F. Asadi, Editor. Springer Nature Switzerland: Cham. pp. 55–71. (2023). https://doi.org/10.1007/978-3-031-19366-8_2](https://doi.org/10.1007/978-3-031-19366-8_2) 20. Mureşan, M. _Introduction to Mathematica_ <sup>®</sup> _with Applications_ [. : Springer Cham, ISBN: 978-3-319-52003-2. (2017). ​h​t​t​p​s​:​/​/​d​o​i​.​o​r​g​/​](https://doi.org/10.1007/978-3-319-52003-2) [1​0​.​1​0​0​7​/​9​7​8​-​3​-​3​1​9​-​5​2​0​0​3​-​2](https://doi.org/10.1007/978-3-319-52003-2) ​ 21. Smith, E. _Maple_, in _Introduction to the Tools of Scientific Computing_ . Springer International Publishing: Cham. pp. 219–244. (2022). [https://doi.org/10.1007/978-3-031-16972-4_10](https://doi.org/10.1007/978-3-031-16972-4_10) 22. Cywiak, M. & Cywiak, D. _SymPy_, in _Multi-Platform Graphics Programming with Kivy: Basic Analytical Programming for 2D, 3D,_ _and Stereoscopic Design_ [. Apress: Berkeley, CA. pp. 173–190. (2021). https://doi.org/10.1007/978-1-4842-7113-1_11](https://doi.org/10.1007/978-1-4842-7113-1_11) 23. Lynch, S. A tutorial introduction to MATLAB and the symbolic math toolbox, in Dynamical Systems with Applications using MATLAB <sup>®</sup> [. Birkhäuser Boston: Boston, MA. pp. 1–13. DOI https://doi.org/10.1007/978-0-8176-8156-2_1. (2004).](https://doi.org/10.1007/978-0-8176-8156-2_1) 24. Plevris, V. & Ahmad, A. _Deriving Analytical Solutions Using Symbolic Matrix Structural Analysis: Part 1 - Continuous Beams._ ArXiv [e-prints, 2024(arXiv:2411.03514) https://doi.org/10.48550/arXiv.2411.03514](https://doi.org/10.48550/arXiv.2411.03514) 25. Plevris, V. & Ahmad, A. Deriving analytical solutions using symbolic matrix structural analysis: Part 2 – Plane trusses. _Heliyon_ 11 [(4). https://doi.org/10.1016/j.heliyon.2025.e42372 (2025).](https://doi.org/10.1016/j.heliyon.2025.e42372) 26. Plevris, V. & Ahmad, A. _Deriving Analytical Solutions Using Symbolic Matrix Structural Analysis: Part 2 - Plane Trusses._ ArXiv [e-prints, 2024(arXiv:2411.16573) https://doi.org/10.48550/arXiv.2411.16573](https://doi.org/10.48550/arXiv.2411.16573) 27. Korncoff, A. R. & Fenves, S. J. Symbolic generation of finite element stiffness matrices. _Comput. Struct._ 10 [(1), pp. 119–124. ​h​t​t​p​s​:​](https://doi.org/10.1016/0045-7949%0x2879%0x2990078-6) [/​/​d​o​i​.​o​r​g​/​1​0​.​1​0​1​6​/​0​0​4​5​-​7​9​4​9​(​7​9​)​9​0​0​7​8​-​6 (1979).](https://doi.org/10.1016/0045-7949%0x2879%0x2990078-6) ​ 28. Leff, L. & Yun, D. Y. Y. The symbolic finite element analysis system. _Comput. Struct._ 41 [(2), pp. 227–231. ​h​t​t​p​s​:​/​/​d​o​i​.​o​r​g​/​1​0​.​1​0​1​6​/​0​](https://doi.org/10.1016/0045-7949%0x2891%0x2990426-M) [0​4​5​-​7​9​4​9​(​9​1​)​9​0​4​2​6​-​M (1991).](https://doi.org/10.1016/0045-7949%0x2891%0x2990426-M) ​ 29. Nagabhushanam, J., Srinivas, C. J. & Gaonkar, G. H. Symbolic generation of elemental matrices for finite element analysis. _Comput._ _Struct._ 42 [(3), pp. 375–380. https://doi.org/10.1016/0045-7949(92)90033-V (1992).](https://doi.org/10.1016/0045-7949%0x2892%0x2990033-V) 30. Tummarakota, S. & Lieh, J. Symbolic finite element modeling of structural systems. _J. Symbolic Comput._ 22 (1), pp. 105–119. [https://doi.org/10.1006/jsco.1996.0043 (1996).](https://doi.org/10.1006/jsco.1996.0043) 31. Eriksson, A. & Pacoste, C. Symbolic software tools in the development of finite elements. _Comput. Struct._ 72 (4), pp. 579–593. [https://doi.org/10.1016/S0045-7949(98)00333-2 (1999).](https://doi.org/10.1016/S0045-7949%0x2898%0x2900333-2) 32. Amberg, G., Tönhardt, R. & Winkler, C. _Finite element simulations using symbolic computing._ Mathematics and Computers in [Simulation, 49(4): pp. 257–274 (1999). https://doi.org/10.1016/S0378-4754(99)00054-3](https://doi.org/10.1016/S0378-4754%0x2899%0x2900054-3) 33. Pavlović, M. N. Symbolic computation in structural engineering. _Comput. Struct._ 81 [(22), pp. 2121–2136. ​h​t​t​p​s​:​/​/​d​o​i​.​o​r​g​/​1​0​.​1​0​1​6​/​](https://doi.org/10.1016/S0045-7949%0x2803%0x2900286-4) [S​0​0​4​5​-​7​9​4​9​(​0​3​)​0​0​2​8​6​-​4 (2003).](https://doi.org/10.1016/S0045-7949%0x2803%0x2900286-4) ​ 34. Skrinar, M. & Pliberšek, T. On the derivation of symbolic form of stiffness matrix and load vector of a beam with an arbitrary number of transverse cracks. _Comput. Mater. Sci._ 52 [(1), pp. 253–260. https://doi.org/10.1016/j.commatsci.2011.07.013 (2012).](https://doi.org/10.1016/j.commatsci.2011.07.013) 35. Roque, C. M. C. Symbolic and numerical analysis of plates in bending using matlab. _J. Symbolic Comput._ [61–62, pp. 3-11. ​h​t​t​p​s​:​/​/​](https://doi.org/10.1016/j.jsc.2013.10.005) [d​o​i​.​o​r​g​/​1​0​.​1​0​1​6​/​j​.​j​s​c​.​2​0​1​3​.​1​0​.​0​0​5 (2014).](https://doi.org/10.1016/j.jsc.2013.10.005) ​ 36. Loong, C. N., San Juan, J. D. Q. & Chang, C. C. Image-based structural analysis for education purposes: A proof-of-concept study. _Comput. Appl. Eng. Educ._ 31 [(5), pp. 1200–1218. https://doi.org/10.1002/cae.22635 (2023).](https://doi.org/10.1002/cae.22635) Author contributions V.P. (Vagelis Plevris) had the research idea, led the conceptualization and design of the study, developed the symbolic analysis framework, and wrote the main manuscript text. He also supervised the implementation of the MATLAB code and conducted the primary analysis of results. A.A. (Afaq Ahmad) performed the literature review, contributed to the implementation of the MATLAB code, and prepared the figures and tables. Both authors reviewed the manuscript and approved the final version. Declarations Competing interests The authors declare no competing interests. Additional information Correspondence and requests for materials should be addressed to V.P. Reprints and permissions information is available at www.nature.com/reprints. Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy [of this licence, visit http://creativecommons.org/licenses/by/4.0/.](http://creativecommons.org/licenses/by/4.0/) © The Author(s) 2025

섹션 본문 90문단 · 32,473자

(제목 없음)

1This study investigates the use of symbolic computation in Matrix Structural Analysis (MatSA) for continuous beams, using the MATLAB Symbolic Math Toolbox.By employing symbolic MatSA, analytical expressions for displacements, support reactions, and internal forces are derived, offering deeper insights into structural behavior.This approach facilitates efficient and scalable sensitivity analysis, where partial derivatives of outputs concerning input parameters can be directly computed, enhancing design exploration.The development includes an open-source MATLAB program, hosted on GitHub, enabling symbolic analysis of continuous beams subjected to point and uniform loads.This approach is valuable for both engineering practice and pedagogy, enriching the understanding of structural mechanics and aiding in education by illustrating clear parameter relationships.The program supports deriving influence lines and identifying maximum response values.

Literature review

2There have been relatively few attempts in the literature to address stiffness matrices symbolically.Korncoff and Fenves 27 made an early effort to develop a symbolic processor aimed at assisting in the generation of stiffness matrices for finite elements, despite the limited computational resources available at the time.Their results, however, highlighted several promising avenues for future research, both within the specific domain of finite element analysis (FEA) and in the broader application of symbolic processing techniques.Leff and Yun 28 presented a system for generating global stiffness matrices where elements are expressed as functions of shape parameters.Their approach builds on STRUDL syntax, but with a significant difference: instead of fixed values, joint coordinates, material properties, and forces are entered as parameterized expressions.The resulting stiffness matrix retains these parameter dependencies, providing flexibility in the analysis.This method allows engineers to explore how changes in structural parameters affect the stiffness matrix, offering a more versatile and adaptive framework for FEA.

3Nagabhushanam, Srinivas 29 developed a specialized symbolic manipulation package in FORTRAN for generating elemental matrices in FEA.The package allows users to perform symbolic manipulations through simple, user-friendly commands.With a modular structure and minimal memory requirements, it efficiently handles large-order matrices, even on personal computers.The package supports various element geometries and shape functions, including isoparametric elements, and offers a multilevel operator facility to perform several manipulations with a single command.This compact tool has been successfully applied to generate elemental stiffness, flexibility, and nodal force matrices, demonstrating its utility in symbolic FEA.Tummarakota and Lieh 30 addressed the need for efficient algorithms to model and predict the behavior of multibody structural systems in applications such as aerospace, robotics, and automotive engineering.They utilized a computeraided symbolic method to formulate equations of motion based on Lagrange's method, offering greater physical insight compared to traditional numerical approaches.The generated equations are automatically converted into FORTRAN code, enabling simulations and control synthesis.The study demonstrated the effectiveness of this approach through two examples: a slider-crank mechanism and an aircraft model, which are solved using the Runge-Kutta-Fehlberg method for numerical integration.

4Eriksson and Pacoste 31 discuss the use of symbolic software in developing finite element procedures, particularly for complex problems involving higher-order instabilities requiring precise formulations.The authors highlight that symbolic tools enhance the efficiency and clarity of procedural development, enabling effective comparisons between various element assumptions.The research includes beam formulations for plane and space models, allowing analytical verification of equivalence between displacement and co-rotational contexts.Symbolic derivation also simplifies handling finite space rotations and supports the systematic derivation of local displacements from global variables.Amberg, Tönhardt 32 describe the development of a toolbox in Maple for generating finite element codes from symbolic mathematical specifications, facilitating 1D, 2D, and 3D simulations.This toolbox has significantly accelerated research in areas such as thermocapillary convection, welding, and crystal growth by reducing the time from conceptualization to a functioning simulation to mere hours.The approach promotes flexibility, transparency, and thorough documentation, enabling researchers to easily modify models and focus on physical insights and numerical properties while minimizing errors and debugging.

5Pavlović 33 discussed the use of symbolic computation in structural engineering, highlighting its emergence as a powerful tool alongside traditional numerical methods.He reviewed past applications where symbolic computations have been underutilized and emphasized the potential for significant advancements in areas of classical structural analysis.The author argues that symbolic computation invigorates classical analytical techniques, offering new opportunities to address complex structural problems.He proposes a more balanced approach that integrates both symbolic and numerical methods, demonstrating their complementary strengths in solving structural mechanics problems efficiently and accurately.

6Skrinar and Pliberšek 34 derived a symbolic stiffness matrix and load vector for a slender beam with multiple transverse cracks under uniform loading.Using the principle of virtual work, they provided closed-form analytical expressions that facilitate fast and straightforward evaluations.This approach, which excludes shape functions, makes the impact of crack depth and location on flexural deformation clearer, aiding in crack identification.The developed matrix is ideal for modeling flexural cracks in beams and columns, which is relevant in earthquake engineering per European design code EC8.Roque 35 explored the symbolic and numerical analysis of bending plates using MATLAB for symbolic manipulation of expressions.The author emphasized the importance of integrating numerical and symbolic approaches in problem-solving, highlighting MATLAB's versatility in seamlessly combining these computational methods.

Symbolic vs. Numerical expressions and solutions in MatSA

7The symbolic representation of structural analysis problems can provide engineers and researchers with deeper insight into structural behavior.By maintaining algebraic relationships between parameters, symbolic MatSA enables the exploration of how changes in material properties, geometry, or loading affect the overall response of the structure.Symbolic solutions are particularly useful in scenarios where flexibility and adaptability are crucial, as they provide parameterized solutions not confined to specific input values.Furthermore, when symbolic expressions are available, engineers can easily calculate partial derivatives with respect to various input parameters, facilitating sensitivity analyses and design optimization in a straightforward and efficient manner, as will be examined in detail in Sect.6.

8One of the key advantages of symbolic MatSA lies in its educational value.Symbolic solutions can help students and professionals develop a deeper understanding of the fundamental principles of mechanics and structural behavior.By maintaining algebraic relationships between key parameters, such as the modulus of elasticity or the moment of inertia of the beam's cross-section, symbolic expressions explicitly reveal how these factors influence displacements, stresses, and strains.This level of transparency enhances conceptual learning and can provide insights that may be less apparent in purely numerical approaches, which often produce results without explicitly showing the underlying parameter dependencies.However, it is important to recognize that numerical methods remain essential in structural analysis, particularly for solving large-scale problems with thousands or even millions of unknowns, which are beyond the reach of any symbolic computation.In this regard, symbolic and numerical approaches should be seen as complementary rather than competing techniques, each offering unique advantages depending on the context and scale of the problem at hand.

Key features and novelty of this study

9This study introduces an open-source MATLAB program designed for symbolic MatSA of continuous beams under point and uniform loads.While previous research has explored symbolic solutions for beams, to the best of our knowledge, this is the first program capable of automatically deriving analytical solutions for any continuous beam configuration, regardless of its complexity.Users can define beam problems to obtain symbolic expressions for displacements, forces, and moments at any position x or determine their maximum values efficiently.The main features of the program include:

10• Closed-form solutions for any output quantities (e.g., support reactions) across various continuous beam configurations.• Solutions expressed as functions of x for specific points on the beam (e.g., bending moment M(x)) and determination of maximum values along the beam (e.g., M max ).• Analytical expressions for influence lines for specified outputs (e.g., support reactions influenced by a unit load moving along the beam).• Sensitivity analysis for any output quantity relative to input parameters, utilizing MATLAB's built-in differentiation capabilities.

11The source code is freely available at GitHub (https://github.com/vplevris/SymbolicMatSA-Beams),accompanied by all examples discussed in the study.This work was implemented using MATLAB R2024b and its symbolic toolbox, and it is anticipated to be compatible with earlier versions.Users are encouraged to download the code, experiment, test it, and create their own analytical solutions.The implementation is user-friendly, requiring minimal setup to execute custom analyses.

Continuous beam stiffness matrix

12The stiffness matrix plays a crucial role in MatSA as it defines the relationship between the applied forces and the resulting displacements within a structural system.Typically, in MatSA/FEM stiffness matrices are computed numerically for each individual element and subsequently assembled into a global system of equations representing the entire structure.Numerical integration is usually needed, for example for the case of 2D plane stress elements or more complex elements, which is regularly done using Gauss quadrature.However, in MatSA, for linear-type elements, it is usually possible to derive an exact symbolic expression for the stiffness matrix of an element.One such case is the 2D Euler-Bernoulli beam with 3 degrees of freedom (DOFs) per node 15 which is commonly used in the linear static analysis of plane beams and frames.In this study, we use a beam element with 2 DOFs per node, one translational and one rotational, resulting in 4 DOFs for the element, as shown in Fig. 1.The axial degree of freedom is omitted because the specific element is primarily designed for the analysis of continuous beams, where axial effects are typically negligible.In this context, calculating the element stiffness matrix is straightforward.The symbolic 4 × 4 stiffness matrix for the Euler-Bernoulli beam element, assuming the axial degree of freedom is neglected, corresponding to the DOFs shown in Fig. 1, is given by Eq. ( 1).

13In this expression, E denotes Young's modulus of the material, I represents the moment of inertia of the beam's cross-section, and L is the length of the beam element.For continuous beam analysis, where all beam elements are essentially horizontal and oriented from the left (Start node i) to the right (End node j), the local stiffness matrix coincides with the global stiffness matrix of the element.This eliminates the need for any element transformation, as the rotation angle of the element is zero.

Educational benefits and importance of symbolic solutions in structural analysis

14Symbolic solutions in MatSA provide significant educational advantages by maintaining explicit relationships between structural parameters.Unlike numerical methods, which yield specific values for given inputs, symbolic solutions express results in algebraic form, making it easier to understand how variables such as modulus of elasticity (E), moment of inertia (I), and span length (L) influence displacements, forces, and moments.This clarity enhances both theoretical understanding and practical applications in structural analysis.

15A key benefit of symbolic MatSA is its ability to visualize parameter dependencies.In traditional numerical solutions, results are obtained for specific cases, only.Symbolic expressions explicitly reveal how different parameters contribute to structural behavior.For instance, in a simply supported beam with a point load at midspan, the displacement formula is

16From this, students and engineers can immediately see that increasing the span length or reducing material stiffness significantly increases displacement.Such direct relationships are not readily apparent in numerical approaches, where multiple simulations with varying input values are required to observe trends.Another important aspect of symbolic solutions is their role in superposition and structural behavior analysis.When analyzing continuous beams subjected to multiple loads, symbolic expressions make it possible to isolate the effect of each load independently and then combine them.This is particularly useful in understanding load interaction effects and verifying results in structural mechanics courses.

17Another advantage of symbolic MatSA is its usefulness in structural design education.Many classical structural engineering problems involve parameterized solutions that help students grasp the effects of geometric, material, and loading variations.Instructors can use symbolic solutions to illustrate fundamental principles of mechanics, allowing students to explore how different design choices impact structural response.The ability to manipulate symbolic expressions brings deeper engagement with structural mechanics, reinforcing key concepts through direct algebraic relationships rather than isolated numerical outputs.The use of symbolic computation in structural analysis education aligns with findings from other educational research.For instance, the novel Image-based Structural Analysis method demonstrates how integrating technology can enhance the learning experience by allowing students to analyze structural responses directly from hand-drawn sketches 36 .

18Although symbolic analysis offers clarity and insight, numerical methods remain essential for large-scale structural problems, where symbolic computation is impractical due to the number of unknowns.Numerical FEA can efficiently handle complex structures with thousands of degrees of freedom, making it the preferred choice for real-world full-scale engineering applications.However, symbolic and numerical methods are not competing but complementary approaches-symbolic solutions provide deeper understanding and theoretical insight, while numerical methods enable large-scale computations and real-world applications.

19In summary, symbolic MatSA bridges the gap between theory and computation by providing exact, parameterized solutions that enhance structural analysis education.The ability to explicitly express interdependencies between input parameters and structural responses makes symbolic methods a powerful tool for both learning and research.When used alongside numerical methods, they enable a comprehensive approach to structural analysis, equipping engineers and students with the tools needed for both theoretical exploration and practical application.

Symbolic expressions for intermediate values of internal forces and local extrema

20In matrix structural analysis of beams, whether conducted numerically or symbolically, the results typically include displacements (or rotations) at nodal points and element forces at the ends of each element (nodes i and j).Although intermediate values for displacements or internal forces are not provided directly by the method, these quantities can be determined indirectly by applying established principles of statics.

21It is quite straightforward to find the intermediate values of internal forces (shear force and bending moment) at any given point x within an element, based on equilibrium and the known forces at the ends.We consider the general case of a beam element with uniform load q on it (positive q points upwards, towards the y axis of the beam), as shown in Fig. 2.

22The formulas for the internal shear force and the bending moment at a given location, x, calculated from the left side, are:

23Here, x represents the distance along the local element x-axis, measured from the left node (Node i) of the element.When x = 0, it corresponds to the starting point of the element (Node i), while x = L marks the end of the element (Node j).The end moments, M i and M j , are defined as positive when they act counter-clockwise, consistent with the notation in Fig. 1.On the other hand, for the shear force and bending moment diagrams, the internal shear force V(x) is positive when it induces clockwise rotation of the element, and the internal bending moment M(x) is considered positive when it induces tension in the bottom fiber of the beam.These conventions are detailed in Fig. 3(a) and Fig. 3(b).In Eq. ( 4), the internal bending moment is calculated from the left side, necessitating a negative sign to align with this convention and ensure positivity when it induces tension in the bottom fiber, as illustrated in Fig. 3(b).

24For the case of a uniform load (i.e.q ≠ 0), the extremum (maximum or minimum) bending moment is typically found at the point where the shear force equals zero, i.e., at

25And according to Eq. ( 4) the value of the extremum bending moment will then be

Numerical examples

26We consider five numerical examples of differing levels of complexity.In these, EI is treated as a single symbolic parameter, since E and I consistently appear together in stiffness and other analytical expressions.The first three examples have only point loads, while the other two have uniform loads.Tables 1 and 2 provide detailed descriptions of the five examples and the associated symbolic parameters for each.

Simply supported beam with a point load (3 symbolic Parameters)

27The first numerical example is a simply supported beam with a point load P applied at x = 0.8L, as shown in Fig. 4. The symbolic parameters are three: EI, L, and P.

28Table 3 shows the details of the model, as given in MATLAB.In every example, the number of elements (NumElements) is defined by the size of the Lengths vector and the number of nodes (NumNodes) is (NumElements-1).In this example we have 2 elements and 3 nodes.Note that a node is needed to define any point load.Tables 4, 5 and 6 present the results of the symbolic analysis in terms of the symbolic parameters.Table 4 presents the Node displacements and rotations, while Table 5 shows the support reactions and Table 6 the element forces and moments at the start (i) and end (j) of each element.

Fixed-End beam with point load (4 symbolic Parameters)

29The second numerical example is a fixed-end beam with a point load P, as shown in Fig. 5.The symbolic parameters are four: EI, L, x, and P.This example will also serve to illustrate the concept of influence lines.

30Table 7 shows the details of the model, as given in MATLAB.In this example we have 3 nodes and 2 elements.The results of the symbolic analysis are given in Tables 8 and 9, and Table 10, for Node displacements and rotations; support reactions; and element forces and moments, respectively.

31Table 4. Example 1: node displacements and rotations.3. Details of the input parameters of the 1st numerical example.Now suppose we would like to draw the influence line of the reaction moment at Node 3.According to the results shown in Table 9, the reaction moment at Node 3 (counter-clockwise is positive) is given by

32To draw the influence line, we assume a unit load (P = 1) applied along the beam.For illustration purposes, we will assume that the length of the beam is also unitary (L = 1).Then the reaction moment is given by the formula:

33The influence line corresponding to Eq. ( 8) is presented in Fig. 6.We observe that the reaction moment takes the value of zero when the load is at the beginning (x = 0) or the end (x = L = 1) of the beam, while it takes its maximum (in absolute terms) value

34when the unitary load is at x = √ 3 / 3 ≈ 0.5774.Influence lines are essential in bridge design and structural assessments, helping engineers identify critical loading positions for maximum forces and moments.They are widely used in bridge load rating to determine worst-case traffic effects and in structural monitoring to detect potential weaknesses by comparing theoretical and measured responses.

35Start (i)

36End (j)

37Table 10.Example 2: element forces and bending moments.

38Table 9. Example 2: support reactions.

39Node # y-Displacement (D y ) z-Rotation (R z )

40Node 3 0 0 Table 8.Example 2: node displacements and rotations.

41. Details of the input parameters of the 2nd numerical example.

Two-Span beam with two point loads (5 symbolic Parameters)

42The third numerical example is a two-span beam with two point loads, as shown in Fig. 7.The symbolic parameters are six: EI, a, b, P 1 , and P 2 .

43Table 11 shows the details of the model, as given in MATLAB.

44The results of the symbolic analysis are reported in Tables 12, 13 and 14, for Node displacements and rotations; support reactions; and element forces and moments, respectively.

Simply supported beam with uniform load (5 symbolic Parameters)

45The fourth numerical example is a simply supported beam with a uniform load w, as shown in Fig. 8.The symbolic parameters are five: EI, L, a, b, and w.

46Table 15 shows the details of the model, as given in MATLAB.In this example we have 4 nodes and 3 elements.The results of the symbolic analysis are given in Tables 16 and 17, and Table 18, for Node displacements and rotations; support reactions; and element forces and moments, respectively.

47We see that we get the exact value of the maximum bending moment along Element 2, in a symbolic form.By combining the results presented in Table 18 and Eqs. ( 9) and ( 10), we can draw the bending moment diagram of the beam in a symbolic way, including the maximum bending moment at the span 2, as shown in Fig. 9. Element # Start / End Shear Force (V i , V j ) Moment (M i , M j )

48End (j)

49-Table 13.Example 3: support reactions.

50Node # y-Displacement (D y ) z-Rotation (R z ) Element # Start / End Shear Force (V i , V j ) Moment (M i , M j )

511

52Table 18.Example 4: element forces and bending moments.The first three numerical examples did not include any uniform loads.In this fourth example, by applying the formulas of Eqs. ( 5) and ( 6) for Element 2 (with uniform load q=-w), we get:

53Table 16.Example 4: node displacements and rotations.

54Lengths 15.Details of the input parameters of the 4th numerical example.

Four-Span beam with uniform load (3 symbolic Parameters)

55The fifth numerical example is a four-span continuous beam with a uniform load w, fixed at its right end, where all spans have the same length L, as shown in Fig. 10.Although the computational model is larger and more complex than the previous ones and there are more nodes and elements, the symbolic parameters in this example are only three: EI, L, and w.

56Table 19 shows the details of the model, as given in MATLAB.In this example we have 5 nodes and 4 elements.The results of the symbolic analysis are given in Tables 20 and 21, and Table 22, for Node displacements and rotations; support reactions; and element forces and moments, respectively.

57In this example, by applying the formulas of Eqs. ( 5) and ( 6) for all elements (as all elements have a uniform load q=-w applied on them), we get the results presented in Table 23 for the maximum value of the internal bending moment for each span.

58By taking the results presented in Table 22 (for element end values) and Table 23 (for span values), we can draw the bending moment diagram of the beam in a symbolic way, as shown in Fig. 11.

Sensitivity analysis

59Sensitivity analysis is a powerful technique used in structural engineering to evaluate how variations in input parameters affect the system's response.It plays an important role in understanding the robustness of a design and in optimizing performance by identifying which parameters have the most significant impact on the system's behavior.One benefit of the application of symbolic solutions to problems in structural engineering is that sensitivity analysis becomes straightforward.If the behavior of a structural system is expressed symbolically, the engineer has access to closed-form expressions that explain exactly how changes in such important parameters such as beam length, modulus of elasticity, or loads will influence the system response.This makes it easy to compute partial derivatives of any output with respect to any input parameter.For example, with a symbolic expression for displacement, one can easily compute the sensitivity of the displacement to changes in beam length.For example, consider the second numerical example shown in the previous section.The vertical displacement at x = a, where the load P is applied, according to Using mathematics or the MATLAB Symbolic Math Toolbox and its commands diff and simplify, we can compute the partial derivative of the displacement with respect to any parameter (P, x, L, EI), giving us a mathematical expression for how changes of a parameter affect the displacement.In this example, the partial derivative of D y, x with respect to L can be found as:

60This partial derivative provides the sensitivity of the displacement to changes in beam length, offering insight into how modifications in the design will affect the performance of the structure.The same approach can be applied to assess the sensitivity of internal forces, bending moments, or support reactions to variations in other input parameters.

61In numerical analysis, results are obtained for specific input values, requiring repeated analyses to assess parameter sensitivity.In contrast, symbolic expressions retain input-output relationships, enabling direct sensitivity evaluation without additional computation.This provides engineers with deeper insight, allowing them to predict how design changes will affect structural behavior.This capability is particularly valuable in optimization, where small adjustments can significantly impact performance and cost, eliminating the need for repeated numerical simulations and enhancing design efficiency.

Efficiency, scalability and elegance of symbolic computations

62Although the symbolic implementation of MatSA can offer significant advantages, it also presents challenges in terms of computational efficiency and scalability, particularly for larger systems.As structural systems grow in complexity, the symbolic representations of stiffness matrices, force vectors, and displacement fields can become increasingly large and computationally demanding.It is important to address these challenges to ensure that symbolic MatSA remains practical and efficient for engineering applications.For a simple system, a symbolic equation may provide a clear and elegant solution.However, for larger systems or those involving a large number of symbolic variables, the resulting expressions can quickly become excessively long and complex.A symbolic solution that spans multiple pages with dense expressions will offer little practical value compared to a simple numerical result.This is a critical limitation because, even though symbolic software like MATLAB will always attempt to generate a symbolic solution, the elegance and simplicity of the solution are important for engineers.

63To deal with this problem, a practical approach is to limit the number of symbolic variables by keeping only some key parameters while handling less critical ones numerically.This hybrid symbolic-numerical approach keeps expressions compact and comprehensible, balancing flexibility with computational efficiency.A wellstructured symbolic solution should be concise, interpretable, and insightful; if overly complex, it loses practical value despite being technically correct.By keeping the right balance, engineers can use symbolic computation's advantages without excessive complexity, ensuring both clarity and efficiency in analysis.

64Table 24 presents the computation times for the five examples, with the second column showing the total time required to run each example 100 times and the third column displaying the average time per run, calculated by dividing the total time by 100.All computations were performed on a Windows 11 Pro (24H2) desktop with 64 GB RAM, a 4 TB NVMe SSD, and a 12th Gen Intel ® Core™ i7-12700 F processor (2.10 GHz).The results illustrate the increasing computational cost as beam complexity grows.Although symbolic computations provide valuable analytical insights, users should be mindful of this trade-off when applying the method to larger beam systems.

Conclusions

65This study has presented the development and application of an open-source MATLAB program capable of performing symbolic matrix structural analysis for continuous beams under point and uniform loads.The tool, freely available on GitHub, enables users to generate analytical solutions efficiently and accurately for various beam configurations.These solutions are valuable in both engineering practice and education, offering insights into structural behavior while complementing numerical methods.

66Beyond deriving analytical solutions for displacements, support reactions, and internal forces, the program can also generate influence lines for continuous beams and facilitate sensitivity analysis, which is particularly beneficial in optimization and design exploration.The ability to compute partial derivatives of output parameters with respect to input variables provides an enhanced understanding of how design choices influence structural responses.

67Example # Time for 100 runs (s) Average time for a single run (s) Although symbolic solutions offer clarity and parameterized insights, they should always be viewed as a complementary approach rather than a replacement for numerical methods.Numerical methods remain essential for large-scale structural problems involving thousands or millions of unknowns, where symbolic computation is impractical.Symbolic MatSA, on the other hand, provides explicit mathematical relationships, making it particularly useful for exploring parameter dependencies, conducting theoretical studies, and reinforcing fundamental structural mechanics concepts.

68Additionally, one must recognize the trade-off between symbolic precision and computational complexity.The program is capable of producing detailed symbolic expressions, but in some cases, overly complex formulas may reduce practical applicability.Balancing elegance, clarity, and efficiency is key when utilizing symbolic computations in engineering applications.

69Through various examples, we have demonstrated the potential of symbolic MatSA in providing insightful analytical solutions.The next step in this research is to extend the methodology to other structural systems, such as 2D and 3D trusses and frames, further expanding the scope of symbolic structural analysis.By integrating symbolic and numerical methods, engineers and researchers can achieve a more comprehensive understanding of structural behavior, benefiting both computational analysis and engineering education.

Fig. 1 .

70Fig. 1. 2D Euler-Bernoulli beam element with 4 DOFs.

Fig. 3 .

71Fig. 3. Positive notation used (a) For the MatSA results at each end of the beam (i and j), (b) For the shear force and bending moment diagrams.

Fig. 2 .

72Fig. 2. 2D beam element with uniform load q on.

Fig. 4 .

73Fig. 4. The beam of Example 1.

Fig. 5 .Table 6 .Table 5 .

74Fig. 5.The beam of Example 2.

Table 11 .

75Details of the input parameters of the 3rd numerical example.

Fig. 7 .

76Fig. 7.The two-span beam of Example 3.

Fig. 6 .

77Fig. 6.The influence line of the reaction moment at Node 3, for Example 3.

Fig. 8 .

78Fig. 8.The beam of Example 4.

11P 1 a 2 +8P 1 ab+3P 2 b 2 Table 14 .

79Example 3: element forces and bending moments.

Fig. 9 .

80Fig. 9. Symbolic bending moment diagram for Example 4.

Table 21 .Table 20 .

81Example 5: support reactions.Node # y-Displacement (D y ) z-Rotation (R z ) Example 5: node displacements and rotations.Lengths [ L L L L ] T Supports [ UniformLoads [ −w −w −w −w ] T

Fig. 10 .

82Fig. 10.The four-span beam of Example 5.

Table 2 .

83Details of the numerical examples 4 and 5.

Table 1 .

84Details of the numerical examples 1, 2, and 3.

Table 12 .

85Example 3: node displacements and rotations.

Table 19 .

86Details of the input parameters of the 5th numerical example.

Table 8

87is given by Symbolic bending moment diagram for Example 5.

Table 23 .

88Location and value of max.Bending moment for each span of the beam (5th numerical example).*Max value at any span.

Table 22 .

89Example 5: element forces and bending moments.

Table 24 .

90Computational time needed to run each of the examples.

참고문헌 35건

  1. A Tutorial Introduction to MATLAB and the Symbolic Math Toolbox Birkhäuser Boston eBooks · 2004 10.1007/978-0-8176-8156-2_1
  2. On the derivation of symbolic form of stiffness matrix and load vector of a beam with an arbitrary number of transverse cracks Computational Materials Science · Elsevier BV · 2011 10.1016/j.commatsci.2011.07.013
  3. Large scale structural optimization: Computational methods and optimization algorithms Archives of Computational Methods in Engineering · Springer Science+Business Media · 2001 10.1007/bf02736645
  4. Symbolic computation in structural engineering Computers & Structures · Elsevier BV · 2003 10.1016/s0045-7949(03)00286-4
  5. Symbolic Finite Element Modeling of Structural Systems Journal of Symbolic Computation · Elsevier BV · 1996 10.1006/jsco.1996.0043
  6. The symbolic finite element analysis system Computers & Structures · Elsevier BV · 1991 10.1016/0045-7949(91)90426-m
  7. Symbolic generation of finite element stiffness matrices Computers & Structures · Elsevier BV · 1979 10.1016/0045-7949(79)90078-6
  8. Symbolic generation of elemental matrices for finite element analysis Computers & Structures · Elsevier BV · 1992 10.1016/0045-7949(92)90033-v
  9. Symbolic and numerical analysis of plates in bending using Matlab Journal of Symbolic Computation · Elsevier BV · 2013 10.1016/j.jsc.2013.10.005
  10. Finite element simulations using symbolic computing Mathematics and Computers in Simulation · Elsevier BV · 1999 10.1016/s0378-4754(99)00054-3
  11. A 99 line topology optimization code written in Matlab Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2001 10.1007/s001580050176
  12. Symbolic software tools in the development of finite elements Computers & Structures · Elsevier BV · 1999 10.1016/s0045-7949(98)00333-2
  13. Efficient topology optimization in MATLAB using 88 lines of code Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2010 10.1007/s00158-010-0594-7
  14. Introduction to Numerical Methods for Solving Differential Equations Elsevier eBooks · Elsevier BV · 2016 10.1016/b978-0-12-849894-1.00001-9
  15. Computational Structural Engineering: Past Achievements and Future Challenges Frontiers in Built Environment · Frontiers Media · 2018 10.3389/fbuil.2018.00021
  16. A MATLAB Toolbox for Structural Analysis of Linear Systems IFAC-PapersOnLine · Elsevier BV · 2019 10.1016/j.ifacol.2019.11.018
  17. Bernoulli 2D Frames Solid mechanics and its applications · Springer Nature (Netherlands) · 2020 10.1007/978-3-030-47952-7_7
  18. Eighty Years of the Finite Element Method: Birth, Evolution, and Future Archives of Computational Methods in Engineering · Springer Science+Business Media · 2022 10.1007/s11831-022-09740-9
  19. A Collection of 30 Multidimensional Functions for Global Optimization Benchmarking Data · Multidisciplinary Digital Publishing Institute · 2022 10.3390/data7040046
  20. SymPy Apress eBooks · Apress · 2021 10.1007/978-1-4842-7113-1_11
  21. Introduction to Mathematica® with Applications DIAL (Catholic University of Leuven) · KU Leuven · 2017 10.1007/978-3-319-52003-2
  22. Advanced Mathematics Elsevier eBooks · Elsevier BV · 2018 10.1016/b978-0-12-815479-3.00014-3
  23. The Mosaic of Metaheuristic Algorithms in Structural Optimization Archives of Computational Methods in Engineering · Springer Science+Business Media · 2022 10.1007/s11831-022-09773-0
  24. Symbolics toolbox Elsevier eBooks · Elsevier BV · 2022 10.1016/b978-0-32-399548-1.00024-2
  25. Symbolic Calculations in MATLAB® Synthesis lectures on engineering, science, and technology · Morgan & Claypool Publishers · 2022 10.1007/978-3-031-19366-8_2
  26. Maple Texts in computational science and engineering · Springer Nature · 2022 10.1007/978-3-031-16972-4_10
  27. Dynamic analysis of constrained, combined, and stepped beams Elsevier eBooks · Elsevier BV · 2023 10.1016/b978-0-12-818563-6.00019-5
  28. Static analysis of constrained multispan beams Elsevier eBooks · Elsevier BV · 2023 10.1016/b978-0-12-818563-6.00018-3
  29. Dynamics of particles and rigid bodies Elsevier eBooks · Elsevier BV · 2023 10.1016/b978-0-12-818563-6.00012-2
  30. Image‐based structural analysis for education purposes: A proof‐of‐concept study Computer Applications in Engineering Education · Wiley · 2023 10.1002/cae.22635
  31. Matrix Analysis of Framed Structures Elsevier eBooks · Elsevier BV · 2024 10.1016/b978-0-443-15338-9.00007-1
  32. OpenSeismoMatlab: New Features, Verification and Charting Future Endeavors Buildings · Multidisciplinary Digital Publishing Institute · 2024 10.3390/buildings14010304
  33. Deriving Analytical Solutions Using Symbolic Matrix Structural Analysis: Part 1 -- Continuous Beams arXiv (Cornell University) · Cornell University · 2024 10.48550/arxiv.2411.03514
  34. Deriving Analytical Solutions Using Symbolic Matrix Structural Analysis: Part 2 -- Plane Trusses arXiv (Cornell University) · Cornell University · 2024 10.48550/arxiv.2411.16573
  35. Deriving analytical solutions using symbolic matrix structural analysis: Part 2 – Plane trusses Heliyon · Elsevier BV · 2025 10.1016/j.heliyon.2025.e42372