For fixed endpoint values and a smooth variation vanishing at the endpoints, the first variation is
The fundamental lemma of the calculus of variations gives the Euler-Lagrange equation
If is independent of , then is a cyclic coordinate, and integration gives
This is conservation of the corresponding generalized momentum.
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.
Choose homogeneous Dirichlet boundary conditions , and take a nonzero real admissible trial . Write the numerator as and denominator as . For an endpoint-zero variation , integration by parts gives
Thus the first variation of the Rayleigh quotient is
By the fundamental lemma of the calculus of variations, stationarity is equivalent to
Conversely, multiplying an eigenfunction equation by and integrating gives , so its first variation vanishes. This establishes the equivalence for the chosen Sturm-Liouville problem. Homogeneous Neumann boundary conditions, or a mixed Dirichlet-Neumann pair, also cancel the boundary term; general Robin boundary conditions require adding the corresponding boundary contribution to the numerator.
The original PDF has a typographical omission: its displayed equation has rather than on the right. Taken literally, it is an inhomogeneous boundary value problem, not the stated Sturm-Liouville problem. The quotient and the later eigenfunction expansion identify the intended equation, which the following derivation produces explicitly.
Choose homogeneous Dirichlet boundary conditions and a nonzero real admissible . Then because . For an endpoint-zero variation , integration by parts gives
The first variation of the Rayleigh quotient is thus
By the fundamental lemma of the calculus of variations, stationarity is equivalent to
Conversely, multiply this corrected eigenvalue equation by and integrate. The same boundary cancellation gives , so the first variation vanishes. This proves the requested equivalence for the intended equation. Homogeneous Neumann boundary conditions, or a Dirichlet condition at one end and a Neumann condition at the other, also eliminate the boundary term. General Robin boundary conditions would require the corresponding boundary contribution in the numerator.
The Fermat principle states that the actual path of a light ray makes its travel time stationary under small admissible variations with fixed endpoints. Equivalently, its optical path length is stationary:
where is the local light speed, is the refractive index, and the two integrals differ by the constant vacuum light speed. In a uniform medium this reduces to stationarity of geometric path length. The principle is a stationarity statement; for the planar reflection considered next the stationary path is also the unique minimum.
First expand the variational integrand:
Its needed partial derivatives are and . The Euler-Lagrange equation is therefore
The general solution is . Subtracting the two endpoint equations gives ; adding them gives . Hence
This is the unique stationary solution. It is also the unique global minimizer: after discarding the fixed boundary terms, integration by parts rewrites as . For an endpoint-zero variation , the linear part vanishes at the displayed solution and
with equality only for .
For fixed initial and final coordinates, the two Euler-Lagrange equations are
Indeed the first variation of the functional is
Integration by parts moves the time derivatives from the variations; their endpoint values are zero. The fundamental lemma of the calculus of variations then gives the two equations above.
This is an isoperimetric constraint, imposed on the whole path rather than separately at each time. Introduce a constant Lagrange multiplier and replace the variational integrand by . The modified Euler-Lagrange equations are
Solve these together with the fixed endpoint conditions, treating as an unknown constant, then choose its value so that
The multiplier is constant because there is one scalar integral constraint. A condition imposed at every time would instead call for a time-dependent multiplier. As usual, this multiplier procedure assumes the constraint is regular, so its first variation does not vanish identically on all admissible variations.
Impose before varying. Writing , the restricted integrand is
Its middle term is the total derivative of , so it can be dropped for fixed endpoints by part (b). The remaining Euler-Lagrange equation is . Integrating twice and imposing , gives
This is the unique global minimizer among paths on the specified line. To prove it, add any admissible variation with . The change in fuel, after dropping the fixed boundary term, is
The first integral vanishes by integration by parts and the equation for . Equality forces . No monotonicity or restriction to the segment between endpoints was imposed in the question; the minimizing coordinate can initially decrease for sufficiently large .
Take nonzero real trial functions with square-integrable and sufficient decay for integration by parts. For a compactly supported variation , the first variations are
The quotient rule for the functional then yields
By the fundamental lemma of the calculus of variations, stationarity for all such is equivalent to
Conversely, multiplying a decaying eigenfunction equation by and using integration by parts gives , so its Rayleigh quotient equals and its first variation vanishes. Thus the stationary values of the functional are the energy eigenvalues. The word "extrema" in the question includes stationary points here: higher eigenfunctions can be saddle points of the unrestricted Rayleigh quotient.
The Rayleigh-Ritz variational principle gives
Choose an admissible trial family, calculate its Rayleigh quotient, and minimize over its parameters to obtain the best upper bound within that family. Equality holds for the exact ground state; a restricted family generally gives only an upper bound.
Let be a smooth variation with . Assuming the usual continuous second derivatives of , stationarity of the functional under gives its first variation
Integration by parts removes the derivative of ; its boundary term vanishes because the endpoint values are fixed. Thus
for every such variation. The fundamental lemma of the calculus of variations implies the Euler-Lagrange equation .
For arc length, , so
The function is strictly increasing; hence is constant. With endpoints and , , the extremal is
It is also the global shortest curve: integrating the unit displacement vector dotted with the curve velocity gives the endpoint distance, which is at most the integrated speed by Cauchy-Schwarz inequality; the straight segment attains equality. A vertical segment is described parametrically or after rotating axes, since it cannot be represented by on a nontrivial horizontal interval.
Take a smooth variation with vanishing on the boundary; compactly supported test functions suffice for the interior equation. At an extremum, the first variation is zero:
Integration by parts removes the derivatives from . The boundary terms vanish, giving
The fundamental lemma of the calculus of variations gives the Euler-Lagrange equation
This is the classical equation for sufficiently smooth admissible extrema; for weaker regularity the first-variation identity supplies its weak form.
For the squared-gradient integrand, the equation is , namely the Laplace equation. Put and write any admissible function as , with on the boundary. The energy identity is
By the divergence theorem, the middle integral is ; equivalently it vanishes by weak integration by parts for zero-trace functions. The final term is nonnegative and vanishes at . Thus this is a global minimum, not merely a stationary value:
Let and . For a smooth variation , the first variation is
Here the last expression follows by two integrations by parts. Taking variations supported in the interior and applying the fundamental lemma of the calculus of variations gives the Euler-Lagrange equation for a second-derivative functional:
If both endpoint values and slopes are free, their independent variations force the natural boundary conditions for second-derivative functionals
If an endpoint value or slope is fixed instead, its corresponding variation vanishes and the associated natural condition is not required.
For , differentiate using the chain rule:
The Euler-Lagrange equation cancels the first term. Consequently , and if there is no explicit dependence,
This is a Beltrami identity for a second-derivative functional.
Take independent smooth variations and . Differentiating the functional and using integration by parts gives its first variation
First choose variations vanishing at the endpoints. To use the stated form of the fundamental lemma of the calculus of variations, take with arbitrary smooth , and similarly for . The lemma makes vanish, and hence makes the unweighted coefficient vanish in the interior; continuity extends this to the endpoints. Applying the same argument to gives the Euler-Lagrange equations
If either endpoint value of or is free, the corresponding variation there is arbitrary. The remaining boundary term gives the natural boundary conditions for a free endpoint: for a free value and for a free value at that endpoint. With both coordinates free at both endpoints, all four conditions apply.
For the specified integrand these equations reduce to
and the natural conditions are at each free endpoint. Eliminating gives
Its four independent modes give the full general solution
At zero, and . Vanishing forces , giving
At the two derivative conditions become and . Their coefficient determinant is nonzero, so . Thus the unique stationary extremal with all four natural boundary conditions is . The word extremal here means a stationary point of the functional; the indefinite integrand does not require this point to be a minimum.
For a variation with , stationarity gives
The boundary term vanishes. The fundamental lemma of the calculus of variations therefore gives the Euler-Lagrange equation .
Differentiating the proposed first integral gives
Thus it is constant along an extremal when , proving the Beltrami identity.
For the positive branch relevant to the endpoint data, . The identity becomes
The Euler-Lagrange equation itself gives , so . Integrating, or solving the first integral, yields a circle . The equal endpoint values force and . Hence the unique positive smooth extremal is
It stays positive on the entire interval and satisfies the second-order equation, including its turning point. Merely differentiating the first integral after dividing by would need extra care there. Geometrically this is an arc of a hyperbolic geodesic in the upper half-plane model.
For the regular Sturm-Liouville setting assume is positive and continuously differentiable, are continuous, and . Apply a multiplier to . Its first variation, divided by two, is
Endpoint-vanishing variations and the allowed fundamental lemma give
If an endpoint value is free, its variation is arbitrary, giving the natural condition at that endpoint. At a prescribed endpoint value the variation vanishes there, so no additional natural condition is imposed.
For eigenfunctions with different eigenvalues, multiply their equations by and subtract after integration. The resulting boundary expression vanishes under common homogeneous Dirichlet or common natural boundary conditions. Hence , proving weighted orthogonality.
For the final Dirichlet problem the normalized stationary modes are
Solving with both endpoint values zero gives these and excludes nonpositive . Distinct sine modes have zero integral product on . Their Dirichlet values also make the same boundary expression vanish, which explains orthogonality even though their endpoint derivatives do not obey the natural conditions.
For global minimality, the Fourier sine expansion of an endpoint-vanishing function and Parseval's identities give . Equality holds exactly in the first sine eigenspace. Therefore
Distinct modes are orthogonal; the two sign choices of the same minimum are not orthogonal to each other. This distinguishes the family of stationary modes from the two representatives of the minimizing eigenspace in the question's wording.
For a normal sample of size ,
Then and with . These two statistics are independent.
Combining the difference distribution and pooled variance calculation gives, with ,
The printed statistic has the sign of the centering term reversed. Its numerator subtracts , so it is not generally a central Student statistic; the corrected centering above is necessary. Under the null hypothesis , the two expressions coincide, so the requested test is unaffected. Reject the two-sided null at significance level when
Here and , so do not reject at the 5% level. This does not establish equality of the population means.
Age matching means that the two observations in a pair share an age effect, while ages vary across pairs. The independent, identically distributed two-sample model no longer represents this design: random pair effects induce within-pair dependence, and fixed differing ages can instead produce different individual means. Pairing by itself need not cause stochastic dependence when ages are treated as fixed. The appropriate alternative is a paired t-test on the within-pair differences. Removing shared age variation can reduce the noise and improve power when age strongly affects volume and the members of a pair are positively associated. Improvement is not automatic, since the paired test also uses fewer degrees of freedom.
For the regular Sturm-Liouville setting assume is positive and continuously differentiable, are continuous, and . Apply a multiplier to . Its first variation, divided by two, is
Endpoint-vanishing variations and the allowed fundamental lemma give
If an endpoint value is free, its variation is arbitrary, giving the natural condition at that endpoint. At a prescribed endpoint value the variation vanishes there, so no additional natural condition is imposed.
For eigenfunctions with different eigenvalues, multiply their equations by and subtract after integration. The resulting boundary expression vanishes under common homogeneous Dirichlet or common natural boundary conditions. Hence , proving weighted orthogonality.
For the final Dirichlet problem the normalized stationary modes are
Solving with both endpoint values zero gives these and excludes nonpositive . Distinct sine modes have zero integral product on . Their Dirichlet values also make the same boundary expression vanish, which explains orthogonality even though their endpoint derivatives do not obey the natural conditions.
For global minimality, the Fourier sine expansion of an endpoint-vanishing function and Parseval's identities give . Equality holds exactly in the first sine eigenspace. Therefore
Distinct modes are orthogonal; the two sign choices of the same minimum are not orthogonal to each other. This distinguishes the family of stationary modes from the two representatives of the minimizing eigenspace in the question's wording.
For a normal sample of size ,
Then and with . These two statistics are independent.
Combining the difference distribution and pooled variance calculation gives, with ,
The printed statistic has the sign of the centering term reversed. Its numerator subtracts , so it is not generally a central Student statistic; the corrected centering above is necessary. Under the null hypothesis , the two expressions coincide, so the requested test is unaffected. Reject the two-sided null at significance level when
Here and , so do not reject at the 5% level. This does not establish equality of the population means.
Age matching means that the two observations in a pair share an age effect, while ages vary across pairs. The independent, identically distributed two-sample model no longer represents this design: random pair effects induce within-pair dependence, and fixed differing ages can instead produce different individual means. Pairing by itself need not cause stochastic dependence when ages are treated as fixed. The appropriate alternative is a paired t-test on the within-pair differences. Removing shared age variation can reduce the noise and improve power when age strongly affects volume and the members of a pair are positively associated. Improvement is not automatic, since the paired test also uses fewer degrees of freedom.
Let be a smooth variation with at both endpoints, and consider . stationary point gives the first variation
Integrate the middle term once by parts and the last term twice. All boundary terms vanish because both and vanish there. Assuming the derivatives needed for the classical formula, the given fundamental lemma of the calculus of variations yields
Without assuming those classical derivatives initially, the same calculation with compactly supported variations states this equation weakly; sufficient regularity then gives the classical equation.
For the specific integrand, , , , so the equation is . Its weak solutions here are smooth, and its general classical solution is
Put , , . The conditions at zero give and . Those at give
Using , solve to obtain , , , . Thus an extremal is
Substitution checks all four boundary values. The additive term in the integrand contributes no variation in , so it does not alter this equation.