The default is a simply supported beam (pin on the left, roller on the right); "Support condition" switches to a cantilever (fixed at the left end, free at the right). The point load P acts downward at position a, the distributed load w acts downward over the full span, and the external moment M_0 is fixed at 0 in this simulator (kept only in the formulas). If a exceeds L the slider is automatically clamped inside the span.
While paused, moving a slider updates the results immediately.
Top = beam and loads (yellow arrow = point load, cyan arrows = distributed load, triangles = supports) / middle = SFD V(x) / bottom = BMD M(x), red marker = location of M_max
When a simply supported beam of length L carries a point load P at position a, a uniformly distributed load w over the full span and an external moment M_0 at position b, equilibrium fixes the reactions and V(x) and M(x) follow at every section.
From the equilibrium of forces and moments, the right reaction R_B and the left reaction R_A:
$$R_B = \frac{P\,a + w\,L^2/2 + M_0}{L},\qquad R_A = P + w\,L - R_B$$Shear force V(x), where H(·) is the Heaviside step function:
$$V(x) = R_A - w\,x - P\,H(x-a)$$Bending moment M(x):
$$M(x) = R_A\,x - \frac{w\,x^2}{2} - P\,(x-a)\,H(x-a) + M_0\,H(x-b)$$Extrema of M(x) occur where dM/dx = V(x) = 0, and that point is the cross-section with the largest bending stress in design. With the cantilever (fixed at the left end) selected, the reaction is R_A = P + wL and the fixed-end moment is M_A = −(P a + w L²/2), which is added to M(x) (|M| is largest at the fixed end).