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 givesHence the partial differential equation becomes . Integrating once in each variable introduces independent one-variable functions, giving the general solutionwhere 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 isThe 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 andThe corresponding has , checking the other initial condition.
Multiplication by the integrating factor and the product rule turn the left side into a single derivative:Using integration by substitution gives . Therefore the general solution isThere is one arbitrary constant of integration, as expected for a first-order ordinary differential equation.
Insert the exponential function trial into the homogeneous linear differential equation. Its characteristic equation is , with polynomial rootsTaking real combinations of the two complex exponential solutions produces the general solution
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 givesThe unique solution satisfying both boundary conditions is thereforeUniqueness follows because a homogeneous solution zero at both endpoints would have from the first and from the second.
The characteristic equation of the homogeneous equation is , giving exponential solutions and . A constant particular solution is . Thus the general solution is
For the general solution in part (i),Thus and , giving the solution of the initial value problemDirect substitution checks both the differential equation and the two initial conditions.
For this first-order linear differential equation, the integrating factor is . Thusand the general solution is
The homogeneous solution is . If , the method of undetermined coefficients permits a particular integral . Substitution gives and henceFor , the forcing is itself a homogeneous solution, so this trial fails by resonance in a differential equation. Multiplying the sine trial by givesThus the resonant general solution isThe secular term containing describes the increasing amplitude under undamped resonant forcing.
The characteristic equation factors asThe distinct characteristic roots therefore give the general solution
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 givesso . The general solution is thereforeThe first boundary condition gives . At , the polynomial part already equals the assigned boundary value and the cosine vanishes, so . ThusThis 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 , givingFor , 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 inThe constant term is , and the coefficient of is . HenceFor the coefficient of with , the first two positive derivative terms contribute , while the remaining analytic terms contribute . ThusIteration gives for . Usingthe prescribed solution sums toThe 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 thereforeThe 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 isThe 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 givesIts general solution is . Adding and subtracting the endpoint equations gives and . ThusThis 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, leavingunless .
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 givesSince , 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 givesThe hanging branch with integrates to . Equal endpoint heights force , and the endpoint value fixes . ThusIts length isWriting , 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 givesThe 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.
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 solutionThe 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 givesIntegrating 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 isIts 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.
