The endpoint constraints are . The constants in the three costs contribute only , and respectively, so they do not affect the minimizing shapes. For companies B and C, the fixed arc length is
The original PDF has as company A's first variable term. The local TeX transcription has lost that derivative dot and incorrectly repeats ; the calculation below follows the PDF.
Company A. The relevant functional is . The Euler-Lagrange equation gives
Its general solution is . Adding and subtracting the endpoint equations gives and . Thus
This curve is odd, negative on the left half and positive on the right half; company A has no lower-half-plane restriction. It is the unique global minimum. Indeed, for any endpoint-zero variation , integration by parts and the differential equation cancel all linear terms, leaving
unless .
Company B. Minimize under the length constraint. Introduce a constant Lagrange multiplier and apply the Euler-Lagrange equation to :
The curvature is constant, so the required lower arc is a circular arc. Writing its radius as and imposing the endpoints gives
Since , its length determines the radius:
Equivalently, introduce with . Then , which increases strictly from to . The stipulated range of therefore selects one minor arc. At it becomes the lower semicircle, with vertical endpoint tangents; it is still a single-valued finite-length graph.
Global minimality follows from the convexity of the augmented slope cost with . For a competitor ,
Consequently the augmented cost difference is at least . Competitors have the same length, so the multiplier contribution cancels and the original cost is minimized. This proves that a circular arc maximizes area below a fixed chord: minimizing negative signed height maximizes the area between the fence and the chord.
Company C. The variable cost is . The augmented integrand is . Since it has no explicit dependence, the Beltrami identity gives
The hanging branch with integrates to . Equal endpoint heights force , and the endpoint value fixes . Thus
Its length is
Writing , the equation has one positive solution for every : its derivative has numerator . The curve is a catenary, is even, and lies strictly below the chord except at the endpoints.
A direct argument proves this is a global minimum, rather than merely an extremum of an augmented functional. Parametrize any competitor by arc length , from its left endpoint to its right endpoint. Then , , and integration by parts gives
The Cauchy-Schwarz inequality gives the last step. Equality requires and , whose integrals are precisely the displayed catenary with the stated length. Thus it attains a lower bound valid for every competitor. This proves that a catenary minimizes the integral of height along a fixed-length curve.
Figure 1.
The three minimizing fence shapes, with fixed-length examples for companies B and C
. Details.
The sketch uses and for the two fixed-length cases. The vertical scale in the company A panel is enlarged to show its small odd deflection. No comparison between the three companies' absolute prices is required or possible from the shapes alone, since their additive cost constants are independent.