Trusses and Beams: Internal Forces, Shear, and Moment Diagrams
What You'll Learn
- 1Classify trusses and verify determinacy before solving
- 2Solve member forces by method of joints and method of sections
- 3Construct shear and moment diagrams from calculus relations
- 4Locate maximum shear and moment for section sizing
Beams and trusses are the workhorses of structures and machines. A truss carries load through axial member forces provided its joints are pinned and loads act at the joints; a beam carries transverse load through internal shear and bending moment. In both cases the analysis produces internal force distributions, and those distributions decide where material is needed, where it can be removed, and where failure will start if the design is wrong.
This lesson develops the two truss solution methods with a fully worked numerical example, then builds shear and moment diagrams from the calculus relations between load, shear, and moment. The final sections connect the diagrams to section sizing and to the failure modes that codes such as AISC 360 are written to prevent.
Truss Idealizations and Classification
A plane truss is analyzed under four assumptions: members are joined at frictionless pins, loads are applied only at joints, member self weight is either neglected or lumped at joints, and members carry axial force only. Real welded or gusseted joints introduce secondary bending, which is handled by design factors rather than by the analysis itself.
Determinacy is checked before any solving begins. For a plane truss with members, reactions, and joints,
governs: equality means internally determinate, excess means statically indeterminate to that degree, and a shortage means the truss is a mechanism. A simple triangulated truss starting from a triangle and adding two members per new joint satisfies the equality by construction.
| Truss type | Geometry | Member forces | Typical use |
|---|---|---|---|
| Simple plane truss | Triangulated from a basic triangle | Axial only, under joint loads | Roof trusses, tower bracing |
| Parallel chord truss | Constant depth panels | Chords bending, diagonals shear | Bridge girders, long spans |
| Space truss | Three dimensional framing | Axial, resolved at each node | Roof canopies, towers |
| Frame | Rigid or semi-rigid joints | Axial, shear, and moment | Portal frames, machine frames |
đĄCheck the Count Before the Algebra
Method of Joints
The method of joints isolates one joint at a time and applies the two equilibrium equations available at each joint in a plane. Practical sequence: start at a joint with at most two unknown member forces, typically a support joint, resolve applied loads, solve the unknowns, and walk joint by joint through the structure.
A reliable working order is:
- Solve whole truss reactions from the external free body diagram.
- List joints by how many unknowns they carry, and start where that count is one or two.
- Resolve each joint into components along one chosen axis pair, or along the member directions when members are inclined.
- Solve, record sign and magnitude, and carry each result into the next joint as an equal and opposite action.
- Finish at a joint whose equation was never used, and confirm it balances to zero.
Tension is conventionally positive, so a positive answer means the member pulls on the joint and a negative answer means it pushes. Recording sign alongside magnitude prevents the compression and tension confusion that leads to wrongly sized compression members.
Worked Example 1: triangular roof truss
A triangular truss has joints , , and , with members , , and . Support is a pin and is a roller. A vertical load of acts at .
Step 1, whole truss reactions: symmetry gives upward and .
Step 2, geometry of the inclined members: , so the direction cosines of are horizontally and vertically.
Step 3, joint . With and assumed in tension:
Step 4, joint by symmetry: and the horizontal balance returns , matching Step 3.
Step 5, verification at joint : the two compression members push toward with components and , summing to upward, which exactly balances the load.
Answer: in compression, in tension.
The same joint equations assemble into a two-line linear system, which is how truss software solves hundreds of members at once:
import numpy as np
# Joint A of the triangular roof truss. Unknowns: [F_AB, F_AC] in kN, tension positive.
# Member AC direction cosines: 2.0/3.606 horizontally, 3.0/3.606 vertically.
cx, cy = 2.0 / np.hypot(2.0, 3.0), 3.0 / np.hypot(2.0, 3.0)
A = np.array([
[1.0, cx], # sum Fx = 0: F_AB + F_AC * cx = 0
[0.0, cy], # sum Fy = 0: V_A + F_AC * cy = 0
])
b = np.array([0.0, -6.0]) # V_A = 6.0 kN upward
F_ab, F_ac = np.linalg.solve(A, b)
print(f"F_AB = {F_ab:+.2f} kN")
print(f"F_AC = {F_ac:+.2f} kN ({'tension' if F_ac > 0 else 'compression'})")
# Verification at joint C: vertical components of both diagonals must carry the load.
print(f"check at C: {2 * abs(F_ac) * cy:.2f} kN upward vs 12.00 kN applied")
The solve returns and , and the joint check closes at , matching the hand steps. Building the matrix this way makes the pattern explicit: one row per equilibrium equation, one column per unknown member force, geometry entered as direction cosines.
Method of Sections and Zero-Force Members
The method of sections cuts the truss through no more than three members whose forces are wanted, isolates one half, and applies the three equilibrium equations available for a rigid body in a plane. It is the efficient route when only a few interior forces matter, because it avoids solving the whole structure.
Two rules make the method fast. Take moments about the point where two of the cut members meet, which eliminates both of them from the equation and returns the third force in one line. And cut through members where the answer is wanted rather than wherever a straight line happens to pass.
Worked check: section cut on Example 1
Cut through members and just to the right of joint and isolate the small piece containing . The cut forces (horizontal) and (along ) both act at , and the reaction acts there as well. Taking moments about , where the line of action of passes:
which reproduces the joint solution in a single equation.
Zero-force members are identified by inspection and save real time: at an unloaded joint with two non-collinear members, both are zero; at an unloaded joint with three members where two are collinear, the third is zero. These members are not removable, because they brace the compression chord against buckling and provide the load path for alternate load cases.
Sections have limits worth stating. A cut through more than three members with unknown forces leaves an unsolvable equation set, so the cut is rerouted or paired with another cut. Moments about a point far from the structure are numerically sensitive, because small geometry errors become large moment arms, which is why joint coordinates are taken from the fabrication drawing rather than from a scaled sketch.
Symmetry closes many truss problems instantly. A symmetric truss under symmetric load has mirror-image member forces, so only half the structure needs solving, and a symmetric structure under antisymmetric load has antisymmetric forces, so forces that are mirror pairs differ only in sign. Combined with zero-force identification, these two observations frequently reduce a full analysis to two or three joint equations.
Sign Conventions and the Calculus of Beams
For beams, the sign convention used in this series is: positive shear rotates the beam element clockwise, and positive bending moment sags the span so that the top fiber is in compression. Load intensity , shear , and moment are linked by two differential relations:
Integrating between two stations gives the area rules that every diagram must satisfy:
Discontinuities behave predictably, and the jump rules below are worth memorizing because they convert a load diagram into a shear diagram without any algebra:
| Load event at a station | Effect on shear | Effect on moment |
|---|---|---|
| Point load downward | Drops by | Slope changes, no jump |
| Uniform load over length | Linear decrease | Parabolic curve |
| Concentrated couple | No change | Jump by the couple value |
| Support reaction upward | Rises by the reaction | Slope changes |
| Free end | Shear equals applied load | Moment equals applied moment |
Maximum positive moment occurs where shear crosses zero, because changes sign there. Local maxima also appear at load discontinuities and at supports of overhanging beams, so evaluate the moment at every station where the shear is zero or where a couple is applied.
Worked Example 2: Diagrams for a Loaded Span
A simply supported beam spans with a pin at and a roller at . It carries a uniform load over the whole span and a point load at from .
Step 1, reactions: and .
Step 2, shear from the left: , decreasing at , so . The point load drops it to , and it then falls to , closing against .
Step 3, moment from the shear area: the shear is zero exactly at , so the maximum moment sits there:
Step 4, spot check at midspan: , slightly below the peak as expected.
Step 5, closure: the shear area from to is the triangle , which cancels the accumulated so far and returns at the roller.
Answer: , , at the pin, and at under the point load.
Worked check: an overhang and its negative moment
Now take a beam with a pin at (), a roller at (), and a load at the overhang tip (). Summing moments about gives , and vertical equilibrium gives , meaning the pin must pull the beam downward to stop it rotating.
The shear is from to , then steps up by to across the overhang and closes to zero at . Integrating shear gives the moment at the support:
Answer: the peak moment is hogging over the roller, so the top fiber is in tension there and the bottom is in compression, the opposite of a simply supported span. This is why overhang regions need top reinforcement or top flange capacity rather than bottom.
The diagram itself can be generated and audited numerically:
import numpy as np
# Span, loads (m, kN/m, kN)
L, w, P, xP = 10.0, 6.0, 15.0, 4.0
R_B = (w * L * (L / 2) + P * xP) / L
R_A = w * L + P - R_B
x = np.linspace(0.0, L, 501)
V = R_A - w * x # distributed load reduces shear linearly
V[x > xP] -= P # point load steps the shear down
M = R_A * x - w * x ** 2 / 2
M[x > xP] -= P * (x[x > xP] - xP) # area of shear after the point load
i = int(np.argmax(M))
print(f"R_A = {R_A:.1f} kN, R_B = {R_B:.1f} kN")
print(f"V(0) = {V[0]:.1f} kN, V(L) = {V[-1]:.1f} kN")
print(f"M_max = {M[i]:.1f} kN.m at x = {x[i]:.2f} m")
print("moment closure at B =", round(float(M[-1]), 3), "kN.m")
From Diagrams to Section Design
The diagrams feed directly into stress checks. Bending stress varies linearly across the depth:
and peaks at the extreme fiber where is maximum, which is why I beams place flanges far from the neutral axis. For a rectangular section the shear stress is parabolic, with the maximum at the neutral axis:
where is the first moment of area above the point considered and the width there. Short, deep members near supports are often governed by shear rather than bending, and web design follows from that.
For a rectangle of width and depth the result reduces to a form worth remembering. At the neutral axis, and , so
The peak shear stress in a rectangle is therefore 50 percent above the average , it is zero at the top and bottom surfaces, and it is parabolic in between. Wide flange beams behave differently: most of the shear is carried by the web, so the web area alone, roughly depth times thickness, is what web shear checks actually size.
Diagrams also drive serviceability. Curvature follows the moment through , so integrating the moment diagram twice gives deflection, and limits on span over depth ratios exist because stiffness, not strength, usually governs long floor beams and slender machine frames.
Common cases worth knowing by heart for quick checks:
| Load case | Maximum shear | Maximum moment | Location |
|---|---|---|---|
| Simply supported, UDL | Midspan moment | ||
| Simply supported, central point load | Midspan moment | ||
| Cantilever, tip load | At the support | ||
| Cantilever, UDL | At the support | ||
| Simply supported, offset point load | Larger reaction | Under the load | |
| Overhang, end load with overhang | Reaction driven | over the support | At the support |
From moment to section modulus
Rearranging for a section with elastic section modulus gives the design equation . For a solid rectangle , so a by section loaded about its strong axis has
and with an allowable bending stress of the moment capacity is . Rotating the same rectangle to bend about its weak axis changes to and halves the capacity to , which is exactly why beam orientation is a design decision and not a handling convenience.
Shape follows demand: I sections for bending in one plane, hollow box sections when torsion or bidirectional bending is present, channels or angles for bracing members in tension or compression, and plates where the shear is the controlling action. Overhanging beams deserve particular attention, because the moment over the support is negative, putting the top flange or reinforcement into tension where a simply supported intuition would expect compression.
Failure Modes, Codes, and Practice
Diagram values are only the start; design codes define how those values are turned into safe sizes:
- Flexural yielding and lateral torsional buckling: AISC 360 Chapter F sets nominal flexural strength and penalises unbraced length, so compression flange bracing decisions come straight from the moment diagram.
- Shear strength: web shear per AISC Chapter G, with web openings and slender webs requiring additional checks near supports where peaks.
- Compression chord buckling: truss compression members follow column treatment with effective length based on bracing at panel points, which is precisely where zero-force bracing members matter.
- Connection design: gusset and end plate connections per AISC Chapter J must deliver the member forces from the analysis, including block shear and bolt bearing, with geometry documented to ASME Y14.5 and fabricated to tolerances such as ISO 13920.
- Fatigue: repeated loading at load range cycles grows cracks from connections and holes, so the stress range at detail categories, not the peak stress alone, drives the detail selection.
Material and section databases keep this consistent: structural steel grades such as ASTM A36 and A992, hot rolled profile dimensions in ISO 657, and timber members where used under the relevant national design specification. Practice notes that experienced engineers apply repeatedly: check reactions against total load, confirm the moment closes at the far support, evaluate shear just to either side of every load, and verify that the maximum moment sits where the shear crosses zero.
Before releasing a beam or truss calculation
- Confirm the free body diagram matches the fabrication drawing, including support types and load positions.
- Verify reaction equilibrium and moment closure to within rounding error.
- Record peak shear and peak moment with their locations, not just their magnitudes.
- Check whether shear, bending, deflection, or buckling controls the chosen section.
- State the sign convention, the units, and the code edition used for the design checks.
- Note the load cases not covered, including erection, thermal, and accidental conditions where they apply.
âšī¸Integrate and Close Every Diagram
Common Mistakes
Applying joint loads mid-member in a truss
Fix: A member loaded between joints bends, which the axial truss model does not capture; add a node or analyze it as a frame member.
Ignoring the moment jump at an applied couple
Fix: A concentrated couple creates a step in the moment diagram, and missing it displaces the maximum design moment.
Changing sign convention partway through
Fix: Carry one convention from the load diagram through shear, moment, stress, and design formulas, and write it on the drawing.
Assuming maximum moment is always at midspan
Fix: Only uniform symmetric loading puts the peak at midspan; with offset loads or overhangs, find it where shear crosses zero.
Key Takeaways
- Truss determinacy is checked with m plus r against 2j before any joint equations are written.
- Method of joints solves two equations per joint; method of sections uses three equations on a cut for up to three unknowns.
- Shear and moment follow calculus relations from load, and their areas must close the diagram.
- Maximum moment occurs where shear crosses zero, and it drives section sizing through sigma equals M y over I.
- Zero-force members and symmetry cut hand analysis time dramatically, but they still serve stability roles.
Frequently Asked Questions
Why do trusses assume pinned joints?
To ensure members carry axial force only, which lets a long slender member be efficient. Real gusseted or welded joints transmit some moment, so codes apply design factors or require a frame analysis when joint stiffness is significant relative to member stiffness.
Where is the maximum bending stress in a beam?
At the fiber farthest from the neutral axis, because stress grows linearly with distance in . For unsymmetric sections the neutral axis position must be found first, and the larger of the two extreme fiber stresses controls.
Can shear govern instead of bending?
Yes, in short deep beams, in members near supports where shear peaks, and in plate girders with slender webs. The comparison is between bending stress at the extreme fiber and peak shear stress from , evaluated for the same section.
How do you check a shear and moment diagram quickly?
Confirm that shear closes to minus the far reaction, that moment returns to zero at simple supports, that every point load steps the shear by its magnitude, and that every couple jumps the moment by its value. Then verify that the peak moment sits where shear crosses zero.
Interview Questions
Q1: How do you find the maximum moment quickly?
Draw the shear diagram, locate where the shear crosses zero or where a couple is applied, then evaluate the moment at those stations and at the supports by area under the shear curve.
Q2: Method of joints or method of sections, which do you use?
Joints when I need reactions and a progressive sweep of member forces, sections when only a few interior members matter, taking moments about the intersection of two cut members to isolate the third.
Q3: A truss member is computed as a zero-force member. Should it be deleted?
No. It carries no load in the analyzed case but provides bracing length for compression members and covers alternate load cases, erection stability, and future load changes.
Q4: How would you size a beam from these diagrams?
Take the peak moment to a required section modulus using the allowable or factored stress from the applicable code, check peak shear against web capacity, then confirm deflection and lateral bracing length requirements.