Singularity function
Template:Short description Singularity functions are a class of discontinuous functions that contain singularities, i.e., they are discontinuous at their singular points. Singularity functions have been heavily studied in the field of mathematics under the alternative names of generalized functions and distribution theory.[1][2][3] The functions are notated with brackets, as where n is an integer. The "" are often referred to as singularity brackets . The functions are defined as:
n -2 -1 0 1 2
where: Template:Math is the Dirac delta function, also called the unit impulse. The first derivative of Template:Math is also called the unit doublet. The function is the Heaviside step function: Template:Math for Template:Math and Template:Math for Template:Math. The value of Template:Math will depend upon the particular convention chosen for the Heaviside step function. Note that this will only be an issue for Template:Math since the functions contain a multiplicative factor of Template:Math for Template:Math. is also called the Ramp function.
Integration
Integrating can be done in a convenient way in which the constant of integration is automatically included so the result will be Template:Math at Template:Math.
Example beam calculation
The deflection of a simply supported beam, as shown in the diagram, with constant cross-section and elastic modulus, can be found using Euler–Bernoulli beam theory. Here, we are using the sign convention of downward forces and sagging bending moments being positive.

Load distribution:
Shear force:
Bending moment:
Slope:
- Because the slope is not zero at x = 0, a constant of integration, c, is added
Deflection:
The boundary condition u = 0 at x = 4 m allows us to solve for c = −7 Nm2