The chain rule for the new coordinates gives and . Since the coordinates depend linearly on , their coefficients are constant. Expanding the squares of these differential operators gives
Hence the partial differential equation becomes . Integrating once in each variable introduces independent one-variable functions, giving the general solution
where are arbitrary twice-differentiable functions on the relevant characteristic intervals. Their sum includes an arbitrary additive constant.
The characteristic equation of the homogeneous linear differential equation is
The real general solution is . The first boundary value gives . At , and , so . Hence
The first initial condition gives . The original first equation gives , whereas the general solution gives . Thus and
The corresponding has , checking the other initial condition.
The superposition principle gives the general solution as :
The first boundary condition gives . At , the cosine vanishes and the sine equals . Comparing with the second boundary condition then gives
The unique solution satisfying both boundary conditions is therefore
Uniqueness follows because a homogeneous solution zero at both endpoints would have from the first and from the second.
For the general solution in part (i),
Thus and , giving the solution of the initial value problem
Direct substitution checks both the differential equation and the two initial conditions.
The homogeneous solution is . If , the method of undetermined coefficients permits a particular integral . Substitution gives and hence
For , the forcing is itself a homogeneous solution, so this trial fails by resonance in a differential equation. Multiplying the sine trial by gives
Thus the resonant general solution is
The secular term containing describes the increasing amplitude under undamped resonant forcing.
The associated homogeneous linear differential equation has characteristic roots , so its complementary function is . For a particular integral, the method of undetermined coefficients suggests . Substitution and comparison of coefficients gives
so . The general solution is therefore
The first boundary condition gives . At , the polynomial part already equals the assigned boundary value and the cosine vanishes, so . Thus
This is the unique solution satisfying the two boundary conditions; here the phrase “particular solution” means that selected member of the full family, rather than only the polynomial particular integral.
The characteristic equation of the reduced homogeneous linear differential equation is . Its polynomial roots change type with the sign of , giving
For , the zero polynomial root is repeated, so the second independent solution is . For , the polynomial roots are the complex conjugate pair , and the displayed sine and cosine give a real basis of solutions. The constants are arbitrary real numbers. In every case reconstructs the corresponding general solution of the coupled system.
With , equate coefficients in
The constant term is , and the coefficient of is . Hence
For the coefficient of with , the first two positive derivative terms contribute , while the remaining analytic terms contribute . Thus
Iteration gives for . Using
the prescribed solution sums to
The ansatz starts its analytic series at , so it omits the freedom to add an arbitrary multiple of . The complete two-constant real solution on is therefore
The narrower ansatz in (c) is a convenient choice of the logarithmic solution, not the full general solution by itself.
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.
Neglect fringing field near the edges of the parallel-plate capacitor. Put the plates at , with prescribed electric potentials . Translational symmetry parallel to a plane makes the electrostatic potential independent of the coordinates parallel to the plates. Thus Laplace's equation reduces to . Its general solution is , and the two boundary conditions determine both constants:
The electric field is uniform and points toward decreasing electric potential. No plate voltages are specified, so a numerical electric potential cannot be fixed; choosing one plate as the reference only fixes the arbitrary additive constant.
Variation of parameters Created 2026-09-24 Updated 2026-10-18
Variation of parameters replaces the constants in a complementary solution by functions to construct a particular solution.
For the inhomogeneous linear differential equation , assume are continuous functions on an interval , and are linearly independent homogeneous solutions there. With and , variation of parameters constructs the particular solution
The Wronskian has no zeros on , so these quotients are defined. For , normalize first: , not .[ref]
To derive the formula, write and impose . This auxiliary choice removes extra terms from the first derivative. Substitution into the inhomogeneous linear differential equation leaves . The two linear equations for have determinant , and Cramer's rule gives
Integrating from makes . Arbitrary integration constants contribute only homogeneous solutions; adding supplies the general solution.
For a worked example, use the same homogeneous solutions and the forcing term in . With and ,
Consequently the particular solution selected by zero initial conditions is
Its value and first derivative vanish at zero. Direct substitution confirms the forcing term: the differential operator annihilates the last two terms and maps to . The two integrals therefore build a response from known homogeneous solutions, even when the forcing term has no convenient elementary guess.