Determining the length of an irregular arc segment—also called rectification of a curve—was historically difficult. Although many methods were used for specific curves, the advent of calculus led to a general formula that provides closed-form solutions in some cases.