A linear polynomial trial has and . Substituting gives , so and . Thus a particular solution is
Combine the complementary function and particular solution:
The boundary condition at zero gives , while that at gives . Hence
The two boundary conditions determine both constants uniquely; substitution at each endpoint gives zero.
Use the method of undetermined coefficients, choosing a particular solution . Substitution gives
Matching the constant and cosine coefficients to gives , . Thus
Neither forcing term is resonant with the homogeneous angular frequency one.
For pendulum length , small angular displacement gives and horizontal restoring force . Thus and
For , the complementary solution and a sinusoidal particular solution give
Initial rest at the origin fixes and , giving
At exact resonance the corresponding limit is ; unrestricted initial conditions add the complementary solution.
For , set . Then : the period is in , zeros are at integer multiples of , and the first extrema are and . Both initial displacement and slope vanish.
Substitution of the damped complex ansatz gives . Hence
For the near-resonant mechanical susceptibility, put and , and neglect and near resonance:
Thus , with angular-frequency full width . The displacement lags the force by at .
Figure 1.
Original initial-rest response at twice the natural frequency and weak-damping resonance
. Details.
The homogeneous linear differential equation has solutions and . Since the forcing is already a homogeneous solution, seek a particular solution proportional to . Direct differentiation gives
Thus the general solution of the linear ordinary differential equation is
The first initial condition gives . Also
so the second initial condition gives , hence . Therefore
The homogeneous characteristic equation is , giving and . Since the forcing already appears among these solutions, try a particular solution . Differentiation and substitution give
so . The general solution is
The absorbing states give . Multiplying the difference equation in (i) by gives
The second finite difference of is , so a particular solution is ; the homogeneous solutions are . Imposing the two boundary conditions gives . Therefore
Uniqueness follows because the difference of any two solutions has zero second finite difference, hence is affine function, and vanishes at both endpoints. This is the mean absorption time of a lazy symmetric random walk with holding probability .
For a particular solution, try . Substitution gives
Matching coefficients requires and , so and . Adding the homogeneous solution from part (i), the general solution is
Seek a particular solution . Substitution into the linear ordinary differential equation gives , so . Add the complementary solution from part (a):
The two prescribed values yield and . Thus , so and . Therefore
Direct substitution gives and , and the homogeneous solution contributes zero to the left-hand differential operator.
Seek a periodic particular solution with Fourier coefficients . Comparing constant terms gives . Comparing the cosine and sine terms for gives
so and . Insert the coefficients from part (a) and add the homogeneous solution:
The differentiated series converges absolutely and uniformly, because its largest coefficient terms are . This justifies the term-by-term first derivative used in substituting into the differential equation. Any two solutions differ by , proving that the displayed family is the general solution. The computation is an instance of Fourier response of a first-order linear differential equation.
The characteristic polynomial of the homogeneous linear recurrence is , so its repeated-root solutions are . A constant particular solution is one. Thus . The initial conditions give and , hence
The factor is required by the repeated root of a polynomial; omitting it would lose one independent solution.
A particular solution of the linear recurrence is , while its homogeneous solution is . The initial value gives , so
Substitution verifies , and the recurrence plus determines all later terms uniquely.
Resonant exponential forcing in a first-order equation Created 2026-10-06 Updated 2026-10-14
For , subtracting an appropriate homogeneous solution from the particular solution removes its apparent singularity as . The resulting derivative in the parameter produces the resonant particular solution . The arbitrary constant must be reparametrized before taking the limit.
Resonant exponential particular solution Created 2026-10-14 Updated 2026-10-25
For a constant-coefficient linear differential equation , where denotes differentiation, a simple root forces a resonant trial. Factor ; since , commuting the differential operators gives . Thus the displayed expression is a particular solution. More generally, if the root has multiplicity , the same factorization gives , so . This is the extra polynomial factor required by resonance in a differential equation.
Transient response 2026-10-13
The part of a response that dies away after an initial condition or an input change. In a stable linear ordinary differential equation, the decaying homogeneous solution gives a transient response relative to a chosen particular solution. A homogeneous solution that grows or persists is not a decaying transient.
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.